Skip to content

Commit

Permalink
Clean code: remove unused constant
Browse files Browse the repository at this point in the history
  • Loading branch information
qmonmert committed Jan 4, 2025
1 parent 5987941 commit 23fcb75
Show file tree
Hide file tree
Showing 6 changed files with 0 additions and 10 deletions.
1 change: 0 additions & 1 deletion generators/docker/constants.ts
Original file line number Diff line number Diff line change
Expand Up @@ -17,5 +17,4 @@
* limitations under the License.
*/
export const SERVICE_HEALTHY = 'service_healthy';
export const SERVICE_STARTED = 'service_started';
export const SERVICE_COMPLETED_SUCCESSFULLY = 'service_completed_successfully';
1 change: 0 additions & 1 deletion generators/generator-constants.js
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,6 @@ export const ADD_SPRING_MILESTONE_REPOSITORY = false;

// Version of Node, NPM
export const NODE_VERSION = readFileSync(join(fileURLToPath(import.meta.url), '../init/resources/.node-version'), 'utf-8').trim();
export const OPENAPI_GENERATOR_CLI_VERSION = '2.13.1';

// The version should be coherent with the one from spring-data-elasticsearch project
export const ELASTICSEARCH_TAG = '8.13.4';
Expand Down
2 changes: 0 additions & 2 deletions generators/gradle/constants.ts
Original file line number Diff line number Diff line change
Expand Up @@ -17,5 +17,3 @@
* limitations under the License.
*/
export const GRADLE = 'gradle';
export const GRADLE_DESCRIPTION = 'Gradle';
export const BUILD_DESTINATION_VALUE = 'build';
2 changes: 0 additions & 2 deletions generators/maven/constants.ts
Original file line number Diff line number Diff line change
Expand Up @@ -17,5 +17,3 @@
* limitations under the License.
*/
export const MAVEN = 'maven';
export const MAVEN_DESCRIPTION = 'Maven';
export const BUILD_DESTINATION_VALUE = 'target';
1 change: 0 additions & 1 deletion generators/project-name/constants.ts
Original file line number Diff line number Diff line change
Expand Up @@ -20,4 +20,3 @@ export const BASE_NAME = 'baseName';
export const BASE_NAME_DESCRIPTION = 'Application base name';

export const JHIPSTER_VERSION = 'jhipsterVersion';
export const JHIPSTER_VERSION_DESCRIPTION = 'Force jhipsterVersion for reproducibility';
3 changes: 0 additions & 3 deletions lib/jhipster/deployment-options.ts
Original file line number Diff line number Diff line change
Expand Up @@ -35,9 +35,6 @@ export const DeploymentTypes = {
exists: (deploymentType?: any) => !!deploymentType && !!DeploymentTypes[deploymentType.toUpperCase().replace('-', '')],
};

export const DOCKERCOMPOSE = DeploymentTypes.DOCKERCOMPOSE;
export const KUBERNETES = DeploymentTypes.KUBERNETES;

const kubernetesRelatedOptions = {
kubernetesNamespace: 'default',
kubernetesServiceType: {
Expand Down

0 comments on commit 23fcb75

Please sign in to comment.