Skip to content
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

update generator-jhipster to 8.9.0 #2112

Merged
merged 1 commit into from
Feb 9, 2025
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .blueprint/generate-sample/command.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@ const command = {
default: DEFAULT_SAMPLES_GROUP,
}),
configure: gen => {
gen.samplesGroup = DEFAULT_SAMPLES_GROUP;
gen.samplesGroup ??= DEFAULT_SAMPLES_GROUP;
},
scope: 'generator',
},
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -9,8 +9,8 @@ exports[`generator - github-build-matrix > with ios > should match matrix value
"java-version": "17",
"job-name": "21points-jwt",
"jwt-secret-key": "ZjY4MTM4YjI5YzMwZjhjYjI2OTNkNTRjMWQ5Y2Q0Y2YwOWNmZTE2NzRmYzU3NTMwM2NjOTE3MTllOTM3MWRkMzcyYTljMjVmNmQ0Y2MxOTUzODc0MDhhMTlkMDIxMzI2YzQzZDM2ZDE3MmQ3NjVkODk3OTVmYzljYTQyZDNmMTQ=",
"node-version": "22.12.0",
"npm-version": "11.0.0",
"node-version": "22.13.1",
"npm-version": "11.1.0",
"os": "macos-15",
"sample": "21points-jwt",
"sample-type": "jdl",
Expand All @@ -22,8 +22,8 @@ exports[`generator - github-build-matrix > with ios > should match matrix value
"java-version": "17",
"job-name": "app-jwt",
"jwt-secret-key": "ZjY4MTM4YjI5YzMwZjhjYjI2OTNkNTRjMWQ5Y2Q0Y2YwOWNmZTE2NzRmYzU3NTMwM2NjOTE3MTllOTM3MWRkMzcyYTljMjVmNmQ0Y2MxOTUzODc0MDhhMTlkMDIxMzI2YzQzZDM2ZDE3MmQ3NjVkODk3OTVmYzljYTQyZDNmMTQ=",
"node-version": "22.12.0",
"npm-version": "11.0.0",
"node-version": "22.13.1",
"npm-version": "11.1.0",
"os": "macos-15",
"sample": "app-jwt",
"sample-type": "jdl",
Expand All @@ -35,8 +35,8 @@ exports[`generator - github-build-matrix > with ios > should match matrix value
"java-version": "17",
"job-name": "app-oauth2",
"jwt-secret-key": "ZjY4MTM4YjI5YzMwZjhjYjI2OTNkNTRjMWQ5Y2Q0Y2YwOWNmZTE2NzRmYzU3NTMwM2NjOTE3MTllOTM3MWRkMzcyYTljMjVmNmQ0Y2MxOTUzODc0MDhhMTlkMDIxMzI2YzQzZDM2ZDE3MmQ3NjVkODk3OTVmYzljYTQyZDNmMTQ=",
"node-version": "22.12.0",
"npm-version": "11.0.0",
"node-version": "22.13.1",
"npm-version": "11.1.0",
"os": "macos-13",
"sample": "app-oauth2",
"sample-type": "jdl",
Expand All @@ -49,8 +49,8 @@ exports[`generator - github-build-matrix > with ios > should match matrix value
"java-version": "17",
"job-name": "app-websocket",
"jwt-secret-key": "ZjY4MTM4YjI5YzMwZjhjYjI2OTNkNTRjMWQ5Y2Q0Y2YwOWNmZTE2NzRmYzU3NTMwM2NjOTE3MTllOTM3MWRkMzcyYTljMjVmNmQ0Y2MxOTUzODc0MDhhMTlkMDIxMzI2YzQzZDM2ZDE3MmQ3NjVkODk3OTVmYzljYTQyZDNmMTQ=",
"node-version": "22.12.0",
"npm-version": "11.0.0",
"node-version": "22.13.1",
"npm-version": "11.1.0",
"os": "macos-15",
"sample": "app-websocket",
"sample-type": "jdl",
Expand All @@ -62,8 +62,8 @@ exports[`generator - github-build-matrix > with ios > should match matrix value
"java-version": "17",
"job-name": "flickr2-jwt",
"jwt-secret-key": "ZjY4MTM4YjI5YzMwZjhjYjI2OTNkNTRjMWQ5Y2Q0Y2YwOWNmZTE2NzRmYzU3NTMwM2NjOTE3MTllOTM3MWRkMzcyYTljMjVmNmQ0Y2MxOTUzODc0MDhhMTlkMDIxMzI2YzQzZDM2ZDE3MmQ3NjVkODk3OTVmYzljYTQyZDNmMTQ=",
"node-version": "22.12.0",
"npm-version": "11.0.0",
"node-version": "22.13.1",
"npm-version": "11.1.0",
"os": "macos-15",
"sample": "flickr2-jwt",
"sample-type": "jdl",
Expand All @@ -81,8 +81,8 @@ exports[`generator - github-build-matrix > with samples > should match matrix va
"java-version": "17",
"job-name": "21points-jwt",
"jwt-secret-key": "ZjY4MTM4YjI5YzMwZjhjYjI2OTNkNTRjMWQ5Y2Q0Y2YwOWNmZTE2NzRmYzU3NTMwM2NjOTE3MTllOTM3MWRkMzcyYTljMjVmNmQ0Y2MxOTUzODc0MDhhMTlkMDIxMzI2YzQzZDM2ZDE3MmQ3NjVkODk3OTVmYzljYTQyZDNmMTQ=",
"node-version": "22.12.0",
"npm-version": "11.0.0",
"node-version": "22.13.1",
"npm-version": "11.1.0",
"os": "ubuntu-latest",
"sample": "21points-jwt",
"sample-type": "jdl",
Expand All @@ -93,8 +93,8 @@ exports[`generator - github-build-matrix > with samples > should match matrix va
"java-version": "17",
"job-name": "app-jwt",
"jwt-secret-key": "ZjY4MTM4YjI5YzMwZjhjYjI2OTNkNTRjMWQ5Y2Q0Y2YwOWNmZTE2NzRmYzU3NTMwM2NjOTE3MTllOTM3MWRkMzcyYTljMjVmNmQ0Y2MxOTUzODc0MDhhMTlkMDIxMzI2YzQzZDM2ZDE3MmQ3NjVkODk3OTVmYzljYTQyZDNmMTQ=",
"node-version": "22.12.0",
"npm-version": "11.0.0",
"node-version": "22.13.1",
"npm-version": "11.1.0",
"os": "ubuntu-latest",
"sample": "app-jwt",
"sample-type": "jdl",
Expand All @@ -105,8 +105,8 @@ exports[`generator - github-build-matrix > with samples > should match matrix va
"java-version": "17",
"job-name": "app-oauth2",
"jwt-secret-key": "ZjY4MTM4YjI5YzMwZjhjYjI2OTNkNTRjMWQ5Y2Q0Y2YwOWNmZTE2NzRmYzU3NTMwM2NjOTE3MTllOTM3MWRkMzcyYTljMjVmNmQ0Y2MxOTUzODc0MDhhMTlkMDIxMzI2YzQzZDM2ZDE3MmQ3NjVkODk3OTVmYzljYTQyZDNmMTQ=",
"node-version": "22.12.0",
"npm-version": "11.0.0",
"node-version": "22.13.1",
"npm-version": "11.1.0",
"os": "ubuntu-latest",
"sample": "app-oauth2",
"sample-type": "jdl",
Expand All @@ -117,8 +117,8 @@ exports[`generator - github-build-matrix > with samples > should match matrix va
"java-version": "17",
"job-name": "app-websocket",
"jwt-secret-key": "ZjY4MTM4YjI5YzMwZjhjYjI2OTNkNTRjMWQ5Y2Q0Y2YwOWNmZTE2NzRmYzU3NTMwM2NjOTE3MTllOTM3MWRkMzcyYTljMjVmNmQ0Y2MxOTUzODc0MDhhMTlkMDIxMzI2YzQzZDM2ZDE3MmQ3NjVkODk3OTVmYzljYTQyZDNmMTQ=",
"node-version": "22.12.0",
"npm-version": "11.0.0",
"node-version": "22.13.1",
"npm-version": "11.1.0",
"os": "ubuntu-latest",
"sample": "app-websocket",
"sample-type": "jdl",
Expand All @@ -129,8 +129,8 @@ exports[`generator - github-build-matrix > with samples > should match matrix va
"java-version": "17",
"job-name": "flickr2-jwt",
"jwt-secret-key": "ZjY4MTM4YjI5YzMwZjhjYjI2OTNkNTRjMWQ5Y2Q0Y2YwOWNmZTE2NzRmYzU3NTMwM2NjOTE3MTllOTM3MWRkMzcyYTljMjVmNmQ0Y2MxOTUzODc0MDhhMTlkMDIxMzI2YzQzZDM2ZDE3MmQ3NjVkODk3OTVmYzljYTQyZDNmMTQ=",
"node-version": "22.12.0",
"npm-version": "11.0.0",
"node-version": "22.13.1",
"npm-version": "11.1.0",
"os": "ubuntu-latest",
"sample": "flickr2-jwt",
"sample-type": "jdl",
Expand Down
7 changes: 4 additions & 3 deletions .blueprint/github-build-matrix/generator.spec.mjs
Original file line number Diff line number Diff line change
@@ -1,15 +1,16 @@
import { basename, dirname, join } from 'path';
import { fileURLToPath } from 'url';
import { beforeAll, describe, expect, it } from 'vitest';
import { defaultHelpers as helpers, runResult } from 'generator-jhipster/testing';
import { getGithubSamplesGroups, defaultHelpers as helpers, runResult } from 'generator-jhipster/testing';

const __filename = fileURLToPath(import.meta.url);
const __dirname = dirname(__filename);

const generator = basename(__dirname);

describe(`generator - ${generator}`, () => {
for (const workflow of ['samples', 'ios']) {
describe(`generator - ${generator}`, async () => {
const groups = await getGithubSamplesGroups(join(__dirname, '../generate-sample/templates/'));
for (const workflow of groups.map(sample => sample.split('.')[0])) {
describe(`with ${workflow}`, () => {
beforeAll(async () => {
await helpers.runJHipster(join(__dirname, 'index.mjs'), { useEnvironmentBuilder: true }).withArguments(workflow);
Expand Down
2 changes: 1 addition & 1 deletion .yo-rc.json
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@
}
},
"githubWorkflows": true,
"jhipsterVersion": "8.8.0",
"jhipsterVersion": "8.9.0",
"js": false,
"localBlueprint": false,
"packageJsonType": "module",
Expand Down
Loading
Loading