chore(deps): migrate @mariozechner -> @earendil-works (closes #39)#40
Closed
av1155 wants to merge 1 commit into
Closed
chore(deps): migrate @mariozechner -> @earendil-works (closes #39)#40av1155 wants to merge 1 commit into
av1155 wants to merge 1 commit into
Conversation
ebe1287 to
27f75f2
Compare
…iou#39) The four @mariozechner/pi-* packages this repo depends on are deprecated upstream; the @earendil-works/pi-* line at v0.74.0 is the canonical replacement. This commit completes the migration end-to-end without leaving any indirect aliases in place: - Source imports across src/commands/, src/components/, src/tools/, src/index.ts, src/manager.ts, src/notification.ts, and src/status-bar-controller.ts now reference @earendil-works/pi-coding-agent, @earendil-works/pi-tui, and @earendil-works/pi-ai. - peerDependencies and devDependencies repinned to @earendil-works at ^0.74.0. @earendil-works/pi-ai added to dev so type-only imports resolve. - @aliou/pi-utils-ui ^0.10.0 -> ^0.4.1. v0.4 imports cleanly from @earendil-works/pi-tui so no indirection remains, but it removes the createPanelPadder / renderPanelRule / renderPanelTitleLine helpers this repo still consumes for mid-body separators. The three helpers (~30 lines total) are ported in tree under src/components/panel-helpers.ts so pi-processes owns the rendering surface it relies on. - @aliou/pi-utils-settings ^0.10.0 -> ^0.15.1. - @aliou/biome-plugins ^0.3.2 -> ^0.8.1. - typescript ^5.9.3 -> ^6.0.3. - biome.json schema reference bumped to 2.4.15 so the CLI from @aliou/biome-plugins stops emitting a deserialise warning. - Biome auto-fixes applied along the way: src/manager.ts exports sorted alphabetically; tsconfig.json arrays compacted. After this change pnpm install reports 0 vulnerabilities, pnpm typecheck (tsc --noEmit) is clean, pnpm lint (biome check) is clean, and the 18 existing vitest tests still pass. node-domexception remains as the only transitive deprecation, seven levels deep through fetch-blob.
27f75f2 to
04de7cb
Compare
Owner
|
Hey @av1155, thanks for this! I'm working on a refactor of the extension that already includes this so I'll close this for now. I'll leave the issue open and and close it when the next version is released. |
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.
Closes #39.
pnpm installagainst v0.9.0 prints four deprecation warnings:This PR completes the namespace migration end-to-end without leaving any indirect aliases in place.
Source migration
Repo imports across
src/commands/,src/components/,src/hooks/,src/tools/,src/index.ts,src/manager.ts, andsrc/notification.tsnow reference@earendil-works/pi-coding-agent,@earendil-works/pi-tui, and@earendil-works/pi-ai.Direct dep updates
peerDependencies:@earendil-works/pi-coding-agentand@earendil-works/pi-tui(was@mariozechner/*).devDependencies: same swap pinned at^0.74.0.@earendil-works/pi-aiadded so the type imports insrc/tools/actions/start.tsresolve.@aliou/pi-utils-ui:^0.10.0to^0.4.1. v0.4 imports cleanly from@earendil-works/pi-tui, so no aliasing remains.@aliou/pi-utils-settings:^0.10.0to^0.15.1.@aliou/biome-plugins:^0.3.2to^0.8.1.typescript:^5.9.3to^6.0.3.biome.json$schemareference bumped to 2.4.15 to match the CLI pulled in by@aliou/biome-plugins.In-tree port: panel helpers
@aliou/pi-utils-ui@0.4.xdroppedcreatePanelPadder,renderPanelRule, andrenderPanelTitleLinefrom its public surface in favour of aPanelclass. The newPaneldoes not directly support the mid-body separators thatprocesses-component.tsdraws between the process list and the output preview, so the three helpers (about thirty lines total) are ported in tree undersrc/components/panel-helpers.ts. The new file imports from@earendil-works/pi-coding-agentand@earendil-works/pi-tuidirectly.processes-component.ts,process-picker-component.ts, andlog-dock-component.tsnow import the helpers from the local file. pi-processes now owns the panel rendering surface it relies on, with no transitive coupling to a specific version of@aliou/pi-utils-ui.Biome auto-fixes
biome check --writeafter the dep bump applied two safe fixes that the pre-commit hook requires:src/manager.ts:752: sort theexport type { ... }list alphabetically.tsconfig.json: compact theinclude/excludearrays.Verification
pnpm audit:found 0 vulnerabilities.pnpm typecheck(tsc --noEmit): clean.pnpm lint(biome check): clean.pnpm test(vitest run): 18 tests across two files pass.node-domexception@1.0.0remains as the only transitive deprecation, seven levels deep throughfetch-blob.