How to use the generator-jhipster/generators/generator-constants.CLIENT_DIST_DIR function in generator-jhipster

To help you get started, we’ve selected a few generator-jhipster examples, based on popular ways it is used in public projects.

Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.

github jhipster / generator-jhipster-micronaut / generators / server / index.js View on Github external
this.configOptions.prodDatabaseType = this.prodDatabaseType;
                this.configOptions.searchEngine = this.searchEngine;
                this.configOptions.messageBroker = this.messageBroker;
                this.configOptions.serviceDiscoveryType = this.serviceDiscoveryType;
                this.configOptions.buildTool = this.buildTool;
                this.configOptions.enableSwaggerCodegen = this.enableSwaggerCodegen;
                this.configOptions.authenticationType = this.authenticationType;
                const uaaBaseName = this.uaaBaseName;
                if (uaaBaseName) {
                    this.configOptions.uaaBaseName = this.uaaBaseName;
                }
                this.configOptions.serverPort = this.serverPort;

                // Make dist dir available in templates
                this.BUILD_DIR = this.getBuildDirectoryForBuildTool(this.buildTool);
                this.CLIENT_DIST_DIR = this.getResourceBuildDirectoryForBuildTool(this.configOptions.buildTool) + constants.CLIENT_DIST_DIR;
            }
        };
github hipster-labs / generator-jhipster-react / generators / client / index.js View on Github external
}
      if (this.configOptions.languages !== undefined) {
        this.languages = this.configOptions.languages;
      }

      if (this.configOptions.uaaBaseName !== undefined) {
        this.uaaBaseName = this.configOptions.uaaBaseName;
      }

      // Make dist dir available in templates
      if (this.configOptions.buildTool === 'maven') {
        this.BUILD_DIR = 'target/';
      } else {
        this.BUILD_DIR = 'build/';
      }
      this.DIST_DIR = this.BUILD_DIR + constants.CLIENT_DIST_DIR;
    },

generator-jhipster

Spring Boot + Angular/React/Vue in one handy generator

Apache-2.0
Latest version published 20 days ago

Package Health Score

89 / 100
Full package analysis