-
-
Notifications
You must be signed in to change notification settings - Fork 629
chore: update yeoman-generator
to v5
#3421
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
Conversation
yeoman-generator
to v5
Codecov Report
Additional details and impacted files@@ Coverage Diff @@
## next #3421 +/- ##
==========================================
+ Coverage 91.61% 91.78% +0.16%
==========================================
Files 22 22
Lines 1587 1583 -4
Branches 447 446 -1
==========================================
- Hits 1454 1453 -1
+ Misses 133 130 -3
Continue to review full report at Codecov.
|
if (!existsSync(this.generationPath)) { | ||
this.cli.logger.log( | ||
`${this.cli.colors.blue( | ||
"ℹ INFO ", | ||
)} supplied generation path doesn't exist, required folders will be created.`, | ||
); | ||
try { | ||
mkdirSync(this.generationPath, { recursive: true }); | ||
} catch (error) { | ||
this.cli.logger.error(`Failed to create directory.\n ${error}`); | ||
process.exit(2); | ||
} | ||
} |
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.
This is now handled by the yeoman-generator itself. I've updated the test cases accordingly.
94afa19
to
dbbc846
Compare
// eslint-disable-next-line @typescript-eslint/no-var-requires | ||
Object.assign(Generator.prototype, require("yeoman-generator/lib/actions/install")); |
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.
Install action is deprecated and is not included by default
dbbc846
to
62649f2
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.
Looks good, please rebase
62649f2
to
11ad91d
Compare
@snitin315 Thanks for your update. I labeled the Pull Request so reviewers will review it again. @alexander-akait Please review the new changes. |
Rebased. |
What kind of change does this PR introduce?
chore
Did you add tests for your changes?
No.
If relevant, did you update the documentation?
No.
Summary
update
yeoman-generator
to v5.Does this PR introduce a breaking change?
No.
Other information
No/