-
Notifications
You must be signed in to change notification settings - Fork 4
/
Copy pathproject.json
41 lines (41 loc) · 1.22 KB
/
project.json
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
{
"name": "statsig",
"$schema": "node_modules/nx/schemas/project-schema.json",
"targets": {
"publish-all": {
"command": "npx nx run-many --parallel=3 --target=publish --skip-nx-cache",
"dependsOn": ["sync-version"]
},
"sync-version": {
"command": "pnpm format:write && pnpm install --no-frozen-lockfile && echo 'Version Sync Complete.'",
"dependsOn": [
"sync-version-statsig-metadata",
"sync-version-package-json",
"sync-version-statsig-deps"
]
},
"sync-version-statsig-metadata": {
"command": "node ./tools/scripts/update-statsig-metadata-version.js",
"dependsOn": []
},
"sync-version-statsig-deps": {
"command": "node ./tools/scripts/update-statsig-dep-versions.js"
},
"sync-version-package-json": {
"command": "npx sync-json -v --property version --source package.json packages/**/package.json",
"dependsOn": []
},
"lint": {
"command": ":",
"dependsOn": ["format-check"]
},
"format-check": {
"command": "prettier --check . && nx format:check",
"dependsOn": []
},
"format-write": {
"command": "prettier --write . && nx format:write",
"dependsOn": []
}
}
}