Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix(devkit): support pnpm catalogs #30034

Closed

Conversation

HaasStefan
Copy link
Contributor

@HaasStefan HaasStefan commented Feb 13, 2025

Current Behavior

nx generate plugin throws the following error if a package like typescript is using the PNPM catalog feature in the package.json:

NX The package.json lists a version of typescript that Nx is unable to validate - (catalog:my-catalog)

"typescript": "catalog:my-catalog",

This is due too the semver validation that fails with the catalog.

Expected Behavior

If I am using a pnpm catalog, the package dependency should not be checked for a valid semver.

Related Issue(s)

Fixes #30035

Copy link

vercel bot commented Feb 13, 2025

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

1 Skipped Deployment
Name Status Preview Updated (UTC)
nx-dev ⬜️ Ignored (Inspect) Visit Preview Feb 13, 2025 11:51pm

Copy link

nx-cloud bot commented Feb 13, 2025

View your CI Pipeline Execution ↗ for commit 05ac00f.

Command Status Duration Result
nx run-many -t check-imports check-commit check... ❌ Failed 19s View ↗
nx affected --targets=lint,test,build,e2e,e2e-c... ✅ Succeeded 2m 8s View ↗
nx-cloud record -- nx-cloud conformance:check ✅ Succeeded 2s View ↗
nx-cloud record -- nx format:check --base= --he... ✅ Succeeded 10s View ↗
nx-cloud record -- nx sync:check ✅ Succeeded 9s View ↗
nx documentation ✅ Succeeded 1m 34s View ↗

☁️ Nx Cloud last updated this comment at 2025-02-13 23:56:54 UTC

@HaasStefan HaasStefan marked this pull request as ready for review February 13, 2025 23:54
@HaasStefan HaasStefan requested a review from a team as a code owner February 13, 2025 23:54
@HaasStefan HaasStefan closed this Feb 13, 2025
Copy link

This pull request has already been merged/closed. If you experience issues related to these changes, please open a new issue referencing this pull request.

@github-actions github-actions bot locked as resolved and limited conversation to collaborators Feb 19, 2025
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

PNPM Catalogs are not supported
1 participant