From 3eb6329aed1200db109fcc994f55897952a5e0ee Mon Sep 17 00:00:00 2001 From: Anthony Fu Date: Tue, 11 Feb 2025 16:07:39 +0800 Subject: [PATCH] chore: cleanup --- package.json | 8 +++----- pnpm-lock.yaml | 26 +++----------------------- 2 files changed, 6 insertions(+), 28 deletions(-) diff --git a/package.json b/package.json index b060542..c475f53 100644 --- a/package.json +++ b/package.json @@ -83,8 +83,8 @@ "lint": "eslint .", "play": "npm -C playground run dev", "prepublishOnly": "npm run build", - "release": "bumpp && npm publish", - "start": "esno src/index.ts", + "release": "bumpp && pnpm publish", + "start": "tsx src/index.ts", "test": "vitest" }, "peerDependencies": { @@ -128,13 +128,11 @@ "@nuxt/schema": "^3.15.4", "@types/node": "^22.13.1", "bumpp": "^10.0.2", - "chalk": "^5.4.1", "eslint": "^9.20.0", - "esno": "^4.8.0", - "fast-glob": "^3.3.3", "nodemon": "^3.1.9", "rollup": "^4.34.6", "tsup": "^8.3.6", + "tsx": "^4.19.2", "typescript": "^5.7.3", "vite": "^6.1.0", "vitest": "^3.0.5", diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml index 9b43ab8..db68c84 100644 --- a/pnpm-lock.yaml +++ b/pnpm-lock.yaml @@ -33,18 +33,9 @@ importers: bumpp: specifier: ^10.0.2 version: 10.0.2 - chalk: - specifier: ^5.4.1 - version: 5.4.1 eslint: specifier: ^9.20.0 version: 9.20.0(jiti@2.4.2) - esno: - specifier: ^4.8.0 - version: 4.8.0 - fast-glob: - specifier: ^3.3.3 - version: 3.3.3 nodemon: specifier: ^3.1.9 version: 3.1.9 @@ -54,6 +45,9 @@ importers: tsup: specifier: ^8.3.6 version: 8.3.6(jiti@2.4.2)(postcss@8.5.1)(tsx@4.19.2)(typescript@5.7.3) + tsx: + specifier: ^4.19.2 + version: 4.19.2 typescript: specifier: ^5.7.3 version: 5.7.3 @@ -1281,10 +1275,6 @@ packages: resolution: {integrity: sha512-oKnbhFyRIXpUuez8iBMmyEa4nbj4IOQyuhc/wy9kY7/WVPcwIO9VA668Pu8RkO7+0G76SLROeyw9CpQ061i4mA==} engines: {node: '>=10'} - chalk@5.4.1: - resolution: {integrity: sha512-zgVZuo2WcZgfUEmsn6eO3kINexW8RAE4maiQ8QNs8CtpPCSyMiYsULR3HQYkm3w8FIA3SberyMJMSldGsW+U3w==} - engines: {node: ^12.17.0 || ^14.13 || >=16.0.0} - character-entities@2.0.2: resolution: {integrity: sha512-shx7oQ0Awen/BRIdkjkvz54PnEEI/EjwXDSIZp86/KKdbafHh1Df/RYGBhn4hbe2+uKC9FnT5UCEdyPz3ai9hQ==} @@ -1740,10 +1730,6 @@ packages: jiti: optional: true - esno@4.8.0: - resolution: {integrity: sha512-acMtooReAQGzLU0zcuEDHa8S62meh5aIyi8jboYxyvAePdmuWx2Mpwmt0xjwO0bs9/SXf+dvXJ0QJoDWw814Iw==} - hasBin: true - espree@10.3.0: resolution: {integrity: sha512-0QYC8b24HWY8zjRnDTL6RiHfDbAWn63qb4LMj1Z4b076A4une81+z03Kg7l7mn/48PUTqoLptSXez8oknU8Clg==} engines: {node: ^18.18.0 || ^20.9.0 || >=21.1.0} @@ -4932,8 +4918,6 @@ snapshots: ansi-styles: 4.3.0 supports-color: 7.2.0 - chalk@5.4.1: {} - character-entities@2.0.2: {} chardet@0.7.0: {} @@ -5480,10 +5464,6 @@ snapshots: transitivePeerDependencies: - supports-color - esno@4.8.0: - dependencies: - tsx: 4.19.2 - espree@10.3.0: dependencies: acorn: 8.14.0