New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
feat: Add graph of files for each discovered package #362
Conversation
8520c26
to
f11d34b
Compare
It might be best to break down this PR into three.
|
I think I may need to rewrite some commits to have the commit message formatting that is being in this repo. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
We should be able to remove all the ember-3-28
fixture data and instead leverage scenario-tester
.
Then we just point to a config which will build a given Ember app based on whichever config we pass.
scenario-tester doesn't have any doc's so look at this example:
Take a look at this example
If you search within the "babel-plugin-ember-test-metadata/blob/master/packages/test-scenarios" package you can see examples of how to implement scenario-tester.
For this PR maybe just split out the scenario-tester implementation from the extraction of dependency cruiser work
430c20e
to
004e7f7
Compare
This PR depends on #377 once rebase will be reduce two a couple commits. |
@wondersloth #377 has been merged. if you could ping for re-review after rebase etc. ty! |
- Create Package level migration graph with dependency-cruiser - Decouple ember specific migration-graph from plain package - Add MigrationStrategy, an easier to consume summary for migrating a package. - SouceFile object contains full and relative path. - Add test coverage for migration-graph for `ember@3.28` app, addon, app with in-repo-addon - Fixed issue where fastglob would not discover packages within an ember app because the parent directory matched an exclude pattern. - Add options.entrypoint to MigrationGraph - Fix bug with non-real paths for realtivePath creation.
004e7f7
to
7180bd8
Compare
a few minor comments then good to go |
@lynchbomb Addressed latest suggestions. |
@rehearsal/migration-graph-ember
into@rehearsal/migration-graph-shared
.migrate
command and test are passing ✅