From 00c7cab3644cf39f4937d72ceda68d6e5e84d779 Mon Sep 17 00:00:00 2001 From: taishinaritomi Date: Fri, 15 Sep 2023 22:20:40 +0900 Subject: [PATCH] add cross-env --- package.json | 5 ++++- playground/next/package.json | 2 +- pnpm-lock.yaml | 18 ++++++++++++------ 3 files changed, 17 insertions(+), 8 deletions(-) diff --git a/package.json b/package.json index 4862992..637c18e 100644 --- a/package.json +++ b/package.json @@ -14,7 +14,7 @@ "test": "run-p test:*", "test:packages": "turbo run test --parallel", "test:cargo": "cargo test -- --nocapture", - "check": "CARGO_TARGET_DIR=target_check RUSTFLAGS=\"-D warnings\" run-p check:*", + "check": "cross-env CARGO_TARGET_DIR=target_check RUSTFLAGS=\"-D warnings\" run-p check:*", "check:packages": "turbo run check --parallel", "check:eslint": "eslint . --ignore-path .check-ignore --max-warnings 0", "check:prettier": "prettier . --check --ignore-path .check-ignore", @@ -53,5 +53,8 @@ "typescript": "^5.1.6", "vitest": "^0.33.0", "wasm-pack": "^0.12.1" + }, + "dependencies": { + "cross-env": "^7.0.3" } } diff --git a/playground/next/package.json b/playground/next/package.json index 721dd81..69e707e 100644 --- a/playground/next/package.json +++ b/playground/next/package.json @@ -8,7 +8,7 @@ "dev": "next dev", "build": "next build", "start": "next start", - "analyze": "ANALYZE=true next build" + "analyze": "cross-env ANALYZE=true next build" }, "dependencies": { "excss": "workspace:^", diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml index ba52520..c1a5690 100644 --- a/pnpm-lock.yaml +++ b/pnpm-lock.yaml @@ -3,6 +3,10 @@ lockfileVersion: '6.0' importers: .: + dependencies: + cross-env: + specifier: ^7.0.3 + version: 7.0.3 devDependencies: '@changesets/changelog-github': specifier: ^0.4.8 @@ -3109,6 +3113,14 @@ packages: resolution: {integrity: sha512-ZQBvi1DcpJ4GDqanjucZ2Hj3wEO5pZDS89BWbkcrvdxksJorwUDDZamX9ldFkp9aw2lmBDLgkObEA4DWNJ9FYQ==} dev: true + /cross-env@7.0.3: + resolution: {integrity: sha512-+/HKd6EgcQCJGh2PSjZuUitQBQynKor4wrFbRg4DtAgS1aWO+gU52xpH7M9ScGgXSYmAVS9bIJ8EzuaGw0oNAw==} + engines: {node: '>=10.14', npm: '>=6', yarn: '>=1'} + hasBin: true + dependencies: + cross-spawn: 7.0.3 + dev: false + /cross-spawn@5.1.0: resolution: {integrity: sha512-pTgQJ5KC0d2hcY8eyL1IzlBPYjTkyH72XRZPnLyKus2mBfNjQs3klqbJU2VILqZryAZUt9JOb3h/mWMy23/f5A==} dependencies: @@ -3135,7 +3147,6 @@ packages: path-key: 3.1.1 shebang-command: 2.0.0 which: 2.0.2 - dev: true /css-loader@6.8.1(webpack@5.88.1): resolution: {integrity: sha512-xDAXtEVGlD0gJ07iclwWVkLoZOpEvAWaSyf6W18S2pOC//K8+qUDIx8IIT3D+HjnmkJPQeesOPv5aiUaJsCM2g==} @@ -4923,7 +4934,6 @@ packages: /isexe@2.0.0: resolution: {integrity: sha512-RHxMLp9lnKHGHRng9QFhRCMbYAcVpn69smSGcq3f36xjgVVWThj4qqLbTLlq7Ssj8B+fIQ1EuCEGI2lKsyQeIw==} - dev: true /isobject@3.0.1: resolution: {integrity: sha512-WhB9zCku7EGTj/HQQRz5aUQEUeoQZH2bWcltRErOpymJ4boYE6wL9Tbr23krRPSZ+C5zqNSrSw+Cc7sZZ4b7vg==} @@ -5837,7 +5847,6 @@ packages: /path-key@3.1.1: resolution: {integrity: sha512-ojmeN0qd+y0jszEtoY48r0Peq5dwMEkIlCOu6Q5f41lfkswXuKtYrhgoTpLnyIcHm24Uhqx+5Tqm2InSwLhE6Q==} engines: {node: '>=8'} - dev: true /path-key@4.0.0: resolution: {integrity: sha512-haREypq7xkM7ErfgIyA0z+Bj4AGKlMSdlQE2jvJo6huWD1EdkKYV+G/T4nq0YEF2vgTT8kqMFKo1uHn950r4SQ==} @@ -6530,7 +6539,6 @@ packages: engines: {node: '>=8'} dependencies: shebang-regex: 3.0.0 - dev: true /shebang-regex@1.0.0: resolution: {integrity: sha512-wpoSFAxys6b2a2wHZ1XpDSgD7N9iVjg29Ph9uV/uaP9Ex/KXlkTZTeddxDPSYQpgvzKLGJke2UU0AzoGCjNIvQ==} @@ -6540,7 +6548,6 @@ packages: /shebang-regex@3.0.0: resolution: {integrity: sha512-7++dFhtcx3353uBaq8DDR4NuxBetBzC7ZQOhmTQInHEd6bSrXdiEyzCvG07Z44UYdLShWUyXt5M/yhz8ekcb1A==} engines: {node: '>=8'} - dev: true /shell-quote@1.8.1: resolution: {integrity: sha512-6j1W9l1iAs/4xYBI1SYOVZyFcCis9b4KCLQ8fgAGG07QvzaRLVVRQvAy85yNmmZSjYjg4MWh4gNvlPujU/5LpA==} @@ -7741,7 +7748,6 @@ packages: hasBin: true dependencies: isexe: 2.0.0 - dev: true /why-is-node-running@2.2.2: resolution: {integrity: sha512-6tSwToZxTOcotxHeA+qGCq1mVzKR3CwcJGmVcY+QE8SHy6TnpFnh8PAvPNHYr7EcuVeG0QSMxtYCuO1ta/G/oA==}