UNPKG

@nxrocks/nx-ktor

Version:

Nx plugin to generate, run, package, build (and more) Ktor projects inside your Nx workspace

23 lines 1.21 kB
"use strict"; 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', publishImageTargetName: options.publishImageTargetName ?? 'publish-image', publishImageLocallyTargetName: options.publishImageLocallyTargetName ?? 'publish-image-locally', runDockerTargetName: options.runDockerTargetName ?? 'run-docker', }; } //# sourceMappingURL=plugin.js.map