nx icon indicating copy to clipboard operation
nx copied to clipboard

#21428 removed `devDependencies` from package.json

Open TriPSs opened this issue 1 year ago โ€ข 17 comments

Why? Why is this not made optional (or at-least make this behavior opt in?), as a lib maintainer we add dev dependencies so that

  1. the package is available when we are developing
  2. we can import the package.json and copy it over if needed to the devDependencies of the users project
  3. we can use a tool like ncu to easy update set packages that are added to the users project
  4. we are then not forcing certain versions to our end users

Can we make this behavior opt-in or opt-out?

TriPSs avatar Jun 17 '24 15:06 TriPSs

#21428, made this ticket with the reference in issue function, sorry that it's not following the format.

TriPSs avatar Jun 17 '24 15:06 TriPSs

What are you running where you are seeing the issue? Can you provide a reproduction please to help us reproduce the issue?

FrozenPandaz avatar Jun 24 '24 15:06 FrozenPandaz

Here is the commit that changes the implementation we had. These packages where build and released with devDependencies so when running the <package>:init we could read it from there.

We can keep dependencies inside the package.json up to date with tools like ncu, now it will become a manual stap, which will be forgotten.

TriPSs avatar Jun 25 '24 05:06 TriPSs

This issue has been automatically marked as stale because more information has not been provided within 7 days. It will be closed in 21 days if no information is provided. If information has been provided, please reply to keep it active. Thanks for being a part of the Nx community! ๐Ÿ™

github-actions[bot] avatar Jul 03 '24 00:07 github-actions[bot]

I did add more info?

TriPSs avatar Jul 03 '24 07:07 TriPSs

This issue has been automatically marked as stale because more information has not been provided within 7 days. It will be closed in 21 days if no information is provided. If information has been provided, please reply to keep it active. Thanks for being a part of the Nx community! ๐Ÿ™

github-actions[bot] avatar Jul 11 '24 00:07 github-actions[bot]

Again, I did add more info.

TriPSs avatar Jul 11 '24 07:07 TriPSs

This issue has been automatically marked as stale because more information has not been provided within 7 days. It will be closed in 21 days if no information is provided. If information has been provided, please reply to keep it active. Thanks for being a part of the Nx community! ๐Ÿ™

github-actions[bot] avatar Jul 19 '24 00:07 github-actions[bot]

Once again, I did add more info @FrozenPandaz

TriPSs avatar Jul 21 '24 19:07 TriPSs

This issue has been automatically marked as stale because more information has not been provided within 7 days. It will be closed in 21 days if no information is provided. If information has been provided, please reply to keep it active. Thanks for being a part of the Nx community! ๐Ÿ™

github-actions[bot] avatar Jul 29 '24 00:07 github-actions[bot]

@jaysoo @FrozenPandaz

TriPSs avatar Jul 29 '24 07:07 TriPSs

This issue has been automatically marked as stale because more information has not been provided within 7 days. It will be closed in 21 days if no information is provided. If information has been provided, please reply to keep it active. Thanks for being a part of the Nx community! ๐Ÿ™

github-actions[bot] avatar Aug 06 '24 00:08 github-actions[bot]

:/

TriPSs avatar Aug 06 '24 05:08 TriPSs

This issue has been automatically marked as stale because more information has not been provided within 7 days. It will be closed in 21 days if no information is provided. If information has been provided, please reply to keep it active. Thanks for being a part of the Nx community! ๐Ÿ™

github-actions[bot] avatar Aug 14 '24 00:08 github-actions[bot]

:/

TriPSs avatar Aug 14 '24 07:08 TriPSs

This issue has been automatically marked as stale because more information has not been provided within 7 days. It will be closed in 21 days if no information is provided. If information has been provided, please reply to keep it active. Thanks for being a part of the Nx community! ๐Ÿ™

github-actions[bot] avatar Aug 22 '24 00:08 github-actions[bot]

Bump again

TriPSs avatar Aug 25 '24 12:08 TriPSs

This issue has been automatically marked as stale because more information has not been provided within 7 days. It will be closed in 21 days if no information is provided. If information has been provided, please reply to keep it active. Thanks for being a part of the Nx community! ๐Ÿ™

github-actions[bot] avatar Sep 02 '24 00:09 github-actions[bot]

Bump again

TriPSs avatar Sep 02 '24 07:09 TriPSs

This issue has been automatically marked as stale because more information has not been provided within 7 days. It will be closed in 21 days if no information is provided. If information has been provided, please reply to keep it active. Thanks for being a part of the Nx community! ๐Ÿ™

github-actions[bot] avatar Sep 10 '24 00:09 github-actions[bot]

Once again, not stale @FrozenPandaz

TriPSs avatar Sep 10 '24 05:09 TriPSs

This issue has been automatically marked as stale because more information has not been provided within 7 days. It will be closed in 21 days if no information is provided. If information has been provided, please reply to keep it active. Thanks for being a part of the Nx community! ๐Ÿ™

github-actions[bot] avatar Sep 18 '24 00:09 github-actions[bot]

Ok, I give up.

TriPSs avatar Sep 18 '24 06:09 TriPSs

This issue has been automatically marked as stale because more information has not been provided within 7 days. It will be closed in 21 days if no information is provided. If information has been provided, please reply to keep it active. Thanks for being a part of the Nx community! ๐Ÿ™

github-actions[bot] avatar Sep 26 '24 00:09 github-actions[bot]

This issue has been closed for more than 30 days. If this issue is still occuring, please open a new issue with more recent context.

github-actions[bot] avatar Nov 17 '24 00:11 github-actions[bot]