@storm-software/cloudflare-tools 0.6.2 → 0.7.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +7 -0
- package/README.md +1 -1
- package/index.js +1235 -3978
- package/meta.json +1 -1
- package/package.json +1 -1
- package/packages/workspace-tools/src/generators/release-version/generator.d.ts +2 -2
- package/src/executors/cloudflare-publish/executor.js +423 -328
- package/src/executors/serve/executor.js +420 -329
- package/src/generators/init/generator.js +180 -125
- package/src/generators/worker/generator.js +1386 -4129
|
@@ -667,9 +667,9 @@ var require_main = __commonJS({
|
|
|
667
667
|
}
|
|
668
668
|
});
|
|
669
669
|
|
|
670
|
-
// node_modules/.pnpm/jiti@1.21.
|
|
670
|
+
// node_modules/.pnpm/jiti@1.21.3/node_modules/jiti/dist/jiti.js
|
|
671
671
|
var require_jiti = __commonJS({
|
|
672
|
-
"node_modules/.pnpm/jiti@1.21.
|
|
672
|
+
"node_modules/.pnpm/jiti@1.21.3/node_modules/jiti/dist/jiti.js"(exports2, module2) {
|
|
673
673
|
(() => {
|
|
674
674
|
var __webpack_modules__ = { "./node_modules/.pnpm/create-require@1.1.1/node_modules/create-require/create-require.js": (module3, __unused_webpack_exports, __webpack_require__2) => {
|
|
675
675
|
const nativeModule = __webpack_require__2("module"), path6 = __webpack_require__2("path"), fs2 = __webpack_require__2("fs");
|
|
@@ -685,14 +685,14 @@ var require_jiti = __commonJS({
|
|
|
685
685
|
return mod.filename = filename2, mod.paths = nativeModule.Module._nodeModulePaths(path6.dirname(filename2)), mod._compile("module.exports = require;", filename2), mod.exports;
|
|
686
686
|
}(filename);
|
|
687
687
|
};
|
|
688
|
-
}, "./node_modules/.pnpm/mlly@1.7.
|
|
688
|
+
}, "./node_modules/.pnpm/mlly@1.7.1/node_modules/mlly/dist lazy recursive": (module3) => {
|
|
689
689
|
function webpackEmptyAsyncContext(req) {
|
|
690
690
|
return Promise.resolve().then(() => {
|
|
691
691
|
var e2 = new Error("Cannot find module '" + req + "'");
|
|
692
692
|
throw e2.code = "MODULE_NOT_FOUND", e2;
|
|
693
693
|
});
|
|
694
694
|
}
|
|
695
|
-
webpackEmptyAsyncContext.keys = () => [], webpackEmptyAsyncContext.resolve = webpackEmptyAsyncContext, webpackEmptyAsyncContext.id = "./node_modules/.pnpm/mlly@1.7.
|
|
695
|
+
webpackEmptyAsyncContext.keys = () => [], webpackEmptyAsyncContext.resolve = webpackEmptyAsyncContext, webpackEmptyAsyncContext.id = "./node_modules/.pnpm/mlly@1.7.1/node_modules/mlly/dist lazy recursive", module3.exports = webpackEmptyAsyncContext;
|
|
696
696
|
}, "./node_modules/.pnpm/object-hash@3.0.0/node_modules/object-hash/index.js": (module3, exports3, __webpack_require__2) => {
|
|
697
697
|
"use strict";
|
|
698
698
|
var crypto = __webpack_require__2("crypto");
|
|
@@ -4278,7 +4278,8 @@ Default "index" lookups for the main are deprecated for ES modules.`, "Deprecati
|
|
|
4278
4278
|
var value2;
|
|
4279
4279
|
const defaultValue = sourceModule.default;
|
|
4280
4280
|
if (null == defaultValue) return sourceModule;
|
|
4281
|
-
|
|
4281
|
+
const _defaultType = typeof defaultValue;
|
|
4282
|
+
if ("object" !== _defaultType && ("function" !== _defaultType || opts2.preferNamespace)) return opts2.preferNamespace ? sourceModule : defaultValue;
|
|
4282
4283
|
for (const key in sourceModule) try {
|
|
4283
4284
|
key in defaultValue || Object.defineProperty(defaultValue, key, { enumerable: "default" !== key, configurable: "default" !== key, get: () => sourceModule[key] });
|
|
4284
4285
|
} catch {
|
|
@@ -4366,9 +4367,9 @@ Default "index" lookups for the main are deprecated for ES modules.`, "Deprecati
|
|
|
4366
4367
|
}
|
|
4367
4368
|
});
|
|
4368
4369
|
|
|
4369
|
-
// node_modules/.pnpm/jiti@1.21.
|
|
4370
|
+
// node_modules/.pnpm/jiti@1.21.3/node_modules/jiti/dist/babel.js
|
|
4370
4371
|
var require_babel = __commonJS({
|
|
4371
|
-
"node_modules/.pnpm/jiti@1.21.
|
|
4372
|
+
"node_modules/.pnpm/jiti@1.21.3/node_modules/jiti/dist/babel.js"(exports2, module2) {
|
|
4372
4373
|
(() => {
|
|
4373
4374
|
var __webpack_modules__ = { "./node_modules/.pnpm/@ampproject+remapping@2.3.0/node_modules/@ampproject/remapping/dist/remapping.umd.js": function(module3, __unused_webpack_exports, __webpack_require__2) {
|
|
4374
4375
|
module3.exports = function(traceMapping, genMapping) {
|
|
@@ -29679,9 +29680,9 @@ ${trace}`);
|
|
|
29679
29680
|
}
|
|
29680
29681
|
});
|
|
29681
29682
|
|
|
29682
|
-
// node_modules/.pnpm/jiti@1.21.
|
|
29683
|
+
// node_modules/.pnpm/jiti@1.21.3/node_modules/jiti/lib/index.js
|
|
29683
29684
|
var require_lib = __commonJS({
|
|
29684
|
-
"node_modules/.pnpm/jiti@1.21.
|
|
29685
|
+
"node_modules/.pnpm/jiti@1.21.3/node_modules/jiti/lib/index.js"(exports2, module2) {
|
|
29685
29686
|
function onError(err) {
|
|
29686
29687
|
throw err;
|
|
29687
29688
|
}
|
|
@@ -35997,7 +35998,7 @@ var init_dist5 = __esm({
|
|
|
35997
35998
|
}
|
|
35998
35999
|
});
|
|
35999
36000
|
|
|
36000
|
-
// node_modules/.pnpm/mlly@1.7.
|
|
36001
|
+
// node_modules/.pnpm/mlly@1.7.1/node_modules/mlly/dist/index.mjs
|
|
36001
36002
|
function normalizeSlash(path6) {
|
|
36002
36003
|
return path6.replace(/\\/g, "/");
|
|
36003
36004
|
}
|
|
@@ -37059,7 +37060,7 @@ function resolvePath(id, options) {
|
|
|
37059
37060
|
}
|
|
37060
37061
|
var import_node_module, import_node_fs3, import_node_url, import_node_assert, import_node_process, import_node_path3, import_node_v8, import_node_util, BUILTIN_MODULES, own$1, classRegExp, kTypes, codes, messages, nodeInternalPrefix, userStackTraceLimit, captureLargerStackTrace, hasOwnProperty$1, ERR_INVALID_PACKAGE_CONFIG$1, cache, ERR_UNKNOWN_FILE_EXTENSION, hasOwnProperty3, extensionFormatMap, protocolHandlers, RegExpPrototypeSymbolReplace, ERR_NETWORK_IMPORT_DISALLOWED, ERR_INVALID_MODULE_SPECIFIER, ERR_INVALID_PACKAGE_CONFIG, ERR_INVALID_PACKAGE_TARGET, ERR_MODULE_NOT_FOUND, ERR_PACKAGE_IMPORT_NOT_DEFINED, ERR_PACKAGE_PATH_NOT_EXPORTED, ERR_UNSUPPORTED_DIR_IMPORT, ERR_UNSUPPORTED_RESOLVE_REQUEST, own, invalidSegmentRegEx, deprecatedInvalidSegmentRegEx, invalidPackageNameRegEx, patternRegEx, encodedSeparatorRegEx, emittedPackageWarnings, doubleSlashRegEx, DEFAULT_CONDITIONS_SET, DEFAULT_EXTENSIONS, NOT_FOUND_ERRORS;
|
|
37061
37062
|
var init_dist6 = __esm({
|
|
37062
|
-
"node_modules/.pnpm/mlly@1.7.
|
|
37063
|
+
"node_modules/.pnpm/mlly@1.7.1/node_modules/mlly/dist/index.mjs"() {
|
|
37063
37064
|
init_acorn();
|
|
37064
37065
|
import_node_module = require("node:module");
|
|
37065
37066
|
import_node_fs3 = __toESM(require("node:fs"), 1);
|
|
@@ -68561,12 +68562,12 @@ var init_tslib_es6 = __esm({
|
|
|
68561
68562
|
}
|
|
68562
68563
|
});
|
|
68563
68564
|
|
|
68564
|
-
// node_modules/.pnpm/@nx+js@19.
|
|
68565
|
+
// node_modules/.pnpm/@nx+js@19.2.0_@babel+traverse@7.24.7_@swc-node+register@1.9.1_@swc+core@1.5.7_@swc+helpers@0._6vhtpruepu7ra54tbxpepedgyu/node_modules/@nx/js/package.json
|
|
68565
68566
|
var require_package2 = __commonJS({
|
|
68566
|
-
"node_modules/.pnpm/@nx+js@19.
|
|
68567
|
+
"node_modules/.pnpm/@nx+js@19.2.0_@babel+traverse@7.24.7_@swc-node+register@1.9.1_@swc+core@1.5.7_@swc+helpers@0._6vhtpruepu7ra54tbxpepedgyu/node_modules/@nx/js/package.json"(exports2, module2) {
|
|
68567
68568
|
module2.exports = {
|
|
68568
68569
|
name: "@nx/js",
|
|
68569
|
-
version: "19.
|
|
68570
|
+
version: "19.2.0",
|
|
68570
68571
|
private: false,
|
|
68571
68572
|
description: "The JS plugin for Nx contains executors and generators that provide the best experience for developing JavaScript and TypeScript projects. ",
|
|
68572
68573
|
repository: {
|
|
@@ -68624,9 +68625,9 @@ var require_package2 = __commonJS({
|
|
|
68624
68625
|
semver: "^7.5.3",
|
|
68625
68626
|
"source-map-support": "0.5.19",
|
|
68626
68627
|
tslib: "^2.3.0",
|
|
68627
|
-
"@nx/devkit": "19.
|
|
68628
|
-
"@nx/workspace": "19.
|
|
68629
|
-
"@nrwl/js": "19.
|
|
68628
|
+
"@nx/devkit": "19.2.0",
|
|
68629
|
+
"@nx/workspace": "19.2.0",
|
|
68630
|
+
"@nrwl/js": "19.2.0"
|
|
68630
68631
|
},
|
|
68631
68632
|
peerDependencies: {
|
|
68632
68633
|
verdaccio: "^5.0.4"
|
|
@@ -68644,9 +68645,9 @@ var require_package2 = __commonJS({
|
|
|
68644
68645
|
}
|
|
68645
68646
|
});
|
|
68646
68647
|
|
|
68647
|
-
// node_modules/.pnpm/@nx+js@19.
|
|
68648
|
+
// node_modules/.pnpm/@nx+js@19.2.0_@babel+traverse@7.24.7_@swc-node+register@1.9.1_@swc+core@1.5.7_@swc+helpers@0._6vhtpruepu7ra54tbxpepedgyu/node_modules/@nx/js/src/utils/versions.js
|
|
68648
68649
|
var require_versions = __commonJS({
|
|
68649
|
-
"node_modules/.pnpm/@nx+js@19.
|
|
68650
|
+
"node_modules/.pnpm/@nx+js@19.2.0_@babel+traverse@7.24.7_@swc-node+register@1.9.1_@swc+core@1.5.7_@swc+helpers@0._6vhtpruepu7ra54tbxpepedgyu/node_modules/@nx/js/src/utils/versions.js"(exports2) {
|
|
68650
68651
|
"use strict";
|
|
68651
68652
|
Object.defineProperty(exports2, "__esModule", { value: true });
|
|
68652
68653
|
exports2.supportedTypescriptVersions = exports2.typescriptVersion = exports2.verdaccioVersion = exports2.typesNodeVersion = exports2.tsLibVersion = exports2.swcNodeVersion = exports2.swcHelpersVersion = exports2.swcCoreVersion = exports2.swcCliVersion = exports2.prettierVersion = exports2.esbuildVersion = exports2.nxVersion = void 0;
|
|
@@ -68665,9 +68666,9 @@ var require_versions = __commonJS({
|
|
|
68665
68666
|
}
|
|
68666
68667
|
});
|
|
68667
68668
|
|
|
68668
|
-
// node_modules/.pnpm/@nx+js@19.
|
|
68669
|
+
// node_modules/.pnpm/@nx+js@19.2.0_@babel+traverse@7.24.7_@swc-node+register@1.9.1_@swc+core@1.5.7_@swc+helpers@0._6vhtpruepu7ra54tbxpepedgyu/node_modules/@nx/js/src/utils/typescript/add-tslib-dependencies.js
|
|
68669
68670
|
var require_add_tslib_dependencies = __commonJS({
|
|
68670
|
-
"node_modules/.pnpm/@nx+js@19.
|
|
68671
|
+
"node_modules/.pnpm/@nx+js@19.2.0_@babel+traverse@7.24.7_@swc-node+register@1.9.1_@swc+core@1.5.7_@swc+helpers@0._6vhtpruepu7ra54tbxpepedgyu/node_modules/@nx/js/src/utils/typescript/add-tslib-dependencies.js"(exports2) {
|
|
68671
68672
|
"use strict";
|
|
68672
68673
|
Object.defineProperty(exports2, "__esModule", { value: true });
|
|
68673
68674
|
exports2.addTsLibDependencies = void 0;
|
|
@@ -68682,9 +68683,9 @@ var require_add_tslib_dependencies = __commonJS({
|
|
|
68682
68683
|
}
|
|
68683
68684
|
});
|
|
68684
68685
|
|
|
68685
|
-
// node_modules/.pnpm/@nx+js@19.
|
|
68686
|
+
// node_modules/.pnpm/@nx+js@19.2.0_@babel+traverse@7.24.7_@swc-node+register@1.9.1_@swc+core@1.5.7_@swc+helpers@0._6vhtpruepu7ra54tbxpepedgyu/node_modules/@nx/js/src/utils/typescript/load-ts-transformers.js
|
|
68686
68687
|
var require_load_ts_transformers = __commonJS({
|
|
68687
|
-
"node_modules/.pnpm/@nx+js@19.
|
|
68688
|
+
"node_modules/.pnpm/@nx+js@19.2.0_@babel+traverse@7.24.7_@swc-node+register@1.9.1_@swc+core@1.5.7_@swc+helpers@0._6vhtpruepu7ra54tbxpepedgyu/node_modules/@nx/js/src/utils/typescript/load-ts-transformers.js"(exports2, module2) {
|
|
68688
68689
|
"use strict";
|
|
68689
68690
|
Object.defineProperty(exports2, "__esModule", { value: true });
|
|
68690
68691
|
exports2.loadTsTransformers = void 0;
|
|
@@ -68749,9 +68750,9 @@ var require_load_ts_transformers = __commonJS({
|
|
|
68749
68750
|
}
|
|
68750
68751
|
});
|
|
68751
68752
|
|
|
68752
|
-
// node_modules/.pnpm/@nx+js@19.
|
|
68753
|
+
// node_modules/.pnpm/@nx+js@19.2.0_@babel+traverse@7.24.7_@swc-node+register@1.9.1_@swc+core@1.5.7_@swc+helpers@0._6vhtpruepu7ra54tbxpepedgyu/node_modules/@nx/js/src/utils/typescript/print-diagnostics.js
|
|
68753
68754
|
var require_print_diagnostics = __commonJS({
|
|
68754
|
-
"node_modules/.pnpm/@nx+js@19.
|
|
68755
|
+
"node_modules/.pnpm/@nx+js@19.2.0_@babel+traverse@7.24.7_@swc-node+register@1.9.1_@swc+core@1.5.7_@swc+helpers@0._6vhtpruepu7ra54tbxpepedgyu/node_modules/@nx/js/src/utils/typescript/print-diagnostics.js"(exports2) {
|
|
68755
68756
|
"use strict";
|
|
68756
68757
|
Object.defineProperty(exports2, "__esModule", { value: true });
|
|
68757
68758
|
exports2.printDiagnostics = void 0;
|
|
@@ -68796,9 +68797,9 @@ var require_js_tokens = __commonJS({
|
|
|
68796
68797
|
}
|
|
68797
68798
|
});
|
|
68798
68799
|
|
|
68799
|
-
// node_modules/.pnpm/@nx+js@19.
|
|
68800
|
+
// node_modules/.pnpm/@nx+js@19.2.0_@babel+traverse@7.24.7_@swc-node+register@1.9.1_@swc+core@1.5.7_@swc+helpers@0._6vhtpruepu7ra54tbxpepedgyu/node_modules/@nx/js/src/utils/code-frames/identifiers.js
|
|
68800
68801
|
var require_identifiers = __commonJS({
|
|
68801
|
-
"node_modules/.pnpm/@nx+js@19.
|
|
68802
|
+
"node_modules/.pnpm/@nx+js@19.2.0_@babel+traverse@7.24.7_@swc-node+register@1.9.1_@swc+core@1.5.7_@swc+helpers@0._6vhtpruepu7ra54tbxpepedgyu/node_modules/@nx/js/src/utils/code-frames/identifiers.js"(exports2) {
|
|
68802
68803
|
"use strict";
|
|
68803
68804
|
Object.defineProperty(exports2, "__esModule", { value: true });
|
|
68804
68805
|
exports2.isKeyword = exports2.isReservedWord = void 0;
|
|
@@ -68850,9 +68851,9 @@ var require_identifiers = __commonJS({
|
|
|
68850
68851
|
}
|
|
68851
68852
|
});
|
|
68852
68853
|
|
|
68853
|
-
// node_modules/.pnpm/@nx+js@19.
|
|
68854
|
+
// node_modules/.pnpm/@nx+js@19.2.0_@babel+traverse@7.24.7_@swc-node+register@1.9.1_@swc+core@1.5.7_@swc+helpers@0._6vhtpruepu7ra54tbxpepedgyu/node_modules/@nx/js/src/utils/code-frames/highlight.js
|
|
68854
68855
|
var require_highlight = __commonJS({
|
|
68855
|
-
"node_modules/.pnpm/@nx+js@19.
|
|
68856
|
+
"node_modules/.pnpm/@nx+js@19.2.0_@babel+traverse@7.24.7_@swc-node+register@1.9.1_@swc+core@1.5.7_@swc+helpers@0._6vhtpruepu7ra54tbxpepedgyu/node_modules/@nx/js/src/utils/code-frames/highlight.js"(exports2) {
|
|
68856
68857
|
"use strict";
|
|
68857
68858
|
Object.defineProperty(exports2, "__esModule", { value: true });
|
|
68858
68859
|
exports2.highlight = void 0;
|
|
@@ -68917,9 +68918,9 @@ var require_highlight = __commonJS({
|
|
|
68917
68918
|
}
|
|
68918
68919
|
});
|
|
68919
68920
|
|
|
68920
|
-
// node_modules/.pnpm/@nx+js@19.
|
|
68921
|
+
// node_modules/.pnpm/@nx+js@19.2.0_@babel+traverse@7.24.7_@swc-node+register@1.9.1_@swc+core@1.5.7_@swc+helpers@0._6vhtpruepu7ra54tbxpepedgyu/node_modules/@nx/js/src/utils/typescript/ensure-typescript.js
|
|
68921
68922
|
var require_ensure_typescript = __commonJS({
|
|
68922
|
-
"node_modules/.pnpm/@nx+js@19.
|
|
68923
|
+
"node_modules/.pnpm/@nx+js@19.2.0_@babel+traverse@7.24.7_@swc-node+register@1.9.1_@swc+core@1.5.7_@swc+helpers@0._6vhtpruepu7ra54tbxpepedgyu/node_modules/@nx/js/src/utils/typescript/ensure-typescript.js"(exports2) {
|
|
68923
68924
|
"use strict";
|
|
68924
68925
|
Object.defineProperty(exports2, "__esModule", { value: true });
|
|
68925
68926
|
exports2.ensureTypescript = void 0;
|
|
@@ -274117,9 +274118,9 @@ ${e2.message}`;
|
|
|
274117
274118
|
}
|
|
274118
274119
|
});
|
|
274119
274120
|
|
|
274120
|
-
// node_modules/.pnpm/@nx+js@19.
|
|
274121
|
+
// node_modules/.pnpm/@nx+js@19.2.0_@babel+traverse@7.24.7_@swc-node+register@1.9.1_@swc+core@1.5.7_@swc+helpers@0._6vhtpruepu7ra54tbxpepedgyu/node_modules/@nx/js/src/utils/typescript/ts-config.js
|
|
274121
274122
|
var require_ts_config = __commonJS({
|
|
274122
|
-
"node_modules/.pnpm/@nx+js@19.
|
|
274123
|
+
"node_modules/.pnpm/@nx+js@19.2.0_@babel+traverse@7.24.7_@swc-node+register@1.9.1_@swc+core@1.5.7_@swc+helpers@0._6vhtpruepu7ra54tbxpepedgyu/node_modules/@nx/js/src/utils/typescript/ts-config.js"(exports2) {
|
|
274123
274124
|
"use strict";
|
|
274124
274125
|
Object.defineProperty(exports2, "__esModule", { value: true });
|
|
274125
274126
|
exports2.readTsConfigPaths = exports2.addTsConfigPath = exports2.getRootTsConfigFileName = exports2.getRootTsConfigPath = exports2.getRelativePathToRootTsConfig = exports2.getRootTsConfigPathInTree = exports2.readTsConfig = void 0;
|
|
@@ -274203,9 +274204,9 @@ var require_ts_config = __commonJS({
|
|
|
274203
274204
|
}
|
|
274204
274205
|
});
|
|
274205
274206
|
|
|
274206
|
-
// node_modules/.pnpm/@nx+js@19.
|
|
274207
|
+
// node_modules/.pnpm/@nx+js@19.2.0_@babel+traverse@7.24.7_@swc-node+register@1.9.1_@swc+core@1.5.7_@swc+helpers@0._6vhtpruepu7ra54tbxpepedgyu/node_modules/@nx/js/src/utils/typescript/run-type-check.js
|
|
274207
274208
|
var require_run_type_check = __commonJS({
|
|
274208
|
-
"node_modules/.pnpm/@nx+js@19.
|
|
274209
|
+
"node_modules/.pnpm/@nx+js@19.2.0_@babel+traverse@7.24.7_@swc-node+register@1.9.1_@swc+core@1.5.7_@swc+helpers@0._6vhtpruepu7ra54tbxpepedgyu/node_modules/@nx/js/src/utils/typescript/run-type-check.js"(exports2) {
|
|
274209
274210
|
"use strict";
|
|
274210
274211
|
Object.defineProperty(exports2, "__esModule", { value: true });
|
|
274211
274212
|
exports2.getFormattedDiagnostic = exports2.runTypeCheck = exports2.runTypeCheckWatch = void 0;
|
|
@@ -274321,9 +274322,9 @@ var require_run_type_check = __commonJS({
|
|
|
274321
274322
|
}
|
|
274322
274323
|
});
|
|
274323
274324
|
|
|
274324
|
-
// node_modules/.pnpm/@nx+js@19.
|
|
274325
|
+
// node_modules/.pnpm/@nx+js@19.2.0_@babel+traverse@7.24.7_@swc-node+register@1.9.1_@swc+core@1.5.7_@swc+helpers@0._6vhtpruepu7ra54tbxpepedgyu/node_modules/@nx/js/src/utils/typescript/get-source-nodes.js
|
|
274325
274326
|
var require_get_source_nodes = __commonJS({
|
|
274326
|
-
"node_modules/.pnpm/@nx+js@19.
|
|
274327
|
+
"node_modules/.pnpm/@nx+js@19.2.0_@babel+traverse@7.24.7_@swc-node+register@1.9.1_@swc+core@1.5.7_@swc+helpers@0._6vhtpruepu7ra54tbxpepedgyu/node_modules/@nx/js/src/utils/typescript/get-source-nodes.js"(exports2) {
|
|
274327
274328
|
"use strict";
|
|
274328
274329
|
Object.defineProperty(exports2, "__esModule", { value: true });
|
|
274329
274330
|
exports2.getSourceNodes = void 0;
|
|
@@ -274345,9 +274346,9 @@ var require_get_source_nodes = __commonJS({
|
|
|
274345
274346
|
}
|
|
274346
274347
|
});
|
|
274347
274348
|
|
|
274348
|
-
// node_modules/.pnpm/@nx+js@19.
|
|
274349
|
+
// node_modules/.pnpm/@nx+js@19.2.0_@babel+traverse@7.24.7_@swc-node+register@1.9.1_@swc+core@1.5.7_@swc+helpers@0._6vhtpruepu7ra54tbxpepedgyu/node_modules/@nx/js/src/utils/swc/get-swcrc-path.js
|
|
274349
274350
|
var require_get_swcrc_path = __commonJS({
|
|
274350
|
-
"node_modules/.pnpm/@nx+js@19.
|
|
274351
|
+
"node_modules/.pnpm/@nx+js@19.2.0_@babel+traverse@7.24.7_@swc-node+register@1.9.1_@swc+core@1.5.7_@swc+helpers@0._6vhtpruepu7ra54tbxpepedgyu/node_modules/@nx/js/src/utils/swc/get-swcrc-path.js"(exports2) {
|
|
274351
274352
|
"use strict";
|
|
274352
274353
|
Object.defineProperty(exports2, "__esModule", { value: true });
|
|
274353
274354
|
exports2.getSwcrcPath = void 0;
|
|
@@ -274364,9 +274365,9 @@ var require_get_swcrc_path = __commonJS({
|
|
|
274364
274365
|
}
|
|
274365
274366
|
});
|
|
274366
274367
|
|
|
274367
|
-
// node_modules/.pnpm/@nx+js@19.
|
|
274368
|
+
// node_modules/.pnpm/@nx+js@19.2.0_@babel+traverse@7.24.7_@swc-node+register@1.9.1_@swc+core@1.5.7_@swc+helpers@0._6vhtpruepu7ra54tbxpepedgyu/node_modules/@nx/js/src/utils/compiler-helper-dependency.js
|
|
274368
274369
|
var require_compiler_helper_dependency = __commonJS({
|
|
274369
|
-
"node_modules/.pnpm/@nx+js@19.
|
|
274370
|
+
"node_modules/.pnpm/@nx+js@19.2.0_@babel+traverse@7.24.7_@swc-node+register@1.9.1_@swc+core@1.5.7_@swc+helpers@0._6vhtpruepu7ra54tbxpepedgyu/node_modules/@nx/js/src/utils/compiler-helper-dependency.js"(exports2) {
|
|
274370
274371
|
"use strict";
|
|
274371
274372
|
Object.defineProperty(exports2, "__esModule", { value: true });
|
|
274372
274373
|
exports2.getHelperDependenciesFromProjectGraph = exports2.getHelperDependency = exports2.HelperDependency = void 0;
|
|
@@ -274386,7 +274387,7 @@ var require_compiler_helper_dependency = __commonJS({
|
|
|
274386
274387
|
},
|
|
274387
274388
|
"@nx/js:swc": {
|
|
274388
274389
|
helperDependency: HelperDependency.swc,
|
|
274389
|
-
getConfigPath: (options, contextRoot, projectRoot) => (0, get_swcrc_path_1.getSwcrcPath)(options, contextRoot, projectRoot)
|
|
274390
|
+
getConfigPath: (options, contextRoot, projectRoot) => (0, get_swcrc_path_1.getSwcrcPath)(options, contextRoot, projectRoot).swcrcPath
|
|
274390
274391
|
}
|
|
274391
274392
|
};
|
|
274392
274393
|
function getHelperDependency(helperDependency, configPath, dependencies, projectGraph, returnDependencyIfFound = false) {
|
|
@@ -274465,9 +274466,9 @@ var require_compiler_helper_dependency = __commonJS({
|
|
|
274465
274466
|
}
|
|
274466
274467
|
});
|
|
274467
274468
|
|
|
274468
|
-
// node_modules/.pnpm/@nx+js@19.
|
|
274469
|
+
// node_modules/.pnpm/@nx+js@19.2.0_@babel+traverse@7.24.7_@swc-node+register@1.9.1_@swc+core@1.5.7_@swc+helpers@0._6vhtpruepu7ra54tbxpepedgyu/node_modules/@nx/js/src/utils/typescript/create-ts-config.js
|
|
274469
274470
|
var require_create_ts_config = __commonJS({
|
|
274470
|
-
"node_modules/.pnpm/@nx+js@19.
|
|
274471
|
+
"node_modules/.pnpm/@nx+js@19.2.0_@babel+traverse@7.24.7_@swc-node+register@1.9.1_@swc+core@1.5.7_@swc+helpers@0._6vhtpruepu7ra54tbxpepedgyu/node_modules/@nx/js/src/utils/typescript/create-ts-config.js"(exports2) {
|
|
274471
274472
|
"use strict";
|
|
274472
274473
|
Object.defineProperty(exports2, "__esModule", { value: true });
|
|
274473
274474
|
exports2.extractTsConfigBase = exports2.tsConfigBaseOptions = void 0;
|
|
@@ -274519,9 +274520,9 @@ var require_create_ts_config = __commonJS({
|
|
|
274519
274520
|
}
|
|
274520
274521
|
});
|
|
274521
274522
|
|
|
274522
|
-
// node_modules/.pnpm/@nx+js@19.
|
|
274523
|
+
// node_modules/.pnpm/@nx+js@19.2.0_@babel+traverse@7.24.7_@swc-node+register@1.9.1_@swc+core@1.5.7_@swc+helpers@0._6vhtpruepu7ra54tbxpepedgyu/node_modules/@nx/js/src/utils/typescript/ast-utils.js
|
|
274523
274524
|
var require_ast_utils = __commonJS({
|
|
274524
|
-
"node_modules/.pnpm/@nx+js@19.
|
|
274525
|
+
"node_modules/.pnpm/@nx+js@19.2.0_@babel+traverse@7.24.7_@swc-node+register@1.9.1_@swc+core@1.5.7_@swc+helpers@0._6vhtpruepu7ra54tbxpepedgyu/node_modules/@nx/js/src/utils/typescript/ast-utils.js"(exports2) {
|
|
274525
274526
|
"use strict";
|
|
274526
274527
|
Object.defineProperty(exports2, "__esModule", { value: true });
|
|
274527
274528
|
exports2.findNodes = exports2.findClass = exports2.addMethod = exports2.addParameterToConstructor = exports2.replaceNodeValue = exports2.getImport = exports2.addGlobal = exports2.insertImport = exports2.removeChange = exports2.replaceChange = exports2.insertChange = exports2.resolveModuleByImport = void 0;
|
|
@@ -274760,9 +274761,9 @@ ${opts.methodHeader} {}
|
|
|
274760
274761
|
}
|
|
274761
274762
|
});
|
|
274762
274763
|
|
|
274763
|
-
// node_modules/.pnpm/@nx+js@19.
|
|
274764
|
+
// node_modules/.pnpm/@nx+js@19.2.0_@babel+traverse@7.24.7_@swc-node+register@1.9.1_@swc+core@1.5.7_@swc+helpers@0._6vhtpruepu7ra54tbxpepedgyu/node_modules/@nx/js/src/utils/watch-for-single-file-changes.js
|
|
274764
274765
|
var require_watch_for_single_file_changes = __commonJS({
|
|
274765
|
-
"node_modules/.pnpm/@nx+js@19.
|
|
274766
|
+
"node_modules/.pnpm/@nx+js@19.2.0_@babel+traverse@7.24.7_@swc-node+register@1.9.1_@swc+core@1.5.7_@swc+helpers@0._6vhtpruepu7ra54tbxpepedgyu/node_modules/@nx/js/src/utils/watch-for-single-file-changes.js"(exports2) {
|
|
274766
274767
|
"use strict";
|
|
274767
274768
|
Object.defineProperty(exports2, "__esModule", { value: true });
|
|
274768
274769
|
exports2.watchForSingleFileChanges = void 0;
|
|
@@ -276899,9 +276900,9 @@ var require_lib3 = __commonJS({
|
|
|
276899
276900
|
}
|
|
276900
276901
|
});
|
|
276901
276902
|
|
|
276902
|
-
// node_modules/.pnpm/@nx+js@19.
|
|
276903
|
+
// node_modules/.pnpm/@nx+js@19.2.0_@babel+traverse@7.24.7_@swc-node+register@1.9.1_@swc+core@1.5.7_@swc+helpers@0._6vhtpruepu7ra54tbxpepedgyu/node_modules/@nx/js/src/utils/get-main-file-dir.js
|
|
276903
276904
|
var require_get_main_file_dir = __commonJS({
|
|
276904
|
-
"node_modules/.pnpm/@nx+js@19.
|
|
276905
|
+
"node_modules/.pnpm/@nx+js@19.2.0_@babel+traverse@7.24.7_@swc-node+register@1.9.1_@swc+core@1.5.7_@swc+helpers@0._6vhtpruepu7ra54tbxpepedgyu/node_modules/@nx/js/src/utils/get-main-file-dir.js"(exports2) {
|
|
276905
276906
|
"use strict";
|
|
276906
276907
|
Object.defineProperty(exports2, "__esModule", { value: true });
|
|
276907
276908
|
exports2.getRelativeDirectoryToProjectRoot = void 0;
|
|
@@ -276916,9 +276917,9 @@ var require_get_main_file_dir = __commonJS({
|
|
|
276916
276917
|
}
|
|
276917
276918
|
});
|
|
276918
276919
|
|
|
276919
|
-
// node_modules/.pnpm/@nx+js@19.
|
|
276920
|
+
// node_modules/.pnpm/@nx+js@19.2.0_@babel+traverse@7.24.7_@swc-node+register@1.9.1_@swc+core@1.5.7_@swc+helpers@0._6vhtpruepu7ra54tbxpepedgyu/node_modules/@nx/js/src/utils/package-json/update-package-json.js
|
|
276920
276921
|
var require_update_package_json = __commonJS({
|
|
276921
|
-
"node_modules/.pnpm/@nx+js@19.
|
|
276922
|
+
"node_modules/.pnpm/@nx+js@19.2.0_@babel+traverse@7.24.7_@swc-node+register@1.9.1_@swc+core@1.5.7_@swc+helpers@0._6vhtpruepu7ra54tbxpepedgyu/node_modules/@nx/js/src/utils/package-json/update-package-json.js"(exports2) {
|
|
276922
276923
|
"use strict";
|
|
276923
276924
|
Object.defineProperty(exports2, "__esModule", { value: true });
|
|
276924
276925
|
exports2.getUpdatedPackageJsonContent = exports2.getExports = exports2.updatePackageJson = void 0;
|
|
@@ -277080,9 +277081,9 @@ var require_update_package_json = __commonJS({
|
|
|
277080
277081
|
}
|
|
277081
277082
|
});
|
|
277082
277083
|
|
|
277083
|
-
// node_modules/.pnpm/@nx+js@19.
|
|
277084
|
+
// node_modules/.pnpm/@nx+js@19.2.0_@babel+traverse@7.24.7_@swc-node+register@1.9.1_@swc+core@1.5.7_@swc+helpers@0._6vhtpruepu7ra54tbxpepedgyu/node_modules/@nx/js/src/utils/buildable-libs-utils.js
|
|
277084
277085
|
var require_buildable_libs_utils = __commonJS({
|
|
277085
|
-
"node_modules/.pnpm/@nx+js@19.
|
|
277086
|
+
"node_modules/.pnpm/@nx+js@19.2.0_@babel+traverse@7.24.7_@swc-node+register@1.9.1_@swc+core@1.5.7_@swc+helpers@0._6vhtpruepu7ra54tbxpepedgyu/node_modules/@nx/js/src/utils/buildable-libs-utils.js"(exports2) {
|
|
277086
277087
|
"use strict";
|
|
277087
277088
|
Object.defineProperty(exports2, "__esModule", { value: true });
|
|
277088
277089
|
exports2.updateBuildableProjectPackageJsonDependencies = exports2.updatePaths = exports2.findMissingBuildDependencies = exports2.checkDependentProjectsHaveBeenBuilt = exports2.createTmpTsConfig = exports2.computeCompilerOptionsPaths = exports2.calculateDependenciesFromTaskGraph = exports2.calculateProjectDependencies = exports2.calculateProjectBuildableDependencies = void 0;
|
|
@@ -277408,9 +277409,9 @@ var require_buildable_libs_utils = __commonJS({
|
|
|
277408
277409
|
}
|
|
277409
277410
|
});
|
|
277410
277411
|
|
|
277411
|
-
// node_modules/.pnpm/@nx+js@19.
|
|
277412
|
+
// node_modules/.pnpm/@nx+js@19.2.0_@babel+traverse@7.24.7_@swc-node+register@1.9.1_@swc+core@1.5.7_@swc+helpers@0._6vhtpruepu7ra54tbxpepedgyu/node_modules/@nx/js/src/utils/check-dependencies.js
|
|
277412
277413
|
var require_check_dependencies = __commonJS({
|
|
277413
|
-
"node_modules/.pnpm/@nx+js@19.
|
|
277414
|
+
"node_modules/.pnpm/@nx+js@19.2.0_@babel+traverse@7.24.7_@swc-node+register@1.9.1_@swc+core@1.5.7_@swc+helpers@0._6vhtpruepu7ra54tbxpepedgyu/node_modules/@nx/js/src/utils/check-dependencies.js"(exports2) {
|
|
277414
277415
|
"use strict";
|
|
277415
277416
|
Object.defineProperty(exports2, "__esModule", { value: true });
|
|
277416
277417
|
exports2.checkDependencies = void 0;
|
|
@@ -277437,9 +277438,9 @@ var require_check_dependencies = __commonJS({
|
|
|
277437
277438
|
}
|
|
277438
277439
|
});
|
|
277439
277440
|
|
|
277440
|
-
// node_modules/.pnpm/@nx+js@19.
|
|
277441
|
+
// node_modules/.pnpm/@nx+js@19.2.0_@babel+traverse@7.24.7_@swc-node+register@1.9.1_@swc+core@1.5.7_@swc+helpers@0._6vhtpruepu7ra54tbxpepedgyu/node_modules/@nx/js/src/utils/package-json/index.js
|
|
277441
277442
|
var require_package_json = __commonJS({
|
|
277442
|
-
"node_modules/.pnpm/@nx+js@19.
|
|
277443
|
+
"node_modules/.pnpm/@nx+js@19.2.0_@babel+traverse@7.24.7_@swc-node+register@1.9.1_@swc+core@1.5.7_@swc+helpers@0._6vhtpruepu7ra54tbxpepedgyu/node_modules/@nx/js/src/utils/package-json/index.js"(exports2) {
|
|
277443
277444
|
"use strict";
|
|
277444
277445
|
Object.defineProperty(exports2, "__esModule", { value: true });
|
|
277445
277446
|
exports2.copyPackageJson = void 0;
|
|
@@ -284778,9 +284779,9 @@ var require_out4 = __commonJS({
|
|
|
284778
284779
|
}
|
|
284779
284780
|
});
|
|
284780
284781
|
|
|
284781
|
-
// node_modules/.pnpm/@nx+js@19.
|
|
284782
|
+
// node_modules/.pnpm/@nx+js@19.2.0_@babel+traverse@7.24.7_@swc-node+register@1.9.1_@swc+core@1.5.7_@swc+helpers@0._6vhtpruepu7ra54tbxpepedgyu/node_modules/@nx/js/src/utils/assets/copy-assets-handler.js
|
|
284782
284783
|
var require_copy_assets_handler = __commonJS({
|
|
284783
|
-
"node_modules/.pnpm/@nx+js@19.
|
|
284784
|
+
"node_modules/.pnpm/@nx+js@19.2.0_@babel+traverse@7.24.7_@swc-node+register@1.9.1_@swc+core@1.5.7_@swc+helpers@0._6vhtpruepu7ra54tbxpepedgyu/node_modules/@nx/js/src/utils/assets/copy-assets-handler.js"(exports2) {
|
|
284784
284785
|
"use strict";
|
|
284785
284786
|
Object.defineProperty(exports2, "__esModule", { value: true });
|
|
284786
284787
|
exports2.CopyAssetsHandler = exports2.defaultFileEventHandler = void 0;
|
|
@@ -284928,9 +284929,9 @@ var require_copy_assets_handler = __commonJS({
|
|
|
284928
284929
|
}
|
|
284929
284930
|
});
|
|
284930
284931
|
|
|
284931
|
-
// node_modules/.pnpm/@nx+js@19.
|
|
284932
|
+
// node_modules/.pnpm/@nx+js@19.2.0_@babel+traverse@7.24.7_@swc-node+register@1.9.1_@swc+core@1.5.7_@swc+helpers@0._6vhtpruepu7ra54tbxpepedgyu/node_modules/@nx/js/src/utils/assets/index.js
|
|
284932
284933
|
var require_assets = __commonJS({
|
|
284933
|
-
"node_modules/.pnpm/@nx+js@19.
|
|
284934
|
+
"node_modules/.pnpm/@nx+js@19.2.0_@babel+traverse@7.24.7_@swc-node+register@1.9.1_@swc+core@1.5.7_@swc+helpers@0._6vhtpruepu7ra54tbxpepedgyu/node_modules/@nx/js/src/utils/assets/index.js"(exports2) {
|
|
284934
284935
|
"use strict";
|
|
284935
284936
|
Object.defineProperty(exports2, "__esModule", { value: true });
|
|
284936
284937
|
exports2.copyAssets = void 0;
|
|
@@ -284960,9 +284961,9 @@ var require_assets = __commonJS({
|
|
|
284960
284961
|
}
|
|
284961
284962
|
});
|
|
284962
284963
|
|
|
284963
|
-
// node_modules/.pnpm/@nx+js@19.
|
|
284964
|
+
// node_modules/.pnpm/@nx+js@19.2.0_@babel+traverse@7.24.7_@swc-node+register@1.9.1_@swc+core@1.5.7_@swc+helpers@0._6vhtpruepu7ra54tbxpepedgyu/node_modules/@nx/js/src/utils/package-json/create-entry-points.js
|
|
284964
284965
|
var require_create_entry_points = __commonJS({
|
|
284965
|
-
"node_modules/.pnpm/@nx+js@19.
|
|
284966
|
+
"node_modules/.pnpm/@nx+js@19.2.0_@babel+traverse@7.24.7_@swc-node+register@1.9.1_@swc+core@1.5.7_@swc+helpers@0._6vhtpruepu7ra54tbxpepedgyu/node_modules/@nx/js/src/utils/package-json/create-entry-points.js"(exports2) {
|
|
284966
284967
|
"use strict";
|
|
284967
284968
|
Object.defineProperty(exports2, "__esModule", { value: true });
|
|
284968
284969
|
exports2.createEntryPoints = void 0;
|
|
@@ -284984,9 +284985,9 @@ var require_create_entry_points = __commonJS({
|
|
|
284984
284985
|
}
|
|
284985
284986
|
});
|
|
284986
284987
|
|
|
284987
|
-
// node_modules/.pnpm/@nx+js@19.
|
|
284988
|
+
// node_modules/.pnpm/@nx+js@19.2.0_@babel+traverse@7.24.7_@swc-node+register@1.9.1_@swc+core@1.5.7_@swc+helpers@0._6vhtpruepu7ra54tbxpepedgyu/node_modules/@nx/js/src/utils/swc/add-swc-config.js
|
|
284988
284989
|
var require_add_swc_config = __commonJS({
|
|
284989
|
-
"node_modules/.pnpm/@nx+js@19.
|
|
284990
|
+
"node_modules/.pnpm/@nx+js@19.2.0_@babel+traverse@7.24.7_@swc-node+register@1.9.1_@swc+core@1.5.7_@swc+helpers@0._6vhtpruepu7ra54tbxpepedgyu/node_modules/@nx/js/src/utils/swc/add-swc-config.js"(exports2) {
|
|
284990
284991
|
"use strict";
|
|
284991
284992
|
Object.defineProperty(exports2, "__esModule", { value: true });
|
|
284992
284993
|
exports2.addSwcConfig = exports2.defaultExclude = void 0;
|
|
@@ -285031,9 +285032,9 @@ var require_add_swc_config = __commonJS({
|
|
|
285031
285032
|
}
|
|
285032
285033
|
});
|
|
285033
285034
|
|
|
285034
|
-
// node_modules/.pnpm/@nx+js@19.
|
|
285035
|
+
// node_modules/.pnpm/@nx+js@19.2.0_@babel+traverse@7.24.7_@swc-node+register@1.9.1_@swc+core@1.5.7_@swc+helpers@0._6vhtpruepu7ra54tbxpepedgyu/node_modules/@nx/js/src/utils/swc/add-swc-dependencies.js
|
|
285035
285036
|
var require_add_swc_dependencies = __commonJS({
|
|
285036
|
-
"node_modules/.pnpm/@nx+js@19.
|
|
285037
|
+
"node_modules/.pnpm/@nx+js@19.2.0_@babel+traverse@7.24.7_@swc-node+register@1.9.1_@swc+core@1.5.7_@swc+helpers@0._6vhtpruepu7ra54tbxpepedgyu/node_modules/@nx/js/src/utils/swc/add-swc-dependencies.js"(exports2) {
|
|
285037
285038
|
"use strict";
|
|
285038
285039
|
Object.defineProperty(exports2, "__esModule", { value: true });
|
|
285039
285040
|
exports2.addSwcRegisterDependencies = exports2.addSwcDependencies = void 0;
|
|
@@ -286879,9 +286880,9 @@ var require_semver2 = __commonJS({
|
|
|
286879
286880
|
}
|
|
286880
286881
|
});
|
|
286881
286882
|
|
|
286882
|
-
// node_modules/.pnpm/@nx+js@19.
|
|
286883
|
+
// node_modules/.pnpm/@nx+js@19.2.0_@babel+traverse@7.24.7_@swc-node+register@1.9.1_@swc+core@1.5.7_@swc+helpers@0._6vhtpruepu7ra54tbxpepedgyu/node_modules/@nx/js/src/generators/init/init.js
|
|
286883
286884
|
var require_init = __commonJS({
|
|
286884
|
-
"node_modules/.pnpm/@nx+js@19.
|
|
286885
|
+
"node_modules/.pnpm/@nx+js@19.2.0_@babel+traverse@7.24.7_@swc-node+register@1.9.1_@swc+core@1.5.7_@swc+helpers@0._6vhtpruepu7ra54tbxpepedgyu/node_modules/@nx/js/src/generators/init/init.js"(exports2) {
|
|
286885
286886
|
"use strict";
|
|
286886
286887
|
Object.defineProperty(exports2, "__esModule", { value: true });
|
|
286887
286888
|
exports2.initGenerator = void 0;
|
|
@@ -286960,6 +286961,7 @@ var require_init = __commonJS({
|
|
|
286960
286961
|
/dist
|
|
286961
286962
|
/coverage
|
|
286962
286963
|
/.nx/cache
|
|
286964
|
+
/.nx/workspace-data
|
|
286963
286965
|
`);
|
|
286964
286966
|
}
|
|
286965
286967
|
if (tree.exists(".vscode/extensions.json")) {
|
|
@@ -286990,9 +286992,9 @@ var require_init = __commonJS({
|
|
|
286990
286992
|
}
|
|
286991
286993
|
});
|
|
286992
286994
|
|
|
286993
|
-
// node_modules/.pnpm/@nx+js@19.
|
|
286995
|
+
// node_modules/.pnpm/@nx+js@19.2.0_@babel+traverse@7.24.7_@swc-node+register@1.9.1_@swc+core@1.5.7_@swc+helpers@0._6vhtpruepu7ra54tbxpepedgyu/node_modules/@nx/js/src/generators/setup-verdaccio/generator.js
|
|
286994
286996
|
var require_generator = __commonJS({
|
|
286995
|
-
"node_modules/.pnpm/@nx+js@19.
|
|
286997
|
+
"node_modules/.pnpm/@nx+js@19.2.0_@babel+traverse@7.24.7_@swc-node+register@1.9.1_@swc+core@1.5.7_@swc+helpers@0._6vhtpruepu7ra54tbxpepedgyu/node_modules/@nx/js/src/generators/setup-verdaccio/generator.js"(exports2) {
|
|
286996
286998
|
"use strict";
|
|
286997
286999
|
Object.defineProperty(exports2, "__esModule", { value: true });
|
|
286998
287000
|
exports2.setupVerdaccio = void 0;
|
|
@@ -287049,9 +287051,9 @@ var require_generator = __commonJS({
|
|
|
287049
287051
|
}
|
|
287050
287052
|
});
|
|
287051
287053
|
|
|
287052
|
-
// node_modules/.pnpm/@nx+eslint@19.
|
|
287054
|
+
// node_modules/.pnpm/@nx+eslint@19.2.0_@babel+traverse@7.24.7_@swc-node+register@1.9.1_@swc+core@1.5.7_@swc+helper_4cjcenyp4slctsvjumquwwxh7m/node_modules/@nx/eslint/src/utils/flat-config.js
|
|
287053
287055
|
var require_flat_config = __commonJS({
|
|
287054
|
-
"node_modules/.pnpm/@nx+eslint@19.
|
|
287056
|
+
"node_modules/.pnpm/@nx+eslint@19.2.0_@babel+traverse@7.24.7_@swc-node+register@1.9.1_@swc+core@1.5.7_@swc+helper_4cjcenyp4slctsvjumquwwxh7m/node_modules/@nx/eslint/src/utils/flat-config.js"(exports2) {
|
|
287055
287057
|
"use strict";
|
|
287056
287058
|
Object.defineProperty(exports2, "__esModule", { value: true });
|
|
287057
287059
|
exports2.useFlatConfig = void 0;
|
|
@@ -287062,9 +287064,9 @@ var require_flat_config = __commonJS({
|
|
|
287062
287064
|
}
|
|
287063
287065
|
});
|
|
287064
287066
|
|
|
287065
|
-
// node_modules/.pnpm/@nx+eslint@19.
|
|
287067
|
+
// node_modules/.pnpm/@nx+eslint@19.2.0_@babel+traverse@7.24.7_@swc-node+register@1.9.1_@swc+core@1.5.7_@swc+helper_4cjcenyp4slctsvjumquwwxh7m/node_modules/@nx/eslint/src/generators/utils/flat-config/path-utils.js
|
|
287066
287068
|
var require_path_utils = __commonJS({
|
|
287067
|
-
"node_modules/.pnpm/@nx+eslint@19.
|
|
287069
|
+
"node_modules/.pnpm/@nx+eslint@19.2.0_@babel+traverse@7.24.7_@swc-node+register@1.9.1_@swc+core@1.5.7_@swc+helper_4cjcenyp4slctsvjumquwwxh7m/node_modules/@nx/eslint/src/generators/utils/flat-config/path-utils.js"(exports2) {
|
|
287068
287070
|
"use strict";
|
|
287069
287071
|
Object.defineProperty(exports2, "__esModule", { value: true });
|
|
287070
287072
|
exports2.mapFilePath = exports2.updateFiles = void 0;
|
|
@@ -287094,9 +287096,9 @@ var require_path_utils = __commonJS({
|
|
|
287094
287096
|
}
|
|
287095
287097
|
});
|
|
287096
287098
|
|
|
287097
|
-
// node_modules/.pnpm/@nx+eslint@19.
|
|
287099
|
+
// node_modules/.pnpm/@nx+eslint@19.2.0_@babel+traverse@7.24.7_@swc-node+register@1.9.1_@swc+core@1.5.7_@swc+helper_4cjcenyp4slctsvjumquwwxh7m/node_modules/@nx/eslint/src/generators/utils/flat-config/ast-utils.js
|
|
287098
287100
|
var require_ast_utils2 = __commonJS({
|
|
287099
|
-
"node_modules/.pnpm/@nx+eslint@19.
|
|
287101
|
+
"node_modules/.pnpm/@nx+eslint@19.2.0_@babel+traverse@7.24.7_@swc-node+register@1.9.1_@swc+core@1.5.7_@swc+helper_4cjcenyp4slctsvjumquwwxh7m/node_modules/@nx/eslint/src/generators/utils/flat-config/ast-utils.js"(exports2) {
|
|
287100
287102
|
"use strict";
|
|
287101
287103
|
Object.defineProperty(exports2, "__esModule", { value: true });
|
|
287102
287104
|
exports2.generateAst = exports2.mapFilePaths = exports2.generateFlatOverride = exports2.generateRequire = exports2.stringifyNodeList = exports2.generatePluginExtendsElement = exports2.generateSpreadElement = exports2.createNodeList = exports2.addCompatToFlatConfig = exports2.addPluginsToExportsBlock = exports2.removeCompatExtends = exports2.removePlugin = exports2.addBlockToFlatConfigExport = exports2.addImportToFlatConfig = exports2.replaceOverride = exports2.hasOverride = exports2.removeOverridesFromLintConfig = void 0;
|
|
@@ -287424,7 +287426,7 @@ ${insert},`
|
|
|
287424
287426
|
if (result.includes("const compat = new FlatCompat")) {
|
|
287425
287427
|
return result;
|
|
287426
287428
|
}
|
|
287427
|
-
result = addImportToFlatConfig(result, "FlatCompat", "@eslint/eslintrc");
|
|
287429
|
+
result = addImportToFlatConfig(result, ["FlatCompat"], "@eslint/eslintrc");
|
|
287428
287430
|
const index = result.indexOf("module.exports");
|
|
287429
287431
|
return (0, devkit_1.applyChangesToString)(result, [
|
|
287430
287432
|
{
|
|
@@ -287571,33 +287573,79 @@ const compat = new FlatCompat({
|
|
|
287571
287573
|
}
|
|
287572
287574
|
});
|
|
287573
287575
|
|
|
287574
|
-
// node_modules/.pnpm/@nx+eslint@19.
|
|
287576
|
+
// node_modules/.pnpm/@nx+eslint@19.2.0_@babel+traverse@7.24.7_@swc-node+register@1.9.1_@swc+core@1.5.7_@swc+helper_4cjcenyp4slctsvjumquwwxh7m/node_modules/@nx/eslint/src/utils/config-file.js
|
|
287575
287577
|
var require_config_file = __commonJS({
|
|
287576
|
-
"node_modules/.pnpm/@nx+eslint@19.
|
|
287578
|
+
"node_modules/.pnpm/@nx+eslint@19.2.0_@babel+traverse@7.24.7_@swc-node+register@1.9.1_@swc+core@1.5.7_@swc+helper_4cjcenyp4slctsvjumquwwxh7m/node_modules/@nx/eslint/src/utils/config-file.js"(exports2) {
|
|
287577
287579
|
"use strict";
|
|
287578
287580
|
Object.defineProperty(exports2, "__esModule", { value: true });
|
|
287579
|
-
exports2.isFlatConfig = exports2.baseEsLintFlatConfigFile = exports2.baseEsLintConfigFile = exports2.ESLINT_CONFIG_FILENAMES = void 0;
|
|
287580
|
-
|
|
287581
|
+
exports2.findOldConfigFile = exports2.findFlatConfigFile = exports2.isFlatConfig = exports2.baseEsLintFlatConfigFile = exports2.baseEsLintConfigFile = exports2.ESLINT_CONFIG_FILENAMES = exports2.ESLINT_OLD_CONFIG_FILENAMES = exports2.ESLINT_FLAT_CONFIG_FILENAMES = void 0;
|
|
287582
|
+
var fs_1 = require("fs");
|
|
287583
|
+
var path_1 = require("path");
|
|
287584
|
+
exports2.ESLINT_FLAT_CONFIG_FILENAMES = ["eslint.config.js"];
|
|
287585
|
+
exports2.ESLINT_OLD_CONFIG_FILENAMES = [
|
|
287581
287586
|
".eslintrc",
|
|
287582
287587
|
".eslintrc.js",
|
|
287583
287588
|
".eslintrc.cjs",
|
|
287584
287589
|
".eslintrc.yaml",
|
|
287585
287590
|
".eslintrc.yml",
|
|
287586
|
-
".eslintrc.json"
|
|
287587
|
-
|
|
287591
|
+
".eslintrc.json"
|
|
287592
|
+
];
|
|
287593
|
+
exports2.ESLINT_CONFIG_FILENAMES = [
|
|
287594
|
+
...exports2.ESLINT_OLD_CONFIG_FILENAMES,
|
|
287595
|
+
...exports2.ESLINT_FLAT_CONFIG_FILENAMES
|
|
287588
287596
|
];
|
|
287589
287597
|
exports2.baseEsLintConfigFile = ".eslintrc.base.json";
|
|
287590
287598
|
exports2.baseEsLintFlatConfigFile = "eslint.base.config.js";
|
|
287591
287599
|
function isFlatConfig(configFilePath) {
|
|
287592
|
-
|
|
287600
|
+
const configFileName = (0, path_1.basename)(configFilePath);
|
|
287601
|
+
return exports2.ESLINT_FLAT_CONFIG_FILENAMES.includes(configFileName);
|
|
287593
287602
|
}
|
|
287594
287603
|
exports2.isFlatConfig = isFlatConfig;
|
|
287604
|
+
function findFlatConfigFile(directory, workspaceRoot3) {
|
|
287605
|
+
let currentDir = (0, path_1.resolve)(workspaceRoot3, directory);
|
|
287606
|
+
if (currentDir === workspaceRoot3) {
|
|
287607
|
+
return getConfigFileInDirectory(currentDir, exports2.ESLINT_FLAT_CONFIG_FILENAMES);
|
|
287608
|
+
}
|
|
287609
|
+
while (currentDir !== workspaceRoot3) {
|
|
287610
|
+
const configFilePath = getConfigFileInDirectory(currentDir, exports2.ESLINT_FLAT_CONFIG_FILENAMES);
|
|
287611
|
+
if (configFilePath) {
|
|
287612
|
+
return configFilePath;
|
|
287613
|
+
}
|
|
287614
|
+
currentDir = (0, path_1.dirname)(currentDir);
|
|
287615
|
+
}
|
|
287616
|
+
return null;
|
|
287617
|
+
}
|
|
287618
|
+
exports2.findFlatConfigFile = findFlatConfigFile;
|
|
287619
|
+
function findOldConfigFile(filePathOrDirectory, workspaceRoot3) {
|
|
287620
|
+
let currentDir = (0, fs_1.statSync)(filePathOrDirectory).isDirectory() ? filePathOrDirectory : (0, path_1.dirname)(filePathOrDirectory);
|
|
287621
|
+
if (currentDir === workspaceRoot3) {
|
|
287622
|
+
return getConfigFileInDirectory(currentDir, exports2.ESLINT_OLD_CONFIG_FILENAMES);
|
|
287623
|
+
}
|
|
287624
|
+
while (currentDir !== workspaceRoot3) {
|
|
287625
|
+
const configFilePath = getConfigFileInDirectory(currentDir, exports2.ESLINT_OLD_CONFIG_FILENAMES);
|
|
287626
|
+
if (configFilePath) {
|
|
287627
|
+
return configFilePath;
|
|
287628
|
+
}
|
|
287629
|
+
currentDir = (0, path_1.dirname)(currentDir);
|
|
287630
|
+
}
|
|
287631
|
+
return null;
|
|
287632
|
+
}
|
|
287633
|
+
exports2.findOldConfigFile = findOldConfigFile;
|
|
287634
|
+
function getConfigFileInDirectory(directory, candidateFileNames) {
|
|
287635
|
+
for (const filename of candidateFileNames) {
|
|
287636
|
+
const filePath = (0, path_1.join)(directory, filename);
|
|
287637
|
+
if ((0, fs_1.existsSync)(filePath)) {
|
|
287638
|
+
return filePath;
|
|
287639
|
+
}
|
|
287640
|
+
}
|
|
287641
|
+
return null;
|
|
287642
|
+
}
|
|
287595
287643
|
}
|
|
287596
287644
|
});
|
|
287597
287645
|
|
|
287598
|
-
// node_modules/.pnpm/@nx+eslint@19.
|
|
287646
|
+
// node_modules/.pnpm/@nx+eslint@19.2.0_@babel+traverse@7.24.7_@swc-node+register@1.9.1_@swc+core@1.5.7_@swc+helper_4cjcenyp4slctsvjumquwwxh7m/node_modules/@nx/eslint/src/generators/utils/eslint-file.js
|
|
287599
287647
|
var require_eslint_file = __commonJS({
|
|
287600
|
-
"node_modules/.pnpm/@nx+eslint@19.
|
|
287648
|
+
"node_modules/.pnpm/@nx+eslint@19.2.0_@babel+traverse@7.24.7_@swc-node+register@1.9.1_@swc+core@1.5.7_@swc+helper_4cjcenyp4slctsvjumquwwxh7m/node_modules/@nx/eslint/src/generators/utils/eslint-file.js"(exports2) {
|
|
287601
287649
|
"use strict";
|
|
287602
287650
|
Object.defineProperty(exports2, "__esModule", { value: true });
|
|
287603
287651
|
exports2.getPluginImport = exports2.addIgnoresToLintConfig = exports2.addPluginsToLintConfig = exports2.addExtendsToLintConfig = exports2.replaceOverridesInLintConfig = exports2.lintConfigHasOverride = exports2.updateOverrideInLintConfig = exports2.addOverrideToLintConfig = exports2.updateRelativePathsInConfig = exports2.isEslintConfigSupported = exports2.findEslintFile = void 0;
|
|
@@ -287767,7 +287815,7 @@ var require_eslint_file = __commonJS({
|
|
|
287767
287815
|
content = (0, ast_utils_1.removeOverridesFromLintConfig)(content);
|
|
287768
287816
|
overrides.forEach((override) => {
|
|
287769
287817
|
const flatOverride = (0, ast_utils_1.generateFlatOverride)(override);
|
|
287770
|
-
(0, ast_utils_1.addBlockToFlatConfigExport)(content, flatOverride);
|
|
287818
|
+
content = (0, ast_utils_1.addBlockToFlatConfigExport)(content, flatOverride);
|
|
287771
287819
|
});
|
|
287772
287820
|
tree.write(fileName, content);
|
|
287773
287821
|
} else {
|
|
@@ -287786,7 +287834,9 @@ var require_eslint_file = __commonJS({
|
|
|
287786
287834
|
const pluginExtends = (0, ast_utils_1.generatePluginExtendsElement)(plugins);
|
|
287787
287835
|
let content = tree.read(fileName, "utf8");
|
|
287788
287836
|
content = (0, ast_utils_1.addCompatToFlatConfig)(content);
|
|
287789
|
-
tree.write(fileName, (0, ast_utils_1.addBlockToFlatConfigExport)(content, pluginExtends
|
|
287837
|
+
tree.write(fileName, (0, ast_utils_1.addBlockToFlatConfigExport)(content, pluginExtends, {
|
|
287838
|
+
insertAtTheEnd: false
|
|
287839
|
+
}));
|
|
287790
287840
|
} else {
|
|
287791
287841
|
const fileName = (0, devkit_1.joinPathFragments)(root, ".eslintrc.json");
|
|
287792
287842
|
(0, devkit_1.updateJson)(tree, fileName, (json) => {
|
|
@@ -287862,9 +287912,9 @@ var require_eslint_file = __commonJS({
|
|
|
287862
287912
|
}
|
|
287863
287913
|
});
|
|
287864
287914
|
|
|
287865
|
-
// node_modules/.pnpm/@nx+js@19.
|
|
287915
|
+
// node_modules/.pnpm/@nx+js@19.2.0_@babel+traverse@7.24.7_@swc-node+register@1.9.1_@swc+core@1.5.7_@swc+helpers@0._6vhtpruepu7ra54tbxpepedgyu/node_modules/@nx/js/src/generators/library/library.js
|
|
287866
287916
|
var require_library = __commonJS({
|
|
287867
|
-
"node_modules/.pnpm/@nx+js@19.
|
|
287917
|
+
"node_modules/.pnpm/@nx+js@19.2.0_@babel+traverse@7.24.7_@swc-node+register@1.9.1_@swc+core@1.5.7_@swc+helpers@0._6vhtpruepu7ra54tbxpepedgyu/node_modules/@nx/js/src/generators/library/library.js"(exports2) {
|
|
287868
287918
|
"use strict";
|
|
287869
287919
|
Object.defineProperty(exports2, "__esModule", { value: true });
|
|
287870
287920
|
exports2.addLint = exports2.libraryGeneratorInternal = exports2.libraryGenerator = void 0;
|
|
@@ -287908,6 +287958,14 @@ var require_library = __commonJS({
|
|
|
287908
287958
|
if (options.publishable) {
|
|
287909
287959
|
tasks.push(await (0, generator_1.default)(tree, { ...options, skipFormat: true }));
|
|
287910
287960
|
}
|
|
287961
|
+
if (options.bundler === "rollup") {
|
|
287962
|
+
const { configurationGenerator } = (0, devkit_1.ensurePackage)("@nx/rollup", versions_1.nxVersion);
|
|
287963
|
+
await configurationGenerator(tree, {
|
|
287964
|
+
project: options.name,
|
|
287965
|
+
compiler: "swc",
|
|
287966
|
+
format: ["cjs", "esm"]
|
|
287967
|
+
});
|
|
287968
|
+
}
|
|
287911
287969
|
if (options.bundler === "vite") {
|
|
287912
287970
|
const { viteConfigurationGenerator, createOrEditViteConfig } = (0, devkit_1.ensurePackage)("@nx/vite", versions_1.nxVersion);
|
|
287913
287971
|
const viteTask = await viteConfigurationGenerator(tree, {
|
|
@@ -287986,35 +288044,31 @@ var require_library = __commonJS({
|
|
|
287986
288044
|
tags: options.parsedTags
|
|
287987
288045
|
};
|
|
287988
288046
|
if (options.bundler && options.bundler !== "none" && options.config !== "npm-scripts") {
|
|
287989
|
-
|
|
287990
|
-
|
|
287991
|
-
|
|
287992
|
-
|
|
287993
|
-
|
|
287994
|
-
|
|
287995
|
-
|
|
287996
|
-
|
|
287997
|
-
|
|
287998
|
-
|
|
287999
|
-
|
|
288047
|
+
if (options.bundler !== "rollup") {
|
|
288048
|
+
const outputPath = getOutputPath2(options);
|
|
288049
|
+
const executor = getBuildExecutor(options.bundler);
|
|
288050
|
+
(0, add_build_target_defaults_1.addBuildTargetDefaults)(tree, executor);
|
|
288051
|
+
projectConfiguration.targets.build = {
|
|
288052
|
+
executor,
|
|
288053
|
+
outputs: ["{options.outputPath}"],
|
|
288054
|
+
options: {
|
|
288055
|
+
outputPath,
|
|
288056
|
+
main: `${options.projectRoot}/src/index` + (options.js ? ".js" : ".ts"),
|
|
288057
|
+
tsConfig: `${options.projectRoot}/tsconfig.lib.json`,
|
|
288058
|
+
assets: []
|
|
288059
|
+
}
|
|
288060
|
+
};
|
|
288061
|
+
if (options.bundler === "esbuild") {
|
|
288062
|
+
projectConfiguration.targets.build.options.generatePackageJson = true;
|
|
288063
|
+
projectConfiguration.targets.build.options.format = ["cjs"];
|
|
288064
|
+
}
|
|
288065
|
+
if (options.bundler === "swc" && options.skipTypeCheck) {
|
|
288066
|
+
projectConfiguration.targets.build.options.skipTypeCheck = true;
|
|
288067
|
+
}
|
|
288068
|
+
if (!options.minimal) {
|
|
288069
|
+
projectConfiguration.targets.build.options.assets ??= [];
|
|
288070
|
+
projectConfiguration.targets.build.options.assets.push((0, devkit_1.joinPathFragments)(options.projectRoot, "*.md"));
|
|
288000
288071
|
}
|
|
288001
|
-
};
|
|
288002
|
-
if (options.bundler === "esbuild") {
|
|
288003
|
-
projectConfiguration.targets.build.options.generatePackageJson = true;
|
|
288004
|
-
projectConfiguration.targets.build.options.format = ["cjs"];
|
|
288005
|
-
}
|
|
288006
|
-
if (options.bundler === "rollup") {
|
|
288007
|
-
projectConfiguration.targets.build.options.project = `${options.projectRoot}/package.json`;
|
|
288008
|
-
projectConfiguration.targets.build.options.compiler = "swc";
|
|
288009
|
-
projectConfiguration.targets.build.options.format = ["cjs", "esm"];
|
|
288010
|
-
}
|
|
288011
|
-
if (options.bundler === "swc" && options.skipTypeCheck) {
|
|
288012
|
-
projectConfiguration.targets.build.options.skipTypeCheck = true;
|
|
288013
|
-
}
|
|
288014
|
-
if (!options.minimal && // TODO(jack): assets for rollup have validation that we need to fix (assets must be under <project-root>/src)
|
|
288015
|
-
options.bundler !== "rollup") {
|
|
288016
|
-
projectConfiguration.targets.build.options.assets ??= [];
|
|
288017
|
-
projectConfiguration.targets.build.options.assets.push((0, devkit_1.joinPathFragments)(options.projectRoot, "*.md"));
|
|
288018
288072
|
}
|
|
288019
288073
|
if (options.publishable) {
|
|
288020
288074
|
const packageRoot = (0, path_1.join)(defaultOutputDirectory, "{projectRoot}");
|
|
@@ -288060,7 +288114,9 @@ var require_library = __commonJS({
|
|
|
288060
288114
|
unitTestRunner: options.unitTestRunner,
|
|
288061
288115
|
setParserOptionsProject: options.setParserOptionsProject,
|
|
288062
288116
|
rootProject: options.rootProject,
|
|
288063
|
-
addPlugin: options.addPlugin
|
|
288117
|
+
addPlugin: options.addPlugin,
|
|
288118
|
+
// Since the build target is inferred now, we need to let the generator know to add @nx/dependency-checks regardless.
|
|
288119
|
+
addPackageJsonDependencyChecks: options.bundler !== "none"
|
|
288064
288120
|
});
|
|
288065
288121
|
const {
|
|
288066
288122
|
addOverrideToLintConfig,
|
|
@@ -288557,9 +288613,9 @@ var require_library = __commonJS({
|
|
|
288557
288613
|
}
|
|
288558
288614
|
});
|
|
288559
288615
|
|
|
288560
|
-
// node_modules/.pnpm/@nx+js@19.
|
|
288616
|
+
// node_modules/.pnpm/@nx+js@19.2.0_@babel+traverse@7.24.7_@swc-node+register@1.9.1_@swc+core@1.5.7_@swc+helpers@0._6vhtpruepu7ra54tbxpepedgyu/node_modules/@nx/js/src/utils/is-valid-variable.js
|
|
288561
288617
|
var require_is_valid_variable = __commonJS({
|
|
288562
|
-
"node_modules/.pnpm/@nx+js@19.
|
|
288618
|
+
"node_modules/.pnpm/@nx+js@19.2.0_@babel+traverse@7.24.7_@swc-node+register@1.9.1_@swc+core@1.5.7_@swc+helpers@0._6vhtpruepu7ra54tbxpepedgyu/node_modules/@nx/js/src/utils/is-valid-variable.js"(exports2) {
|
|
288563
288619
|
"use strict";
|
|
288564
288620
|
Object.defineProperty(exports2, "__esModule", { value: true });
|
|
288565
288621
|
exports2.isValidVariable = void 0;
|
|
@@ -288593,9 +288649,9 @@ var require_is_valid_variable = __commonJS({
|
|
|
288593
288649
|
}
|
|
288594
288650
|
});
|
|
288595
288651
|
|
|
288596
|
-
// node_modules/.pnpm/@nx+js@19.
|
|
288652
|
+
// node_modules/.pnpm/@nx+js@19.2.0_@babel+traverse@7.24.7_@swc-node+register@1.9.1_@swc+core@1.5.7_@swc+helpers@0._6vhtpruepu7ra54tbxpepedgyu/node_modules/@nx/js/src/index.js
|
|
288597
288653
|
var require_src = __commonJS({
|
|
288598
|
-
"node_modules/.pnpm/@nx+js@19.
|
|
288654
|
+
"node_modules/.pnpm/@nx+js@19.2.0_@babel+traverse@7.24.7_@swc-node+register@1.9.1_@swc+core@1.5.7_@swc+helpers@0._6vhtpruepu7ra54tbxpepedgyu/node_modules/@nx/js/src/index.js"(exports2) {
|
|
288599
288655
|
"use strict";
|
|
288600
288656
|
Object.defineProperty(exports2, "__esModule", { value: true });
|
|
288601
288657
|
exports2.createPackageJson = exports2.getLockFileName = exports2.createLockFile = exports2.isValidVariable = exports2.setupVerdaccio = exports2.initGenerator = exports2.libraryGenerator = void 0;
|
|
@@ -288643,12 +288699,12 @@ var require_src = __commonJS({
|
|
|
288643
288699
|
}
|
|
288644
288700
|
});
|
|
288645
288701
|
|
|
288646
|
-
// node_modules/.pnpm/@nx+eslint@19.
|
|
288702
|
+
// node_modules/.pnpm/@nx+eslint@19.2.0_@babel+traverse@7.24.7_@swc-node+register@1.9.1_@swc+core@1.5.7_@swc+helper_4cjcenyp4slctsvjumquwwxh7m/node_modules/@nx/eslint/package.json
|
|
288647
288703
|
var require_package3 = __commonJS({
|
|
288648
|
-
"node_modules/.pnpm/@nx+eslint@19.
|
|
288704
|
+
"node_modules/.pnpm/@nx+eslint@19.2.0_@babel+traverse@7.24.7_@swc-node+register@1.9.1_@swc+core@1.5.7_@swc+helper_4cjcenyp4slctsvjumquwwxh7m/node_modules/@nx/eslint/package.json"(exports2, module2) {
|
|
288649
288705
|
module2.exports = {
|
|
288650
288706
|
name: "@nx/eslint",
|
|
288651
|
-
version: "19.
|
|
288707
|
+
version: "19.2.0",
|
|
288652
288708
|
private: false,
|
|
288653
288709
|
description: "The ESLint plugin for Nx contains executors, generators and utilities used for linting JavaScript/TypeScript projects within an Nx workspace.",
|
|
288654
288710
|
repository: {
|
|
@@ -288683,12 +288739,12 @@ var require_package3 = __commonJS({
|
|
|
288683
288739
|
eslint: "^8.0.0 || ^9.0.0"
|
|
288684
288740
|
},
|
|
288685
288741
|
dependencies: {
|
|
288686
|
-
"@nx/devkit": "19.
|
|
288687
|
-
"@nx/js": "19.
|
|
288742
|
+
"@nx/devkit": "19.2.0",
|
|
288743
|
+
"@nx/js": "19.2.0",
|
|
288688
288744
|
semver: "^7.5.3",
|
|
288689
288745
|
tslib: "^2.3.0",
|
|
288690
288746
|
typescript: "~5.4.2",
|
|
288691
|
-
"@nx/linter": "19.
|
|
288747
|
+
"@nx/linter": "19.2.0"
|
|
288692
288748
|
},
|
|
288693
288749
|
peerDependenciesMeta: {
|
|
288694
288750
|
"@zkochan/js-yaml": {
|
|
@@ -288703,9 +288759,9 @@ var require_package3 = __commonJS({
|
|
|
288703
288759
|
}
|
|
288704
288760
|
});
|
|
288705
288761
|
|
|
288706
|
-
// node_modules/.pnpm/@nx+eslint@19.
|
|
288762
|
+
// node_modules/.pnpm/@nx+eslint@19.2.0_@babel+traverse@7.24.7_@swc-node+register@1.9.1_@swc+core@1.5.7_@swc+helper_4cjcenyp4slctsvjumquwwxh7m/node_modules/@nx/eslint/src/utils/versions.js
|
|
288707
288763
|
var require_versions2 = __commonJS({
|
|
288708
|
-
"node_modules/.pnpm/@nx+eslint@19.
|
|
288764
|
+
"node_modules/.pnpm/@nx+eslint@19.2.0_@babel+traverse@7.24.7_@swc-node+register@1.9.1_@swc+core@1.5.7_@swc+helper_4cjcenyp4slctsvjumquwwxh7m/node_modules/@nx/eslint/src/utils/versions.js"(exports2) {
|
|
288709
288765
|
"use strict";
|
|
288710
288766
|
Object.defineProperty(exports2, "__esModule", { value: true });
|
|
288711
288767
|
exports2.typescriptESLintVersion = exports2.eslintConfigPrettierVersion = exports2.eslintrcVersion = exports2.eslintVersion = exports2.nxVersion = void 0;
|
|
@@ -372607,9 +372663,9 @@ var require_unsupported_api = __commonJS({
|
|
|
372607
372663
|
}
|
|
372608
372664
|
});
|
|
372609
372665
|
|
|
372610
|
-
// node_modules/.pnpm/@nx+eslint@19.
|
|
372666
|
+
// node_modules/.pnpm/@nx+eslint@19.2.0_@babel+traverse@7.24.7_@swc-node+register@1.9.1_@swc+core@1.5.7_@swc+helper_4cjcenyp4slctsvjumquwwxh7m/node_modules/@nx/eslint/src/utils/resolve-eslint-class.js
|
|
372611
372667
|
var require_resolve_eslint_class = __commonJS({
|
|
372612
|
-
"node_modules/.pnpm/@nx+eslint@19.
|
|
372668
|
+
"node_modules/.pnpm/@nx+eslint@19.2.0_@babel+traverse@7.24.7_@swc-node+register@1.9.1_@swc+core@1.5.7_@swc+helper_4cjcenyp4slctsvjumquwwxh7m/node_modules/@nx/eslint/src/utils/resolve-eslint-class.js"(exports2) {
|
|
372613
372669
|
"use strict";
|
|
372614
372670
|
Object.defineProperty(exports2, "__esModule", { value: true });
|
|
372615
372671
|
exports2.resolveESLintClass = void 0;
|
|
@@ -372632,12 +372688,13 @@ var require_resolve_eslint_class = __commonJS({
|
|
|
372632
372688
|
}
|
|
372633
372689
|
});
|
|
372634
372690
|
|
|
372635
|
-
// node_modules/.pnpm/@nx+eslint@19.
|
|
372691
|
+
// node_modules/.pnpm/@nx+eslint@19.2.0_@babel+traverse@7.24.7_@swc-node+register@1.9.1_@swc+core@1.5.7_@swc+helper_4cjcenyp4slctsvjumquwwxh7m/node_modules/@nx/eslint/src/plugins/plugin.js
|
|
372636
372692
|
var require_plugin = __commonJS({
|
|
372637
|
-
"node_modules/.pnpm/@nx+eslint@19.
|
|
372693
|
+
"node_modules/.pnpm/@nx+eslint@19.2.0_@babel+traverse@7.24.7_@swc-node+register@1.9.1_@swc+core@1.5.7_@swc+helper_4cjcenyp4slctsvjumquwwxh7m/node_modules/@nx/eslint/src/plugins/plugin.js"(exports2) {
|
|
372638
372694
|
"use strict";
|
|
372639
372695
|
Object.defineProperty(exports2, "__esModule", { value: true });
|
|
372640
|
-
exports2.createNodes = void 0;
|
|
372696
|
+
exports2.createNodes = exports2.createNodesV2 = void 0;
|
|
372697
|
+
var devkit_1 = require("@nx/devkit");
|
|
372641
372698
|
var node_fs_1 = require("node:fs");
|
|
372642
372699
|
var node_path_1 = require("node:path");
|
|
372643
372700
|
var globs_1 = require("nx/src/utils/globs");
|
|
@@ -372645,59 +372702,93 @@ var require_plugin = __commonJS({
|
|
|
372645
372702
|
var config_file_1 = require_config_file();
|
|
372646
372703
|
var resolve_eslint_class_1 = require_resolve_eslint_class();
|
|
372647
372704
|
var semver_1 = require_semver2();
|
|
372705
|
+
var cache_directory_1 = require("nx/src/utils/cache-directory");
|
|
372706
|
+
var file_hasher_1 = require("nx/src/hasher/file-hasher");
|
|
372707
|
+
var calculate_hash_for_create_nodes_1 = require("@nx/devkit/src/utils/calculate-hash-for-create-nodes");
|
|
372648
372708
|
var DEFAULT_EXTENSIONS2 = ["ts", "tsx", "js", "jsx", "html", "vue"];
|
|
372649
|
-
|
|
372650
|
-
(
|
|
372651
|
-
|
|
372652
|
-
|
|
372653
|
-
|
|
372654
|
-
|
|
372655
|
-
|
|
372656
|
-
|
|
372657
|
-
|
|
372658
|
-
|
|
372659
|
-
|
|
372660
|
-
|
|
372661
|
-
|
|
372662
|
-
|
|
372663
|
-
|
|
372664
|
-
|
|
372665
|
-
|
|
372666
|
-
|
|
372667
|
-
|
|
372668
|
-
|
|
372669
|
-
|
|
372670
|
-
|
|
372671
|
-
|
|
372672
|
-
|
|
372673
|
-
|
|
372674
|
-
|
|
372675
|
-
|
|
372676
|
-
|
|
372677
|
-
|
|
372678
|
-
|
|
372679
|
-
|
|
372680
|
-
|
|
372681
|
-
|
|
372682
|
-
|
|
372683
|
-
|
|
372684
|
-
|
|
372685
|
-
|
|
372686
|
-
|
|
372687
|
-
|
|
372688
|
-
|
|
372689
|
-
|
|
372690
|
-
|
|
372691
|
-
|
|
372692
|
-
|
|
372693
|
-
|
|
372694
|
-
|
|
372709
|
+
var ESLINT_CONFIG_GLOB = (0, globs_1.combineGlobPatterns)([
|
|
372710
|
+
...config_file_1.ESLINT_CONFIG_FILENAMES.map((f2) => `**/${f2}`),
|
|
372711
|
+
config_file_1.baseEsLintConfigFile,
|
|
372712
|
+
config_file_1.baseEsLintFlatConfigFile
|
|
372713
|
+
]);
|
|
372714
|
+
function readTargetsCache(cachePath) {
|
|
372715
|
+
return (0, node_fs_1.existsSync)(cachePath) ? (0, devkit_1.readJsonFile)(cachePath) : {};
|
|
372716
|
+
}
|
|
372717
|
+
function writeTargetsToCache(cachePath, results) {
|
|
372718
|
+
(0, devkit_1.writeJsonFile)(cachePath, results);
|
|
372719
|
+
}
|
|
372720
|
+
var internalCreateNodes = async (configFilePath, options, context, projectsCache) => {
|
|
372721
|
+
options = normalizeOptions2(options);
|
|
372722
|
+
const configDir = (0, node_path_1.dirname)(configFilePath);
|
|
372723
|
+
context.configFiles = context.configFiles ?? [];
|
|
372724
|
+
const eslintRoots = /* @__PURE__ */ new Set();
|
|
372725
|
+
const nestedEslintRootPatterns = [];
|
|
372726
|
+
for (const configFile of context.configFiles) {
|
|
372727
|
+
const eslintRootDir = (0, node_path_1.dirname)(configFile);
|
|
372728
|
+
eslintRoots.add(eslintRootDir);
|
|
372729
|
+
if (eslintRootDir !== configDir && isSubDir(configDir, eslintRootDir)) {
|
|
372730
|
+
nestedEslintRootPatterns.push(`${eslintRootDir}/**/*`);
|
|
372731
|
+
}
|
|
372732
|
+
}
|
|
372733
|
+
const projectFiles = await (0, workspace_context_1.globWithWorkspaceContext)(context.workspaceRoot, ["project.json", "package.json", "**/project.json", "**/package.json"].map((f2) => (0, node_path_1.join)(configDir, f2)), nestedEslintRootPatterns.length ? nestedEslintRootPatterns : void 0);
|
|
372734
|
+
const dedupedProjectRoots = Array.from(new Set(projectFiles.map((f2) => (0, node_path_1.dirname)(f2)))).sort((a2, b6) => a2 !== b6 && isSubDir(a2, b6) ? -1 : 1);
|
|
372735
|
+
const excludePatterns = dedupedProjectRoots.map((root) => `${root}/**/*`);
|
|
372736
|
+
const ESLint = await (0, resolve_eslint_class_1.resolveESLintClass)((0, config_file_1.isFlatConfig)(configFilePath));
|
|
372737
|
+
const eslintVersion = ESLint.version;
|
|
372738
|
+
const childProjectRoots = /* @__PURE__ */ new Set();
|
|
372739
|
+
const projects = {};
|
|
372740
|
+
await Promise.all(dedupedProjectRoots.map(async (childProjectRoot, index) => {
|
|
372741
|
+
const nestedProjectRootPatterns = excludePatterns.slice(index + 1);
|
|
372742
|
+
const lintableFiles = await (0, workspace_context_1.globWithWorkspaceContext)(
|
|
372743
|
+
context.workspaceRoot,
|
|
372744
|
+
[(0, node_path_1.join)(childProjectRoot, `**/*.{${options.extensions.join(",")}}`)],
|
|
372745
|
+
// exclude nested eslint roots and nested project roots
|
|
372746
|
+
[...nestedEslintRootPatterns, ...nestedProjectRootPatterns]
|
|
372747
|
+
);
|
|
372748
|
+
const parentConfigs = context.configFiles.filter((eslintConfig) => isSubDir(childProjectRoot, (0, node_path_1.dirname)(eslintConfig)));
|
|
372749
|
+
const hash2 = await (0, calculate_hash_for_create_nodes_1.calculateHashForCreateNodes)(childProjectRoot, options, context, [...parentConfigs, (0, node_path_1.join)(childProjectRoot, ".eslintignore")]);
|
|
372750
|
+
if (projectsCache[hash2]) {
|
|
372751
|
+
Object.assign(projects, projectsCache[hash2]);
|
|
372752
|
+
return;
|
|
372753
|
+
}
|
|
372754
|
+
const eslint = new ESLint({
|
|
372755
|
+
cwd: (0, node_path_1.join)(context.workspaceRoot, childProjectRoot)
|
|
372756
|
+
});
|
|
372757
|
+
for (const file of lintableFiles) {
|
|
372758
|
+
if (!await eslint.isPathIgnored((0, node_path_1.join)(context.workspaceRoot, file))) {
|
|
372759
|
+
childProjectRoots.add(childProjectRoot);
|
|
372760
|
+
break;
|
|
372695
372761
|
}
|
|
372696
|
-
}
|
|
372762
|
+
}
|
|
372697
372763
|
const uniqueChildProjectRoots = Array.from(childProjectRoots);
|
|
372698
|
-
|
|
372699
|
-
|
|
372700
|
-
|
|
372764
|
+
const projectsForRoot = getProjectsUsingESLintConfig(configFilePath, uniqueChildProjectRoots, eslintVersion, options, context);
|
|
372765
|
+
if (Object.keys(projectsForRoot).length > 0) {
|
|
372766
|
+
Object.assign(projects, projectsForRoot);
|
|
372767
|
+
projectsCache[hash2] = projectsForRoot;
|
|
372768
|
+
}
|
|
372769
|
+
}));
|
|
372770
|
+
return {
|
|
372771
|
+
projects
|
|
372772
|
+
};
|
|
372773
|
+
};
|
|
372774
|
+
exports2.createNodesV2 = [
|
|
372775
|
+
ESLINT_CONFIG_GLOB,
|
|
372776
|
+
async (configFiles, options, context) => {
|
|
372777
|
+
const optionsHash = (0, file_hasher_1.hashObject)(options);
|
|
372778
|
+
const cachePath = (0, node_path_1.join)(cache_directory_1.workspaceDataDirectory, `eslint-${optionsHash}.hash`);
|
|
372779
|
+
const targetsCache = readTargetsCache(cachePath);
|
|
372780
|
+
try {
|
|
372781
|
+
return await (0, devkit_1.createNodesFromFiles)((configFile, options2, context2) => internalCreateNodes(configFile, options2, context2, targetsCache), configFiles, options, context);
|
|
372782
|
+
} finally {
|
|
372783
|
+
writeTargetsToCache(cachePath, targetsCache);
|
|
372784
|
+
}
|
|
372785
|
+
}
|
|
372786
|
+
];
|
|
372787
|
+
exports2.createNodes = [
|
|
372788
|
+
ESLINT_CONFIG_GLOB,
|
|
372789
|
+
(configFilePath, options, context) => {
|
|
372790
|
+
devkit_1.logger.warn("`createNodes` is deprecated. Update your plugin to utilize createNodesV2 instead. In Nx 20, this will change to the createNodesV2 API.");
|
|
372791
|
+
return internalCreateNodes(configFilePath, options, context, {});
|
|
372701
372792
|
}
|
|
372702
372793
|
];
|
|
372703
372794
|
function getProjectsUsingESLintConfig(configFilePath, childProjectRoots, eslintVersion, options, context) {
|
|
@@ -372783,9 +372874,9 @@ var require_plugin = __commonJS({
|
|
|
372783
372874
|
}
|
|
372784
372875
|
});
|
|
372785
372876
|
|
|
372786
|
-
// node_modules/.pnpm/@nx+eslint@19.
|
|
372877
|
+
// node_modules/.pnpm/@nx+eslint@19.2.0_@babel+traverse@7.24.7_@swc-node+register@1.9.1_@swc+core@1.5.7_@swc+helper_4cjcenyp4slctsvjumquwwxh7m/node_modules/@nx/eslint/src/generators/utils/plugin.js
|
|
372787
372878
|
var require_plugin2 = __commonJS({
|
|
372788
|
-
"node_modules/.pnpm/@nx+eslint@19.
|
|
372879
|
+
"node_modules/.pnpm/@nx+eslint@19.2.0_@babel+traverse@7.24.7_@swc-node+register@1.9.1_@swc+core@1.5.7_@swc+helper_4cjcenyp4slctsvjumquwwxh7m/node_modules/@nx/eslint/src/generators/utils/plugin.js"(exports2) {
|
|
372789
372880
|
"use strict";
|
|
372790
372881
|
Object.defineProperty(exports2, "__esModule", { value: true });
|
|
372791
372882
|
exports2.hasEslintPlugin = void 0;
|
|
@@ -372798,9 +372889,9 @@ var require_plugin2 = __commonJS({
|
|
|
372798
372889
|
}
|
|
372799
372890
|
});
|
|
372800
372891
|
|
|
372801
|
-
// node_modules/.pnpm/@nx+eslint@19.
|
|
372892
|
+
// node_modules/.pnpm/@nx+eslint@19.2.0_@babel+traverse@7.24.7_@swc-node+register@1.9.1_@swc+core@1.5.7_@swc+helper_4cjcenyp4slctsvjumquwwxh7m/node_modules/@nx/eslint/src/generators/init/init.js
|
|
372802
372893
|
var require_init2 = __commonJS({
|
|
372803
|
-
"node_modules/.pnpm/@nx+eslint@19.
|
|
372894
|
+
"node_modules/.pnpm/@nx+eslint@19.2.0_@babel+traverse@7.24.7_@swc-node+register@1.9.1_@swc+core@1.5.7_@swc+helper_4cjcenyp4slctsvjumquwwxh7m/node_modules/@nx/eslint/src/generators/init/init.js"(exports2) {
|
|
372804
372895
|
"use strict";
|
|
372805
372896
|
Object.defineProperty(exports2, "__esModule", { value: true });
|
|
372806
372897
|
exports2.lintInitGenerator = exports2.initEsLint = void 0;
|
|
@@ -372849,7 +372940,7 @@ var require_init2 = __commonJS({
|
|
|
372849
372940
|
"_eslint-lint"
|
|
372850
372941
|
];
|
|
372851
372942
|
if (rootEslintFile && options.addPlugin && !hasPlugin) {
|
|
372852
|
-
await (0, add_plugin_1.addPlugin)(tree, graph, "@nx/eslint/plugin", plugin_1.
|
|
372943
|
+
await (0, add_plugin_1.addPlugin)(tree, graph, "@nx/eslint/plugin", plugin_1.createNodesV2, {
|
|
372853
372944
|
targetName: lintTargetNames
|
|
372854
372945
|
}, options.updatePackageScripts);
|
|
372855
372946
|
return () => {
|
|
@@ -372861,7 +372952,7 @@ var require_init2 = __commonJS({
|
|
|
372861
372952
|
}
|
|
372862
372953
|
updateProductionFileset(tree);
|
|
372863
372954
|
if (options.addPlugin) {
|
|
372864
|
-
await (0, add_plugin_1.addPlugin)(tree, graph, "@nx/eslint/plugin", plugin_1.
|
|
372955
|
+
await (0, add_plugin_1.addPlugin)(tree, graph, "@nx/eslint/plugin", plugin_1.createNodesV2, {
|
|
372865
372956
|
targetName: lintTargetNames
|
|
372866
372957
|
}, options.updatePackageScripts);
|
|
372867
372958
|
} else {
|
|
@@ -372885,9 +372976,9 @@ var require_init2 = __commonJS({
|
|
|
372885
372976
|
}
|
|
372886
372977
|
});
|
|
372887
372978
|
|
|
372888
|
-
// node_modules/.pnpm/@nx+eslint@19.
|
|
372979
|
+
// node_modules/.pnpm/@nx+eslint@19.2.0_@babel+traverse@7.24.7_@swc-node+register@1.9.1_@swc+core@1.5.7_@swc+helper_4cjcenyp4slctsvjumquwwxh7m/node_modules/@nx/eslint/src/generators/init/global-eslint-config.js
|
|
372889
372980
|
var require_global_eslint_config = __commonJS({
|
|
372890
|
-
"node_modules/.pnpm/@nx+eslint@19.
|
|
372981
|
+
"node_modules/.pnpm/@nx+eslint@19.2.0_@babel+traverse@7.24.7_@swc-node+register@1.9.1_@swc+core@1.5.7_@swc+helper_4cjcenyp4slctsvjumquwwxh7m/node_modules/@nx/eslint/src/generators/init/global-eslint-config.js"(exports2) {
|
|
372891
372982
|
"use strict";
|
|
372892
372983
|
Object.defineProperty(exports2, "__esModule", { value: true });
|
|
372893
372984
|
exports2.getGlobalFlatEslintConfiguration = exports2.getGlobalEsLintConfiguration = exports2.javaScriptOverride = exports2.typeScriptOverride = void 0;
|
|
@@ -372976,9 +373067,9 @@ var require_global_eslint_config = __commonJS({
|
|
|
372976
373067
|
}
|
|
372977
373068
|
});
|
|
372978
373069
|
|
|
372979
|
-
// node_modules/.pnpm/@nx+eslint@19.
|
|
373070
|
+
// node_modules/.pnpm/@nx+eslint@19.2.0_@babel+traverse@7.24.7_@swc-node+register@1.9.1_@swc+core@1.5.7_@swc+helper_4cjcenyp4slctsvjumquwwxh7m/node_modules/@nx/eslint/src/generators/init/init-migration.js
|
|
372980
373071
|
var require_init_migration = __commonJS({
|
|
372981
|
-
"node_modules/.pnpm/@nx+eslint@19.
|
|
373072
|
+
"node_modules/.pnpm/@nx+eslint@19.2.0_@babel+traverse@7.24.7_@swc-node+register@1.9.1_@swc+core@1.5.7_@swc+helper_4cjcenyp4slctsvjumquwwxh7m/node_modules/@nx/eslint/src/generators/init/init-migration.js"(exports2) {
|
|
372982
373073
|
"use strict";
|
|
372983
373074
|
Object.defineProperty(exports2, "__esModule", { value: true });
|
|
372984
373075
|
exports2.findLintTarget = exports2.migrateConfigToMonorepoStyle = void 0;
|
|
@@ -373094,9 +373185,9 @@ var require_init_migration = __commonJS({
|
|
|
373094
373185
|
}
|
|
373095
373186
|
});
|
|
373096
373187
|
|
|
373097
|
-
// node_modules/.pnpm/@nx+eslint@19.
|
|
373188
|
+
// node_modules/.pnpm/@nx+eslint@19.2.0_@babel+traverse@7.24.7_@swc-node+register@1.9.1_@swc+core@1.5.7_@swc+helper_4cjcenyp4slctsvjumquwwxh7m/node_modules/@nx/eslint/src/generators/lint-project/setup-root-eslint.js
|
|
373098
373189
|
var require_setup_root_eslint = __commonJS({
|
|
373099
|
-
"node_modules/.pnpm/@nx+eslint@19.
|
|
373190
|
+
"node_modules/.pnpm/@nx+eslint@19.2.0_@babel+traverse@7.24.7_@swc-node+register@1.9.1_@swc+core@1.5.7_@swc+helper_4cjcenyp4slctsvjumquwwxh7m/node_modules/@nx/eslint/src/generators/lint-project/setup-root-eslint.js"(exports2) {
|
|
373100
373191
|
"use strict";
|
|
373101
373192
|
Object.defineProperty(exports2, "__esModule", { value: true });
|
|
373102
373193
|
exports2.setupRootEsLint = void 0;
|
|
@@ -373134,9 +373225,9 @@ node_modules
|
|
|
373134
373225
|
}
|
|
373135
373226
|
});
|
|
373136
373227
|
|
|
373137
|
-
// node_modules/.pnpm/@nx+eslint@19.
|
|
373228
|
+
// node_modules/.pnpm/@nx+eslint@19.2.0_@babel+traverse@7.24.7_@swc-node+register@1.9.1_@swc+core@1.5.7_@swc+helper_4cjcenyp4slctsvjumquwwxh7m/node_modules/@nx/eslint/src/generators/lint-project/lint-project.js
|
|
373138
373229
|
var require_lint_project = __commonJS({
|
|
373139
|
-
"node_modules/.pnpm/@nx+eslint@19.
|
|
373230
|
+
"node_modules/.pnpm/@nx+eslint@19.2.0_@babel+traverse@7.24.7_@swc-node+register@1.9.1_@swc+core@1.5.7_@swc+helper_4cjcenyp4slctsvjumquwwxh7m/node_modules/@nx/eslint/src/generators/lint-project/lint-project.js"(exports2) {
|
|
373140
373231
|
"use strict";
|
|
373141
373232
|
Object.defineProperty(exports2, "__esModule", { value: true });
|
|
373142
373233
|
exports2.lintProjectGeneratorInternal = exports2.lintProjectGenerator = void 0;
|
|
@@ -373211,7 +373302,7 @@ var require_lint_project = __commonJS({
|
|
|
373211
373302
|
}
|
|
373212
373303
|
}
|
|
373213
373304
|
if (!options.rootProject || projectConfig.root !== ".") {
|
|
373214
|
-
createEsLintConfiguration(tree, projectConfig, options.setParserOptionsProject, options.rootProject);
|
|
373305
|
+
createEsLintConfiguration(tree, options, projectConfig, options.setParserOptionsProject, options.rootProject);
|
|
373215
373306
|
}
|
|
373216
373307
|
if (isBuildableLibraryProject(projectConfig) && !isJsAnalyzeSourceFilesEnabled(tree)) {
|
|
373217
373308
|
(0, devkit_1.updateJson)(tree, "nx.json", (json) => {
|
|
@@ -373228,7 +373319,7 @@ var require_lint_project = __commonJS({
|
|
|
373228
373319
|
return (0, devkit_1.runTasksInSerial)(...tasks);
|
|
373229
373320
|
}
|
|
373230
373321
|
exports2.lintProjectGeneratorInternal = lintProjectGeneratorInternal;
|
|
373231
|
-
function createEsLintConfiguration(tree, projectConfig, setParserOptionsProject, rootProject) {
|
|
373322
|
+
function createEsLintConfiguration(tree, options, projectConfig, setParserOptionsProject, rootProject) {
|
|
373232
373323
|
const extendedRootConfig = rootProject ? void 0 : (0, eslint_file_1.findEslintFile)(tree);
|
|
373233
373324
|
const pathToRootConfig = extendedRootConfig ? `${(0, devkit_1.offsetFromRoot)(projectConfig.root)}${extendedRootConfig}` : void 0;
|
|
373234
373325
|
const addDependencyChecks = isBuildableLibraryProject(projectConfig);
|
|
@@ -373266,7 +373357,7 @@ var require_lint_project = __commonJS({
|
|
|
373266
373357
|
rules: {}
|
|
373267
373358
|
}
|
|
373268
373359
|
];
|
|
373269
|
-
if (isBuildableLibraryProject(projectConfig)) {
|
|
373360
|
+
if (options.addPackageJsonDependencyChecks || isBuildableLibraryProject(projectConfig)) {
|
|
373270
373361
|
overrides.push({
|
|
373271
373362
|
files: ["*.json"],
|
|
373272
373363
|
parser: "jsonc-eslint-parser",
|
|
@@ -396963,113 +397054,9 @@ var require_TypiaProgrammer = __commonJS({
|
|
|
396963
397054
|
}
|
|
396964
397055
|
});
|
|
396965
397056
|
|
|
396966
|
-
// node_modules/.pnpm/@nx+js@19.
|
|
396967
|
-
var require_update_lock_file = __commonJS({
|
|
396968
|
-
"node_modules/.pnpm/@nx+js@19.1.1_@babel+traverse@7.24.6_@swc-node+register@1.9.1_@swc+core@1.5.24_@swc+helpers@0_43a7jm2fhbrpiqcrtbhzmfjp7e/node_modules/@nx/js/src/generators/release-version/utils/update-lock-file.js"(exports2) {
|
|
396969
|
-
"use strict";
|
|
396970
|
-
Object.defineProperty(exports2, "__esModule", { value: true });
|
|
396971
|
-
exports2.updateLockFile = void 0;
|
|
396972
|
-
var devkit_1 = require("@nx/devkit");
|
|
396973
|
-
var child_process_1 = require("child_process");
|
|
396974
|
-
var client_1 = require("nx/src/daemon/client/client");
|
|
396975
|
-
var lock_file_1 = require("nx/src/plugins/js/lock-file/lock-file");
|
|
396976
|
-
var semver_1 = require_semver2();
|
|
396977
|
-
async function updateLockFile2(cwd2, { dryRun, verbose, generatorOptions }) {
|
|
396978
|
-
if (generatorOptions?.skipLockFileUpdate) {
|
|
396979
|
-
if (verbose) {
|
|
396980
|
-
console.log("\nSkipped lock file update because skipLockFileUpdate was set.");
|
|
396981
|
-
}
|
|
396982
|
-
return [];
|
|
396983
|
-
}
|
|
396984
|
-
const packageManager = (0, devkit_1.detectPackageManager)(cwd2);
|
|
396985
|
-
if (packageManager === "yarn" && !(0, semver_1.gte)((0, devkit_1.getPackageManagerVersion)(packageManager), "2.0.0")) {
|
|
396986
|
-
if (verbose) {
|
|
396987
|
-
console.log("\nSkipped lock file update because it is not necessary for Yarn Classic.");
|
|
396988
|
-
}
|
|
396989
|
-
return [];
|
|
396990
|
-
}
|
|
396991
|
-
const workspacesEnabled = (0, devkit_1.isWorkspacesEnabled)(packageManager, cwd2);
|
|
396992
|
-
if (!workspacesEnabled) {
|
|
396993
|
-
if (verbose) {
|
|
396994
|
-
console.log(`
|
|
396995
|
-
Skipped lock file update because ${packageManager} workspaces are not enabled.`);
|
|
396996
|
-
}
|
|
396997
|
-
return [];
|
|
396998
|
-
}
|
|
396999
|
-
const isDaemonEnabled = client_1.daemonClient.enabled();
|
|
397000
|
-
if (!dryRun && isDaemonEnabled) {
|
|
397001
|
-
await client_1.daemonClient.stop();
|
|
397002
|
-
}
|
|
397003
|
-
const packageManagerCommands = (0, devkit_1.getPackageManagerCommand)(packageManager);
|
|
397004
|
-
let installArgs = generatorOptions?.installArgs || "";
|
|
397005
|
-
devkit_1.output.logSingleLine(`Updating ${packageManager} lock file`);
|
|
397006
|
-
let env = {};
|
|
397007
|
-
if (generatorOptions?.installIgnoreScripts) {
|
|
397008
|
-
if (packageManager === "yarn") {
|
|
397009
|
-
env = { YARN_ENABLE_SCRIPTS: "false" };
|
|
397010
|
-
} else {
|
|
397011
|
-
installArgs = `${installArgs} --ignore-scripts`.trim();
|
|
397012
|
-
}
|
|
397013
|
-
}
|
|
397014
|
-
const lockFile = (0, lock_file_1.getLockFileName)(packageManager);
|
|
397015
|
-
const command = `${packageManagerCommands.updateLockFile} ${installArgs}`.trim();
|
|
397016
|
-
if (verbose) {
|
|
397017
|
-
if (dryRun) {
|
|
397018
|
-
console.log(`Would update ${lockFile} with the following command, but --dry-run was set:`);
|
|
397019
|
-
} else {
|
|
397020
|
-
console.log(`Updating ${lockFile} with the following command:`);
|
|
397021
|
-
}
|
|
397022
|
-
console.log(command);
|
|
397023
|
-
}
|
|
397024
|
-
if (dryRun) {
|
|
397025
|
-
return [];
|
|
397026
|
-
}
|
|
397027
|
-
execLockFileUpdate(command, cwd2, env);
|
|
397028
|
-
if (isDaemonEnabled) {
|
|
397029
|
-
try {
|
|
397030
|
-
await client_1.daemonClient.startInBackground();
|
|
397031
|
-
} catch (e2) {
|
|
397032
|
-
if (verbose) {
|
|
397033
|
-
devkit_1.output.warn({
|
|
397034
|
-
title: 'Unable to restart the Nx Daemon. It will be disabled until you run "nx reset"',
|
|
397035
|
-
bodyLines: [e2.message]
|
|
397036
|
-
});
|
|
397037
|
-
}
|
|
397038
|
-
}
|
|
397039
|
-
}
|
|
397040
|
-
return [lockFile];
|
|
397041
|
-
}
|
|
397042
|
-
exports2.updateLockFile = updateLockFile2;
|
|
397043
|
-
function execLockFileUpdate(command, cwd2, env = {}) {
|
|
397044
|
-
try {
|
|
397045
|
-
const LARGE_BUFFER4 = 1024 * 1e6;
|
|
397046
|
-
(0, child_process_1.execSync)(command, {
|
|
397047
|
-
cwd: cwd2,
|
|
397048
|
-
maxBuffer: LARGE_BUFFER4,
|
|
397049
|
-
env: {
|
|
397050
|
-
...process.env,
|
|
397051
|
-
...env
|
|
397052
|
-
}
|
|
397053
|
-
});
|
|
397054
|
-
} catch (e2) {
|
|
397055
|
-
devkit_1.output.error({
|
|
397056
|
-
title: `Error updating lock file with command '${command}'`,
|
|
397057
|
-
bodyLines: [
|
|
397058
|
-
`Verify that '${command}' succeeds when run from the workspace root.`,
|
|
397059
|
-
`To configure a string of arguments to be passed to this command, set the 'release.version.generatorOptions.installArgs' property in nx.json.`,
|
|
397060
|
-
`To ignore install lifecycle scripts, set 'release.version.generatorOptions.installIgnoreScripts' to true in nx.json.`,
|
|
397061
|
-
`To disable this step entirely, set 'release.version.skipLockFileUpdate' to true in nx.json.`
|
|
397062
|
-
]
|
|
397063
|
-
});
|
|
397064
|
-
throw e2;
|
|
397065
|
-
}
|
|
397066
|
-
}
|
|
397067
|
-
}
|
|
397068
|
-
});
|
|
397069
|
-
|
|
397070
|
-
// node_modules/.pnpm/@nx+js@19.1.1_@babel+traverse@7.24.6_@swc-node+register@1.9.1_@swc+core@1.5.24_@swc+helpers@0_43a7jm2fhbrpiqcrtbhzmfjp7e/node_modules/@nx/js/src/generators/release-version/utils/package.js
|
|
397057
|
+
// node_modules/.pnpm/@nx+js@19.2.0_@babel+traverse@7.24.7_@swc-node+register@1.9.1_@swc+core@1.5.7_@swc+helpers@0._6vhtpruepu7ra54tbxpepedgyu/node_modules/@nx/js/src/generators/release-version/utils/package.js
|
|
397071
397058
|
var require_package6 = __commonJS({
|
|
397072
|
-
"node_modules/.pnpm/@nx+js@19.
|
|
397059
|
+
"node_modules/.pnpm/@nx+js@19.2.0_@babel+traverse@7.24.7_@swc-node+register@1.9.1_@swc+core@1.5.7_@swc+helpers@0._6vhtpruepu7ra54tbxpepedgyu/node_modules/@nx/js/src/generators/release-version/utils/package.js"(exports2) {
|
|
397073
397060
|
"use strict";
|
|
397074
397061
|
Object.defineProperty(exports2, "__esModule", { value: true });
|
|
397075
397062
|
exports2.Package = void 0;
|
|
@@ -399302,9 +399289,9 @@ var require_npa = __commonJS({
|
|
|
399302
399289
|
}
|
|
399303
399290
|
});
|
|
399304
399291
|
|
|
399305
|
-
// node_modules/.pnpm/@nx+js@19.
|
|
399292
|
+
// node_modules/.pnpm/@nx+js@19.2.0_@babel+traverse@7.24.7_@swc-node+register@1.9.1_@swc+core@1.5.7_@swc+helpers@0._6vhtpruepu7ra54tbxpepedgyu/node_modules/@nx/js/src/generators/release-version/utils/resolve-version-spec.js
|
|
399306
399293
|
var require_resolve_version_spec = __commonJS({
|
|
399307
|
-
"node_modules/.pnpm/@nx+js@19.
|
|
399294
|
+
"node_modules/.pnpm/@nx+js@19.2.0_@babel+traverse@7.24.7_@swc-node+register@1.9.1_@swc+core@1.5.7_@swc+helpers@0._6vhtpruepu7ra54tbxpepedgyu/node_modules/@nx/js/src/generators/release-version/utils/resolve-version-spec.js"(exports2) {
|
|
399308
399295
|
"use strict";
|
|
399309
399296
|
Object.defineProperty(exports2, "__esModule", { value: true });
|
|
399310
399297
|
exports2.resolveVersionSpec = void 0;
|
|
@@ -399331,9 +399318,9 @@ var require_resolve_version_spec = __commonJS({
|
|
|
399331
399318
|
}
|
|
399332
399319
|
});
|
|
399333
399320
|
|
|
399334
|
-
// node_modules/.pnpm/@nx+js@19.
|
|
399321
|
+
// node_modules/.pnpm/@nx+js@19.2.0_@babel+traverse@7.24.7_@swc-node+register@1.9.1_@swc+core@1.5.7_@swc+helpers@0._6vhtpruepu7ra54tbxpepedgyu/node_modules/@nx/js/src/generators/release-version/utils/resolve-local-package-dependencies.js
|
|
399335
399322
|
var require_resolve_local_package_dependencies = __commonJS({
|
|
399336
|
-
"node_modules/.pnpm/@nx+js@19.
|
|
399323
|
+
"node_modules/.pnpm/@nx+js@19.2.0_@babel+traverse@7.24.7_@swc-node+register@1.9.1_@swc+core@1.5.7_@swc+helpers@0._6vhtpruepu7ra54tbxpepedgyu/node_modules/@nx/js/src/generators/release-version/utils/resolve-local-package-dependencies.js"(exports2) {
|
|
399337
399324
|
"use strict";
|
|
399338
399325
|
Object.defineProperty(exports2, "__esModule", { value: true });
|
|
399339
399326
|
exports2.resolveLocalPackageDependencies = void 0;
|
|
@@ -399402,12 +399389,117 @@ var require_resolve_local_package_dependencies = __commonJS({
|
|
|
399402
399389
|
}
|
|
399403
399390
|
});
|
|
399404
399391
|
|
|
399392
|
+
// node_modules/.pnpm/@nx+js@19.2.0_@babel+traverse@7.24.7_@swc-node+register@1.9.1_@swc+core@1.5.7_@swc+helpers@0._6vhtpruepu7ra54tbxpepedgyu/node_modules/@nx/js/src/generators/release-version/utils/update-lock-file.js
|
|
399393
|
+
var require_update_lock_file = __commonJS({
|
|
399394
|
+
"node_modules/.pnpm/@nx+js@19.2.0_@babel+traverse@7.24.7_@swc-node+register@1.9.1_@swc+core@1.5.7_@swc+helpers@0._6vhtpruepu7ra54tbxpepedgyu/node_modules/@nx/js/src/generators/release-version/utils/update-lock-file.js"(exports2) {
|
|
399395
|
+
"use strict";
|
|
399396
|
+
Object.defineProperty(exports2, "__esModule", { value: true });
|
|
399397
|
+
exports2.updateLockFile = void 0;
|
|
399398
|
+
var devkit_1 = require("@nx/devkit");
|
|
399399
|
+
var child_process_1 = require("child_process");
|
|
399400
|
+
var client_1 = require("nx/src/daemon/client/client");
|
|
399401
|
+
var lock_file_1 = require("nx/src/plugins/js/lock-file/lock-file");
|
|
399402
|
+
var semver_1 = require_semver2();
|
|
399403
|
+
async function updateLockFile2(cwd2, { dryRun, verbose, generatorOptions }) {
|
|
399404
|
+
if (generatorOptions?.skipLockFileUpdate) {
|
|
399405
|
+
if (verbose) {
|
|
399406
|
+
console.log("\nSkipped lock file update because skipLockFileUpdate was set.");
|
|
399407
|
+
}
|
|
399408
|
+
return [];
|
|
399409
|
+
}
|
|
399410
|
+
const packageManager = (0, devkit_1.detectPackageManager)(cwd2);
|
|
399411
|
+
if (packageManager === "yarn" && !(0, semver_1.gte)((0, devkit_1.getPackageManagerVersion)(packageManager), "2.0.0")) {
|
|
399412
|
+
if (verbose) {
|
|
399413
|
+
console.log("\nSkipped lock file update because it is not necessary for Yarn Classic.");
|
|
399414
|
+
}
|
|
399415
|
+
return [];
|
|
399416
|
+
}
|
|
399417
|
+
const workspacesEnabled = (0, devkit_1.isWorkspacesEnabled)(packageManager, cwd2);
|
|
399418
|
+
if (!workspacesEnabled) {
|
|
399419
|
+
if (verbose) {
|
|
399420
|
+
console.log(`
|
|
399421
|
+
Skipped lock file update because ${packageManager} workspaces are not enabled.`);
|
|
399422
|
+
}
|
|
399423
|
+
return [];
|
|
399424
|
+
}
|
|
399425
|
+
const isDaemonEnabled = client_1.daemonClient.enabled();
|
|
399426
|
+
if (!dryRun && isDaemonEnabled) {
|
|
399427
|
+
await client_1.daemonClient.stop();
|
|
399428
|
+
}
|
|
399429
|
+
const packageManagerCommands = (0, devkit_1.getPackageManagerCommand)(packageManager);
|
|
399430
|
+
let installArgs = generatorOptions?.installArgs || "";
|
|
399431
|
+
devkit_1.output.logSingleLine(`Updating ${packageManager} lock file`);
|
|
399432
|
+
let env = {};
|
|
399433
|
+
if (generatorOptions?.installIgnoreScripts) {
|
|
399434
|
+
if (packageManager === "yarn") {
|
|
399435
|
+
env = { YARN_ENABLE_SCRIPTS: "false" };
|
|
399436
|
+
} else {
|
|
399437
|
+
installArgs = `${installArgs} --ignore-scripts`.trim();
|
|
399438
|
+
}
|
|
399439
|
+
}
|
|
399440
|
+
const lockFile = (0, lock_file_1.getLockFileName)(packageManager);
|
|
399441
|
+
const command = `${packageManagerCommands.updateLockFile} ${installArgs}`.trim();
|
|
399442
|
+
if (verbose) {
|
|
399443
|
+
if (dryRun) {
|
|
399444
|
+
console.log(`Would update ${lockFile} with the following command, but --dry-run was set:`);
|
|
399445
|
+
} else {
|
|
399446
|
+
console.log(`Updating ${lockFile} with the following command:`);
|
|
399447
|
+
}
|
|
399448
|
+
console.log(command);
|
|
399449
|
+
}
|
|
399450
|
+
if (dryRun) {
|
|
399451
|
+
return [];
|
|
399452
|
+
}
|
|
399453
|
+
execLockFileUpdate(command, cwd2, env);
|
|
399454
|
+
if (isDaemonEnabled) {
|
|
399455
|
+
try {
|
|
399456
|
+
await client_1.daemonClient.startInBackground();
|
|
399457
|
+
} catch (e2) {
|
|
399458
|
+
if (verbose) {
|
|
399459
|
+
devkit_1.output.warn({
|
|
399460
|
+
title: 'Unable to restart the Nx Daemon. It will be disabled until you run "nx reset"',
|
|
399461
|
+
bodyLines: [e2.message]
|
|
399462
|
+
});
|
|
399463
|
+
}
|
|
399464
|
+
}
|
|
399465
|
+
}
|
|
399466
|
+
return [lockFile];
|
|
399467
|
+
}
|
|
399468
|
+
exports2.updateLockFile = updateLockFile2;
|
|
399469
|
+
function execLockFileUpdate(command, cwd2, env = {}) {
|
|
399470
|
+
try {
|
|
399471
|
+
const LARGE_BUFFER4 = 1024 * 1e6;
|
|
399472
|
+
(0, child_process_1.execSync)(command, {
|
|
399473
|
+
cwd: cwd2,
|
|
399474
|
+
maxBuffer: LARGE_BUFFER4,
|
|
399475
|
+
env: {
|
|
399476
|
+
...process.env,
|
|
399477
|
+
...env
|
|
399478
|
+
}
|
|
399479
|
+
});
|
|
399480
|
+
} catch (e2) {
|
|
399481
|
+
devkit_1.output.error({
|
|
399482
|
+
title: `Error updating lock file with command '${command}'`,
|
|
399483
|
+
bodyLines: [
|
|
399484
|
+
`Verify that '${command}' succeeds when run from the workspace root.`,
|
|
399485
|
+
`To configure a string of arguments to be passed to this command, set the 'release.version.generatorOptions.installArgs' property in nx.json.`,
|
|
399486
|
+
`To ignore install lifecycle scripts, set 'release.version.generatorOptions.installIgnoreScripts' to true in nx.json.`,
|
|
399487
|
+
`To disable this step entirely, set 'release.version.skipLockFileUpdate' to true in nx.json.`
|
|
399488
|
+
]
|
|
399489
|
+
});
|
|
399490
|
+
throw e2;
|
|
399491
|
+
}
|
|
399492
|
+
}
|
|
399493
|
+
}
|
|
399494
|
+
});
|
|
399495
|
+
|
|
399405
399496
|
// packages/cloudflare-tools/src/executors/cloudflare-publish/executor.ts
|
|
399406
399497
|
var executor_exports = {};
|
|
399407
399498
|
__export(executor_exports, {
|
|
399408
399499
|
default: () => runExecutor
|
|
399409
399500
|
});
|
|
399410
399501
|
module.exports = __toCommonJS(executor_exports);
|
|
399502
|
+
var import_node_child_process7 = require("node:child_process");
|
|
399411
399503
|
var import_devkit12 = require("@nx/devkit");
|
|
399412
399504
|
|
|
399413
399505
|
// packages/workspace-tools/src/utils/apply-workspace-tokens.ts
|
|
@@ -404762,18 +404854,18 @@ var generator_default3 = withRunGenerator(
|
|
|
404762
404854
|
);
|
|
404763
404855
|
|
|
404764
404856
|
// packages/workspace-tools/src/generators/release-version/generator.ts
|
|
404765
|
-
var import_devkit11 = require("@nx/devkit");
|
|
404766
|
-
var import_version = require("nx/src/command-line/release/version");
|
|
404767
|
-
var import_utils4 = require("nx/src/tasks-runner/utils");
|
|
404768
|
-
var import_semver = require("nx/src/command-line/release/utils/semver");
|
|
404769
|
-
var import_node_path9 = require("node:path");
|
|
404770
|
-
var import_update_lock_file = __toESM(require_update_lock_file());
|
|
404771
404857
|
var import_node_child_process6 = require("node:child_process");
|
|
404858
|
+
var import_node_path9 = require("node:path");
|
|
404859
|
+
var import_config4 = require("nx/src/command-line/release/config/config");
|
|
404772
404860
|
var import_git = require("nx/src/command-line/release/utils/git");
|
|
404773
404861
|
var import_resolve_semver_specifier = require("nx/src/command-line/release/utils/resolve-semver-specifier");
|
|
404774
|
-
var
|
|
404862
|
+
var import_semver = require("nx/src/command-line/release/utils/semver");
|
|
404863
|
+
var import_version = require("nx/src/command-line/release/version");
|
|
404864
|
+
var import_utils4 = require("nx/src/tasks-runner/utils");
|
|
404775
404865
|
var import_semver2 = __toESM(require_semver2());
|
|
404866
|
+
var import_devkit11 = require("@nx/devkit");
|
|
404776
404867
|
var import_resolve_local_package_dependencies = __toESM(require_resolve_local_package_dependencies());
|
|
404868
|
+
var import_update_lock_file = __toESM(require_update_lock_file());
|
|
404777
404869
|
async function releaseVersionGeneratorFn(tree, options, config) {
|
|
404778
404870
|
const { writeInfo: writeInfo2, findWorkspaceRoot: findWorkspaceRoot2 } = await Promise.resolve().then(() => (init_src2(), src_exports));
|
|
404779
404871
|
const versionData = {};
|
|
@@ -405027,7 +405119,7 @@ To fix this you will either need to add a package.json or Cargo.toml file at tha
|
|
|
405027
405119
|
);
|
|
405028
405120
|
break;
|
|
405029
405121
|
}
|
|
405030
|
-
if ((0, import_semver2.prerelease)(currentVersion)) {
|
|
405122
|
+
if (currentVersion && (0, import_semver2.prerelease)(currentVersion)) {
|
|
405031
405123
|
specifier = "prerelease";
|
|
405032
405124
|
log(
|
|
405033
405125
|
`\u{1F4C4} Resolved the specifier as "${specifier}" since the current version is a prerelease.`
|
|
@@ -405229,7 +405321,7 @@ Projects with packageRoot configured: ${Array.from(projectNameToPackageRootMap.k
|
|
|
405229
405321
|
callback: async (tree2, opts) => {
|
|
405230
405322
|
import_devkit11.output.logSingleLine("Updating Cargo.lock file");
|
|
405231
405323
|
const cwd2 = tree2.root;
|
|
405232
|
-
const updatedFiles = await (0, import_update_lock_file.updateLockFile)(cwd2, opts);
|
|
405324
|
+
const updatedFiles = await (0, import_update_lock_file.updateLockFile)(cwd2, opts) ?? [];
|
|
405233
405325
|
const updatedCargoPackages = [];
|
|
405234
405326
|
for (const [projectName, projectVersionData] of Object.entries(
|
|
405235
405327
|
versionData
|
|
@@ -405250,9 +405342,9 @@ Projects with packageRoot configured: ${Array.from(projectNameToPackageRootMap.k
|
|
|
405250
405342
|
},
|
|
405251
405343
|
cwd: tree2.root
|
|
405252
405344
|
});
|
|
405253
|
-
|
|
405254
|
-
|
|
405255
|
-
|
|
405345
|
+
if (hasGitDiff("Cargo.lock")) {
|
|
405346
|
+
updatedFiles.push("Cargo.lock");
|
|
405347
|
+
}
|
|
405256
405348
|
}
|
|
405257
405349
|
return updatedFiles;
|
|
405258
405350
|
},
|
|
@@ -405465,7 +405557,6 @@ var DEFAULT_CONVENTIONAL_COMMITS_CONFIG = {
|
|
|
405465
405557
|
};
|
|
405466
405558
|
|
|
405467
405559
|
// packages/cloudflare-tools/src/executors/cloudflare-publish/executor.ts
|
|
405468
|
-
var import_node_child_process7 = require("node:child_process");
|
|
405469
405560
|
async function runExecutor(options, context) {
|
|
405470
405561
|
const isDryRun = process.env.NX_DRY_RUN === "true" || options.dryRun || false;
|
|
405471
405562
|
if (!context.projectName) {
|
|
@@ -405491,9 +405582,13 @@ async function runExecutor(options, context) {
|
|
|
405491
405582
|
console.log("");
|
|
405492
405583
|
let proc;
|
|
405493
405584
|
try {
|
|
405585
|
+
const { findWorkspaceRoot: findWorkspaceRoot2, loadStormConfig: loadStormConfig2 } = await Promise.resolve().then(() => (init_src2(), src_exports));
|
|
405586
|
+
const workspaceRoot3 = findWorkspaceRoot2();
|
|
405587
|
+
const config = await loadStormConfig2(workspaceRoot3);
|
|
405494
405588
|
(0, import_node_child_process7.fork)(require.resolve("wrangler/bin/wrangler"), ["deploy", ...args], {
|
|
405495
405589
|
env: {
|
|
405496
405590
|
CLOUDFLARE_API_TOKEN: process.env.STORM_BOT_CLOUDFLARE_TOKEN,
|
|
405591
|
+
CLOUDFLARE_ACCOUNT_ID: config.cloudflareAccountId ? config.cloudflareAccountId : void 0,
|
|
405497
405592
|
WRANGLER_LOG: "debug",
|
|
405498
405593
|
...process.env,
|
|
405499
405594
|
FORCE_COLOR: "true"
|