Skip to content

armgit / orca

Public Imported from GitHub
0

Orca is the place for working with a fleet of agents (e.g. Grok Bot, Claude Code). Run any coding agent with your own subscription. Available on desktop, mobile and remote runtime.

6.0 KB
Raw Blame
{
  "$schemaNote": "Consumed by config/scripts/regenerate-xterm-patches.mjs. See docs/reference/xterm-patch-regeneration.md.",
  "upstream": {
    "repository": "https://github.com/xtermjs/xterm.js.git",
    "commit": "c58ea3637f3968e0e6e79cd92cf9aace7ef89ee2",
    "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": "terminal-ime-xterm-transaction-events.test.ts reads lib/*.map and asserts the mapped Version.ts matches the runtime version, so the maps have to move with the bundles rather than be dropped. Patching them costs ~5.8MB of the emitted patch; the alternative, deleting them, is only available again once nothing reads them."
  },
  "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.304",
      "packageDir": ".",
      "versionStampFile": "src/common/Version.ts",
      "sourcePatch": "config/patches/xterm-src/@[email protected]",
      "patch": "config/patches/@[email protected]",
      "generatedPaths": ["lib/"],
      "build": [
        {
          "cwd": ".",
          "command": "npm",
          "args": ["run", "package"]
        }
      ]
    },
    {
      "name": "@xterm/addon-webgl",
      "version": "0.20.0-beta.300",
      "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/@[email protected]",
      "patch": "config/patches/@[email protected]",
      "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.301",
      "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/@[email protected]",
      "patch": "config/patches/@[email protected]",
      "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.301",
      "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/@[email protected]",
      "patch": "config/patches/@[email protected]",
      "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.301",
      "packageDir": "addons/addon-image",
      "sourcePatch": "config/patches/xterm-src/@[email protected]",
      "patch": "config/patches/@[email protected]",
      "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"]
  }
}