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
Currently this fails due to the version paceholders we have set
Could not resolve dependency:
npm WARN peer @angular/common@"0.0.0-PLACEHOLDER-VENDOR" from @dlr-eoc/[email protected]
...
npm WARN Could not resolve dependency:
npm WARN peer @angular/core@"0.0.0-PLACEHOLDER-VENDOR" from @dlr-eoc/[email protected]
...
npm WARN Could not resolve dependency:
npm WARN peer rxjs@"0.0.0-PLACEHOLDER-VENDOR" from @dlr-eoc/[email protected]
...
Description
To better handle dependencies management try to use NPM 7 workspaces with the monorepo.
https://docs.npmjs.com/cli/v7/using-npm/workspaces
https://dev.to/limal/simplify-your-monorepo-with-npm-7-workspaces-5gmj
https://2ality.com/2021/07/simple-monorepos.html?utm_source=typescript-weekly.com&utm_campaign=typescript_weekly_175&utm_medium=email
Dependencies management right now (NPM)
peerDependencies
to angular and overall used dependenciesdependencies
of the project and also other@dlr-eoc/projects
are listed here as dependenciesDependencies related to the Build process
Only use npm workspaces is not enough to build all the projects. Projects can also depend on other projects.
angular.json
package.json
(by usingproject.root
fromangular.json
)ng build <project> --prod=true --watch=false
The text was updated successfully, but these errors were encountered: