-
-
Notifications
You must be signed in to change notification settings - Fork 4k
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
Add composing component priority. #26080
Conversation
7676e14
to
ee899a0
Compare
ab31a5c
to
f2d5b26
Compare
it('should match order', () => { | ||
expect(runResult.askedQuestions.map(({ name }) => name)).toMatchInlineSnapshot(` | ||
[ | ||
"baseName", |
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.
project-name
generator
expect(runResult.askedQuestions.map(({ name }) => name)).toMatchInlineSnapshot(` | ||
[ | ||
"baseName", | ||
"applicationType", |
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.
server
generator
[ | ||
"baseName", | ||
"applicationType", | ||
"packageName", |
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.
java/bootstrap
generator
"baseName", | ||
"applicationType", | ||
"packageName", | ||
"buildTool", |
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.
java/build-tool
generator
"reactive", | ||
"authenticationType", | ||
"serverTestFrameworks", | ||
"databaseType", | ||
"prodDatabaseType", | ||
"devDatabaseType", | ||
"cacheProvider", | ||
"enableHibernateCache", | ||
"serverSideOptions", |
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.
spring-boot
generator
generators/app/generator.spec.ts
Outdated
"enableTranslation", | ||
"nativeLanguage", | ||
"languages", |
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.
languages
generator
"clientFramework", | ||
"clientTestFrameworks", | ||
"withAdminUi", | ||
"clientTheme", |
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.
client
generator
48f62ef
to
f1d66fb
Compare
}); | ||
|
||
it('should match order', () => { | ||
expect(runResult.askedQuestions.map(({ name }) => name)).toMatchInlineSnapshot(` |
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.
Locally running npm test
, the askedQuestion
returns undefined. Any clue?
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.
npm ci
?
Requires an updated version of yeoman-test.
Add a new priority to improve prompts order.
This will allow to configure (initialize, prompt, configure and compose) every backend generator before client generators.
Related to #26057 (comment) and fixes #26079.
Please make sure the below checklist is followed for Pull Requests.
When you are still working on the PR, consider converting it to Draft (below reviewers) and adding
skip-ci
label, you can still see CI build result at your branch.