Commit 3c294a7
fix(FR-2853): restore copymonaco script lost during 26.4 main-merge
Resolves #FR-2853
The merge commit e5ea950 ("Merge branch 'main' into 26.4", 2026-04-24)
brought PR #6959 (FR-2697, self-host Monaco) into the 26.4 release branch
but, while resolving conflicts in package.json/electron-app/package.json/
index.html, both the `copymonaco` script definition and its invocation in
the `build` chain were silently dropped from root package.json.
As a result v26.4.6 and v26.4.7 ship a release zip with no
`resources/monaco/vs/` tree, and any UI that uses Monaco (VFolder file
editor, Theme JSON config modal) fails to load `/resources/monaco/vs/loader.js`
in deployed environments.
main is unaffected, which is why local builds reproduced fine and the
regression went unnoticed through two releases.
Restore the two lost lines in root package.json:
1. Re-insert `&& pnpm run copymonaco` between `copyconfig` and `tsc`
in the `build` script.
2. Re-add the `copymonaco` script definition.
Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>1 parent 43e5a0b commit 3c294a7
1 file changed
Lines changed: 2 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
19 | 19 | | |
20 | 20 | | |
21 | 21 | | |
22 | | - | |
| 22 | + | |
23 | 23 | | |
24 | 24 | | |
25 | 25 | | |
| |||
29 | 29 | | |
30 | 30 | | |
31 | 31 | | |
| 32 | + | |
32 | 33 | | |
33 | 34 | | |
34 | 35 | | |
| |||
0 commit comments