You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Since #13438 optional peer deps are not included anymore in the generated package.json. It breaks some of our builds because we rely on that behaviour.
Expected Behavior
Can you add an opt-in flag so that optional peer deps can still be included in the generated package.json.
Github Repo
No response
Steps to Reproduce
Nx Report
> NX Report complete - copy this into the issue template
Node : 16.10.0
OS : darwin arm64
pnpm : 7.17.0
nx : 15.2.4
@nrwl/angular : Not Found
@nrwl/cypress : 15.2.4
@nrwl/detox : Not Found
@nrwl/devkit : 15.2.4
@nrwl/esbuild : 15.2.4
@nrwl/eslint-plugin-nx : 15.2.4
@nrwl/expo : Not Found
@nrwl/express : Not Found
@nrwl/jest : 15.2.4
@nrwl/js : 15.2.4
@nrwl/linter : 15.2.4
@nrwl/nest : 15.2.4
@nrwl/next : 15.2.4
@nrwl/node : 15.2.4
@nrwl/nx-cloud : 15.0.2
@nrwl/nx-plugin : Not Found
@nrwl/react : 15.2.4
@nrwl/react-native : Not Found
@nrwl/rollup : 15.2.4
@nrwl/schematics : Not Found
@nrwl/storybook : 15.2.4
@nrwl/web : 15.2.4
@nrwl/webpack : 15.2.4
@nrwl/workspace : 15.2.4
typescript : 4.9.3
---------------------------------------
Local workspace plugins:
---------------------------------------
Community plugins:
Failure Logs
No response
Additional Information
Generating package.json is really brittle recently it would be cool to not have potentially breaking changes in minor bumps of nx if we don't have any way to keep the behaviours we have learnt to rely on :)
The text was updated successfully, but these errors were encountered:
This issue has been automatically marked as stale because it hasn't had any recent activity. It will be closed in 14 days if no further activity occurs.
If we missed this issue please reply to keep it active.
Thanks for being a part of the Nx community! 🙏
Current Behavior
Since #13438 optional peer deps are not included anymore in the generated package.json. It breaks some of our builds because we rely on that behaviour.
Expected Behavior
Can you add an opt-in flag so that optional peer deps can still be included in the generated package.json.
Github Repo
No response
Steps to Reproduce
Nx Report
Failure Logs
No response
Additional Information
Generating
package.json
is really brittle recently it would be cool to not have potentially breaking changes in minor bumps of nx if we don't have any way to keep the behaviours we have learnt to rely on :)The text was updated successfully, but these errors were encountered: