chore: ensure all packages are built

Add a check that no package has been forgotten from the `workspace`
property.
This commit is contained in:
fryorcraken.eth 2022-12-02 14:14:11 +11:00
parent 31fe78d5a7
commit e7a2203bea
No known key found for this signature in database
GPG Key ID: A82ED75A8DFC50A4
1 changed files with 1 additions and 0 deletions

View File

@ -17,6 +17,7 @@
"size": "npm run build && size-limit",
"fix": "npm run fix --workspaces --if-present",
"check": "npm run check --workspaces --if-present",
"check:ws": "[ $(ls -1 ./packages|wc -l) -eq $(cat package.json | jq '.workspaces | length') ] || exit 1 # check no packages left behind",
"test": "npm run test --workspaces --if-present",
"test:browser": "npm run test:browser --workspaces --if-present",
"test:node": "npm run test:node --workspaces --if-present",