File tree Expand file tree Collapse file tree 2 files changed +8
-5
lines changed Expand file tree Collapse file tree 2 files changed +8
-5
lines changed Original file line number Diff line number Diff line change @@ -54,13 +54,16 @@ Some utility scripts is in `scripts` directory:
54
54
},
55
55
" hooks_dir" : " .my_hooks" ,
56
56
" 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" ,
59
59
" pre-push" : " deno test"
60
60
}
61
61
}
62
62
```
63
63
64
+ 💡 You can specify versions of scripts:
65
+ ` https://pax.deno.dev/kawarimidoll/deno-dev-template@2.0.1/scripts/setup-hooks.ts `
66
+
64
67
### Tasks
65
68
66
69
Available Tasks:
Original file line number Diff line number Diff line change 19
19
"lint" : " deno lint --ignore=cov_profile" ,
20
20
"fmt" : " deno fmt --ignore=cov_profile" ,
21
21
"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')" ,
23
23
// 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" ,
25
25
"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" ,
27
27
"pre-push" : " deno task ci"
28
28
}
29
29
}
You can’t perform that action at this time.
0 commit comments