From e3b5001245e947f39de0e3a9bef4868228b64da1 Mon Sep 17 00:00:00 2001 From: kawarimidoll Date: Sun, 11 Jun 2023 16:29:29 +0900 Subject: [PATCH] chore: update version numbers --- README.md | 7 +++++-- deno.jsonc | 6 +++--- 2 files changed, 8 insertions(+), 5 deletions(-) diff --git a/README.md b/README.md index 89e3f0b..0e79c6b 100644 --- a/README.md +++ b/README.md @@ -54,13 +54,16 @@ Some utility scripts is in `scripts` directory: }, "hooks_dir": ".my_hooks", "tasks": { - "setup-hooks": "deno run --allow-read --allow-run scripts/setup-hooks.ts", - "pre-commit": "deno run --allow-read --allow-env --allow-run --allow-write scripts/lint-staged.ts", + "setup-hooks": "deno run --allow-read --allow-run https://pax.deno.dev/kawarimidoll/deno-dev-template/scripts/setup-hooks.ts", + "pre-commit": "deno run --allow-read --allow-env --allow-run --allow-write https://pax.deno.dev/kawarimidoll/deno-dev-template/scripts/lint-staged.ts", "pre-push": "deno test" } } ``` +💡 You can specify versions of scripts: +`https://pax.deno.dev/kawarimidoll/deno-dev-template@2.0.1/scripts/setup-hooks.ts` + ### Tasks Available Tasks: diff --git a/deno.jsonc b/deno.jsonc index 4b3a43d..a11035f 100644 --- a/deno.jsonc +++ b/deno.jsonc @@ -19,11 +19,11 @@ "lint": "deno lint --ignore=cov_profile", "fmt": "deno fmt --ignore=cov_profile", "ci": "deno task lint && deno task fmt --check && deno task test", - "deps": "deno run --allow-read --allow-write --allow-net --allow-run https://deno.land/x/udd/main.ts --test='deno task test' deno.jsonc $(find . -name '*.ts')", + "deps": "deno run --allow-read --allow-write --allow-net --allow-run https://deno.land/x/udd@0.8.2/main.ts --test='deno task test' deno.jsonc $(find . -name '*.ts')", // git hooks - "setup-hooks": "deno run --allow-read --allow-run https://pax.deno.dev/kawarimidoll/deno-dev-template@2.0.0/scripts/setup-hooks.ts", + "setup-hooks": "deno run --allow-read --allow-run https://pax.deno.dev/kawarimidoll/deno-dev-template/scripts/setup-hooks.ts", "commit-msg": "npx commitlint -x @commitlint/config-conventional -e \"$1\"", - "pre-commit": "deno run --allow-read --allow-env --allow-run --allow-write https://pax.deno.dev/kawarimidoll/deno-dev-template@2.0.0/scripts/lint-staged.ts", + "pre-commit": "deno run --allow-read --allow-env --allow-run --allow-write https://pax.deno.dev/kawarimidoll/deno-dev-template/scripts/lint-staged.ts", "pre-push": "deno task ci" } }