Skip to content

Commit

Permalink
refactor(bundler): migrate from webpack to tsup
Browse files Browse the repository at this point in the history
  • Loading branch information
selemondev committed Feb 3, 2024
1 parent 707b747 commit e086953
Show file tree
Hide file tree
Showing 6 changed files with 872 additions and 3,413 deletions.
2 changes: 1 addition & 1 deletion .npmrc
Original file line number Diff line number Diff line change
@@ -1 +1 @@
enable-pre-post-scripts = true
--ignore-engines true
21 changes: 6 additions & 15 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -93,30 +93,21 @@
},
"scripts": {
"vscode:prepublish": "pnpm run package",
"deploy": "vsce publish",
"compile": "webpack",
"watch": "webpack --watch",
"package": "webpack --mode production --devtool hidden-source-map",
"pretest": "yarn run compile && yarn run lint",
"release": "yarn vscode:prepublish && bumpp --commit --push && yarn deploy",
"build": "tsup",
"deploy": "vsce publish --no-dependencies",
"pretest": "pnpm run compile && yarn run lint",
"release": "pnpm vscode:prepublish && bumpp --commit --push && yarn deploy",
"lint": "eslint src --ext ts"
},
"devDependencies": {
"@types/glob": "^8.1.0",
"@types/mocha": "^10.0.1",
"@types/node": "20.2.5",
"@types/vscode": "^1.54.0",
"@typescript-eslint/eslint-plugin": "^5.59.8",
"@typescript-eslint/parser": "^5.59.8",
"@vscode/test-electron": "^2.3.2",
"bumpp": "^9.2.0",
"eslint": "^8.41.0",
"glob": "^8.1.0",
"mocha": "^10.2.0",
"ts-loader": "^9.4.3",
"typescript": "^5.1.3",
"webpack": "^5.85.0",
"webpack-cli": "^5.1.1"
"tsup": "^8.0.1",
"typescript": "^5.1.3"
},
"dependencies": {
"ofetch": "^1.3.3"
Expand Down
Loading

0 comments on commit e086953

Please sign in to comment.