Skip to content

Commit ff41535

Browse files
authored
Reduce the size of the extension (#125)
1 parent a5089fe commit ff41535

File tree

2 files changed

+47
-12
lines changed

2 files changed

+47
-12
lines changed

.vscodeignore

Lines changed: 46 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -1,15 +1,50 @@
1+
# Exclude VCS and workspace config
2+
.git/**
3+
.github/**
14
.vscode/**
2-
.idea/**
3-
.vscode-test/**
5+
6+
# Do not ship TypeScript sources or source maps
47
src/**
5-
.gitignore
6-
.yarnrc
7-
vsc-extension-quickstart.md
8-
**/tsconfig.json
9-
**/eslint.config.mjs
108
**/*.map
119
**/*.ts
12-
**/.vscode-test.*
13-
ui/node_modules/**
14-
ui/src/**
15-
**/test
10+
**/*.tsx
11+
**/*.test.*
12+
**/*.spec.*
13+
14+
# VS Code testing/coverage artifacts
15+
.vscode-test/**
16+
coverage/**
17+
18+
# Build artifacts and local packages
19+
*.vsix
20+
.vsix/**
21+
22+
# UI workspace: keep only built assets
23+
ui/**
24+
!ui/dist/**
25+
26+
# Keep built extension output and resources
27+
!dist/**
28+
!resources/**
29+
!llama.png
30+
!README.md
31+
!LICENSE
32+
!package.json
33+
34+
# Node modules: keep runtime code but drop heavy non-runtime extras
35+
node_modules/**/test/**
36+
node_modules/**/tests/**
37+
node_modules/**/__tests__/**
38+
node_modules/**/benchmark/**
39+
node_modules/**/benchmarks/**
40+
node_modules/**/example/**
41+
node_modules/**/examples/**
42+
node_modules/**/doc/**
43+
node_modules/**/docs/**
44+
node_modules/**/man/**
45+
node_modules/**/.github/**
46+
node_modules/**/.vscode/**
47+
48+
# Logs and misc
49+
npm-debug.log*
50+
yarn-error.log*

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1946,7 +1946,6 @@
19461946
"format": "prettier --write --ignore-path .gitignore '**/*'"
19471947
},
19481948
"dependencies": {
1949-
"@vscode/test-cli": "^0.0.11",
19501949
"axios": "^1.1.2",
19511950
"globby": "^14.1.0",
19521951
"ignore": "^7.0.4",
@@ -1956,6 +1955,7 @@
19561955
"simple-git": "^3.28.0"
19571956
},
19581957
"devDependencies": {
1958+
"@vscode/test-cli": "^0.0.11",
19591959
"@babel/types": "^7.28.4",
19601960
"@types/micromatch": "^4.0.9",
19611961
"@types/mocha": "^10.0.10",

0 commit comments

Comments
 (0)