Skip to content

Commit e3b5001

Browse files
committed
chore: update version numbers
1 parent 32daa52 commit e3b5001

File tree

2 files changed

+8
-5
lines changed

2 files changed

+8
-5
lines changed

README.md

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -54,13 +54,16 @@ Some utility scripts is in `scripts` directory:
5454
},
5555
"hooks_dir": ".my_hooks",
5656
"tasks": {
57-
"setup-hooks": "deno run --allow-read --allow-run scripts/setup-hooks.ts",
58-
"pre-commit": "deno run --allow-read --allow-env --allow-run --allow-write scripts/lint-staged.ts",
57+
"setup-hooks": "deno run --allow-read --allow-run https://pax.deno.dev/kawarimidoll/deno-dev-template/scripts/setup-hooks.ts",
58+
"pre-commit": "deno run --allow-read --allow-env --allow-run --allow-write https://pax.deno.dev/kawarimidoll/deno-dev-template/scripts/lint-staged.ts",
5959
"pre-push": "deno test"
6060
}
6161
}
6262
```
6363

64+
💡 You can specify versions of scripts:
65+
`https://pax.deno.dev/kawarimidoll/deno-dev-template@2.0.1/scripts/setup-hooks.ts`
66+
6467
### Tasks
6568

6669
Available Tasks:

deno.jsonc

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -19,11 +19,11 @@
1919
"lint": "deno lint --ignore=cov_profile",
2020
"fmt": "deno fmt --ignore=cov_profile",
2121
"ci": "deno task lint && deno task fmt --check && deno task test",
22-
"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')",
22+
"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')",
2323
// git hooks
24-
"setup-hooks": "deno run --allow-read --allow-run https://pax.deno.dev/kawarimidoll/deno-dev-template@2.0.0/scripts/setup-hooks.ts",
24+
"setup-hooks": "deno run --allow-read --allow-run https://pax.deno.dev/kawarimidoll/deno-dev-template/scripts/setup-hooks.ts",
2525
"commit-msg": "npx commitlint -x @commitlint/config-conventional -e \"$1\"",
26-
"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",
26+
"pre-commit": "deno run --allow-read --allow-env --allow-run --allow-write https://pax.deno.dev/kawarimidoll/deno-dev-template/scripts/lint-staged.ts",
2727
"pre-push": "deno task ci"
2828
}
2929
}

0 commit comments

Comments
 (0)