mirror of
https://github.com/microsoft/vscode.git
synced 2026-08-03 01:13:12 +08:00
* Bump Copilot SDK to 1.0.8 preview Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com> Copilot-Session: 5083fb1f-34d7-44bf-82a1-c4582e57683b * Exclude unused Koffi native modules Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com> Copilot-Session: 5083fb1f-34d7-44bf-82a1-c4582e57683b --------- Copilot-Session: 5083fb1f-34d7-44bf-82a1-c4582e57683b
279 lines
7.5 KiB
Plaintext
279 lines
7.5 KiB
Plaintext
# cleanup rules for node modules, .gitignore style
|
|
|
|
# native node modules
|
|
|
|
nan/**
|
|
*/node_modules/nan/**
|
|
|
|
fsevents/binding.gyp
|
|
fsevents/fsevents.cc
|
|
fsevents/build/**
|
|
fsevents/src/**
|
|
fsevents/test/**
|
|
!fsevents/**/*.node
|
|
|
|
@vscode/spdlog/binding.gyp
|
|
@vscode/spdlog/build/**
|
|
@vscode/spdlog/deps/**
|
|
@vscode/spdlog/src/**
|
|
@vscode/spdlog/test/**
|
|
@vscode/spdlog/*.yml
|
|
!@vscode/spdlog/build/Release/*.node
|
|
|
|
@vscode/deviceid/binding.gyp
|
|
@vscode/deviceid/build/**
|
|
@vscode/deviceid/deps/**
|
|
@vscode/deviceid/src/**
|
|
@vscode/deviceid/test/**
|
|
@vscode/deviceid/*.yml
|
|
!@vscode/deviceid/build/Release/*.node
|
|
|
|
@vscode/fs-copyfile/binding.gyp
|
|
@vscode/fs-copyfile/build/**
|
|
@vscode/fs-copyfile/src/**
|
|
!@vscode/fs-copyfile/build/Release/*.node
|
|
|
|
@vscode/sqlite3/binding.gyp
|
|
@vscode/sqlite3/benchmark/**
|
|
@vscode/sqlite3/cloudformation/**
|
|
@vscode/sqlite3/deps/**
|
|
@vscode/sqlite3/test/**
|
|
@vscode/sqlite3/build/**
|
|
@vscode/sqlite3/src/**
|
|
!@vscode/sqlite3/build/Release/*.node
|
|
|
|
@vscode/windows-mutex/binding.gyp
|
|
@vscode/windows-mutex/build/**
|
|
@vscode/windows-mutex/src/**
|
|
!@vscode/windows-mutex/**/*.node
|
|
|
|
@vscode/windows-process-tree/binding.gyp
|
|
@vscode/windows-process-tree/build/**
|
|
@vscode/windows-process-tree/src/**
|
|
@vscode/windows-process-tree/tsconfig.json
|
|
@vscode/windows-process-tree/tslint.json
|
|
!@vscode/windows-process-tree/**/*.node
|
|
|
|
@vscode/windows-registry/binding.gyp
|
|
@vscode/windows-registry/src/**
|
|
@vscode/windows-registry/build/**
|
|
!@vscode/windows-registry/build/Release/*.node
|
|
|
|
@vscode/tree-sitter-wasm/wasm/tree-sitter-*.wasm
|
|
!@vscode/tree-sitter-wasm/wasm/tree-sitter-typescript.wasm
|
|
!@vscode/tree-sitter-wasm/wasm/tree-sitter-regex.wasm
|
|
!@vscode/tree-sitter-wasm/wasm/tree-sitter-ini.wasm
|
|
!@vscode/tree-sitter-wasm/wasm/tree-sitter-css.wasm
|
|
!@vscode/tree-sitter-wasm/wasm/tree-sitter-powershell.wasm
|
|
!@vscode/tree-sitter-wasm/wasm/tree-sitter-bash.wasm
|
|
|
|
native-keymap/binding.gyp
|
|
native-keymap/build/**
|
|
native-keymap/src/**
|
|
native-keymap/deps/**
|
|
!native-keymap/build/Release/*.node
|
|
|
|
native-is-elevated/binding.gyp
|
|
native-is-elevated/build/**
|
|
native-is-elevated/src/**
|
|
native-is-elevated/deps/**
|
|
!native-is-elevated/build/Release/*.node
|
|
|
|
@vscode/native-watchdog/binding.gyp
|
|
@vscode/native-watchdog/build/**
|
|
@vscode/native-watchdog/src/**
|
|
!@vscode/native-watchdog/build/Release/*.node
|
|
|
|
@vscode/vsce-sign/**
|
|
!@vscode/vsce-sign/src/main.d.ts
|
|
!@vscode/vsce-sign/src/main.js
|
|
!@vscode/vsce-sign/package.json
|
|
!@vscode/vsce-sign/bin/**
|
|
|
|
windows-foreground-love/binding.gyp
|
|
windows-foreground-love/build/**
|
|
windows-foreground-love/src/**
|
|
!windows-foreground-love/**/*.node
|
|
|
|
kerberos/binding.gyp
|
|
kerberos/build/**
|
|
kerberos/src/**
|
|
kerberos/node_modules/**
|
|
!kerberos/**/*.node
|
|
|
|
cpu-features/**
|
|
|
|
# utf-8-validate and bufferutil are native modules pulled in by the websocket
|
|
# package. They include prebuilds for multiple platforms which break cross-platform
|
|
# bundling (rcedit fails on non-PE .node files). Both modules have pure JS fallbacks
|
|
# that are sufficient for Node.js >= 18.14.0, so we strip all native artifacts.
|
|
utf-8-validate/binding.gyp
|
|
utf-8-validate/build/**
|
|
utf-8-validate/prebuilds/**
|
|
utf-8-validate/src/**
|
|
|
|
bufferutil/binding.gyp
|
|
bufferutil/build/**
|
|
bufferutil/prebuilds/**
|
|
bufferutil/src/**
|
|
|
|
ssh2/lib/protocol/crypto/binding.gyp
|
|
ssh2/lib/protocol/crypto/build/**
|
|
ssh2/lib/protocol/crypto/src/**
|
|
ssh2/util/**
|
|
ssh2/install.js
|
|
ssh2/.github/**
|
|
ssh2/.eslint*
|
|
ssh2/SFTP.md
|
|
|
|
node-pty/binding.gyp
|
|
node-pty/build/**
|
|
node-pty/src/**
|
|
node-pty/lib/*.test.js
|
|
node-pty/tools/**
|
|
node-pty/deps/**
|
|
node-pty/scripts/**
|
|
node-pty/third_party/**
|
|
!node-pty/build/Release/spawn-helper
|
|
!node-pty/build/Release/*.exe
|
|
!node-pty/build/Release/*.dll
|
|
!node-pty/build/Release/*.node
|
|
!node-pty/build/Release/conpty/conpty.dll
|
|
!node-pty/build/Release/conpty/OpenConsole.exe
|
|
|
|
@parcel/watcher/binding.gyp
|
|
@parcel/watcher/build/**
|
|
@parcel/watcher/prebuilds/**
|
|
@parcel/watcher/src/**
|
|
!@parcel/watcher/build/Release/*.node
|
|
|
|
vsda/**
|
|
!vsda/index.js
|
|
!vsda/index.d.ts
|
|
!vsda/package.json
|
|
!vsda/build/Release/vsda.node
|
|
!vsda/rust/web/**
|
|
!vsda/rust/bundler/**
|
|
|
|
@vscode/policy-watcher/build/**
|
|
@vscode/policy-watcher/.husky/**
|
|
@vscode/policy-watcher/src/**
|
|
@vscode/policy-watcher/binding.gyp
|
|
@vscode/policy-watcher/README.md
|
|
@vscode/policy-watcher/index.d.ts
|
|
!@vscode/policy-watcher/build/Release/vscode-policy-watcher.node
|
|
|
|
@vscode/windows-ca-certs/**/*
|
|
!@vscode/windows-ca-certs/package.json
|
|
!@vscode/windows-ca-certs/**/*.node
|
|
|
|
@vscode/node-addon-api/**/*
|
|
node-addon-api/**/*
|
|
prebuild-install/**/*
|
|
|
|
# other node modules
|
|
|
|
**/docs/**
|
|
**/example/**
|
|
**/examples/**
|
|
**/test/**
|
|
**/tests/**
|
|
|
|
# Signing artifacts
|
|
**/_manifest/**
|
|
|
|
**/History.md
|
|
**/CHANGELOG.md
|
|
**/README.md
|
|
**/readme.md
|
|
**/readme.markdown
|
|
**/CODE_OF_CONDUCT.md
|
|
**/SUPPORT.md
|
|
**/CONTRIBUTING.md
|
|
|
|
**/*.ts
|
|
|
|
# Exclude TS files that aren't needed by TS extension
|
|
typescript/lib/tsc.js
|
|
typescript/lib/typescriptServices.js
|
|
typescript/lib/tsserverlibrary.js
|
|
# We still need to include stdlib d.ts
|
|
!typescript/lib/lib*.d.ts
|
|
|
|
jschardet/index.js
|
|
jschardet/src/**
|
|
jschardet/dist/jschardet.js
|
|
|
|
es6-promise/lib/**
|
|
|
|
vscode-textmate/webpack.config.js
|
|
|
|
zone.js/dist/**
|
|
!zone.js/dist/zone-node.js
|
|
|
|
# https://github.com/xtermjs/xterm.js/issues/3137
|
|
@xterm/xterm/src/**
|
|
@xterm/xterm/tsconfig.all.json
|
|
|
|
# https://github.com/xtermjs/xterm.js/issues/3138
|
|
@xterm/xterm-addon-*/src/**
|
|
@xterm/xterm-addon-*/fixtures/**
|
|
@xterm/xterm-addon-*/out/**
|
|
@xterm/xterm-addon-*/out-test/**
|
|
|
|
# @github/copilot - strip unneeded binaries and files
|
|
@github/copilot/sdk/index.js
|
|
@github/copilot/prebuilds/**
|
|
@github/copilot/clipboard/**
|
|
@github/copilot/ripgrep/**
|
|
@github/copilot/pvrecorder/**
|
|
@github/copilot/foundry-local-sdk/**
|
|
@github/copilot/mxc-bin/**
|
|
@github/copilot/sharp/**
|
|
@github/copilot/**/keytar.node
|
|
|
|
# os-theme is pulled in by @github/copilot but the CLI does not use its native addon.
|
|
# See https://github.com/microsoft/vscode-engineering/issues/3087.
|
|
@os-theme/**
|
|
|
|
# @github/copilot platform binaries - not needed
|
|
@github/copilot-darwin-arm64/**
|
|
@github/copilot-darwin-x64/**
|
|
@github/copilot-linux-arm64/**
|
|
@github/copilot-linux-x64/**
|
|
@github/copilot-linuxmusl-arm64/**
|
|
@github/copilot-linuxmusl-x64/**
|
|
@github/copilot-win32-arm64/**
|
|
@github/copilot-win32-x64/**
|
|
|
|
# @vscode/os-proxy-resolver platform binaries - selected target is re-added during packaging
|
|
@vscode/os-proxy-resolver-darwin-arm64/**
|
|
@vscode/os-proxy-resolver-darwin-x64/**
|
|
@vscode/os-proxy-resolver-linux-arm-gnueabihf/**
|
|
@vscode/os-proxy-resolver-linux-arm64-gnu/**
|
|
@vscode/os-proxy-resolver-linux-x64-gnu/**
|
|
@vscode/os-proxy-resolver-win32-arm64-msvc/**
|
|
@vscode/os-proxy-resolver-win32-x64-msvc/**
|
|
|
|
# @github/copilot-sdk - strip the nested @github/copilot CLI runtime
|
|
# The SDK only needs its own dist/ files; the CLI is resolved via cliPath at runtime
|
|
@github/copilot-sdk/node_modules/@github/copilot/**
|
|
@github/copilot-sdk/node_modules/@github/copilot-darwin-arm64/**
|
|
@github/copilot-sdk/node_modules/@github/copilot-darwin-x64/**
|
|
@github/copilot-sdk/node_modules/@github/copilot-linux-arm64/**
|
|
@github/copilot-sdk/node_modules/@github/copilot-linux-x64/**
|
|
@github/copilot-sdk/node_modules/@github/copilot-linuxmusl-arm64/**
|
|
@github/copilot-sdk/node_modules/@github/copilot-linuxmusl-x64/**
|
|
@github/copilot-sdk/node_modules/@github/copilot-win32-arm64/**
|
|
@github/copilot-sdk/node_modules/@github/copilot-win32-x64/**
|
|
|
|
# @github/copilot-sdk uses Koffi only for its in-process FFI transport.
|
|
# VS Code uses RuntimeConnection.forStdio.
|
|
koffi/**
|
|
@koromix/koffi-*/**
|
|
|
|
# es5-ext is quarantined protestware (sonatype-2022-2248). It is only consumed
|
|
# in websocket's browser.js inside a try/catch with a globalThis fallback,
|
|
# so it is unnecessary in the browsers/runtimes VS Code supports.
|
|
es5-ext/**
|