Skip to content

Commit

Permalink
Update resources
Browse files Browse the repository at this point in the history
  • Loading branch information
hugoalh committed Nov 24, 2024
1 parent c894593 commit 518eb48
Show file tree
Hide file tree
Showing 3 changed files with 20 additions and 12 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/review-deno-code.yml
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,7 @@ jobs:
Add-Content -LiteralPath $Env:GITHUB_OUTPUT -Value "build=$(($Null -ine $Config.tasks.build).ToString().ToLower())"
Add-Content -LiteralPath $Env:GITHUB_OUTPUT -Value "jsr-check=$(($Null -ine $Config.tasks.('jsr-check')).ToString().ToLower())"
Add-Content -LiteralPath $Env:GITHUB_OUTPUT -Value "npm-build=$(($Null -ine $Config.tasks.('npm-build')).ToString().ToLower())"
Add-Content -LiteralPath $Env:GITHUB_OUTPUT -Value "npm-root=$(Join-Path -Path $Env:GITHUB_WORKSPACE -ChildPath ($Config._behaviour.npm.root ?? './npm'))"
Add-Content -LiteralPath $Env:GITHUB_OUTPUT -Value "npm-root=$(Join-Path -Path $Env:GITHUB_WORKSPACE -ChildPath ($Config._behaviour.npm.root ?? 'npm'))"
- name: "Check Repository"
if: "${{!cancelled() && steps.analyze.outcome == 'success' && env.CDV_RUN_LITE == 'false'}}"
shell: "pwsh"
Expand Down
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -53,9 +53,9 @@ An ES (JavaScript & TypeScript) module to shuffle the array's indexes.
> - For usage of JSR or NPM resources, it is recommended to import the entire module with the main entrypoint, however it is also able to import part of the module with sub entrypoint if available, please visit the [file `jsr.jsonc`](./jsr.jsonc) property `exports` for available sub entrypoints.
> - It is recommended to use this module with tag for immutability.
### 🛡️ Require Runtime Permissions
### 🛡️ Runtime Permissions

*This module does not require any runtime permission.*
*This module does not request any runtime permission.*

## 🧩 APIs

Expand Down
26 changes: 17 additions & 9 deletions deno.jsonc
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
},
"imports": { // IMPORTANT: Only remap development dependencies!
"DNT": "https://raw.githubusercontent.com/hugoalh/deno-nodejs-transformer/v0.5.3/mod.ts",
"STD/assert": "jsr:@std/assert@^1.0.7"
"STD/assert": "jsr:@std/assert@^1.0.8"
},
"lint": {
"rules": {
Expand All @@ -35,14 +35,22 @@
},
"lock": false,
"tasks": {
// Check deployment for JSR.
"jsr-check": "deno publish --allow-dirty --config jsr.jsonc --dry-run --no-provenance",
// Publish package to JSR.
"jsr-publish": "deno publish --allow-dirty --config jsr.jsonc --no-provenance",
// Publish package to JSR (provenance).
"jsr-publish-provenance": "deno publish --allow-dirty --config jsr.jsonc",
// Build package for NPM.
"npm-build": "deno run --allow-all --no-prompt --quiet .dnt.ts"
"jsr-check": {
"command": "deno publish --allow-dirty --config jsr.jsonc --dry-run --no-provenance",
"description": "Check deployment for JSR."
},
"jsr-publish": {
"command": "deno publish --allow-dirty --config jsr.jsonc --no-provenance",
"description": "Publish package to JSR."
},
"jsr-publish-provenance": {
"command": "deno publish --allow-dirty --config jsr.jsonc",
"description": "Publish package to JSR (provenance)."
},
"npm-build": {
"command": "deno run --allow-all --no-prompt --quiet .dnt.ts",
"description": "Build package for NPM."
}
},
"unstable": [
]
Expand Down

0 comments on commit 518eb48

Please sign in to comment.