-
Notifications
You must be signed in to change notification settings - Fork 31
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix: bundle extension using tsup (#268)
* fix: bundle extension using tsup closes #267 * deps
- Loading branch information
Showing
9 changed files
with
1,100 additions
and
41 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
--- | ||
'tauri-vscode': patch | ||
--- | ||
|
||
Fix extension failing to active due missing dependencies |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -6,6 +6,6 @@ | |
npm-debug.log | ||
Thumbs.db | ||
node_modules/ | ||
out/ | ||
dist/ | ||
.vs/ | ||
.vscode-test/ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -38,7 +38,7 @@ | |
"workspaceContains:**/tauri.*.conf.json5", | ||
"onFileSystem:tauri" | ||
], | ||
"main": "./out/extension.js", | ||
"main": "./dist/extension.js", | ||
"contributes": { | ||
"jsonValidation": [ | ||
{ | ||
|
@@ -82,20 +82,19 @@ | |
}, | ||
"scripts": { | ||
"vscode:prepublish": "pnpm run compile", | ||
"compile": "tsc -p ./", | ||
"watch": "tsc -watch -p ./", | ||
"compile": "tsup src/extension.ts --clean --format cjs --external vscode", | ||
"watch": "pnpm run compile --watch", | ||
"format": "prettier ./**/*.{json,ts,js} -w --ignore-path .gitignore" | ||
}, | ||
"dependencies": { | ||
"devDependencies": { | ||
"axios": "1.7.7", | ||
"glob": "11.0.0", | ||
"run-in-terminal": "0.0.3", | ||
"strip-ansi": "7.1.0" | ||
}, | ||
"devDependencies": { | ||
"strip-ansi": "7.1.0", | ||
"@types/node": "18.19.31", | ||
"@types/vscode": "1.75.0", | ||
"prettier": "3.3.3", | ||
"tsup": "^8.2.4", | ||
"typescript": "5.5.4" | ||
}, | ||
"packageManager": "[email protected]" | ||
|
Oops, something went wrong.