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
Create a project with @o3r/create, then generate an app and a lib:
npm create @o3r project
ng g application app
ng g library lib
Current result
The 2 following dependencies were added by the app generator in dependencies section of the root package.json file, but then were also added by the lib generator in devDependencies section. As a result, they are now duplicated, which is not ideal because it could lead to further issues (e.g. version mismatch?):
Also, the following peerDependencies is added in the root package.json file, which is probably a mistake (not sure why a root package.json file would need a peerDeps section):
The lib generator should not add these 2 dependencies if they are already present.
It should also not create a peerDependencies section in the root package.json file.
Additional comments
No response
The text was updated successfully, but these errors were encountered:
Package name
core
Package version
11.5.3
Reproduction steps
Create a project with @o3r/create, then generate an app and a lib:
Current result
The 2 following dependencies were added by the app generator in
dependencies
section of the rootpackage.json
file, but then were also added by the lib generator indevDependencies
section. As a result, they are now duplicated, which is not ideal because it could lead to further issues (e.g. version mismatch?):Also, the following
peerDependencies
is added in the rootpackage.json
file, which is probably a mistake (not sure why a rootpackage.json
file would need a peerDeps section):Expected result
The lib generator should not add these 2 dependencies if they are already present.
It should also not create a
peerDependencies
section in the rootpackage.json
file.Additional comments
No response
The text was updated successfully, but these errors were encountered: