Skip to content

feat(packages): implement snapshot and restore for global npm packages#19

Merged
dipto0321 merged 3 commits into
mainfrom
feat/packages/snapshot-migration
Jun 30, 2026
Merged

feat(packages): implement snapshot and restore for global npm packages#19
dipto0321 merged 3 commits into
mainfrom
feat/packages/snapshot-migration

Conversation

@dipto0321

Copy link
Copy Markdown
Owner

Phase 3: Package snapshot + migration engine

Implements:

  • npm ls -g --json --depth=0 parsing into Package structs
  • Snapshot save to ~/.nodeup/snapshots/-.json
  • Restore packages via npm install -g
  • Skip bundled packages (npm, corepack, npx)

See .puku/plans/nodeup_v1_build_plan_3481ccad.plan.md Phase 3.

Related: #13

dipto0321 added 2 commits June 29, 2026 23:06
- npm ls -g --json --depth=0 parsing into Package structs
- Snapshot save to ~/.nodeup/snapshots/<manager>-<version>.json
- Restore packages via npm install -g
- Skip bundled packages (npm, corepack, npx)

See .puku/plans/nodeup_v1_build_plan_3481ccad.plan.md Phase 3.
@dipto0321 dipto0321 force-pushed the feat/packages/snapshot-migration branch from f9db299 to 4865ae5 Compare June 30, 2026 03:52
- npm ls -g --json --depth=0 parsing into Package structs
- SnapshotData persisted to ~/.nodeup/snapshots/<manager>-<version>.json
- Restore packages via npm install -g
- Skip bundled packages (npm, corepack, npx)
- Add diff subcommand with Added/Removed output
@dipto0321 dipto0321 force-pushed the feat/packages/snapshot-migration branch from 86a06c7 to 6003643 Compare June 30, 2026 04:07
@cocogitto-bot

cocogitto-bot Bot commented Jun 30, 2026

Copy link
Copy Markdown

✔️ a5ae578...6003643 - Conventional commits check succeeded.

@dipto0321 dipto0321 merged commit 62992b5 into main Jun 30, 2026
10 checks passed
@dipto0321 dipto0321 deleted the feat/packages/snapshot-migration branch June 30, 2026 04:09
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