@nxrocks/nx-spring-boot
Version:
Nx Plugin to generate, run, package, build (and more) Spring Boot projects inside your Nx workspace
21 lines • 1.02 kB
JavaScript
;
Object.defineProperty(exports, "__esModule", { value: true });
exports.normalizePluginOptions = normalizePluginOptions;
function normalizePluginOptions(opts) {
const options = opts ?? {};
return {
...options,
buildTargetName: options.buildTargetName ?? 'build',
installTargetName: options.installTargetName ?? 'install',
testTargetName: options.testTargetName ?? 'test',
cleanTargetName: options.cleanTargetName ?? 'clean',
formatTargetName: options.formatTargetName ?? 'format',
applyFormatTargetName: options.applyFormatTargetName ?? 'apply-format',
checkFormatTargetName: options.checkFormatTargetName ?? 'check-format',
runTargetName: options.runTargetName ?? 'run',
serveTargetName: options.serveTargetName ?? 'serve',
buildImageTargetName: options.buildImageTargetName ?? 'build-image',
buildInfoTargetName: options.buildInfoTargetName ?? 'build-info',
};
}
//# sourceMappingURL=plugin.js.map