UNPKG

@nx/js

Version:

The JS plugin for Nx contains executors and generators that provide the best experience for developing JavaScript and TypeScript projects.

26 lines (25 loc) 1.35 kB
"use strict"; /** * @deprecated Backwards-compatibility shim for `@nx/js/src/internal`. * * The `./src/internal` subpath was removed in nx 23 — the canonical path is * now `@nx/js/internal`. Additionally, `getRootTsConfigPath` moved to the * main `@nx/js` entry. * * This shim keeps `@nx/conformance@4` / `@nx/conformance@5.0.x` working on * nx 23. Both packages do: * `const { getRootTsConfigPath } = await import('@nx/js/src/internal')` * `const { registerTsProject } = await import('@nx/js/src/internal')` * * Do NOT add new exports here. Consumers should migrate to: * - `@nx/js/internal` for `registerTsProject` (and other internal helpers) * - `@nx/js` for `getRootTsConfigPath` */ Object.defineProperty(exports, "__esModule", { value: true }); exports.getRootTsConfigPath = exports.registerTsProject = void 0; // registerTsProject lives in the new ./internal entry var internal_1 = require("../internal"); Object.defineProperty(exports, "registerTsProject", { enumerable: true, get: function () { return internal_1.registerTsProject; } }); // getRootTsConfigPath moved to the main @nx/js entry in nx 23 var ts_config_1 = require("./utils/typescript/ts-config"); Object.defineProperty(exports, "getRootTsConfigPath", { enumerable: true, get: function () { return ts_config_1.getRootTsConfigPath; } });