fix(docker): materialize bundled TUI Ink package (#16690)

* fix(docker): materialize bundled TUI Ink package

* fix(docker): keep nested deps out of build context

* fix(docker): make TUI Ink smoke check deterministic

* test(docker): skip dockerignore assertion in partial checkouts

* fix(docker): use lockfile install for vendored Ink deps

* test(cli): expect deterministic npm ci in /update flow

* fix(docker): fall back to npm install for vendored Ink deps

* fix(docker): keep bundled Ink source for TUI runtime builds

* fix(docker): dedupe React in vendored Ink package
This commit is contained in:
brooklyn!
2026-04-28 13:11:47 -07:00
committed by GitHub
parent 124da27767
commit 5f215b13ce
4 changed files with 39 additions and 10 deletions

View File

@@ -130,7 +130,7 @@ class TestCmdUpdateBranchFallback:
# 3. web/ — install + "npm run build" for the web frontend
full_flags = [
"/usr/bin/npm",
"install",
"ci",
"--silent",
"--no-fund",
"--no-audit",
@@ -139,7 +139,7 @@ class TestCmdUpdateBranchFallback:
assert npm_calls == [
(full_flags, PROJECT_ROOT),
(full_flags, PROJECT_ROOT / "ui-tui"),
(["/usr/bin/npm", "install", "--silent"], PROJECT_ROOT / "web"),
(["/usr/bin/npm", "ci", "--silent"], PROJECT_ROOT / "web"),
(["/usr/bin/npm", "run", "build"], PROJECT_ROOT / "web"),
]