Skip to content

fix(misc): preserve package alias keys in generated package.json - #35207

Merged
AgentEnder merged 1 commit into
nrwl:masterfrom
dbwodlf3:fix/fix-generatedPackageJson-alias
Jul 21, 2026
Merged

fix(misc): preserve package alias keys in generated package.json#35207
AgentEnder merged 1 commit into
nrwl:masterfrom
dbwodlf3:fix/fix-generatedPackageJson-alias

Conversation

@dbwodlf3

@dbwodlf3 dbwodlf3 commented Apr 8, 2026

Copy link
Copy Markdown
Contributor

Releated Issues

#27098
#35205

Fixes #

When use generatedPackageJson with js project, solve packge alias problem.

can test it with

pnpm exec jest -c packages/nx/jest.config.cts \    
  packages/nx/src/plugins/js/project-graph/build-dependencies/target-project-locator.spec.ts \
  packages/nx/src/plugins/js/package-json/create-package-json.spec.ts

@dbwodlf3
dbwodlf3 requested a review from a team as a code owner April 8, 2026 01:29
@netlify

netlify Bot commented Apr 8, 2026

Copy link
Copy Markdown

👷 Deploy request for nx-docs pending review.

Visit the deploys page to approve it

Name Link
🔨 Latest commit efafd06

@dbwodlf3
dbwodlf3 requested a review from MaxKless April 8, 2026 01:29
@netlify

netlify Bot commented Apr 8, 2026

Copy link
Copy Markdown

👷 Deploy request for nx-dev pending review.

Visit the deploys page to approve it

Name Link
🔨 Latest commit efafd06

@nx-cloud

nx-cloud Bot commented Apr 8, 2026

Copy link
Copy Markdown
Contributor

View your CI Pipeline Execution ↗ for commit efafd06

Command Status Duration Result
nx affected --targets=lint,test,build,e2e,e2e-c... ✅ Succeeded 35m 41s View ↗
nx run-many -t check-imports check-lock-files c... ✅ Succeeded 3s View ↗
nx-cloud record -- pnpm nx-cloud conformance:check ✅ Succeeded 1m 1s View ↗
nx build workspace-plugin ✅ Succeeded <1s View ↗
nx-cloud record -- nx sync:check ✅ Succeeded 18s View ↗
nx-cloud record -- nx format:check ✅ Succeeded 6s View ↗

☁️ Nx Cloud last updated this comment at 2026-07-09 18:55:51 UTC

nx-cloud[bot]

This comment was marked as outdated.

@FrozenPandaz
FrozenPandaz requested a review from AgentEnder April 23, 2026 21:06
@FrozenPandaz FrozenPandaz added the priority: low Low Priority (does not affect many people or not severely or has an easy workaround) label Apr 23, 2026
@AgentEnder
AgentEnder force-pushed the fix/fix-generatedPackageJson-alias branch 2 times, most recently from 95d7004 to 87df528 Compare May 6, 2026 21:05
@AgentEnder AgentEnder changed the title fix: preserve package alias keys in generated package.json fix(misc): preserve package alias keys in generated package.json May 6, 2026

@nx-cloud nx-cloud Bot left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Nx Cloud has identified a flaky task in your failed CI:

Since the failure was identified as flaky, the solution is to rerun CI. Because this branch comes from a fork, it is not possible for us to push directly, but you can rerun by pushing an empty commit:

git commit --allow-empty -m "chore: trigger rerun"
git push

Nx Cloud View detailed reasoning in Nx Cloud ↗

🔔 Heads up, your workspace has pending recommendations ↗ to auto-apply fixes for similar failures.


🎓 Learn more about Self-Healing CI on nx.dev

@AgentEnder
AgentEnder force-pushed the fix/fix-generatedPackageJson-alias branch from 87df528 to efafd06 Compare July 9, 2026 17:30
@AgentEnder
AgentEnder merged commit 2cbf400 into nrwl:master Jul 21, 2026
18 of 19 checks passed
FrozenPandaz pushed a commit that referenced this pull request Jul 29, 2026
)

Co-authored-by: Jaeil Yu <jiyu@imagoworks.ai>
(cherry picked from commit 2cbf400)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

priority: low Low Priority (does not affect many people or not severely or has an easy workaround)

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants