mirror of
https://github.com/oven-sh/bun
synced 2026-02-16 22:01:47 +00:00
Consolidate node compatibility files: - Move node C++ files from bindings/node/ to buntime/node/ - Rename bindings/node/crypto to node/crypto_bindings for clarity - Move webcrypto from bindings/ to webcore/webcrypto/ - Update cmake include paths and source patterns Part of source code reorganization to make code location "guessable". 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude <noreply@anthropic.com>
96 lines
2.6 KiB
JSON
96 lines
2.6 KiB
JSON
[
|
|
{
|
|
"output": "BunErrorSources.txt",
|
|
"paths": ["packages/bun-error/*.{json,ts,tsx,css}", "packages/bun-error/img/*"]
|
|
},
|
|
{
|
|
"output": "NodeFallbacksSources.txt",
|
|
"paths": ["src/node-fallbacks/*.js"]
|
|
},
|
|
{
|
|
"output": "ZigGeneratedClassesSources.txt",
|
|
"paths": [
|
|
"src/buntime/*.classes.ts",
|
|
"src/buntime/{api,node,webcore}/*.classes.ts",
|
|
"src/buntime/api/*/*.classes.ts",
|
|
"src/test_runner/*.classes.ts"
|
|
]
|
|
},
|
|
{
|
|
"output": "JavaScriptSources.txt",
|
|
"paths": ["src/js/**/*.{js,ts}", "src/install/PackageManager/scanner-entry.ts"]
|
|
},
|
|
{
|
|
"output": "JavaScriptCodegenSources.txt",
|
|
"paths": ["src/codegen/*.ts"]
|
|
},
|
|
{
|
|
"output": "BakeRuntimeSources.txt",
|
|
"paths": ["src/bake/*.ts", "src/bake/*/*.{ts,css}"],
|
|
"exclude": ["src/bake/generated.ts"]
|
|
},
|
|
{
|
|
"output": "BindgenSources.txt",
|
|
"paths": ["src/**/*.bind.ts"]
|
|
},
|
|
{
|
|
"output": "BindgenV2Sources.txt",
|
|
"paths": ["src/**/*.bindv2.ts"]
|
|
},
|
|
{
|
|
"output": "BindgenV2InternalSources.txt",
|
|
"paths": ["src/codegen/bindgenv2/**/*.ts"]
|
|
},
|
|
{
|
|
"output": "ZigSources.txt",
|
|
"paths": ["src/**/*.zig"]
|
|
},
|
|
{
|
|
"output": "CxxSources.txt",
|
|
"paths": [
|
|
"src/io/*.cpp",
|
|
"src/buntime/modules/*.cpp",
|
|
"src/buntime/bindings/*.cpp",
|
|
"src/buntime/bindings/webcore/*.cpp",
|
|
"src/buntime/api/sqlite/*.cpp",
|
|
"src/buntime/webcore/webcrypto/*.cpp",
|
|
"src/buntime/webcore/webcrypto/*/*.cpp",
|
|
"src/buntime/node/*.cpp",
|
|
"src/buntime/node/crypto_bindings/*.cpp",
|
|
"src/buntime/node/http/*.cpp",
|
|
"src/buntime/compat/v8/*.cpp",
|
|
"src/buntime/compat/v8/shim/*.cpp",
|
|
"src/buntime/api/console/*.cpp",
|
|
"src/buntime/api/inspector/*.cpp",
|
|
"src/buntime/api/error/*.cpp",
|
|
"src/buntime/api/cookie/*.cpp",
|
|
"src/buntime/api/s3/*.cpp",
|
|
"src/buntime/api/secrets/*.cpp",
|
|
"src/buntime/api/ffi/*.cpp",
|
|
"src/buntime/api/sql/*.cpp",
|
|
"src/buntime/api/shell/*.cpp",
|
|
"src/buntime/api/ipc/*.cpp",
|
|
"src/buntime/api/test/*.cpp",
|
|
"src/buntime/api/server/*.cpp",
|
|
"src/buntime/api/plugin/*.cpp",
|
|
"src/bake/*.cpp",
|
|
"src/deps/*.cpp",
|
|
"src/vm/*.cpp",
|
|
"packages/bun-usockets/src/crypto/*.cpp"
|
|
]
|
|
},
|
|
{
|
|
"output": "CSources.txt",
|
|
"paths": [
|
|
"packages/bun-usockets/src/*.c",
|
|
"packages/bun-usockets/src/eventing/*.c",
|
|
"packages/bun-usockets/src/internal/*.c",
|
|
"packages/bun-usockets/src/crypto/*.c",
|
|
"src/buntime/bindings/uv-posix-polyfills.c",
|
|
"src/buntime/bindings/uv-posix-stubs.c",
|
|
"src/*.c",
|
|
"src/buntime/node/http/llhttp/*.c"
|
|
]
|
|
}
|
|
]
|