Skip to content

Commit 18a62ca

Browse files
committed
refactor: build scripts
1 parent 7079400 commit 18a62ca

File tree

4 files changed

+1147
-2630
lines changed

4 files changed

+1147
-2630
lines changed

package.json

Lines changed: 4 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
"name": "nuxtr-vscode",
33
"displayName": "Nuxtr",
44
"description": "An extension for Nuxt.js offering commands and tools to make your experience more pleasant.",
5-
"version": "0.1.11",
5+
"version": "0.2.0",
66
"packageManager": "[email protected]",
77
"engines": {
88
"vscode": "^1.82.0"
@@ -1024,8 +1024,8 @@
10241024
"scripts": {
10251025
"install:all": "pnpm install && cd ui && pnpm install",
10261026
"vscode:prepublish": "pnpm build",
1027-
"build": "tsup ./src/index.ts --external vscode --platform node",
1028-
"dev": "pnpm build --watch -p ./",
1027+
"build": "esno scripts/build.ts",
1028+
"dev": "pnpm build -- --watch",
10291029
"lint": "eslint ./src --ext .ts --fix",
10301030
"package": "vsce package",
10311031
"publish:release": "vsce publish",
@@ -1040,6 +1040,7 @@
10401040
"@typescript-eslint/parser": "^6.7.3",
10411041
"@vscode/test-electron": "^2.3.4",
10421042
"eslint": "^8.50.0",
1043+
"esno": "^0.17.0",
10431044
"taze": "^0.11.3",
10441045
"tsup": "^7.2.0",
10451046
"typescript": "^5.2.2"
@@ -1057,10 +1058,5 @@
10571058
"path": "^0.12.7",
10581059
"pkg-types": "^1.0.3",
10591060
"util": "^0.12.5"
1060-
},
1061-
"pnpm": {
1062-
"overrides": {
1063-
"magicast": "0.2.11"
1064-
}
10651061
}
10661062
}

0 commit comments

Comments
 (0)