{ "$schemaNote": "Consumed by config/scripts/terminal-dependencies/xterm-patches/regenerate-xterm-patches.mjs. See docs/reference/xterm-patch-regeneration.md.", "upstream": { "repository": "https://github.com/xtermjs/xterm.js.git", "commit": "08829c7eb6279dda2a9e86df901353a1a89858ca", "commitSource": "bin/publish.js stamps package.json.commit before npm publish, so the published tarball names its own commit. The generator asserts the two agree." }, "sourcemaps": { "policy": "include", "why": "Keep generated source maps synchronized with their bundles for debugging. The removed transaction-events test no longer requires source-map/runtime version self-consistency." }, "toolchain": { "why": "Pinned by the upstream package-lock at the commit above. The generator asserts these resolve as expected so a silent upstream resolution change surfaces as a toolchain error rather than a mystery patch diff.", "esbuild": "0.28.1", "webpack": "5.107.0", "terser": "5.47.1", "@typescript/native-preview": "7.0.0-dev.20260521.1" }, "packages": [ { "name": "@xterm/xterm", "version": "6.1.0-beta.336", "packageDir": ".", "versionStampFile": "src/common/Version.ts", "sourcePatch": "config/patches/xterm-src/@xterm__xterm@6.1.0-beta.336.src.patch", "patch": "config/patches/@xterm__xterm@6.1.0-beta.336.patch", "generatedPaths": ["lib/"], "build": [ { "cwd": ".", "command": "npm", "args": ["run", "package"] } ] }, { "name": "@xterm/addon-webgl", "version": "0.20.0-beta.329", "packageDir": "addons/addon-webgl", "$note": "No versionStampFile: publish.js stamps the addon's package.json, which overlayBuildOutput never patches. The root `build` is required because the addon's own tsgo -p . has empty files/include and only project references, so it emits nothing on its own; `package` is the addon's webpack (CJS half) and the root `esbuild-package` emits the ESM half.", "sourcePatch": "config/patches/xterm-src/@xterm__addon-webgl@0.20.0-beta.329.src.patch", "patch": "config/patches/@xterm__addon-webgl@0.20.0-beta.329.patch", "generatedPaths": ["lib/"], "build": [ { "cwd": "../..", "command": "npm", "args": ["run", "build"] }, { "cwd": ".", "command": "npm", "args": ["run", "package"] }, { "cwd": "../..", "command": "npm", "args": ["run", "esbuild-package"] } ] }, { "name": "@xterm/addon-search", "version": "0.17.0-beta.330", "packageDir": "addons/addon-search", "$note": "No versionStampFile: publish.js stamps the addon's package.json, which overlayBuildOutput never patches. The root `build` is required because the addon's own tsgo -p . has empty files/include and only project references, so it emits nothing on its own; `package` is the addon's webpack (CJS half) and the root `esbuild-package` emits the ESM half.", "$upstream": "Submitted as https://github.com/xtermjs/xterm.js/pull/6149 (issue #6148). Once a release ships it, bump the addon and drop this entry.", "sourcePatch": "config/patches/xterm-src/@xterm__addon-search@0.17.0-beta.330.src.patch", "patch": "config/patches/@xterm__addon-search@0.17.0-beta.330.patch", "generatedPaths": ["lib/"], "build": [ { "cwd": "../..", "command": "npm", "args": ["run", "build"] }, { "cwd": ".", "command": "npm", "args": ["run", "package"] }, { "cwd": "../..", "command": "npm", "args": ["run", "esbuild-package"] } ] }, { "name": "@xterm/addon-serialize", "version": "0.15.0-beta.330", "packageDir": "addons/addon-serialize", "$note": "No versionStampFile: publish.js stamps the addon's package.json, which overlayBuildOutput never patches. The root `build` is required because the addon's own tsgo -p . has empty files/include and only project references, so it emits nothing on its own; `package` is the addon's webpack (CJS half) and the root `esbuild-package` emits the ESM half.", "sourcePatch": "config/patches/xterm-src/@xterm__addon-serialize@0.15.0-beta.330.src.patch", "patch": "config/patches/@xterm__addon-serialize@0.15.0-beta.330.patch", "generatedPaths": ["lib/"], "build": [ { "cwd": "../..", "command": "npm", "args": ["run", "build"] }, { "cwd": ".", "command": "npm", "args": ["run", "package"] }, { "cwd": "../..", "command": "npm", "args": ["run", "esbuild-package"] } ] }, { "name": "@xterm/addon-image", "version": "0.10.0-beta.331", "packageDir": "addons/addon-image", "sourcePatch": "config/patches/xterm-src/@xterm__addon-image@0.10.0-beta.331.src.patch", "patch": "config/patches/@xterm__addon-image@0.10.0-beta.331.patch", "generatedPaths": ["lib/"], "build": [ { "cwd": "../..", "command": "npm", "args": ["run", "build"] }, { "cwd": ".", "command": "npm", "args": ["run", "package"] }, { "cwd": "../..", "command": "npm", "args": ["run", "esbuild-package"] } ] } ], "forbiddenBuildScripts": { "why": "`npm run setup` runs a development esbuild (minify:false), so calling it after the packaging build overwrites lib/*.mjs with an unminified bundle and a mismatched map. The packaging scripts are `package` and `esbuild-package`; nothing here may run a development pass after them.", "scripts": ["setup", "presetup", "postsetup", "esbuild", "esbuild-watch", "dev"] } }