-
-
Notifications
You must be signed in to change notification settings - Fork 4.1k
Add types on generator-cicd #28427
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
base: main
Are you sure you want to change the base?
Add types on generator-cicd #28427
Changes from 2 commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -226,6 +226,10 @@ exports[`generator - app with default config should match snapshot 1`] = ` | |
"applicationTypeGateway": false, | ||
"applicationTypeMicroservice": false, | ||
"applicationTypeMonolith": true, | ||
"artifactoryReleasesId": undefined, | ||
"artifactoryReleasesUrl": undefined, | ||
"artifactorySnapshotsId": undefined, | ||
"artifactorySnapshotsUrl": undefined, | ||
"authenticationType": "jwt", | ||
"authenticationTypeAny": true, | ||
"authenticationTypeJwt": true, | ||
|
@@ -255,6 +259,22 @@ exports[`generator - app with default config should match snapshot 1`] = ` | |
"camelizedBaseName": "jhipster", | ||
"capitalizedBaseName": "Jhipster", | ||
"caret": undefined, | ||
"ciCd": undefined, | ||
"ciCdAny": false, | ||
"ciCdAzure": false, | ||
"ciCdCircle": false, | ||
"ciCdGithub": false, | ||
"ciCdGitlab": false, | ||
"ciCdIntegrations": undefined, | ||
"ciCdIntegrationsAny": false, | ||
"ciCdIntegrationsCypressDashboard": false, | ||
"ciCdIntegrationsDeploy": false, | ||
"ciCdIntegrationsHeroku": false, | ||
"ciCdIntegrationsPublishDocker": false, | ||
"ciCdIntegrationsSnyk": false, | ||
"ciCdIntegrationsSonar": false, | ||
"ciCdJenkins": false, | ||
"ciCdTravis": false, | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Is Travis still being used by developers? There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. I use it personally: the only CI provider that offer Vt-x machines (for nested virt). Still, it was here before, I just changed the code approach to fit with current best practices |
||
"cjsExtension": ".js", | ||
"cliName": undefined, | ||
"clientBundler": "webpack", | ||
|
@@ -451,6 +471,7 @@ exports[`generator - app with default config should match snapshot 1`] = ` | |
"zipkinImage": "zipkin-image-placeholder", | ||
"zipkinTag": "zipkin-tag-placeholder", | ||
}, | ||
"dockerImage": undefined, | ||
"dockerServices": [ | ||
"app", | ||
"postgresql", | ||
|
@@ -490,6 +511,7 @@ exports[`generator - app with default config should match snapshot 1`] = ` | |
"githubWorkflows": undefined, | ||
"graalvmSupport": undefined, | ||
"gradleEnterpriseHost": undefined, | ||
"herokuAppName": undefined, | ||
"hipster": "jhipster_family_member_3", | ||
"hipsterBugTrackerLink": "https://github.com/jhipster/generator-jhipster/issues?state=open", | ||
"hipsterBugTrackerProductName": "JHipster", | ||
|
@@ -507,6 +529,7 @@ exports[`generator - app with default config should match snapshot 1`] = ` | |
"humanizedBaseName": "JHipster", | ||
"imperativeOrReactive": "imperative", | ||
"incrementalChangelog": undefined, | ||
"insideDocker": undefined, | ||
"javaCompatibleVersions": [ | ||
"17", | ||
"21", | ||
|
@@ -817,6 +840,7 @@ exports[`generator - app with default config should match snapshot 1`] = ` | |
"searchEngineCouchbase": false, | ||
"searchEngineElasticsearch": false, | ||
"searchEngineNo": true, | ||
"sendBuildToGitlab": undefined, | ||
"serverPort": 8080, | ||
"serviceDiscovery": "no", | ||
"serviceDiscoveryAny": false, | ||
|
@@ -835,6 +859,9 @@ exports[`generator - app with default config should match snapshot 1`] = ` | |
"skipJhipsterDependencies": undefined, | ||
"skipServer": undefined, | ||
"skipUserManagement": false, | ||
"sonarName": undefined, | ||
"sonarOrga": undefined, | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Should this be There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Was like this previously, didn't changed anything here |
||
"sonarUrl": undefined, | ||
"springBootDependencies": Any<Object>, | ||
"srcMainDir": "src/main/", | ||
"srcMainJava": "src/main/java/", | ||
|
@@ -895,6 +922,10 @@ exports[`generator - app with gateway should match snapshot 1`] = ` | |
"applicationTypeGateway": true, | ||
"applicationTypeMicroservice": false, | ||
"applicationTypeMonolith": false, | ||
"artifactoryReleasesId": undefined, | ||
"artifactoryReleasesUrl": undefined, | ||
"artifactorySnapshotsId": undefined, | ||
"artifactorySnapshotsUrl": undefined, | ||
"authenticationType": "jwt", | ||
"authenticationTypeAny": true, | ||
"authenticationTypeJwt": true, | ||
|
@@ -924,6 +955,22 @@ exports[`generator - app with gateway should match snapshot 1`] = ` | |
"camelizedBaseName": "jhipster", | ||
"capitalizedBaseName": "Jhipster", | ||
"caret": undefined, | ||
"ciCd": undefined, | ||
"ciCdAny": false, | ||
"ciCdAzure": false, | ||
"ciCdCircle": false, | ||
"ciCdGithub": false, | ||
"ciCdGitlab": false, | ||
"ciCdIntegrations": undefined, | ||
"ciCdIntegrationsAny": false, | ||
"ciCdIntegrationsCypressDashboard": false, | ||
"ciCdIntegrationsDeploy": false, | ||
"ciCdIntegrationsHeroku": false, | ||
"ciCdIntegrationsPublishDocker": false, | ||
"ciCdIntegrationsSnyk": false, | ||
"ciCdIntegrationsSonar": false, | ||
"ciCdJenkins": false, | ||
"ciCdTravis": false, | ||
"cjsExtension": ".js", | ||
"cliName": undefined, | ||
"clientBundler": "webpack", | ||
|
@@ -1120,6 +1167,7 @@ exports[`generator - app with gateway should match snapshot 1`] = ` | |
"zipkinImage": "zipkin-image-placeholder", | ||
"zipkinTag": "zipkin-tag-placeholder", | ||
}, | ||
"dockerImage": undefined, | ||
"dockerServices": [ | ||
"app", | ||
"consul", | ||
|
@@ -1161,6 +1209,7 @@ exports[`generator - app with gateway should match snapshot 1`] = ` | |
"githubWorkflows": undefined, | ||
"graalvmSupport": undefined, | ||
"gradleEnterpriseHost": undefined, | ||
"herokuAppName": undefined, | ||
"hipster": "jhipster_family_member_3", | ||
"hipsterBugTrackerLink": "https://github.com/jhipster/generator-jhipster/issues?state=open", | ||
"hipsterBugTrackerProductName": "JHipster", | ||
|
@@ -1178,6 +1227,7 @@ exports[`generator - app with gateway should match snapshot 1`] = ` | |
"humanizedBaseName": "JHipster", | ||
"imperativeOrReactive": "reactive", | ||
"incrementalChangelog": undefined, | ||
"insideDocker": undefined, | ||
"javaCompatibleVersions": [ | ||
"17", | ||
"21", | ||
|
@@ -1483,6 +1533,7 @@ exports[`generator - app with gateway should match snapshot 1`] = ` | |
"searchEngineCouchbase": false, | ||
"searchEngineElasticsearch": false, | ||
"searchEngineNo": true, | ||
"sendBuildToGitlab": undefined, | ||
"serverPort": 8080, | ||
"serviceDiscovery": "consul", | ||
"serviceDiscoveryAny": true, | ||
|
@@ -1501,6 +1552,9 @@ exports[`generator - app with gateway should match snapshot 1`] = ` | |
"skipJhipsterDependencies": undefined, | ||
"skipServer": undefined, | ||
"skipUserManagement": false, | ||
"sonarName": undefined, | ||
"sonarOrga": undefined, | ||
"sonarUrl": undefined, | ||
"springBootDependencies": Any<Object>, | ||
"srcMainDir": "src/main/", | ||
"srcMainJava": "src/main/java/", | ||
|
@@ -1559,6 +1613,10 @@ exports[`generator - app with microservice should match snapshot 1`] = ` | |
"applicationTypeGateway": false, | ||
"applicationTypeMicroservice": true, | ||
"applicationTypeMonolith": false, | ||
"artifactoryReleasesId": undefined, | ||
"artifactoryReleasesUrl": undefined, | ||
"artifactorySnapshotsId": undefined, | ||
"artifactorySnapshotsUrl": undefined, | ||
"authenticationType": "jwt", | ||
"authenticationTypeAny": true, | ||
"authenticationTypeJwt": true, | ||
|
@@ -1587,6 +1645,22 @@ exports[`generator - app with microservice should match snapshot 1`] = ` | |
"camelizedBaseName": "jhipster", | ||
"capitalizedBaseName": "Jhipster", | ||
"caret": undefined, | ||
"ciCd": undefined, | ||
"ciCdAny": false, | ||
"ciCdAzure": false, | ||
"ciCdCircle": false, | ||
"ciCdGithub": false, | ||
"ciCdGitlab": false, | ||
"ciCdIntegrations": undefined, | ||
"ciCdIntegrationsAny": false, | ||
"ciCdIntegrationsCypressDashboard": false, | ||
"ciCdIntegrationsDeploy": false, | ||
"ciCdIntegrationsHeroku": false, | ||
"ciCdIntegrationsPublishDocker": false, | ||
"ciCdIntegrationsSnyk": false, | ||
"ciCdIntegrationsSonar": false, | ||
"ciCdJenkins": false, | ||
"ciCdTravis": false, | ||
"cjsExtension": ".js", | ||
"cliName": undefined, | ||
"clientBundler": undefined, | ||
|
@@ -1783,6 +1857,7 @@ exports[`generator - app with microservice should match snapshot 1`] = ` | |
"zipkinImage": "zipkin-image-placeholder", | ||
"zipkinTag": "zipkin-tag-placeholder", | ||
}, | ||
"dockerImage": undefined, | ||
"dockerServices": [ | ||
"app", | ||
"consul", | ||
|
@@ -1824,6 +1899,7 @@ exports[`generator - app with microservice should match snapshot 1`] = ` | |
"githubWorkflows": undefined, | ||
"graalvmSupport": undefined, | ||
"gradleEnterpriseHost": undefined, | ||
"herokuAppName": undefined, | ||
"hipster": "jhipster_family_member_3", | ||
"hipsterBugTrackerLink": "https://github.com/jhipster/generator-jhipster/issues?state=open", | ||
"hipsterBugTrackerProductName": "JHipster", | ||
|
@@ -1841,6 +1917,7 @@ exports[`generator - app with microservice should match snapshot 1`] = ` | |
"humanizedBaseName": "JHipster", | ||
"imperativeOrReactive": "imperative", | ||
"incrementalChangelog": undefined, | ||
"insideDocker": undefined, | ||
"javaCompatibleVersions": [ | ||
"17", | ||
"21", | ||
|
@@ -2079,6 +2156,7 @@ exports[`generator - app with microservice should match snapshot 1`] = ` | |
"searchEngineCouchbase": false, | ||
"searchEngineElasticsearch": false, | ||
"searchEngineNo": true, | ||
"sendBuildToGitlab": undefined, | ||
"serverPort": 8081, | ||
"serviceDiscovery": "consul", | ||
"serviceDiscoveryAny": true, | ||
|
@@ -2097,6 +2175,9 @@ exports[`generator - app with microservice should match snapshot 1`] = ` | |
"skipJhipsterDependencies": undefined, | ||
"skipServer": undefined, | ||
"skipUserManagement": true, | ||
"sonarName": undefined, | ||
"sonarOrga": undefined, | ||
"sonarUrl": undefined, | ||
"springBootDependencies": Any<Object>, | ||
"srcMainDir": "src/main/", | ||
"srcMainJava": "src/main/java/", | ||
|
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,26 @@ | ||
/** | ||
* Copyright 2013-2025 the original author or authors from the JHipster project. | ||
* | ||
* This file is part of the JHipster project, see https://www.jhipster.tech/ | ||
* for more information. | ||
* | ||
* Licensed under the Apache License, Version 2.0 (the "License"); | ||
* you may not use this file except in compliance with the License. | ||
* You may obtain a copy of the License at | ||
* | ||
* https://www.apache.org/licenses/LICENSE-2.0 | ||
* | ||
* Unless required by applicable law or agreed to in writing, software | ||
* distributed under the License is distributed on an "AS IS" BASIS, | ||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. | ||
* See the License for the specific language governing permissions and | ||
* limitations under the License. | ||
*/ | ||
/** | ||
* @deprecated will be deprecated in favor of a generator-dedicated class, every attribute will be moved there then. | ||
*/ | ||
export type PartialApplicationBootstrapApplicationClient = { | ||
clientBundlerWebpack?: boolean; | ||
clientBundlerExperimentalEsbuild?: boolean; | ||
clientBundlerVite?: boolean; | ||
}; |
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.
Should Hub be capitalized like it is in GitHub?
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.
Was like this previously, didn't changed anything here