Skip to content
This repository has been archived by the owner on Dec 1, 2022. It is now read-only.

Fix Angular dependency type #622

Open
wants to merge 2 commits into
base: main
Choose a base branch
from

Conversation

marckassay
Copy link

Description

When creating an Nx workspace, the @nrwl/angular package is added to the dependencies key in package.json. And when an application is added using @nxtend/ionic-angular it will unconditionally add it to devDependencies key.

And a small fix in CONTRIBUTING file.

PR Checklist

  • Migrations have been added if necessary
  • Unit tests have been added or updated if necessary
  • e2e tests have been added or updated if necessary
  • Changelog has been updated if necessary
  • Documentation has been updated if necessary

Issue

See #621 for further information.

Although I think this is an improvement, there may be an issue when 'nrwl' packages have a different version number from what 'nxtend' sets @nrwl/angular, when needed. Internally, 'nrwl' has a lot of checks for dependency mismatch, as seen here. I guess my point here, to me it seems 'nrwl' plugins are high maintenance. And more edits can and will be needed in the code that has been changed for this PR.

Resolves #621

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.

Incorrect angular dependency type
1 participant