diff --git a/package.json b/package.json index c82e0a5c6d..b72798f9b2 100644 --- a/package.json +++ b/package.json @@ -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",