UNPKG

@nxrocks/nx-ktor

Version:

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

13 lines 931 B
"use strict"; 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 ktor_utils_1 = require("../utils/ktor-utils"); const plugin_utils_1 = require("../utils/plugin-utils"); // wrapped into a () to avoid the 'Cannot access 'NX_KTOR_PKG' before initialization' const createNodesFn = () => (0, common_jvm_1.createNodesFor)(common_jvm_1.JVM_PROJECT_FILES, ktor_utils_1.isKtorProject, plugin_utils_1.getProjectTypeAndTargetsFromFile, index_1.NX_KTOR_PKG); exports.createNodesFn = createNodesFn; const createNodesFnV2 = () => (0, common_jvm_1.createNodesForV2)(common_jvm_1.JVM_PROJECT_FILES, ktor_utils_1.isKtorProject, plugin_utils_1.getProjectTypeAndTargetsFromFile, index_1.NX_KTOR_PKG); exports.createNodesFnV2 = createNodesFnV2; //# sourceMappingURL=create-nodes.js.map