@nxrocks/nx-spring-boot
Version:
Nx Plugin to generate, run, package, build (and more) Spring Boot projects inside your Nx workspace
33 lines • 1.24 kB
JavaScript
;
Object.defineProperty(exports, "__esModule", { value: true });
exports.MAVEN_BUILDER = exports.MAVEN_BOOT_COMMAND_MAPPER = exports.GRADLE_BUILDER = exports.GRADLE_BOOT_COMMAND_MAPPER = void 0;
const common_jvm_1 = require("@nxrocks/common-jvm");
exports.GRADLE_BOOT_COMMAND_MAPPER = {
'run': 'bootRun',
'serve': 'bootRun',
'test': 'test',
'clean': 'clean',
'build': 'build',
'install': 'publishToMavenLocal',
'format': 'spotlessApply',
'apply-format': 'spotlessApply',
'check-format': 'spotlessCheck',
'build-image': 'bootBuildImage',
'build-info': 'bootBuildInfo'
};
exports.GRADLE_BUILDER = new common_jvm_1.GradleBuilder(exports.GRADLE_BOOT_COMMAND_MAPPER);
exports.MAVEN_BOOT_COMMAND_MAPPER = {
'run': 'spring-boot:run',
'serve': 'spring-boot:run',
'test': 'test',
'clean': 'clean',
'build': 'package',
'install': 'install',
'format': 'spotless:apply',
'apply-format': 'spotless:apply',
'check-format': 'spotless:check',
'build-image': 'spring-boot:build-image',
'build-info': 'spring-boot:build-info'
};
exports.MAVEN_BUILDER = new common_jvm_1.MavenBuilder(exports.MAVEN_BOOT_COMMAND_MAPPER);
//# sourceMappingURL=constants.js.map