diff --git a/package.json b/package.json index dc6cf39..692e243 100644 --- a/package.json +++ b/package.json @@ -3,8 +3,8 @@ "version": "0.0.0", "private": true, "scripts": { - "build": "NX_DAEMON=false nx run-many -t build --exclude @sandboxes/* --parallel=10", - "build:sandboxes": "NX_DAEMON=false nx run-many -t build:storybook --projects @sandboxes/* --parallel=10", + "build": "cross-env NX_DAEMON=false nx run-many -t build --exclude @sandboxes/* --parallel=10", + "build:sandboxes": "cross-env NX_DAEMON=false nx run-many -t build:storybook --projects @sandboxes/* --parallel=10", "check": "pnpm --parallel --filter \"./packages/**\" run check", "dev": "pnpm --parallel --filter \"./packages/**\" run prep --watch" }, @@ -20,6 +20,7 @@ }, "devDependencies": { "@changesets/cli": "^2.27.1", + "cross-env": "^7.0.3", "nano-staged": "^0.8.0", "nx": "^19.4.3", "prettier": "^3.2.5", diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml index 00b7941..16762a0 100644 --- a/pnpm-lock.yaml +++ b/pnpm-lock.yaml @@ -11,6 +11,9 @@ importers: '@changesets/cli': specifier: ^2.27.1 version: 2.27.1 + cross-env: + specifier: ^7.0.3 + version: 7.0.3 nano-staged: specifier: ^0.8.0 version: 0.8.0 @@ -2821,6 +2824,11 @@ packages: typescript: optional: true + cross-env@7.0.3: + resolution: {integrity: sha512-+/HKd6EgcQCJGh2PSjZuUitQBQynKor4wrFbRg4DtAgS1aWO+gU52xpH7M9ScGgXSYmAVS9bIJ8EzuaGw0oNAw==} + engines: {node: '>=10.14', npm: '>=6', yarn: '>=1'} + hasBin: true + cross-spawn@5.1.0: resolution: {integrity: sha512-pTgQJ5KC0d2hcY8eyL1IzlBPYjTkyH72XRZPnLyKus2mBfNjQs3klqbJU2VILqZryAZUt9JOb3h/mWMy23/f5A==} @@ -9055,6 +9063,10 @@ snapshots: optionalDependencies: typescript: 5.4.5 + cross-env@7.0.3: + dependencies: + cross-spawn: 7.0.3 + cross-spawn@5.1.0: dependencies: lru-cache: 4.1.5