Skip to content

Commit

Permalink
angular: adjust readme
Browse files Browse the repository at this point in the history
  • Loading branch information
mshima committed Jan 6, 2025
1 parent 852e063 commit b873b9e
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions generators/app/__snapshots__/generator.spec.ts.snap
Original file line number Diff line number Diff line change
Expand Up @@ -260,7 +260,7 @@ exports[`generator - app with default config should match snapshot 1`] = `
"clientBundler": "webpack",
"clientBundlerAny": true,
"clientBundlerExperimentalEsbuild": false,
"clientBundlerName": "angular-cli",
"clientBundlerName": "Webpack",
"clientBundlerVite": false,
"clientBundlerWebpack": true,
"clientDistDir": "target/classes/static/",
Expand Down Expand Up @@ -932,7 +932,7 @@ exports[`generator - app with gateway should match snapshot 1`] = `
"clientBundler": "webpack",
"clientBundlerAny": true,
"clientBundlerExperimentalEsbuild": false,
"clientBundlerName": "angular-cli",
"clientBundlerName": "Webpack",
"clientBundlerVite": false,
"clientBundlerWebpack": true,
"clientDistDir": "target/classes/static/",
Expand Down
2 changes: 1 addition & 1 deletion generators/client/generator.ts
Original file line number Diff line number Diff line change
Expand Up @@ -140,7 +140,7 @@ export default class JHipsterClientGenerator extends BaseApplicationGenerator {
return this.asPreparingTaskGroup({
preparing({ applicationDefaults }) {
applicationDefaults({
clientBundlerName: ctx => (ctx.clientFrameworkAngular ? 'angular-cli' : startCase(ctx.clientBundler)),
clientBundlerName: ctx => (ctx.clientBundlerExperimentalEsbuild ? 'esbuild' : startCase(ctx.clientBundler)),
clientTestFramework: ctx => (ctx.clientFrameworkVue ? 'vitest' : 'jest'),
clientTestFrameworkName: ctx => startCase(ctx.clientTestFramework),
});
Expand Down

0 comments on commit b873b9e

Please sign in to comment.