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 87de3de
Show file tree
Hide file tree
Showing 7 changed files with 0 additions and 16 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
6 changes: 0 additions & 6 deletions generators/generator-list.ts
Original file line number Diff line number Diff line change
Expand Up @@ -19,11 +19,6 @@

export const GENERATOR_ANGULAR = 'angular';
export const GENERATOR_APP = 'app';
export const GENERATOR_BASE = 'base';
export const GENERATOR_BASE_APPLICATION = 'base-application';
export const GENERATOR_BASE_CORE = 'base-core';
export const GENERATOR_BASE_ENTITY_CHANGES = 'base-entity-changes';
export const GENERATOR_BASE_WORKSPACES = 'base-workspaces';
export const GENERATOR_BOOTSTRAP = 'bootstrap';
export const GENERATOR_BOOTSTRAP_APPLICATION = 'bootstrap-application';
export const GENERATOR_BOOTSTRAP_APPLICATION_BASE = 'bootstrap-application-base';
Expand All @@ -42,7 +37,6 @@ export const GENERATOR_ENTITY = 'entity';
export const GENERATOR_EXPORT_JDL = 'export-jdl';
export const GENERATOR_FEIGN_CLIENT = 'feign-client';
export const GENERATOR_GATLING = 'gatling';
export const GENERATOR_GENERATE_BLUEPRINT = 'generate-blueprint';
export const GENERATOR_GIT = 'git';
export const GENERATOR_GRADLE = 'gradle';
export const GENERATOR_HEROKU = 'heroku';
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 87de3de

Please sign in to comment.