From 2bdc6192c8330f6fc052d5dab23c01b08c260ddf Mon Sep 17 00:00:00 2001 From: Tat Dat Duong Date: Tue, 14 Jan 2025 16:28:47 +0100 Subject: [PATCH] Add ZX as devDep --- package.json | 7 ++++--- pnpm-lock.yaml | 30 ++++++++++++++++++++++++++++++ 2 files changed, 34 insertions(+), 3 deletions(-) diff --git a/package.json b/package.json index 76d723a..ba2a209 100644 --- a/package.json +++ b/package.json @@ -13,12 +13,12 @@ "dist/" ], "scripts": { - "build": "npx zx --verbose scripts/build.mjs", + "build": "zx --verbose scripts/build.mjs", "prepack": "npm run build", "typecheck": "tsc --noEmit", "dev": "tsx watch src/cli/cli.mts dev", "test": "vitest", - "test:ci": "npx zx --verbose scripts/test.mjs" + "test:ci": "zx --verbose scripts/test.mjs" }, "dependencies": { "@commander-js/extra-typings": "^13.0.0", @@ -52,6 +52,7 @@ "@types/uuid": "^10.0.0", "postgres": "^3.4.5", "prettier": "^3.3.3", - "vitest": "^2.1.8" + "vitest": "^2.1.8", + "zx": "^8.3.0" } } diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml index dcf073a..15b57ee 100644 --- a/pnpm-lock.yaml +++ b/pnpm-lock.yaml @@ -93,6 +93,9 @@ importers: vitest: specifier: ^2.1.8 version: 2.1.8(@types/node@22.10.5) + zx: + specifier: ^8.3.0 + version: 8.3.0 packages: @@ -525,9 +528,15 @@ packages: '@types/estree@1.0.6': resolution: {integrity: sha512-AYnb1nQyY49te+VRAVgmzfcgjYS91mY5P0TKUDCLEM+gNnA+3T6rWITXRLYCpahpqSQbN5cE+gHpnPyXjHWxcw==} + '@types/fs-extra@11.0.4': + resolution: {integrity: sha512-yTbItCNreRooED33qjunPthRcSjERP1r4MqCZc7wv0u2sUkzTFp45tgUfS5+r7FrZPdmCCNflLhVSP/o+SemsQ==} + '@types/json-schema@7.0.15': resolution: {integrity: sha512-5+fP8P8MFNC+AyZCDxrB2pkZFPGzqQWUzpSeuuVLvm8VMcorNYavBqoFcxK8bQz4Qsbn4oUEEem4wDLfcysGHA==} + '@types/jsonfile@6.1.4': + resolution: {integrity: sha512-D5qGUYwjvnNNextdU59/+fI+spnwtTFmyQP0h+PfIOSkNfpU6AOICUOkm4i0OnSk+NyjdPJrxCDro0sJsWlRpQ==} + '@types/node@22.10.5': resolution: {integrity: sha512-F8Q+SeGimwOo86fiovQh8qiXfFEh2/ocYv7tU5pJ3EXMSSxk1Joj5wefpFK2fHTf/N6HKGSxIDBT9f3gCxXPkQ==} @@ -1037,6 +1046,11 @@ packages: zod@3.24.1: resolution: {integrity: sha512-muH7gBL9sI1nciMZV67X5fTKKBLtwpZ5VBp1vsOQzj1MhrBZ4wlVCm3gedKZWLp0Oyel8sIGfeiz54Su+OVT+A==} + zx@8.3.0: + resolution: {integrity: sha512-L8mY3yfJwo3a8ZDD6f9jZzAcRWJZYcV8GauZmBxLB/aSTwaMzMIEVpPp2Kyx+7yF0gdvuxKnMxAZRft9UCawiw==} + engines: {node: '>= 12.17.0'} + hasBin: true + snapshots: '@cfworker/json-schema@4.1.0': {} @@ -1301,8 +1315,19 @@ snapshots: '@types/estree@1.0.6': {} + '@types/fs-extra@11.0.4': + dependencies: + '@types/jsonfile': 6.1.4 + '@types/node': 22.10.5 + optional: true + '@types/json-schema@7.0.15': {} + '@types/jsonfile@6.1.4': + dependencies: + '@types/node': 22.10.5 + optional: true + '@types/node@22.10.5': dependencies: undici-types: 6.20.0 @@ -1815,3 +1840,8 @@ snapshots: zod: 3.24.1 zod@3.24.1: {} + + zx@8.3.0: + optionalDependencies: + '@types/fs-extra': 11.0.4 + '@types/node': 22.10.5