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(material/schematics): add the scaffolding for an mdc-migration schematic #23804
Conversation
2ab42b8
to
3f11c1f
Compare
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.
@devversion There were a few TODOs buried in there that I'm not really sure how to fix. I commented on them to call them out, let me know if you've ever run into similar issues and know how to fix them
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.
Still LGTM; just added some more optional comments.
I didn't realize before that there were more changes, than just a new CLI project
212c1c3
to
e0c9236
Compare
…chematic also adds an app to test it on
e0c9236
to
7b43393
Compare
@@ -50,10 +51,9 @@ function getComponentsToMigrate(requested: string[]): Set<string> { | |||
|
|||
export default function (options: Schema): Rule { | |||
const componentsToMigrate = getComponentsToMigrate(options.components); | |||
const pathToMigrate = path.resolve(options.path ?? process.cwd()); |
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.
I'm just providing some context here: We should start using workspace-relative paths from the beginning on so that all updates/file modifications can go through the virtual devkit file tree.
So, technically relying on path.resolve & cwd is not something we should do. Not needed for this PR, just bringing this up
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.
ack, added a TODO
7b43393
to
c9c9fd2
Compare
This issue has been automatically locked due to inactivity. Read more about our automatic conversation locking policy. This action has been performed automatically by a bot. |
also adds an app to test it on