chore: add watch script for all projects (#20068)

This commit is contained in:
Ben Irvin 2024-04-09 14:34:28 +02:00 committed by GitHub
parent 4dbfc9c022
commit cb00a17994
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -33,6 +33,7 @@
"build": "nx run-many --target=build --nx-ignore-cycles",
"build:size": "cd examples/getstarted && yarn build",
"build:ts": "nx run-many --target=build:ts --nx-ignore-cycles",
"build:watch": "nx watch --all --nx-ignore-cycles -- nx run \\$NX_PROJECT_NAME:build --nx-ignore-cycles",
"clean": "nx run-many --target=clean --nx-ignore-cycles",
"doc:api": "node scripts/open-api/serve.js",
"format": "yarn format:code && yarn format:other",
@ -68,8 +69,7 @@
"test:ts:packages": "nx run-many --target=test:ts --nx-ignore-cycles",
"test:unit": "jest --config jest.config.js",
"test:unit:all": "nx run-many --target=test:unit --nx-ignore-cycles",
"test:unit:watch": "run test:unit --watch",
"watch": "nx run-many --target=watch --nx-ignore-cycles"
"test:unit:watch": "run test:unit --watch"
},
"resolutions": {
"@strapi/design-system": "1.17.0-typescript.0",