Repository navigation
Fix/pnpm - #39
Merged
Merged
Fix/pnpm#39
Conversation
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
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
No description provided.