Skip to content

Commit d59c14f

Browse files
committed
chore: replace tsup with vite
1 parent d65c214 commit d59c14f

File tree

4 files changed

+666
-1061
lines changed

4 files changed

+666
-1061
lines changed

.vscode/tasks.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -15,8 +15,8 @@
1515
"base": "$ts-webpack-watch",
1616
"background": {
1717
"activeOnStart": true,
18-
"beginsPattern": "Build start",
19-
"endsPattern": "Build success"
18+
"beginsPattern": "building for production",
19+
"endsPattern": "watching for file changes"
2020
}
2121
}
2222
],

package.json

Lines changed: 11 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
"displayName": "Source Map Visualization",
55
"version": "1.1.1",
66
"private": true,
7-
"packageManager": "pnpm@7.14.0",
7+
"packageManager": "pnpm@7.18.1",
88
"description": "A simple visualization of source map data",
99
"author": "Colder",
1010
"license": "MIT",
@@ -60,7 +60,7 @@
6060
}
6161
},
6262
"scripts": {
63-
"build": "tsup src/index.ts --external vscode",
63+
"build": "vite build",
6464
"dev": "nr build --watch",
6565
"lint": "eslint .",
6666
"vscode:prepublish": "nr build",
@@ -71,16 +71,15 @@
7171
"release": "bumpp && nr publish"
7272
},
7373
"devDependencies": {
74-
"@antfu/eslint-config": "^0.27.0",
75-
"@antfu/ni": "^0.18.2",
76-
"@types/node": "^18.11.3",
77-
"@types/vscode": "^1.69.0",
74+
"@antfu/eslint-config": "^0.33.1",
75+
"@antfu/ni": "^0.18.8",
76+
"@types/node": "^18.11.11",
77+
"@types/vscode": "^1.73.1",
78+
"@vscode/vsce": "^2.15.0",
7879
"bumpp": "^8.2.1",
79-
"eslint": "^8.26.0",
80-
"tsup": "^6.3.0",
81-
"typescript": "^4.8.4",
82-
"vite": "^3.1.8",
83-
"vitest": "^0.24.3",
84-
"vsce": "^2.13.0"
80+
"eslint": "^8.29.0",
81+
"typescript": "^4.9.3",
82+
"vite": "^3.2.5",
83+
"vitest": "^0.25.5"
8584
}
8685
}

0 commit comments

Comments
 (0)