Skip to content

feat(core): remove deprecated defaultCollection and npmScope nx.json …#19708

Merged
FrozenPandaz merged 1 commit into
nrwl:masterfrom
FrozenPandaz:rm-deprecated-properties
Oct 18, 2023
Merged

feat(core): remove deprecated defaultCollection and npmScope nx.json …#19708
FrozenPandaz merged 1 commit into
nrwl:masterfrom
FrozenPandaz:rm-deprecated-properties

Conversation

@FrozenPandaz
Copy link
Copy Markdown
Contributor

… properties

Current Behavior

defaultCollection and npmScope configuration in nx.json has been deprecated for over a year.

Expected Behavior

defaultCollection and npmScope configuration in nx.json have been removed.

defaultCollection is no longer necessary because Nx will prompt when there are multiple collections with the same generator.

npmScope is no longer necessary because it is now read from the root package.json.

Related Issue(s)

Fixes #

@vercel
Copy link
Copy Markdown

vercel Bot commented Oct 18, 2023

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

Name Status Preview Updated (UTC)
nx-dev ✅ Ready (Inspect) Visit Preview Oct 18, 2023 9:03pm

Comment on lines 18 to 26

This comment was marked as resolved.

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

Huh...

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

I think we should just warn. I'll add that

@github-actions
Copy link
Copy Markdown
Contributor

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 Oct 24, 2023
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.

2 participants