@nxrocks/nx-spring-boot
Version:
Nx Plugin to generate, run, package, build (and more) Spring Boot projects inside your Nx workspace
13 lines • 952 B
JavaScript
;
Object.defineProperty(exports, "__esModule", { value: true });
exports.createNodesFnV2 = exports.createNodesFn = void 0;
const common_jvm_1 = require("@nxrocks/common-jvm");
const index_1 = require("../index");
const boot_utils_1 = require("../utils/boot-utils");
const plugin_utils_1 = require("../utils/plugin-utils");
// wrapped into a () to avoid the 'Cannot access 'NX_SPRING_BOOT_PKG' before initialization'
const createNodesFn = () => (0, common_jvm_1.createNodesFor)(common_jvm_1.JVM_PROJECT_FILES, boot_utils_1.isBootProject, plugin_utils_1.getProjectTypeAndTargetsFromFile, index_1.NX_SPRING_BOOT_PKG);
exports.createNodesFn = createNodesFn;
const createNodesFnV2 = () => (0, common_jvm_1.createNodesForV2)(common_jvm_1.JVM_PROJECT_FILES, boot_utils_1.isBootProject, plugin_utils_1.getProjectTypeAndTargetsFromFile, index_1.NX_SPRING_BOOT_PKG);
exports.createNodesFnV2 = createNodesFnV2;
//# sourceMappingURL=create-nodes.js.map