-
-
Notifications
You must be signed in to change notification settings - Fork 6
Expand file tree
/
Copy path.vscodeignore
More file actions
133 lines (118 loc) · 4.17 KB
/
Copy path.vscodeignore
File metadata and controls
133 lines (118 loc) · 4.17 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
# Blacklist approach: exclude dev files, keep runtime files.
# pnpm symlinks in server/node_modules are stripped by package.sh.
# Root node_modules is excluded below; TS plugins are injected by package.sh.
#
# WARNING: vsce does NOT read .gitignore. A gitignored build/cache dir still ships unless
# it is ALSO listed here. The dotfile glob below covers dot-prefixed caches (.dev/, .oxlint/,
# .pnpm-store/, ...); a NON-dot dir added later still needs its own entry. This denylist fails
# open - anything new in the working tree ships by default - so scripts/verify-package-contents.sh
# runs at the end of package.sh and fails the build if an unexpected path or size regresses in.
# All dotfiles and dot-directories, at any depth. vsce runs minimatch with { dot: true }
# and only auto-appends /** to NON-glob folder names, so a bare `.*` matches dot NAMES but
# not their contents - the four forms below cover root dotfiles, root dot-dir contents, and
# nested dotfiles/dot-dirs. This subsumes .git*/.vscode*/.claude/ AND every gitignored local
# cache vsce would otherwise ship (.dev/ tool binaries, .oxlint/, .pnpm-store/, .superpowers/,
# .pkg-inject/, .oxlintrc.json, .oxfmtrc.json). Nothing runtime is dot-prefixed.
.*
.*/**
**/.*
**/.*/**
# Dev files
CLAUDE.md
CONTRIBUTING.md
knip.ts
tsconfig.json
pnpm-lock.yaml
pnpm-workspace.yaml
# Build artifacts and logs
dist/
*.vsix
*.tgz
*.log
*.tsbuildinfo
**/*.map
*.tmbundle
*.zip
bgforge-mls-notepadpp*/
bgforge-mls-kate*/
# Dev-only directories
coverage/
docs/
external/
grammars/
plugins/
scripts/
test/
tmp/
transpilers/
# Bundled library workspaces: esbuild inlines their src/data into client/out and
# server/out at build time, so nothing under them is read from disk at runtime.
# (binary/binary-editor/format each had per-subdir excludes before; the wholesale
# form fails closed - a newly added file under them cannot silently ship.)
binary/
binary-editor/
compilers/
format/
image/
shared/
# Reusable GitHub Actions and hand-written editor syntax inputs - build/CI inputs,
# merged into shipped bundles at build time; not part of the extension.
actions/
editors/
# Repo-level dev config and internal docs not needed in the installed extension.
AGENTS.md
**/AGENTS.md
**/INTERNALS.md
lefthook.yml
stryker.conf.json
tsconfig.base.json
vitest.config.ts
vitest.workspace.ts
zizmor.yml
# Per-workspace node_modules under binary/binary-editor/format are covered by the
# wholesale excludes above; their pnpm symlinks are dev-only (esbuild inlines all deps
# into out/) and some are directory symlinks yazl rejects with "not a file" anyway.
# server/node_modules is the exception that DOES ship - package.sh derefs the externalised
# esbuild-wasm and strips all other symlinks before vsce runs (see esbuild-wasm block below).
# Source YAML for TextMate grammars (only .json ships)
syntaxes/*.yml
# Upstream theme sources (only bgforge-* variants ship)
themes/vscode-monokai.json
themes/vs-seti-icon-theme.json
# READMEs and co-located agent instruction files in subdirectories
# (root README auto-included by vsce; nested .gitignore covered by the dotfile glob)
**/README.md
**/CLAUDE.md
# Client dev files. The webview HTML/CSS assets under client/src/ ARE runtime (loaded
# via webview.asWebviewUri), so client/src is kept - but its Svelte/TS/test sources are
# bundled into client/out and must not ship.
client/src/**/*.ts
client/src/**/*.mts
client/src/**/*.svelte
client/src/**/test/
client/test/
client/testFixture/
client/out/test/
client/scripts/
client/tsconfig*.json
client/vitest*.config.ts
client/node_modules/
client/coverage/
# Server dev files
server/src/
server/data/
server/test/
server/scripts/
server/tsconfig*.json
server/vitest*.config.ts
server/coverage/
# esbuild-wasm: only keep runtime files (wasm, bin, lib/main.js, wasm_exec*)
server/node_modules/esbuild-wasm/esm/
server/node_modules/esbuild-wasm/lib/browser*
server/node_modules/esbuild-wasm/lib/main.d.ts
server/node_modules/esbuild-wasm/**/*.d.ts
server/node_modules/esbuild-wasm/LICENSE.md
server/node_modules/esbuild-wasm/README.md
# Root node_modules: exclude entirely (TS plugins injected by package.sh)
# (pnpm .ignored*/ dirs and the .pkg-inject/ staging dir are covered by the dotfile glob.)
node_modules/