Skip to content
This repository has been archived by the owner on Oct 15, 2024. It is now read-only.

Commit

Permalink
fix: bundle dependencies into release
Browse files Browse the repository at this point in the history
  • Loading branch information
seanwu1105 committed Aug 29, 2022
1 parent aa07b90 commit 35ea0d9
Show file tree
Hide file tree
Showing 9 changed files with 1,836 additions and 54 deletions.
11 changes: 0 additions & 11 deletions .vscode/launch.json
Original file line number Diff line number Diff line change
Expand Up @@ -20,17 +20,6 @@
"port": 6009,
"restart": true,
"outFiles": ["${workspaceFolder}/out/**/*.js"]
},
{
"name": "Extension Tests",
"type": "extensionHost",
"request": "launch",
"args": [
"--extensionDevelopmentPath=${workspaceFolder}",
"--extensionTestsPath=${workspaceFolder}/out/test/suite/index"
],
"outFiles": ["${workspaceFolder}/out/test/**/*.js"],
"preLaunchTask": "${defaultBuildTask}"
}
],
"compounds": [
Expand Down
21 changes: 19 additions & 2 deletions .vscode/tasks.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,15 +6,32 @@
{
"type": "npm",
"script": "watch",
"problemMatcher": "$tsc-watch",
// "problemMatcher": "$ts-webpack-watch",
"isBackground": true,
"presentation": {
"reveal": "never"
"reveal": "never",
"group": "watchers"
},
"group": {
"kind": "build",
"isDefault": true
}
},
{
"type": "npm",
"script": "watch:tests",
"problemMatcher": "$tsc-watch",
"isBackground": true,
"presentation": {
"reveal": "never",
"group": "watchers"
},
"group": "build"
},
{
"label": "tasks: watch:tests",
"dependsOn": ["npm: watch", "npm: watch:tests"],
"problemMatcher": []
}
]
}
28 changes: 20 additions & 8 deletions .vscodeignore
Original file line number Diff line number Diff line change
Expand Up @@ -137,7 +137,7 @@ web_modules/

# Next.js build output
.next
# out # This should be included on releasing.
# out # extension entry point

# Nuxt.js build / generate output
.nuxt
Expand Down Expand Up @@ -405,11 +405,11 @@ compile_commands.json

### VisualStudioCode ###
.vscode/
!.vscode/settings.json
!.vscode/tasks.json
!.vscode/launch.json
!.vscode/extensions.json
!.vscode/*.code-snippets
# !.vscode/settings.json
# !.vscode/tasks.json
# !.vscode/launch.json
# !.vscode/extensions.json
# !.vscode/*.code-snippets

# Local History for Visual Studio Code
.history/
Expand Down Expand Up @@ -456,6 +456,18 @@ $RECYCLE.BIN/

# End of https://www.toptal.com/developers/gitignore/api/windows,macos,linux,visualstudiocode,node,python,qt

# Python Scripts
.github
.husky
.vscode
python
!python/scripts/
!python/scripts/
src
.commitlintrc.json
.eslintrc.json
.gitignore
.lintstagedrc.json
.prettierignore
.prettierrc.json
.tool-versions
clean.js
tsconfig.json
4 changes: 4 additions & 0 deletions clean.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
const fs = require('node:fs')
const path = require('node:path')

fs.rmSync(path.resolve(__dirname, 'out'), { force: true, recursive: true })
Loading

0 comments on commit 35ea0d9

Please sign in to comment.