Skip to content

Conversation

ndcunningham
Copy link
Contributor

@ndcunningham ndcunningham commented Jul 24, 2025

Overview

This PR updates our current support for Bun lockfiles by adding a stringify function so we can seralize and preserve it's metadata.

@ndcunningham ndcunningham self-assigned this Jul 24, 2025
@ndcunningham ndcunningham added the scope: core core nx functionality label Jul 24, 2025
@ndcunningham ndcunningham requested review from a team and meeroslav as code owners July 24, 2025 20:12
Copy link

vercel bot commented Jul 24, 2025

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Updated (UTC)
nx-dev ✅ Ready (Inspect) Visit Preview Jul 29, 2025 4:02pm

Copy link
Contributor

nx-cloud bot commented Jul 24, 2025

View your CI Pipeline Execution ↗ for commit a54d88d

Command Status Duration Result
nx affected --targets=lint,test,build,e2e,e2e-c... ✅ Succeeded 9m 25s View ↗
nx run-many -t check-imports check-commit check... ✅ Succeeded 2m 4s View ↗
nx-cloud record -- nx-cloud conformance:check ✅ Succeeded 3s View ↗
nx-cloud record -- nx format:check ✅ Succeeded 3s View ↗
nx-cloud record -- nx sync:check ✅ Succeeded <1s View ↗
nx documentation ✅ Succeeded 15s View ↗

☁️ Nx Cloud last updated this comment at 2025-07-29 18:23:50 UTC

@ndcunningham ndcunningham force-pushed the fix/bun-lock-file-external-deps branch 2 times, most recently from d2333ab to d7ed0df Compare July 24, 2025 20:37
@ndcunningham ndcunningham force-pushed the fix/bun-lock-file-external-deps branch from d7ed0df to 27c8ae1 Compare July 29, 2025 15:36
@ndcunningham ndcunningham changed the title feat(core): implement Bun lockfile parsing and dependencies handling feat(core): add stringifybunlockfile for pruning Jul 29, 2025
- Add stringifyBunLockfile function to serialize Bun lockfiles from project graph
- Preserves existing lockfile metadata (patches, manifests, workspacePackages)
- Filters out workspace packages from external nodes
- Maintains package hoisting structure from original lockfile
- Sorts packages alphabetically for consistent output
- Integrates with createLockFile function to enable Bun lockfile pruning
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

scope: core core nx functionality

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants