-
Notifications
You must be signed in to change notification settings - Fork 1
/
scripts.yaml
75 lines (62 loc) · 1.31 KB
/
scripts.yaml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
scripts:
clarigen:
cmd:
- mkdir -p esm
- vr main
deployments:
cmd: src/cli/gen-deployments.ts
allow:
- read
- write
test: deno test -A test_pkg
type-stubs:
cmd:
- scripts/generate-type-stubs.ts
- deno fmt src/cli/type-stub.ts
- deno fmt src/cli/files/init-config.ts
allow:
- read
- write
copy-version:
cmd:
- scripts/copy-version.ts
- deno fmt src/cli/version.ts
allow:
- read
- write
check:
pll:
- deno check src/index.ts
- deno check cli.ts
- deno check test_pkg/*
- deno check tests/tester_test.ts
- deno lint
build:
cmd:
- vr check
- vr copy-version
- vr type-stubs
# - vr clarigen
release:
- sh scripts/check-git.sh
- vr version
- git add .
- 'git commit -m "chore: version"'
- yarn changeset tag
- git push origin --follow-tags
version:
- yarn changeset version
- vr build
ci-publish:
- yarn changeset tag
- git push origin --follow-tags
test-all:
pll:
- deno test -A test_pkg
- clarinet test
main:
cmd: cli.ts
allow:
- all
lock: deno cache --lock=lock.json --lock-write src/deps.ts
refresh: deno cache --reload --lock=lock.json --lock-write src/deps.ts