Skip to content

Commit 07b1a5e

Browse files
committed
chore: update tsup config
1 parent 783f14f commit 07b1a5e

File tree

4 files changed

+13
-6
lines changed

4 files changed

+13
-6
lines changed

package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,14 +3,14 @@
33
"type": "module",
44
"version": "0.1.3",
55
"private": true,
6-
"packageManager": "pnpm@8.7.1",
6+
"packageManager": "pnpm@8.9.0",
77
"description": "A Set of AI Utils",
88
"license": "MIT",
99
"scripts": {
1010
"release": "bumpp -r",
1111
"lint": "eslint .",
1212
"lint:fix": "eslint . --fix",
13-
"build": "pnpm run -r build",
13+
"build": "pnpm run --filter utils-ai build && pnpm run --filter utils-ai-vscode build",
1414
"build:stub": "pnpm run -r build:stub",
1515
"postinstall": "pnpm run build:stub",
1616
"ext:dev": "pnpm run --filter utils-ai-vscode dev"

packages/utils-ai-vscode/package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -68,15 +68,15 @@
6868
},
6969
"scripts": {
7070
"dev": "pnpm run build --watch src",
71-
"build": "tsup src/index.ts --external vscode",
71+
"build": "tsup src/index.ts",
7272
"vscode:prepublish": "pnpm run build",
7373
"publish": "vsce publish --no-dependencies"
7474
},
7575
"dependencies": {
7676
"utils-ai": "0.1.2"
7777
},
7878
"devDependencies": {
79-
"@types/node": "18.x",
79+
"@types/node": "^18.18.4",
8080
"@types/vscode": "^1.83.0",
8181
"@vscode/vsce": "^2.21.1",
8282
"tsup": "^7.2.0",
Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
import { defineConfig } from 'tsup'
2+
3+
export default defineConfig({
4+
external: ['vscode'],
5+
noExternal: ['utils-ai'],
6+
clean: true,
7+
})

packages/utils-ai/package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
"name": "utils-ai",
33
"type": "module",
44
"version": "0.1.3",
5-
"packageManager": "pnpm@8.7.1",
5+
"packageManager": "pnpm@8.9.0",
66
"description": "A CLI of AI Utils",
77
"author": "Estéban Soubiran <[email protected]> (https://github.com/barbapapazes/)",
88
"license": "MIT",
@@ -46,7 +46,7 @@
4646
"rc9": "^2.1.1"
4747
},
4848
"devDependencies": {
49-
"@types/node": "^20.8.3",
49+
"@types/node": "^20.8.4",
5050
"jiti": "^1.20.0",
5151
"typescript": "^5.2.2",
5252
"unbuild": "^2.0.0"

0 commit comments

Comments
 (0)