From: btea <2356281422@qq.com> Date: Sun, 11 Aug 2024 10:13:30 +0000 (+0800) Subject: chore: remove npm-run-all2 X-Git-Tag: v3.11.0~22 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=1ce70ac05cf135c0a18ee6c85cfba69040494d4b;p=thirdparty%2Fvuejs%2Fcreate-vue.git chore: remove npm-run-all2 --- diff --git a/package.json b/package.json index 50426217..d8479c85 100644 --- a/package.json +++ b/package.json @@ -20,7 +20,7 @@ "format": "prettier --write .", "build": "zx ./scripts/build.mjs", "snapshot": "zx ./scripts/snapshot.mjs", - "pretest": "run-s build snapshot", + "pretest": "pnpm run build && pnpm run snapshot", "test": "zx ./scripts/test.mjs", "test:unit": "vitest", "prepublishOnly": "zx ./scripts/prepublish.mjs" @@ -49,7 +49,6 @@ "husky": "^9.1.4", "kolorist": "^1.8.0", "lint-staged": "^15.2.8", - "npm-run-all2": "^6.2.2", "prettier": "^3.3.3", "prompts": "^2.4.2", "vitest": "^2.0.5", diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml index cba80f70..96012a09 100644 --- a/pnpm-lock.yaml +++ b/pnpm-lock.yaml @@ -44,9 +44,6 @@ importers: lint-staged: specifier: ^15.2.8 version: 15.2.8 - npm-run-all2: - specifier: ^6.2.2 - version: 6.2.2 prettier: specifier: ^3.3.3 version: 3.3.3 @@ -4868,7 +4865,7 @@ snapshots: agent-base@7.1.0: dependencies: - debug: 4.3.6(supports-color@8.1.1) + debug: 4.3.6 transitivePeerDependencies: - supports-color @@ -5376,6 +5373,10 @@ snapshots: dependencies: ms: 2.1.2 + debug@4.3.6: + dependencies: + ms: 2.1.2 + debug@4.3.6(supports-color@8.1.1): dependencies: ms: 2.1.2 @@ -5965,7 +5966,7 @@ snapshots: http-proxy-agent@7.0.2: dependencies: agent-base: 7.1.0 - debug: 4.3.5 + debug: 4.3.6 transitivePeerDependencies: - supports-color @@ -5985,7 +5986,7 @@ snapshots: https-proxy-agent@7.0.5: dependencies: agent-base: 7.1.0 - debug: 4.3.6(supports-color@8.1.1) + debug: 4.3.6 transitivePeerDependencies: - supports-color @@ -6290,7 +6291,7 @@ snapshots: dependencies: chalk: 5.3.0 commander: 12.1.0 - debug: 4.3.6(supports-color@8.1.1) + debug: 4.3.6 execa: 8.0.1 lilconfig: 3.1.2 listr2: 8.2.4 @@ -7277,7 +7278,7 @@ snapshots: vite-node@2.0.5(@types/node@20.14.14): dependencies: cac: 6.7.14 - debug: 4.3.6(supports-color@8.1.1) + debug: 4.3.6 pathe: 1.1.2 tinyrainbow: 1.2.0 vite: 5.3.5(@types/node@20.14.14) @@ -7382,7 +7383,7 @@ snapshots: '@vitest/spy': 2.0.5 '@vitest/utils': 2.0.5 chai: 5.1.1 - debug: 4.3.6(supports-color@8.1.1) + debug: 4.3.6 execa: 8.0.1 magic-string: 0.30.10 pathe: 1.1.2