Closed nicolechung closed 1 year ago
The first is tricky, because the blueprint is used here: https://github.com/NullVoxPopuli/ember-addon-migrator/blob/main/cli/src/extract-tests/index.js#L156 And the blueprint includes all that stuff.
The second is possible, and i think probably worth while to implement as a flag or something.
Like a --match-dependencies
flag?
I could add a note (should start that PR, at least a WIP version) in the documentation about the first item (adding unwanted dependencies)
yeah, that could be good.
I know both Kelly and I wrote a "defrag" script -- could be good to reuse that?
We can close this? (I cannot 😏)
Closed, fixed with: https://github.com/NullVoxPopuli/ember-addon-migrator/pull/72
Following is a bit of a long list. Can break up into separate issues if required.
Here goes...
test-app: Is there a way to opt into installing the following dependencies?
Otherwise it adds dependencies that aren't used by the consuming app.
test-app: Is there a way to match dependencies to what already exists for the following?
I guess this is more complicated in a monorepo because then it needs to check the entire monorepo for versions, but here is the list:
ember-optional-features @ember/test-helpers @glimmer/component @glimmer/tracking": "1.1.2 @tsconfig/ember @embroider/test-setup version webpack version typescript all the @types/ember variations that are added @types/qunit @types/rsvp broccoli-asset-rev ember-auto-import ember-cli ember-cli-babel ember-cli-dependency-checker ember-cli-handlebars ember-cli-inject-live-reload ember-cli-terser ember-cli-typescript ember-load-initializers ember-modifier ember-page-title ember-qunit ember-resolver ember-source ember-template-lint loader.js qunit qunit-dom tracked-built-ins