diff --git a/deno.jsonc b/deno.jsonc index 43123d5..0695845 100644 --- a/deno.jsonc +++ b/deno.jsonc @@ -13,7 +13,7 @@ "test": " deno test --coverage --allow-run --allow-env=VERBOSE", "coverage": " deno coverage", "readme": " touch README.md && chmod +w README.md && ./readme/generate-readme.ts readme/README.md > README.md && deno fmt README.md; chmod -w README.md", - "release": " deno task all && test -z \"$(git status --porcelain)\" && deno --allow-all npm:@hugojosefson/fork-version@1.6.0-deno-jsonc.2/cli --tag-prefix='' --changelog-all --skip-tag && deno fmt CHANGELOG.md && git add CHANGELOG.md && git commit --amend --no-edit && git tag $(deno --allow-all npm:@hugojosefson/fork-version@1.6.0-deno-jsonc.2/cli --tag-prefix='' --inspect-version) && git push --follow-tags", + "release": " deno task all && test -z \"$(git status --porcelain)\" && deno --allow-all npm:@hugojosefson/fork-version@1.6.0-deno-jsonc.2/cli --tag-prefix='' --changelog-all --skip-tag && deno fmt CHANGELOG.md && git add CHANGELOG.md && git commit --amend --no-edit && git tag $(deno --allow-all npm:@hugojosefson/fork-version@1.6.0-deno-jsonc.2/cli --tag-prefix='' --inspect-version) && git push --follow-tags origin main", "bump-deps": " deno task forall-files-no-yaml -- deno run --allow-env --allow-read=.,$HOME/.cache/deno,$HOME/.local/share/deno-wasmbuild --allow-write=.,$HOME/.local/share/deno-wasmbuild --allow-run=git --allow-net jsr:@molt/cli@0.19.8 --commit --prefix=\"chore: \"", "on-file-save": " sh -c 'err=$(NO_COLOR=1 deno fmt \"$1\" 2>&1); if [ $? -eq 0 ] || [ \"$err\" != \"error: No target files found.\" ]; then echo \"$err\"; fi; if [ \"$(echo \"$1\" | cut -c 1-7)\" = \"readme/\" ]; then deno task readme; fi' -s", "list-files": " git ls-files | deno eval 'import{toText}from\"jsr:@std/streams@1.0.7\";console.log((await toText(Deno.stdin.readable)).split(\"\\n\").filter(f=>f.startsWith(\".github/workflows\")||/\\.((mj|j|t)sx?|jsonc?)$/.test(f)).filter(f=>{try{return !Deno.statSync(f).isDirectory}catch{}}).join(\"\\n\"))'",