Skip to content

Fix/pnpm - #39

Merged
Iamliuxiaozhen merged 11 commits into
mainfrom
fix/pnpm
Nov 16, 2026
Merged

Iamliuxiaozhen merged 11 commits into
mainfrom
fix/pnpm

Conversation

@Iamliuxiaozhen

Copy link
Copy Markdown
Member

No description provided.

The upstream lockfiles expect the versions upstream resolves (playwright
^1.61.1, @types/sinon ^10.0.2, @playwright/cli ^0.1.22) and do not list
the built-in minecraft-workbench extension, so `pnpm install
--frozen-lockfile` failed in CI. Override @xmcl/yauzl as well, whose
published spec is an unresolvable "workspace:^*".

Assisted-by: Tare CN:DeepSeek-V4.1-Flash
The repository moved to pnpm, so the npm cache, `npm ci` and `npm run
gulp` in the reusable build workflow no longer work.

Assisted-by: Tare CN:DeepSeek-V4.1-Flash
Conflict resolution during the upstream rebase kept the pre-1.146 copies
of the three sessions trees, so Component Fixtures failed to bundle with
missing exports (SESSIONS_LIST_INLINE_ACTIONS_SETTING) and missing
modules (sessionHost.js, sessionsAuthGate.js). The trees carry no
BlockIDE-specific changes, so take them from the 1.146.0 tag.

Assisted-by: Tare CN:DeepSeek-V4.1-Flash
With strictDepBuilds enabled, the three packages that
minecraft-workbench brings into the extensions workspace made
`pnpm install` fail with ERR_PNPM_IGNORED_BUILDS. None of them are needed
to build the IDE: keytar would additionally require libsecret headers.

Assisted-by: Tare CN:DeepSeek-V4.1-Flash
…rebase

The rebase left agentCustomizationItemProvider.ts and its test at the
pre-1.146 revision while aiCustomizationItemSource.ts kept the newer
interfaces, so hooks lost their distinct action items and description
handling. Restore both files from 1.146.0.

Assisted-by: Tare CN:DeepSeek-V4.1-Flash
Conflict resolution during the rebase left nine files whose changes all
come from upstream with the pre-1.146 revision. Four of them even kept
both sides of a rewritten import line, so they no longer compile.
Restore them from 1.146.0: the agent host worktree cleanup service and
its test, agentService's imports, the Copilot session host (missing the
model-router and client-tool recovery work), the three disk file system
adapters, and two chat tests.

Assisted-by: Tare CN:DeepSeek-V4.1-Flash
minecraft-workbench brings @types/vscode into the hoisted extensions
workspace. TypeScript then loaded both that package and
src/vscode-dts/vscode.d.ts while checking the built-in extensions, so the
Windows installers build failed with duplicate vscode API declarations.
Resolve the vscode import through the shared tsconfig instead; the
submodule keeps its own pinned types and needs no changes.

Assisted-by: Tare CN:DeepSeek-V4.1-Flash
Bundling the built-in extension failed in CI with "Could not resolve
.../minecraft-workbench/node_modules/@xmcl/unzip/dist/index.js": the
extensions workspace hoists the package to extensions/node_modules, so
the extension folder has no node_modules of its own. Point the submodule
at the build script that resolves the package through Node instead.

Assisted-by: Tare CN:DeepSeek-V4.1-Flash
Packaging the built-in extension failed because the submodule's 1.0.0
release set the publisher to "ZIT Studio", which vsce rejects as it
expects an identifier. Point the submodule at the commit that uses
"zitstudio".

Assisted-by: Tare CN:DeepSeek-V4.1-Flash
WiX 3 opens every staged file through the classic Win32 APIs, which still
stop at 260 characters. The pnpm-installed Copilot extension now nests
node_modules deep enough that
<repo>/.build/win32-x64/msi/payload/resources/app/extensions/copilot/...
reaches 261 characters, so light.exe reported LGHT0103 for files that
exist. Stage the payload next to the repository, where the prefix is 27
characters shorter, and do the same for MSIX.

Assisted-by: Tare CN:DeepSeek-V4.1-Flash
@Iamliuxiaozhen
Iamliuxiaozhen merged commit 8407f76 into main Nov 16, 2026
57 checks passed
@Iamliuxiaozhen
Iamliuxiaozhen deleted the fix/pnpm branch November 16, 2026 09:15
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant