@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
|
@@ -32,9 +32,9 @@ var __toESM = (mod, isNodeMode, target) => (target = mod != null ? __create(__ge
|
|
|
32
32
|
));
|
|
33
33
|
var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
|
|
34
34
|
|
|
35
|
-
// node_modules/.pnpm/@nx+web@19.
|
|
35
|
+
// node_modules/.pnpm/@nx+web@19.2.0_@babel+traverse@7.24.7_@swc-node+register@1.9.1_@swc+core@1.5.7_@swc+helpers@0_fx32mv6qxv5wu2pyyr5rqaalm4/node_modules/@nx/web/src/utils/wait-for-port-open.js
|
|
36
36
|
var require_wait_for_port_open = __commonJS({
|
|
37
|
-
"node_modules/.pnpm/@nx+web@19.
|
|
37
|
+
"node_modules/.pnpm/@nx+web@19.2.0_@babel+traverse@7.24.7_@swc-node+register@1.9.1_@swc+core@1.5.7_@swc+helpers@0_fx32mv6qxv5wu2pyyr5rqaalm4/node_modules/@nx/web/src/utils/wait-for-port-open.js"(exports2) {
|
|
38
38
|
"use strict";
|
|
39
39
|
Object.defineProperty(exports2, "__esModule", { value: true });
|
|
40
40
|
exports2.waitForPortOpen = void 0;
|
|
@@ -715,9 +715,9 @@ var require_main = __commonJS({
|
|
|
715
715
|
}
|
|
716
716
|
});
|
|
717
717
|
|
|
718
|
-
// node_modules/.pnpm/jiti@1.21.
|
|
718
|
+
// node_modules/.pnpm/jiti@1.21.3/node_modules/jiti/dist/jiti.js
|
|
719
719
|
var require_jiti = __commonJS({
|
|
720
|
-
"node_modules/.pnpm/jiti@1.21.
|
|
720
|
+
"node_modules/.pnpm/jiti@1.21.3/node_modules/jiti/dist/jiti.js"(exports2, module2) {
|
|
721
721
|
(() => {
|
|
722
722
|
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) => {
|
|
723
723
|
const nativeModule = __webpack_require__2("module"), path6 = __webpack_require__2("path"), fs2 = __webpack_require__2("fs");
|
|
@@ -733,14 +733,14 @@ var require_jiti = __commonJS({
|
|
|
733
733
|
return mod.filename = filename2, mod.paths = nativeModule.Module._nodeModulePaths(path6.dirname(filename2)), mod._compile("module.exports = require;", filename2), mod.exports;
|
|
734
734
|
}(filename);
|
|
735
735
|
};
|
|
736
|
-
}, "./node_modules/.pnpm/mlly@1.7.
|
|
736
|
+
}, "./node_modules/.pnpm/mlly@1.7.1/node_modules/mlly/dist lazy recursive": (module3) => {
|
|
737
737
|
function webpackEmptyAsyncContext(req) {
|
|
738
738
|
return Promise.resolve().then(() => {
|
|
739
739
|
var e2 = new Error("Cannot find module '" + req + "'");
|
|
740
740
|
throw e2.code = "MODULE_NOT_FOUND", e2;
|
|
741
741
|
});
|
|
742
742
|
}
|
|
743
|
-
webpackEmptyAsyncContext.keys = () => [], webpackEmptyAsyncContext.resolve = webpackEmptyAsyncContext, webpackEmptyAsyncContext.id = "./node_modules/.pnpm/mlly@1.7.
|
|
743
|
+
webpackEmptyAsyncContext.keys = () => [], webpackEmptyAsyncContext.resolve = webpackEmptyAsyncContext, webpackEmptyAsyncContext.id = "./node_modules/.pnpm/mlly@1.7.1/node_modules/mlly/dist lazy recursive", module3.exports = webpackEmptyAsyncContext;
|
|
744
744
|
}, "./node_modules/.pnpm/object-hash@3.0.0/node_modules/object-hash/index.js": (module3, exports3, __webpack_require__2) => {
|
|
745
745
|
"use strict";
|
|
746
746
|
var crypto = __webpack_require__2("crypto");
|
|
@@ -4326,7 +4326,8 @@ Default "index" lookups for the main are deprecated for ES modules.`, "Deprecati
|
|
|
4326
4326
|
var value2;
|
|
4327
4327
|
const defaultValue = sourceModule.default;
|
|
4328
4328
|
if (null == defaultValue) return sourceModule;
|
|
4329
|
-
|
|
4329
|
+
const _defaultType = typeof defaultValue;
|
|
4330
|
+
if ("object" !== _defaultType && ("function" !== _defaultType || opts2.preferNamespace)) return opts2.preferNamespace ? sourceModule : defaultValue;
|
|
4330
4331
|
for (const key in sourceModule) try {
|
|
4331
4332
|
key in defaultValue || Object.defineProperty(defaultValue, key, { enumerable: "default" !== key, configurable: "default" !== key, get: () => sourceModule[key] });
|
|
4332
4333
|
} catch {
|
|
@@ -4414,9 +4415,9 @@ Default "index" lookups for the main are deprecated for ES modules.`, "Deprecati
|
|
|
4414
4415
|
}
|
|
4415
4416
|
});
|
|
4416
4417
|
|
|
4417
|
-
// node_modules/.pnpm/jiti@1.21.
|
|
4418
|
+
// node_modules/.pnpm/jiti@1.21.3/node_modules/jiti/dist/babel.js
|
|
4418
4419
|
var require_babel = __commonJS({
|
|
4419
|
-
"node_modules/.pnpm/jiti@1.21.
|
|
4420
|
+
"node_modules/.pnpm/jiti@1.21.3/node_modules/jiti/dist/babel.js"(exports2, module2) {
|
|
4420
4421
|
(() => {
|
|
4421
4422
|
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) {
|
|
4422
4423
|
module3.exports = function(traceMapping, genMapping) {
|
|
@@ -29727,9 +29728,9 @@ ${trace}`);
|
|
|
29727
29728
|
}
|
|
29728
29729
|
});
|
|
29729
29730
|
|
|
29730
|
-
// node_modules/.pnpm/jiti@1.21.
|
|
29731
|
+
// node_modules/.pnpm/jiti@1.21.3/node_modules/jiti/lib/index.js
|
|
29731
29732
|
var require_lib = __commonJS({
|
|
29732
|
-
"node_modules/.pnpm/jiti@1.21.
|
|
29733
|
+
"node_modules/.pnpm/jiti@1.21.3/node_modules/jiti/lib/index.js"(exports2, module2) {
|
|
29733
29734
|
function onError(err) {
|
|
29734
29735
|
throw err;
|
|
29735
29736
|
}
|
|
@@ -36045,7 +36046,7 @@ var init_dist5 = __esm({
|
|
|
36045
36046
|
}
|
|
36046
36047
|
});
|
|
36047
36048
|
|
|
36048
|
-
// node_modules/.pnpm/mlly@1.7.
|
|
36049
|
+
// node_modules/.pnpm/mlly@1.7.1/node_modules/mlly/dist/index.mjs
|
|
36049
36050
|
function normalizeSlash(path6) {
|
|
36050
36051
|
return path6.replace(/\\/g, "/");
|
|
36051
36052
|
}
|
|
@@ -37107,7 +37108,7 @@ function resolvePath(id, options) {
|
|
|
37107
37108
|
}
|
|
37108
37109
|
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;
|
|
37109
37110
|
var init_dist6 = __esm({
|
|
37110
|
-
"node_modules/.pnpm/mlly@1.7.
|
|
37111
|
+
"node_modules/.pnpm/mlly@1.7.1/node_modules/mlly/dist/index.mjs"() {
|
|
37111
37112
|
init_acorn();
|
|
37112
37113
|
import_node_module = require("node:module");
|
|
37113
37114
|
import_node_fs3 = __toESM(require("node:fs"), 1);
|
|
@@ -68609,12 +68610,12 @@ var init_tslib_es6 = __esm({
|
|
|
68609
68610
|
}
|
|
68610
68611
|
});
|
|
68611
68612
|
|
|
68612
|
-
// node_modules/.pnpm/@nx+js@19.
|
|
68613
|
+
// 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
|
|
68613
68614
|
var require_package2 = __commonJS({
|
|
68614
|
-
"node_modules/.pnpm/@nx+js@19.
|
|
68615
|
+
"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) {
|
|
68615
68616
|
module2.exports = {
|
|
68616
68617
|
name: "@nx/js",
|
|
68617
|
-
version: "19.
|
|
68618
|
+
version: "19.2.0",
|
|
68618
68619
|
private: false,
|
|
68619
68620
|
description: "The JS plugin for Nx contains executors and generators that provide the best experience for developing JavaScript and TypeScript projects. ",
|
|
68620
68621
|
repository: {
|
|
@@ -68672,9 +68673,9 @@ var require_package2 = __commonJS({
|
|
|
68672
68673
|
semver: "^7.5.3",
|
|
68673
68674
|
"source-map-support": "0.5.19",
|
|
68674
68675
|
tslib: "^2.3.0",
|
|
68675
|
-
"@nx/devkit": "19.
|
|
68676
|
-
"@nx/workspace": "19.
|
|
68677
|
-
"@nrwl/js": "19.
|
|
68676
|
+
"@nx/devkit": "19.2.0",
|
|
68677
|
+
"@nx/workspace": "19.2.0",
|
|
68678
|
+
"@nrwl/js": "19.2.0"
|
|
68678
68679
|
},
|
|
68679
68680
|
peerDependencies: {
|
|
68680
68681
|
verdaccio: "^5.0.4"
|
|
@@ -68692,9 +68693,9 @@ var require_package2 = __commonJS({
|
|
|
68692
68693
|
}
|
|
68693
68694
|
});
|
|
68694
68695
|
|
|
68695
|
-
// node_modules/.pnpm/@nx+js@19.
|
|
68696
|
+
// 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
|
|
68696
68697
|
var require_versions = __commonJS({
|
|
68697
|
-
"node_modules/.pnpm/@nx+js@19.
|
|
68698
|
+
"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) {
|
|
68698
68699
|
"use strict";
|
|
68699
68700
|
Object.defineProperty(exports2, "__esModule", { value: true });
|
|
68700
68701
|
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;
|
|
@@ -68713,9 +68714,9 @@ var require_versions = __commonJS({
|
|
|
68713
68714
|
}
|
|
68714
68715
|
});
|
|
68715
68716
|
|
|
68716
|
-
// node_modules/.pnpm/@nx+js@19.
|
|
68717
|
+
// 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
|
|
68717
68718
|
var require_add_tslib_dependencies = __commonJS({
|
|
68718
|
-
"node_modules/.pnpm/@nx+js@19.
|
|
68719
|
+
"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) {
|
|
68719
68720
|
"use strict";
|
|
68720
68721
|
Object.defineProperty(exports2, "__esModule", { value: true });
|
|
68721
68722
|
exports2.addTsLibDependencies = void 0;
|
|
@@ -68730,9 +68731,9 @@ var require_add_tslib_dependencies = __commonJS({
|
|
|
68730
68731
|
}
|
|
68731
68732
|
});
|
|
68732
68733
|
|
|
68733
|
-
// node_modules/.pnpm/@nx+js@19.
|
|
68734
|
+
// 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
|
|
68734
68735
|
var require_load_ts_transformers = __commonJS({
|
|
68735
|
-
"node_modules/.pnpm/@nx+js@19.
|
|
68736
|
+
"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) {
|
|
68736
68737
|
"use strict";
|
|
68737
68738
|
Object.defineProperty(exports2, "__esModule", { value: true });
|
|
68738
68739
|
exports2.loadTsTransformers = void 0;
|
|
@@ -68797,9 +68798,9 @@ var require_load_ts_transformers = __commonJS({
|
|
|
68797
68798
|
}
|
|
68798
68799
|
});
|
|
68799
68800
|
|
|
68800
|
-
// node_modules/.pnpm/@nx+js@19.
|
|
68801
|
+
// 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
|
|
68801
68802
|
var require_print_diagnostics = __commonJS({
|
|
68802
|
-
"node_modules/.pnpm/@nx+js@19.
|
|
68803
|
+
"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) {
|
|
68803
68804
|
"use strict";
|
|
68804
68805
|
Object.defineProperty(exports2, "__esModule", { value: true });
|
|
68805
68806
|
exports2.printDiagnostics = void 0;
|
|
@@ -68844,9 +68845,9 @@ var require_js_tokens = __commonJS({
|
|
|
68844
68845
|
}
|
|
68845
68846
|
});
|
|
68846
68847
|
|
|
68847
|
-
// node_modules/.pnpm/@nx+js@19.
|
|
68848
|
+
// 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
|
|
68848
68849
|
var require_identifiers = __commonJS({
|
|
68849
|
-
"node_modules/.pnpm/@nx+js@19.
|
|
68850
|
+
"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) {
|
|
68850
68851
|
"use strict";
|
|
68851
68852
|
Object.defineProperty(exports2, "__esModule", { value: true });
|
|
68852
68853
|
exports2.isKeyword = exports2.isReservedWord = void 0;
|
|
@@ -68898,9 +68899,9 @@ var require_identifiers = __commonJS({
|
|
|
68898
68899
|
}
|
|
68899
68900
|
});
|
|
68900
68901
|
|
|
68901
|
-
// node_modules/.pnpm/@nx+js@19.
|
|
68902
|
+
// 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
|
|
68902
68903
|
var require_highlight = __commonJS({
|
|
68903
|
-
"node_modules/.pnpm/@nx+js@19.
|
|
68904
|
+
"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) {
|
|
68904
68905
|
"use strict";
|
|
68905
68906
|
Object.defineProperty(exports2, "__esModule", { value: true });
|
|
68906
68907
|
exports2.highlight = void 0;
|
|
@@ -68965,9 +68966,9 @@ var require_highlight = __commonJS({
|
|
|
68965
68966
|
}
|
|
68966
68967
|
});
|
|
68967
68968
|
|
|
68968
|
-
// node_modules/.pnpm/@nx+js@19.
|
|
68969
|
+
// 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
|
|
68969
68970
|
var require_ensure_typescript = __commonJS({
|
|
68970
|
-
"node_modules/.pnpm/@nx+js@19.
|
|
68971
|
+
"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) {
|
|
68971
68972
|
"use strict";
|
|
68972
68973
|
Object.defineProperty(exports2, "__esModule", { value: true });
|
|
68973
68974
|
exports2.ensureTypescript = void 0;
|
|
@@ -274165,9 +274166,9 @@ ${e2.message}`;
|
|
|
274165
274166
|
}
|
|
274166
274167
|
});
|
|
274167
274168
|
|
|
274168
|
-
// node_modules/.pnpm/@nx+js@19.
|
|
274169
|
+
// 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
|
|
274169
274170
|
var require_ts_config = __commonJS({
|
|
274170
|
-
"node_modules/.pnpm/@nx+js@19.
|
|
274171
|
+
"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) {
|
|
274171
274172
|
"use strict";
|
|
274172
274173
|
Object.defineProperty(exports2, "__esModule", { value: true });
|
|
274173
274174
|
exports2.readTsConfigPaths = exports2.addTsConfigPath = exports2.getRootTsConfigFileName = exports2.getRootTsConfigPath = exports2.getRelativePathToRootTsConfig = exports2.getRootTsConfigPathInTree = exports2.readTsConfig = void 0;
|
|
@@ -274251,9 +274252,9 @@ var require_ts_config = __commonJS({
|
|
|
274251
274252
|
}
|
|
274252
274253
|
});
|
|
274253
274254
|
|
|
274254
|
-
// node_modules/.pnpm/@nx+js@19.
|
|
274255
|
+
// 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
|
|
274255
274256
|
var require_run_type_check = __commonJS({
|
|
274256
|
-
"node_modules/.pnpm/@nx+js@19.
|
|
274257
|
+
"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) {
|
|
274257
274258
|
"use strict";
|
|
274258
274259
|
Object.defineProperty(exports2, "__esModule", { value: true });
|
|
274259
274260
|
exports2.getFormattedDiagnostic = exports2.runTypeCheck = exports2.runTypeCheckWatch = void 0;
|
|
@@ -274369,9 +274370,9 @@ var require_run_type_check = __commonJS({
|
|
|
274369
274370
|
}
|
|
274370
274371
|
});
|
|
274371
274372
|
|
|
274372
|
-
// node_modules/.pnpm/@nx+js@19.
|
|
274373
|
+
// 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
|
|
274373
274374
|
var require_get_source_nodes = __commonJS({
|
|
274374
|
-
"node_modules/.pnpm/@nx+js@19.
|
|
274375
|
+
"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) {
|
|
274375
274376
|
"use strict";
|
|
274376
274377
|
Object.defineProperty(exports2, "__esModule", { value: true });
|
|
274377
274378
|
exports2.getSourceNodes = void 0;
|
|
@@ -274393,9 +274394,9 @@ var require_get_source_nodes = __commonJS({
|
|
|
274393
274394
|
}
|
|
274394
274395
|
});
|
|
274395
274396
|
|
|
274396
|
-
// node_modules/.pnpm/@nx+js@19.
|
|
274397
|
+
// 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
|
|
274397
274398
|
var require_get_swcrc_path = __commonJS({
|
|
274398
|
-
"node_modules/.pnpm/@nx+js@19.
|
|
274399
|
+
"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) {
|
|
274399
274400
|
"use strict";
|
|
274400
274401
|
Object.defineProperty(exports2, "__esModule", { value: true });
|
|
274401
274402
|
exports2.getSwcrcPath = void 0;
|
|
@@ -274412,9 +274413,9 @@ var require_get_swcrc_path = __commonJS({
|
|
|
274412
274413
|
}
|
|
274413
274414
|
});
|
|
274414
274415
|
|
|
274415
|
-
// node_modules/.pnpm/@nx+js@19.
|
|
274416
|
+
// 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
|
|
274416
274417
|
var require_compiler_helper_dependency = __commonJS({
|
|
274417
|
-
"node_modules/.pnpm/@nx+js@19.
|
|
274418
|
+
"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) {
|
|
274418
274419
|
"use strict";
|
|
274419
274420
|
Object.defineProperty(exports2, "__esModule", { value: true });
|
|
274420
274421
|
exports2.getHelperDependenciesFromProjectGraph = exports2.getHelperDependency = exports2.HelperDependency = void 0;
|
|
@@ -274434,7 +274435,7 @@ var require_compiler_helper_dependency = __commonJS({
|
|
|
274434
274435
|
},
|
|
274435
274436
|
"@nx/js:swc": {
|
|
274436
274437
|
helperDependency: HelperDependency.swc,
|
|
274437
|
-
getConfigPath: (options, contextRoot, projectRoot) => (0, get_swcrc_path_1.getSwcrcPath)(options, contextRoot, projectRoot)
|
|
274438
|
+
getConfigPath: (options, contextRoot, projectRoot) => (0, get_swcrc_path_1.getSwcrcPath)(options, contextRoot, projectRoot).swcrcPath
|
|
274438
274439
|
}
|
|
274439
274440
|
};
|
|
274440
274441
|
function getHelperDependency(helperDependency, configPath, dependencies, projectGraph, returnDependencyIfFound = false) {
|
|
@@ -274513,9 +274514,9 @@ var require_compiler_helper_dependency = __commonJS({
|
|
|
274513
274514
|
}
|
|
274514
274515
|
});
|
|
274515
274516
|
|
|
274516
|
-
// node_modules/.pnpm/@nx+js@19.
|
|
274517
|
+
// 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
|
|
274517
274518
|
var require_create_ts_config = __commonJS({
|
|
274518
|
-
"node_modules/.pnpm/@nx+js@19.
|
|
274519
|
+
"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) {
|
|
274519
274520
|
"use strict";
|
|
274520
274521
|
Object.defineProperty(exports2, "__esModule", { value: true });
|
|
274521
274522
|
exports2.extractTsConfigBase = exports2.tsConfigBaseOptions = void 0;
|
|
@@ -274567,9 +274568,9 @@ var require_create_ts_config = __commonJS({
|
|
|
274567
274568
|
}
|
|
274568
274569
|
});
|
|
274569
274570
|
|
|
274570
|
-
// node_modules/.pnpm/@nx+js@19.
|
|
274571
|
+
// 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
|
|
274571
274572
|
var require_ast_utils = __commonJS({
|
|
274572
|
-
"node_modules/.pnpm/@nx+js@19.
|
|
274573
|
+
"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) {
|
|
274573
274574
|
"use strict";
|
|
274574
274575
|
Object.defineProperty(exports2, "__esModule", { value: true });
|
|
274575
274576
|
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;
|
|
@@ -274808,9 +274809,9 @@ ${opts.methodHeader} {}
|
|
|
274808
274809
|
}
|
|
274809
274810
|
});
|
|
274810
274811
|
|
|
274811
|
-
// node_modules/.pnpm/@nx+js@19.
|
|
274812
|
+
// 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
|
|
274812
274813
|
var require_watch_for_single_file_changes = __commonJS({
|
|
274813
|
-
"node_modules/.pnpm/@nx+js@19.
|
|
274814
|
+
"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) {
|
|
274814
274815
|
"use strict";
|
|
274815
274816
|
Object.defineProperty(exports2, "__esModule", { value: true });
|
|
274816
274817
|
exports2.watchForSingleFileChanges = void 0;
|
|
@@ -276947,9 +276948,9 @@ var require_lib3 = __commonJS({
|
|
|
276947
276948
|
}
|
|
276948
276949
|
});
|
|
276949
276950
|
|
|
276950
|
-
// node_modules/.pnpm/@nx+js@19.
|
|
276951
|
+
// 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
|
|
276951
276952
|
var require_get_main_file_dir = __commonJS({
|
|
276952
|
-
"node_modules/.pnpm/@nx+js@19.
|
|
276953
|
+
"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) {
|
|
276953
276954
|
"use strict";
|
|
276954
276955
|
Object.defineProperty(exports2, "__esModule", { value: true });
|
|
276955
276956
|
exports2.getRelativeDirectoryToProjectRoot = void 0;
|
|
@@ -276964,9 +276965,9 @@ var require_get_main_file_dir = __commonJS({
|
|
|
276964
276965
|
}
|
|
276965
276966
|
});
|
|
276966
276967
|
|
|
276967
|
-
// node_modules/.pnpm/@nx+js@19.
|
|
276968
|
+
// 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
|
|
276968
276969
|
var require_update_package_json = __commonJS({
|
|
276969
|
-
"node_modules/.pnpm/@nx+js@19.
|
|
276970
|
+
"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) {
|
|
276970
276971
|
"use strict";
|
|
276971
276972
|
Object.defineProperty(exports2, "__esModule", { value: true });
|
|
276972
276973
|
exports2.getUpdatedPackageJsonContent = exports2.getExports = exports2.updatePackageJson = void 0;
|
|
@@ -277128,9 +277129,9 @@ var require_update_package_json = __commonJS({
|
|
|
277128
277129
|
}
|
|
277129
277130
|
});
|
|
277130
277131
|
|
|
277131
|
-
// node_modules/.pnpm/@nx+js@19.
|
|
277132
|
+
// 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
|
|
277132
277133
|
var require_buildable_libs_utils = __commonJS({
|
|
277133
|
-
"node_modules/.pnpm/@nx+js@19.
|
|
277134
|
+
"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) {
|
|
277134
277135
|
"use strict";
|
|
277135
277136
|
Object.defineProperty(exports2, "__esModule", { value: true });
|
|
277136
277137
|
exports2.updateBuildableProjectPackageJsonDependencies = exports2.updatePaths = exports2.findMissingBuildDependencies = exports2.checkDependentProjectsHaveBeenBuilt = exports2.createTmpTsConfig = exports2.computeCompilerOptionsPaths = exports2.calculateDependenciesFromTaskGraph = exports2.calculateProjectDependencies = exports2.calculateProjectBuildableDependencies = void 0;
|
|
@@ -277456,9 +277457,9 @@ var require_buildable_libs_utils = __commonJS({
|
|
|
277456
277457
|
}
|
|
277457
277458
|
});
|
|
277458
277459
|
|
|
277459
|
-
// node_modules/.pnpm/@nx+js@19.
|
|
277460
|
+
// 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
|
|
277460
277461
|
var require_check_dependencies = __commonJS({
|
|
277461
|
-
"node_modules/.pnpm/@nx+js@19.
|
|
277462
|
+
"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) {
|
|
277462
277463
|
"use strict";
|
|
277463
277464
|
Object.defineProperty(exports2, "__esModule", { value: true });
|
|
277464
277465
|
exports2.checkDependencies = void 0;
|
|
@@ -277485,9 +277486,9 @@ var require_check_dependencies = __commonJS({
|
|
|
277485
277486
|
}
|
|
277486
277487
|
});
|
|
277487
277488
|
|
|
277488
|
-
// node_modules/.pnpm/@nx+js@19.
|
|
277489
|
+
// 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
|
|
277489
277490
|
var require_package_json = __commonJS({
|
|
277490
|
-
"node_modules/.pnpm/@nx+js@19.
|
|
277491
|
+
"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) {
|
|
277491
277492
|
"use strict";
|
|
277492
277493
|
Object.defineProperty(exports2, "__esModule", { value: true });
|
|
277493
277494
|
exports2.copyPackageJson = void 0;
|
|
@@ -284826,9 +284827,9 @@ var require_out4 = __commonJS({
|
|
|
284826
284827
|
}
|
|
284827
284828
|
});
|
|
284828
284829
|
|
|
284829
|
-
// node_modules/.pnpm/@nx+js@19.
|
|
284830
|
+
// 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
|
|
284830
284831
|
var require_copy_assets_handler = __commonJS({
|
|
284831
|
-
"node_modules/.pnpm/@nx+js@19.
|
|
284832
|
+
"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) {
|
|
284832
284833
|
"use strict";
|
|
284833
284834
|
Object.defineProperty(exports2, "__esModule", { value: true });
|
|
284834
284835
|
exports2.CopyAssetsHandler = exports2.defaultFileEventHandler = void 0;
|
|
@@ -284976,9 +284977,9 @@ var require_copy_assets_handler = __commonJS({
|
|
|
284976
284977
|
}
|
|
284977
284978
|
});
|
|
284978
284979
|
|
|
284979
|
-
// node_modules/.pnpm/@nx+js@19.
|
|
284980
|
+
// 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
|
|
284980
284981
|
var require_assets = __commonJS({
|
|
284981
|
-
"node_modules/.pnpm/@nx+js@19.
|
|
284982
|
+
"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) {
|
|
284982
284983
|
"use strict";
|
|
284983
284984
|
Object.defineProperty(exports2, "__esModule", { value: true });
|
|
284984
284985
|
exports2.copyAssets = void 0;
|
|
@@ -285008,9 +285009,9 @@ var require_assets = __commonJS({
|
|
|
285008
285009
|
}
|
|
285009
285010
|
});
|
|
285010
285011
|
|
|
285011
|
-
// node_modules/.pnpm/@nx+js@19.
|
|
285012
|
+
// 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
|
|
285012
285013
|
var require_create_entry_points = __commonJS({
|
|
285013
|
-
"node_modules/.pnpm/@nx+js@19.
|
|
285014
|
+
"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) {
|
|
285014
285015
|
"use strict";
|
|
285015
285016
|
Object.defineProperty(exports2, "__esModule", { value: true });
|
|
285016
285017
|
exports2.createEntryPoints = void 0;
|
|
@@ -285032,9 +285033,9 @@ var require_create_entry_points = __commonJS({
|
|
|
285032
285033
|
}
|
|
285033
285034
|
});
|
|
285034
285035
|
|
|
285035
|
-
// node_modules/.pnpm/@nx+js@19.
|
|
285036
|
+
// 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
|
|
285036
285037
|
var require_add_swc_config = __commonJS({
|
|
285037
|
-
"node_modules/.pnpm/@nx+js@19.
|
|
285038
|
+
"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) {
|
|
285038
285039
|
"use strict";
|
|
285039
285040
|
Object.defineProperty(exports2, "__esModule", { value: true });
|
|
285040
285041
|
exports2.addSwcConfig = exports2.defaultExclude = void 0;
|
|
@@ -285079,9 +285080,9 @@ var require_add_swc_config = __commonJS({
|
|
|
285079
285080
|
}
|
|
285080
285081
|
});
|
|
285081
285082
|
|
|
285082
|
-
// node_modules/.pnpm/@nx+js@19.
|
|
285083
|
+
// 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
|
|
285083
285084
|
var require_add_swc_dependencies = __commonJS({
|
|
285084
|
-
"node_modules/.pnpm/@nx+js@19.
|
|
285085
|
+
"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) {
|
|
285085
285086
|
"use strict";
|
|
285086
285087
|
Object.defineProperty(exports2, "__esModule", { value: true });
|
|
285087
285088
|
exports2.addSwcRegisterDependencies = exports2.addSwcDependencies = void 0;
|
|
@@ -286927,9 +286928,9 @@ var require_semver2 = __commonJS({
|
|
|
286927
286928
|
}
|
|
286928
286929
|
});
|
|
286929
286930
|
|
|
286930
|
-
// node_modules/.pnpm/@nx+js@19.
|
|
286931
|
+
// 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
|
|
286931
286932
|
var require_init = __commonJS({
|
|
286932
|
-
"node_modules/.pnpm/@nx+js@19.
|
|
286933
|
+
"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) {
|
|
286933
286934
|
"use strict";
|
|
286934
286935
|
Object.defineProperty(exports2, "__esModule", { value: true });
|
|
286935
286936
|
exports2.initGenerator = void 0;
|
|
@@ -287008,6 +287009,7 @@ var require_init = __commonJS({
|
|
|
287008
287009
|
/dist
|
|
287009
287010
|
/coverage
|
|
287010
287011
|
/.nx/cache
|
|
287012
|
+
/.nx/workspace-data
|
|
287011
287013
|
`);
|
|
287012
287014
|
}
|
|
287013
287015
|
if (tree.exists(".vscode/extensions.json")) {
|
|
@@ -287038,9 +287040,9 @@ var require_init = __commonJS({
|
|
|
287038
287040
|
}
|
|
287039
287041
|
});
|
|
287040
287042
|
|
|
287041
|
-
// node_modules/.pnpm/@nx+js@19.
|
|
287043
|
+
// 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
|
|
287042
287044
|
var require_generator = __commonJS({
|
|
287043
|
-
"node_modules/.pnpm/@nx+js@19.
|
|
287045
|
+
"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) {
|
|
287044
287046
|
"use strict";
|
|
287045
287047
|
Object.defineProperty(exports2, "__esModule", { value: true });
|
|
287046
287048
|
exports2.setupVerdaccio = void 0;
|
|
@@ -287097,9 +287099,9 @@ var require_generator = __commonJS({
|
|
|
287097
287099
|
}
|
|
287098
287100
|
});
|
|
287099
287101
|
|
|
287100
|
-
// node_modules/.pnpm/@nx+eslint@19.
|
|
287102
|
+
// 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
|
|
287101
287103
|
var require_flat_config = __commonJS({
|
|
287102
|
-
"node_modules/.pnpm/@nx+eslint@19.
|
|
287104
|
+
"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) {
|
|
287103
287105
|
"use strict";
|
|
287104
287106
|
Object.defineProperty(exports2, "__esModule", { value: true });
|
|
287105
287107
|
exports2.useFlatConfig = void 0;
|
|
@@ -287110,9 +287112,9 @@ var require_flat_config = __commonJS({
|
|
|
287110
287112
|
}
|
|
287111
287113
|
});
|
|
287112
287114
|
|
|
287113
|
-
// node_modules/.pnpm/@nx+eslint@19.
|
|
287115
|
+
// 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
|
|
287114
287116
|
var require_path_utils = __commonJS({
|
|
287115
|
-
"node_modules/.pnpm/@nx+eslint@19.
|
|
287117
|
+
"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) {
|
|
287116
287118
|
"use strict";
|
|
287117
287119
|
Object.defineProperty(exports2, "__esModule", { value: true });
|
|
287118
287120
|
exports2.mapFilePath = exports2.updateFiles = void 0;
|
|
@@ -287142,9 +287144,9 @@ var require_path_utils = __commonJS({
|
|
|
287142
287144
|
}
|
|
287143
287145
|
});
|
|
287144
287146
|
|
|
287145
|
-
// node_modules/.pnpm/@nx+eslint@19.
|
|
287147
|
+
// 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
|
|
287146
287148
|
var require_ast_utils2 = __commonJS({
|
|
287147
|
-
"node_modules/.pnpm/@nx+eslint@19.
|
|
287149
|
+
"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) {
|
|
287148
287150
|
"use strict";
|
|
287149
287151
|
Object.defineProperty(exports2, "__esModule", { value: true });
|
|
287150
287152
|
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;
|
|
@@ -287472,7 +287474,7 @@ ${insert},`
|
|
|
287472
287474
|
if (result.includes("const compat = new FlatCompat")) {
|
|
287473
287475
|
return result;
|
|
287474
287476
|
}
|
|
287475
|
-
result = addImportToFlatConfig(result, "FlatCompat", "@eslint/eslintrc");
|
|
287477
|
+
result = addImportToFlatConfig(result, ["FlatCompat"], "@eslint/eslintrc");
|
|
287476
287478
|
const index = result.indexOf("module.exports");
|
|
287477
287479
|
return (0, devkit_1.applyChangesToString)(result, [
|
|
287478
287480
|
{
|
|
@@ -287619,33 +287621,79 @@ const compat = new FlatCompat({
|
|
|
287619
287621
|
}
|
|
287620
287622
|
});
|
|
287621
287623
|
|
|
287622
|
-
// node_modules/.pnpm/@nx+eslint@19.
|
|
287624
|
+
// 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
|
|
287623
287625
|
var require_config_file = __commonJS({
|
|
287624
|
-
"node_modules/.pnpm/@nx+eslint@19.
|
|
287626
|
+
"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) {
|
|
287625
287627
|
"use strict";
|
|
287626
287628
|
Object.defineProperty(exports2, "__esModule", { value: true });
|
|
287627
|
-
exports2.isFlatConfig = exports2.baseEsLintFlatConfigFile = exports2.baseEsLintConfigFile = exports2.ESLINT_CONFIG_FILENAMES = void 0;
|
|
287628
|
-
|
|
287629
|
+
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;
|
|
287630
|
+
var fs_1 = require("fs");
|
|
287631
|
+
var path_1 = require("path");
|
|
287632
|
+
exports2.ESLINT_FLAT_CONFIG_FILENAMES = ["eslint.config.js"];
|
|
287633
|
+
exports2.ESLINT_OLD_CONFIG_FILENAMES = [
|
|
287629
287634
|
".eslintrc",
|
|
287630
287635
|
".eslintrc.js",
|
|
287631
287636
|
".eslintrc.cjs",
|
|
287632
287637
|
".eslintrc.yaml",
|
|
287633
287638
|
".eslintrc.yml",
|
|
287634
|
-
".eslintrc.json"
|
|
287635
|
-
|
|
287639
|
+
".eslintrc.json"
|
|
287640
|
+
];
|
|
287641
|
+
exports2.ESLINT_CONFIG_FILENAMES = [
|
|
287642
|
+
...exports2.ESLINT_OLD_CONFIG_FILENAMES,
|
|
287643
|
+
...exports2.ESLINT_FLAT_CONFIG_FILENAMES
|
|
287636
287644
|
];
|
|
287637
287645
|
exports2.baseEsLintConfigFile = ".eslintrc.base.json";
|
|
287638
287646
|
exports2.baseEsLintFlatConfigFile = "eslint.base.config.js";
|
|
287639
287647
|
function isFlatConfig(configFilePath) {
|
|
287640
|
-
|
|
287648
|
+
const configFileName = (0, path_1.basename)(configFilePath);
|
|
287649
|
+
return exports2.ESLINT_FLAT_CONFIG_FILENAMES.includes(configFileName);
|
|
287641
287650
|
}
|
|
287642
287651
|
exports2.isFlatConfig = isFlatConfig;
|
|
287652
|
+
function findFlatConfigFile(directory, workspaceRoot3) {
|
|
287653
|
+
let currentDir = (0, path_1.resolve)(workspaceRoot3, directory);
|
|
287654
|
+
if (currentDir === workspaceRoot3) {
|
|
287655
|
+
return getConfigFileInDirectory(currentDir, exports2.ESLINT_FLAT_CONFIG_FILENAMES);
|
|
287656
|
+
}
|
|
287657
|
+
while (currentDir !== workspaceRoot3) {
|
|
287658
|
+
const configFilePath = getConfigFileInDirectory(currentDir, exports2.ESLINT_FLAT_CONFIG_FILENAMES);
|
|
287659
|
+
if (configFilePath) {
|
|
287660
|
+
return configFilePath;
|
|
287661
|
+
}
|
|
287662
|
+
currentDir = (0, path_1.dirname)(currentDir);
|
|
287663
|
+
}
|
|
287664
|
+
return null;
|
|
287665
|
+
}
|
|
287666
|
+
exports2.findFlatConfigFile = findFlatConfigFile;
|
|
287667
|
+
function findOldConfigFile(filePathOrDirectory, workspaceRoot3) {
|
|
287668
|
+
let currentDir = (0, fs_1.statSync)(filePathOrDirectory).isDirectory() ? filePathOrDirectory : (0, path_1.dirname)(filePathOrDirectory);
|
|
287669
|
+
if (currentDir === workspaceRoot3) {
|
|
287670
|
+
return getConfigFileInDirectory(currentDir, exports2.ESLINT_OLD_CONFIG_FILENAMES);
|
|
287671
|
+
}
|
|
287672
|
+
while (currentDir !== workspaceRoot3) {
|
|
287673
|
+
const configFilePath = getConfigFileInDirectory(currentDir, exports2.ESLINT_OLD_CONFIG_FILENAMES);
|
|
287674
|
+
if (configFilePath) {
|
|
287675
|
+
return configFilePath;
|
|
287676
|
+
}
|
|
287677
|
+
currentDir = (0, path_1.dirname)(currentDir);
|
|
287678
|
+
}
|
|
287679
|
+
return null;
|
|
287680
|
+
}
|
|
287681
|
+
exports2.findOldConfigFile = findOldConfigFile;
|
|
287682
|
+
function getConfigFileInDirectory(directory, candidateFileNames) {
|
|
287683
|
+
for (const filename of candidateFileNames) {
|
|
287684
|
+
const filePath = (0, path_1.join)(directory, filename);
|
|
287685
|
+
if ((0, fs_1.existsSync)(filePath)) {
|
|
287686
|
+
return filePath;
|
|
287687
|
+
}
|
|
287688
|
+
}
|
|
287689
|
+
return null;
|
|
287690
|
+
}
|
|
287643
287691
|
}
|
|
287644
287692
|
});
|
|
287645
287693
|
|
|
287646
|
-
// node_modules/.pnpm/@nx+eslint@19.
|
|
287694
|
+
// 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
|
|
287647
287695
|
var require_eslint_file = __commonJS({
|
|
287648
|
-
"node_modules/.pnpm/@nx+eslint@19.
|
|
287696
|
+
"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) {
|
|
287649
287697
|
"use strict";
|
|
287650
287698
|
Object.defineProperty(exports2, "__esModule", { value: true });
|
|
287651
287699
|
exports2.getPluginImport = exports2.addIgnoresToLintConfig = exports2.addPluginsToLintConfig = exports2.addExtendsToLintConfig = exports2.replaceOverridesInLintConfig = exports2.lintConfigHasOverride = exports2.updateOverrideInLintConfig = exports2.addOverrideToLintConfig = exports2.updateRelativePathsInConfig = exports2.isEslintConfigSupported = exports2.findEslintFile = void 0;
|
|
@@ -287815,7 +287863,7 @@ var require_eslint_file = __commonJS({
|
|
|
287815
287863
|
content = (0, ast_utils_1.removeOverridesFromLintConfig)(content);
|
|
287816
287864
|
overrides.forEach((override) => {
|
|
287817
287865
|
const flatOverride = (0, ast_utils_1.generateFlatOverride)(override);
|
|
287818
|
-
(0, ast_utils_1.addBlockToFlatConfigExport)(content, flatOverride);
|
|
287866
|
+
content = (0, ast_utils_1.addBlockToFlatConfigExport)(content, flatOverride);
|
|
287819
287867
|
});
|
|
287820
287868
|
tree.write(fileName, content);
|
|
287821
287869
|
} else {
|
|
@@ -287834,7 +287882,9 @@ var require_eslint_file = __commonJS({
|
|
|
287834
287882
|
const pluginExtends = (0, ast_utils_1.generatePluginExtendsElement)(plugins);
|
|
287835
287883
|
let content = tree.read(fileName, "utf8");
|
|
287836
287884
|
content = (0, ast_utils_1.addCompatToFlatConfig)(content);
|
|
287837
|
-
tree.write(fileName, (0, ast_utils_1.addBlockToFlatConfigExport)(content, pluginExtends
|
|
287885
|
+
tree.write(fileName, (0, ast_utils_1.addBlockToFlatConfigExport)(content, pluginExtends, {
|
|
287886
|
+
insertAtTheEnd: false
|
|
287887
|
+
}));
|
|
287838
287888
|
} else {
|
|
287839
287889
|
const fileName = (0, devkit_1.joinPathFragments)(root, ".eslintrc.json");
|
|
287840
287890
|
(0, devkit_1.updateJson)(tree, fileName, (json) => {
|
|
@@ -287910,9 +287960,9 @@ var require_eslint_file = __commonJS({
|
|
|
287910
287960
|
}
|
|
287911
287961
|
});
|
|
287912
287962
|
|
|
287913
|
-
// node_modules/.pnpm/@nx+js@19.
|
|
287963
|
+
// 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
|
|
287914
287964
|
var require_library = __commonJS({
|
|
287915
|
-
"node_modules/.pnpm/@nx+js@19.
|
|
287965
|
+
"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) {
|
|
287916
287966
|
"use strict";
|
|
287917
287967
|
Object.defineProperty(exports2, "__esModule", { value: true });
|
|
287918
287968
|
exports2.addLint = exports2.libraryGeneratorInternal = exports2.libraryGenerator = void 0;
|
|
@@ -287956,6 +288006,14 @@ var require_library = __commonJS({
|
|
|
287956
288006
|
if (options.publishable) {
|
|
287957
288007
|
tasks.push(await (0, generator_1.default)(tree, { ...options, skipFormat: true }));
|
|
287958
288008
|
}
|
|
288009
|
+
if (options.bundler === "rollup") {
|
|
288010
|
+
const { configurationGenerator } = (0, devkit_1.ensurePackage)("@nx/rollup", versions_1.nxVersion);
|
|
288011
|
+
await configurationGenerator(tree, {
|
|
288012
|
+
project: options.name,
|
|
288013
|
+
compiler: "swc",
|
|
288014
|
+
format: ["cjs", "esm"]
|
|
288015
|
+
});
|
|
288016
|
+
}
|
|
287959
288017
|
if (options.bundler === "vite") {
|
|
287960
288018
|
const { viteConfigurationGenerator, createOrEditViteConfig } = (0, devkit_1.ensurePackage)("@nx/vite", versions_1.nxVersion);
|
|
287961
288019
|
const viteTask = await viteConfigurationGenerator(tree, {
|
|
@@ -288034,35 +288092,31 @@ var require_library = __commonJS({
|
|
|
288034
288092
|
tags: options.parsedTags
|
|
288035
288093
|
};
|
|
288036
288094
|
if (options.bundler && options.bundler !== "none" && options.config !== "npm-scripts") {
|
|
288037
|
-
|
|
288038
|
-
|
|
288039
|
-
|
|
288040
|
-
|
|
288041
|
-
|
|
288042
|
-
|
|
288043
|
-
|
|
288044
|
-
|
|
288045
|
-
|
|
288046
|
-
|
|
288047
|
-
|
|
288095
|
+
if (options.bundler !== "rollup") {
|
|
288096
|
+
const outputPath = getOutputPath2(options);
|
|
288097
|
+
const executor = getBuildExecutor(options.bundler);
|
|
288098
|
+
(0, add_build_target_defaults_1.addBuildTargetDefaults)(tree, executor);
|
|
288099
|
+
projectConfiguration.targets.build = {
|
|
288100
|
+
executor,
|
|
288101
|
+
outputs: ["{options.outputPath}"],
|
|
288102
|
+
options: {
|
|
288103
|
+
outputPath,
|
|
288104
|
+
main: `${options.projectRoot}/src/index` + (options.js ? ".js" : ".ts"),
|
|
288105
|
+
tsConfig: `${options.projectRoot}/tsconfig.lib.json`,
|
|
288106
|
+
assets: []
|
|
288107
|
+
}
|
|
288108
|
+
};
|
|
288109
|
+
if (options.bundler === "esbuild") {
|
|
288110
|
+
projectConfiguration.targets.build.options.generatePackageJson = true;
|
|
288111
|
+
projectConfiguration.targets.build.options.format = ["cjs"];
|
|
288112
|
+
}
|
|
288113
|
+
if (options.bundler === "swc" && options.skipTypeCheck) {
|
|
288114
|
+
projectConfiguration.targets.build.options.skipTypeCheck = true;
|
|
288115
|
+
}
|
|
288116
|
+
if (!options.minimal) {
|
|
288117
|
+
projectConfiguration.targets.build.options.assets ??= [];
|
|
288118
|
+
projectConfiguration.targets.build.options.assets.push((0, devkit_1.joinPathFragments)(options.projectRoot, "*.md"));
|
|
288048
288119
|
}
|
|
288049
|
-
};
|
|
288050
|
-
if (options.bundler === "esbuild") {
|
|
288051
|
-
projectConfiguration.targets.build.options.generatePackageJson = true;
|
|
288052
|
-
projectConfiguration.targets.build.options.format = ["cjs"];
|
|
288053
|
-
}
|
|
288054
|
-
if (options.bundler === "rollup") {
|
|
288055
|
-
projectConfiguration.targets.build.options.project = `${options.projectRoot}/package.json`;
|
|
288056
|
-
projectConfiguration.targets.build.options.compiler = "swc";
|
|
288057
|
-
projectConfiguration.targets.build.options.format = ["cjs", "esm"];
|
|
288058
|
-
}
|
|
288059
|
-
if (options.bundler === "swc" && options.skipTypeCheck) {
|
|
288060
|
-
projectConfiguration.targets.build.options.skipTypeCheck = true;
|
|
288061
|
-
}
|
|
288062
|
-
if (!options.minimal && // TODO(jack): assets for rollup have validation that we need to fix (assets must be under <project-root>/src)
|
|
288063
|
-
options.bundler !== "rollup") {
|
|
288064
|
-
projectConfiguration.targets.build.options.assets ??= [];
|
|
288065
|
-
projectConfiguration.targets.build.options.assets.push((0, devkit_1.joinPathFragments)(options.projectRoot, "*.md"));
|
|
288066
288120
|
}
|
|
288067
288121
|
if (options.publishable) {
|
|
288068
288122
|
const packageRoot = (0, path_1.join)(defaultOutputDirectory, "{projectRoot}");
|
|
@@ -288108,7 +288162,9 @@ var require_library = __commonJS({
|
|
|
288108
288162
|
unitTestRunner: options.unitTestRunner,
|
|
288109
288163
|
setParserOptionsProject: options.setParserOptionsProject,
|
|
288110
288164
|
rootProject: options.rootProject,
|
|
288111
|
-
addPlugin: options.addPlugin
|
|
288165
|
+
addPlugin: options.addPlugin,
|
|
288166
|
+
// Since the build target is inferred now, we need to let the generator know to add @nx/dependency-checks regardless.
|
|
288167
|
+
addPackageJsonDependencyChecks: options.bundler !== "none"
|
|
288112
288168
|
});
|
|
288113
288169
|
const {
|
|
288114
288170
|
addOverrideToLintConfig,
|
|
@@ -288605,9 +288661,9 @@ var require_library = __commonJS({
|
|
|
288605
288661
|
}
|
|
288606
288662
|
});
|
|
288607
288663
|
|
|
288608
|
-
// node_modules/.pnpm/@nx+js@19.
|
|
288664
|
+
// 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
|
|
288609
288665
|
var require_is_valid_variable = __commonJS({
|
|
288610
|
-
"node_modules/.pnpm/@nx+js@19.
|
|
288666
|
+
"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) {
|
|
288611
288667
|
"use strict";
|
|
288612
288668
|
Object.defineProperty(exports2, "__esModule", { value: true });
|
|
288613
288669
|
exports2.isValidVariable = void 0;
|
|
@@ -288641,9 +288697,9 @@ var require_is_valid_variable = __commonJS({
|
|
|
288641
288697
|
}
|
|
288642
288698
|
});
|
|
288643
288699
|
|
|
288644
|
-
// node_modules/.pnpm/@nx+js@19.
|
|
288700
|
+
// 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
|
|
288645
288701
|
var require_src = __commonJS({
|
|
288646
|
-
"node_modules/.pnpm/@nx+js@19.
|
|
288702
|
+
"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) {
|
|
288647
288703
|
"use strict";
|
|
288648
288704
|
Object.defineProperty(exports2, "__esModule", { value: true });
|
|
288649
288705
|
exports2.createPackageJson = exports2.getLockFileName = exports2.createLockFile = exports2.isValidVariable = exports2.setupVerdaccio = exports2.initGenerator = exports2.libraryGenerator = void 0;
|
|
@@ -288691,12 +288747,12 @@ var require_src = __commonJS({
|
|
|
288691
288747
|
}
|
|
288692
288748
|
});
|
|
288693
288749
|
|
|
288694
|
-
// node_modules/.pnpm/@nx+eslint@19.
|
|
288750
|
+
// 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
|
|
288695
288751
|
var require_package3 = __commonJS({
|
|
288696
|
-
"node_modules/.pnpm/@nx+eslint@19.
|
|
288752
|
+
"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) {
|
|
288697
288753
|
module2.exports = {
|
|
288698
288754
|
name: "@nx/eslint",
|
|
288699
|
-
version: "19.
|
|
288755
|
+
version: "19.2.0",
|
|
288700
288756
|
private: false,
|
|
288701
288757
|
description: "The ESLint plugin for Nx contains executors, generators and utilities used for linting JavaScript/TypeScript projects within an Nx workspace.",
|
|
288702
288758
|
repository: {
|
|
@@ -288731,12 +288787,12 @@ var require_package3 = __commonJS({
|
|
|
288731
288787
|
eslint: "^8.0.0 || ^9.0.0"
|
|
288732
288788
|
},
|
|
288733
288789
|
dependencies: {
|
|
288734
|
-
"@nx/devkit": "19.
|
|
288735
|
-
"@nx/js": "19.
|
|
288790
|
+
"@nx/devkit": "19.2.0",
|
|
288791
|
+
"@nx/js": "19.2.0",
|
|
288736
288792
|
semver: "^7.5.3",
|
|
288737
288793
|
tslib: "^2.3.0",
|
|
288738
288794
|
typescript: "~5.4.2",
|
|
288739
|
-
"@nx/linter": "19.
|
|
288795
|
+
"@nx/linter": "19.2.0"
|
|
288740
288796
|
},
|
|
288741
288797
|
peerDependenciesMeta: {
|
|
288742
288798
|
"@zkochan/js-yaml": {
|
|
@@ -288751,9 +288807,9 @@ var require_package3 = __commonJS({
|
|
|
288751
288807
|
}
|
|
288752
288808
|
});
|
|
288753
288809
|
|
|
288754
|
-
// node_modules/.pnpm/@nx+eslint@19.
|
|
288810
|
+
// 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
|
|
288755
288811
|
var require_versions2 = __commonJS({
|
|
288756
|
-
"node_modules/.pnpm/@nx+eslint@19.
|
|
288812
|
+
"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) {
|
|
288757
288813
|
"use strict";
|
|
288758
288814
|
Object.defineProperty(exports2, "__esModule", { value: true });
|
|
288759
288815
|
exports2.typescriptESLintVersion = exports2.eslintConfigPrettierVersion = exports2.eslintrcVersion = exports2.eslintVersion = exports2.nxVersion = void 0;
|
|
@@ -372655,9 +372711,9 @@ var require_unsupported_api = __commonJS({
|
|
|
372655
372711
|
}
|
|
372656
372712
|
});
|
|
372657
372713
|
|
|
372658
|
-
// node_modules/.pnpm/@nx+eslint@19.
|
|
372714
|
+
// 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
|
|
372659
372715
|
var require_resolve_eslint_class = __commonJS({
|
|
372660
|
-
"node_modules/.pnpm/@nx+eslint@19.
|
|
372716
|
+
"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) {
|
|
372661
372717
|
"use strict";
|
|
372662
372718
|
Object.defineProperty(exports2, "__esModule", { value: true });
|
|
372663
372719
|
exports2.resolveESLintClass = void 0;
|
|
@@ -372680,12 +372736,13 @@ var require_resolve_eslint_class = __commonJS({
|
|
|
372680
372736
|
}
|
|
372681
372737
|
});
|
|
372682
372738
|
|
|
372683
|
-
// node_modules/.pnpm/@nx+eslint@19.
|
|
372739
|
+
// 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
|
|
372684
372740
|
var require_plugin = __commonJS({
|
|
372685
|
-
"node_modules/.pnpm/@nx+eslint@19.
|
|
372741
|
+
"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) {
|
|
372686
372742
|
"use strict";
|
|
372687
372743
|
Object.defineProperty(exports2, "__esModule", { value: true });
|
|
372688
|
-
exports2.createNodes = void 0;
|
|
372744
|
+
exports2.createNodes = exports2.createNodesV2 = void 0;
|
|
372745
|
+
var devkit_1 = require("@nx/devkit");
|
|
372689
372746
|
var node_fs_1 = require("node:fs");
|
|
372690
372747
|
var node_path_1 = require("node:path");
|
|
372691
372748
|
var globs_1 = require("nx/src/utils/globs");
|
|
@@ -372693,59 +372750,93 @@ var require_plugin = __commonJS({
|
|
|
372693
372750
|
var config_file_1 = require_config_file();
|
|
372694
372751
|
var resolve_eslint_class_1 = require_resolve_eslint_class();
|
|
372695
372752
|
var semver_1 = require_semver2();
|
|
372753
|
+
var cache_directory_1 = require("nx/src/utils/cache-directory");
|
|
372754
|
+
var file_hasher_1 = require("nx/src/hasher/file-hasher");
|
|
372755
|
+
var calculate_hash_for_create_nodes_1 = require("@nx/devkit/src/utils/calculate-hash-for-create-nodes");
|
|
372696
372756
|
var DEFAULT_EXTENSIONS2 = ["ts", "tsx", "js", "jsx", "html", "vue"];
|
|
372697
|
-
|
|
372698
|
-
(
|
|
372699
|
-
|
|
372700
|
-
|
|
372701
|
-
|
|
372702
|
-
|
|
372703
|
-
|
|
372704
|
-
|
|
372705
|
-
|
|
372706
|
-
|
|
372707
|
-
|
|
372708
|
-
|
|
372709
|
-
|
|
372710
|
-
|
|
372711
|
-
|
|
372712
|
-
|
|
372713
|
-
|
|
372714
|
-
|
|
372715
|
-
|
|
372716
|
-
|
|
372717
|
-
|
|
372718
|
-
|
|
372719
|
-
|
|
372720
|
-
|
|
372721
|
-
|
|
372722
|
-
|
|
372723
|
-
|
|
372724
|
-
|
|
372725
|
-
|
|
372726
|
-
|
|
372727
|
-
|
|
372728
|
-
|
|
372729
|
-
|
|
372730
|
-
|
|
372731
|
-
|
|
372732
|
-
|
|
372733
|
-
|
|
372734
|
-
|
|
372735
|
-
|
|
372736
|
-
|
|
372737
|
-
|
|
372738
|
-
|
|
372739
|
-
|
|
372740
|
-
|
|
372741
|
-
|
|
372742
|
-
|
|
372757
|
+
var ESLINT_CONFIG_GLOB = (0, globs_1.combineGlobPatterns)([
|
|
372758
|
+
...config_file_1.ESLINT_CONFIG_FILENAMES.map((f2) => `**/${f2}`),
|
|
372759
|
+
config_file_1.baseEsLintConfigFile,
|
|
372760
|
+
config_file_1.baseEsLintFlatConfigFile
|
|
372761
|
+
]);
|
|
372762
|
+
function readTargetsCache(cachePath) {
|
|
372763
|
+
return (0, node_fs_1.existsSync)(cachePath) ? (0, devkit_1.readJsonFile)(cachePath) : {};
|
|
372764
|
+
}
|
|
372765
|
+
function writeTargetsToCache(cachePath, results) {
|
|
372766
|
+
(0, devkit_1.writeJsonFile)(cachePath, results);
|
|
372767
|
+
}
|
|
372768
|
+
var internalCreateNodes = async (configFilePath, options, context, projectsCache) => {
|
|
372769
|
+
options = normalizeOptions2(options);
|
|
372770
|
+
const configDir = (0, node_path_1.dirname)(configFilePath);
|
|
372771
|
+
context.configFiles = context.configFiles ?? [];
|
|
372772
|
+
const eslintRoots = /* @__PURE__ */ new Set();
|
|
372773
|
+
const nestedEslintRootPatterns = [];
|
|
372774
|
+
for (const configFile of context.configFiles) {
|
|
372775
|
+
const eslintRootDir = (0, node_path_1.dirname)(configFile);
|
|
372776
|
+
eslintRoots.add(eslintRootDir);
|
|
372777
|
+
if (eslintRootDir !== configDir && isSubDir(configDir, eslintRootDir)) {
|
|
372778
|
+
nestedEslintRootPatterns.push(`${eslintRootDir}/**/*`);
|
|
372779
|
+
}
|
|
372780
|
+
}
|
|
372781
|
+
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);
|
|
372782
|
+
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);
|
|
372783
|
+
const excludePatterns = dedupedProjectRoots.map((root) => `${root}/**/*`);
|
|
372784
|
+
const ESLint = await (0, resolve_eslint_class_1.resolveESLintClass)((0, config_file_1.isFlatConfig)(configFilePath));
|
|
372785
|
+
const eslintVersion = ESLint.version;
|
|
372786
|
+
const childProjectRoots = /* @__PURE__ */ new Set();
|
|
372787
|
+
const projects = {};
|
|
372788
|
+
await Promise.all(dedupedProjectRoots.map(async (childProjectRoot, index) => {
|
|
372789
|
+
const nestedProjectRootPatterns = excludePatterns.slice(index + 1);
|
|
372790
|
+
const lintableFiles = await (0, workspace_context_1.globWithWorkspaceContext)(
|
|
372791
|
+
context.workspaceRoot,
|
|
372792
|
+
[(0, node_path_1.join)(childProjectRoot, `**/*.{${options.extensions.join(",")}}`)],
|
|
372793
|
+
// exclude nested eslint roots and nested project roots
|
|
372794
|
+
[...nestedEslintRootPatterns, ...nestedProjectRootPatterns]
|
|
372795
|
+
);
|
|
372796
|
+
const parentConfigs = context.configFiles.filter((eslintConfig) => isSubDir(childProjectRoot, (0, node_path_1.dirname)(eslintConfig)));
|
|
372797
|
+
const hash2 = await (0, calculate_hash_for_create_nodes_1.calculateHashForCreateNodes)(childProjectRoot, options, context, [...parentConfigs, (0, node_path_1.join)(childProjectRoot, ".eslintignore")]);
|
|
372798
|
+
if (projectsCache[hash2]) {
|
|
372799
|
+
Object.assign(projects, projectsCache[hash2]);
|
|
372800
|
+
return;
|
|
372801
|
+
}
|
|
372802
|
+
const eslint = new ESLint({
|
|
372803
|
+
cwd: (0, node_path_1.join)(context.workspaceRoot, childProjectRoot)
|
|
372804
|
+
});
|
|
372805
|
+
for (const file of lintableFiles) {
|
|
372806
|
+
if (!await eslint.isPathIgnored((0, node_path_1.join)(context.workspaceRoot, file))) {
|
|
372807
|
+
childProjectRoots.add(childProjectRoot);
|
|
372808
|
+
break;
|
|
372743
372809
|
}
|
|
372744
|
-
}
|
|
372810
|
+
}
|
|
372745
372811
|
const uniqueChildProjectRoots = Array.from(childProjectRoots);
|
|
372746
|
-
|
|
372747
|
-
|
|
372748
|
-
|
|
372812
|
+
const projectsForRoot = getProjectsUsingESLintConfig(configFilePath, uniqueChildProjectRoots, eslintVersion, options, context);
|
|
372813
|
+
if (Object.keys(projectsForRoot).length > 0) {
|
|
372814
|
+
Object.assign(projects, projectsForRoot);
|
|
372815
|
+
projectsCache[hash2] = projectsForRoot;
|
|
372816
|
+
}
|
|
372817
|
+
}));
|
|
372818
|
+
return {
|
|
372819
|
+
projects
|
|
372820
|
+
};
|
|
372821
|
+
};
|
|
372822
|
+
exports2.createNodesV2 = [
|
|
372823
|
+
ESLINT_CONFIG_GLOB,
|
|
372824
|
+
async (configFiles, options, context) => {
|
|
372825
|
+
const optionsHash = (0, file_hasher_1.hashObject)(options);
|
|
372826
|
+
const cachePath = (0, node_path_1.join)(cache_directory_1.workspaceDataDirectory, `eslint-${optionsHash}.hash`);
|
|
372827
|
+
const targetsCache = readTargetsCache(cachePath);
|
|
372828
|
+
try {
|
|
372829
|
+
return await (0, devkit_1.createNodesFromFiles)((configFile, options2, context2) => internalCreateNodes(configFile, options2, context2, targetsCache), configFiles, options, context);
|
|
372830
|
+
} finally {
|
|
372831
|
+
writeTargetsToCache(cachePath, targetsCache);
|
|
372832
|
+
}
|
|
372833
|
+
}
|
|
372834
|
+
];
|
|
372835
|
+
exports2.createNodes = [
|
|
372836
|
+
ESLINT_CONFIG_GLOB,
|
|
372837
|
+
(configFilePath, options, context) => {
|
|
372838
|
+
devkit_1.logger.warn("`createNodes` is deprecated. Update your plugin to utilize createNodesV2 instead. In Nx 20, this will change to the createNodesV2 API.");
|
|
372839
|
+
return internalCreateNodes(configFilePath, options, context, {});
|
|
372749
372840
|
}
|
|
372750
372841
|
];
|
|
372751
372842
|
function getProjectsUsingESLintConfig(configFilePath, childProjectRoots, eslintVersion, options, context) {
|
|
@@ -372831,9 +372922,9 @@ var require_plugin = __commonJS({
|
|
|
372831
372922
|
}
|
|
372832
372923
|
});
|
|
372833
372924
|
|
|
372834
|
-
// node_modules/.pnpm/@nx+eslint@19.
|
|
372925
|
+
// 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
|
|
372835
372926
|
var require_plugin2 = __commonJS({
|
|
372836
|
-
"node_modules/.pnpm/@nx+eslint@19.
|
|
372927
|
+
"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) {
|
|
372837
372928
|
"use strict";
|
|
372838
372929
|
Object.defineProperty(exports2, "__esModule", { value: true });
|
|
372839
372930
|
exports2.hasEslintPlugin = void 0;
|
|
@@ -372846,9 +372937,9 @@ var require_plugin2 = __commonJS({
|
|
|
372846
372937
|
}
|
|
372847
372938
|
});
|
|
372848
372939
|
|
|
372849
|
-
// node_modules/.pnpm/@nx+eslint@19.
|
|
372940
|
+
// 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
|
|
372850
372941
|
var require_init2 = __commonJS({
|
|
372851
|
-
"node_modules/.pnpm/@nx+eslint@19.
|
|
372942
|
+
"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) {
|
|
372852
372943
|
"use strict";
|
|
372853
372944
|
Object.defineProperty(exports2, "__esModule", { value: true });
|
|
372854
372945
|
exports2.lintInitGenerator = exports2.initEsLint = void 0;
|
|
@@ -372897,7 +372988,7 @@ var require_init2 = __commonJS({
|
|
|
372897
372988
|
"_eslint-lint"
|
|
372898
372989
|
];
|
|
372899
372990
|
if (rootEslintFile && options.addPlugin && !hasPlugin) {
|
|
372900
|
-
await (0, add_plugin_1.addPlugin)(tree, graph, "@nx/eslint/plugin", plugin_1.
|
|
372991
|
+
await (0, add_plugin_1.addPlugin)(tree, graph, "@nx/eslint/plugin", plugin_1.createNodesV2, {
|
|
372901
372992
|
targetName: lintTargetNames
|
|
372902
372993
|
}, options.updatePackageScripts);
|
|
372903
372994
|
return () => {
|
|
@@ -372909,7 +373000,7 @@ var require_init2 = __commonJS({
|
|
|
372909
373000
|
}
|
|
372910
373001
|
updateProductionFileset(tree);
|
|
372911
373002
|
if (options.addPlugin) {
|
|
372912
|
-
await (0, add_plugin_1.addPlugin)(tree, graph, "@nx/eslint/plugin", plugin_1.
|
|
373003
|
+
await (0, add_plugin_1.addPlugin)(tree, graph, "@nx/eslint/plugin", plugin_1.createNodesV2, {
|
|
372913
373004
|
targetName: lintTargetNames
|
|
372914
373005
|
}, options.updatePackageScripts);
|
|
372915
373006
|
} else {
|
|
@@ -372933,9 +373024,9 @@ var require_init2 = __commonJS({
|
|
|
372933
373024
|
}
|
|
372934
373025
|
});
|
|
372935
373026
|
|
|
372936
|
-
// node_modules/.pnpm/@nx+eslint@19.
|
|
373027
|
+
// 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
|
|
372937
373028
|
var require_global_eslint_config = __commonJS({
|
|
372938
|
-
"node_modules/.pnpm/@nx+eslint@19.
|
|
373029
|
+
"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) {
|
|
372939
373030
|
"use strict";
|
|
372940
373031
|
Object.defineProperty(exports2, "__esModule", { value: true });
|
|
372941
373032
|
exports2.getGlobalFlatEslintConfiguration = exports2.getGlobalEsLintConfiguration = exports2.javaScriptOverride = exports2.typeScriptOverride = void 0;
|
|
@@ -373024,9 +373115,9 @@ var require_global_eslint_config = __commonJS({
|
|
|
373024
373115
|
}
|
|
373025
373116
|
});
|
|
373026
373117
|
|
|
373027
|
-
// node_modules/.pnpm/@nx+eslint@19.
|
|
373118
|
+
// 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
|
|
373028
373119
|
var require_init_migration = __commonJS({
|
|
373029
|
-
"node_modules/.pnpm/@nx+eslint@19.
|
|
373120
|
+
"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) {
|
|
373030
373121
|
"use strict";
|
|
373031
373122
|
Object.defineProperty(exports2, "__esModule", { value: true });
|
|
373032
373123
|
exports2.findLintTarget = exports2.migrateConfigToMonorepoStyle = void 0;
|
|
@@ -373142,9 +373233,9 @@ var require_init_migration = __commonJS({
|
|
|
373142
373233
|
}
|
|
373143
373234
|
});
|
|
373144
373235
|
|
|
373145
|
-
// node_modules/.pnpm/@nx+eslint@19.
|
|
373236
|
+
// 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
|
|
373146
373237
|
var require_setup_root_eslint = __commonJS({
|
|
373147
|
-
"node_modules/.pnpm/@nx+eslint@19.
|
|
373238
|
+
"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) {
|
|
373148
373239
|
"use strict";
|
|
373149
373240
|
Object.defineProperty(exports2, "__esModule", { value: true });
|
|
373150
373241
|
exports2.setupRootEsLint = void 0;
|
|
@@ -373182,9 +373273,9 @@ node_modules
|
|
|
373182
373273
|
}
|
|
373183
373274
|
});
|
|
373184
373275
|
|
|
373185
|
-
// node_modules/.pnpm/@nx+eslint@19.
|
|
373276
|
+
// 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
|
|
373186
373277
|
var require_lint_project = __commonJS({
|
|
373187
|
-
"node_modules/.pnpm/@nx+eslint@19.
|
|
373278
|
+
"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) {
|
|
373188
373279
|
"use strict";
|
|
373189
373280
|
Object.defineProperty(exports2, "__esModule", { value: true });
|
|
373190
373281
|
exports2.lintProjectGeneratorInternal = exports2.lintProjectGenerator = void 0;
|
|
@@ -373259,7 +373350,7 @@ var require_lint_project = __commonJS({
|
|
|
373259
373350
|
}
|
|
373260
373351
|
}
|
|
373261
373352
|
if (!options.rootProject || projectConfig.root !== ".") {
|
|
373262
|
-
createEsLintConfiguration(tree, projectConfig, options.setParserOptionsProject, options.rootProject);
|
|
373353
|
+
createEsLintConfiguration(tree, options, projectConfig, options.setParserOptionsProject, options.rootProject);
|
|
373263
373354
|
}
|
|
373264
373355
|
if (isBuildableLibraryProject(projectConfig) && !isJsAnalyzeSourceFilesEnabled(tree)) {
|
|
373265
373356
|
(0, devkit_1.updateJson)(tree, "nx.json", (json) => {
|
|
@@ -373276,7 +373367,7 @@ var require_lint_project = __commonJS({
|
|
|
373276
373367
|
return (0, devkit_1.runTasksInSerial)(...tasks);
|
|
373277
373368
|
}
|
|
373278
373369
|
exports2.lintProjectGeneratorInternal = lintProjectGeneratorInternal;
|
|
373279
|
-
function createEsLintConfiguration(tree, projectConfig, setParserOptionsProject, rootProject) {
|
|
373370
|
+
function createEsLintConfiguration(tree, options, projectConfig, setParserOptionsProject, rootProject) {
|
|
373280
373371
|
const extendedRootConfig = rootProject ? void 0 : (0, eslint_file_1.findEslintFile)(tree);
|
|
373281
373372
|
const pathToRootConfig = extendedRootConfig ? `${(0, devkit_1.offsetFromRoot)(projectConfig.root)}${extendedRootConfig}` : void 0;
|
|
373282
373373
|
const addDependencyChecks = isBuildableLibraryProject(projectConfig);
|
|
@@ -373314,7 +373405,7 @@ var require_lint_project = __commonJS({
|
|
|
373314
373405
|
rules: {}
|
|
373315
373406
|
}
|
|
373316
373407
|
];
|
|
373317
|
-
if (isBuildableLibraryProject(projectConfig)) {
|
|
373408
|
+
if (options.addPackageJsonDependencyChecks || isBuildableLibraryProject(projectConfig)) {
|
|
373318
373409
|
overrides.push({
|
|
373319
373410
|
files: ["*.json"],
|
|
373320
373411
|
parser: "jsonc-eslint-parser",
|
|
@@ -397011,113 +397102,9 @@ var require_TypiaProgrammer = __commonJS({
|
|
|
397011
397102
|
}
|
|
397012
397103
|
});
|
|
397013
397104
|
|
|
397014
|
-
// node_modules/.pnpm/@nx+js@19.
|
|
397015
|
-
var require_update_lock_file = __commonJS({
|
|
397016
|
-
"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) {
|
|
397017
|
-
"use strict";
|
|
397018
|
-
Object.defineProperty(exports2, "__esModule", { value: true });
|
|
397019
|
-
exports2.updateLockFile = void 0;
|
|
397020
|
-
var devkit_1 = require("@nx/devkit");
|
|
397021
|
-
var child_process_1 = require("child_process");
|
|
397022
|
-
var client_1 = require("nx/src/daemon/client/client");
|
|
397023
|
-
var lock_file_1 = require("nx/src/plugins/js/lock-file/lock-file");
|
|
397024
|
-
var semver_1 = require_semver2();
|
|
397025
|
-
async function updateLockFile2(cwd2, { dryRun, verbose, generatorOptions }) {
|
|
397026
|
-
if (generatorOptions?.skipLockFileUpdate) {
|
|
397027
|
-
if (verbose) {
|
|
397028
|
-
console.log("\nSkipped lock file update because skipLockFileUpdate was set.");
|
|
397029
|
-
}
|
|
397030
|
-
return [];
|
|
397031
|
-
}
|
|
397032
|
-
const packageManager = (0, devkit_1.detectPackageManager)(cwd2);
|
|
397033
|
-
if (packageManager === "yarn" && !(0, semver_1.gte)((0, devkit_1.getPackageManagerVersion)(packageManager), "2.0.0")) {
|
|
397034
|
-
if (verbose) {
|
|
397035
|
-
console.log("\nSkipped lock file update because it is not necessary for Yarn Classic.");
|
|
397036
|
-
}
|
|
397037
|
-
return [];
|
|
397038
|
-
}
|
|
397039
|
-
const workspacesEnabled = (0, devkit_1.isWorkspacesEnabled)(packageManager, cwd2);
|
|
397040
|
-
if (!workspacesEnabled) {
|
|
397041
|
-
if (verbose) {
|
|
397042
|
-
console.log(`
|
|
397043
|
-
Skipped lock file update because ${packageManager} workspaces are not enabled.`);
|
|
397044
|
-
}
|
|
397045
|
-
return [];
|
|
397046
|
-
}
|
|
397047
|
-
const isDaemonEnabled = client_1.daemonClient.enabled();
|
|
397048
|
-
if (!dryRun && isDaemonEnabled) {
|
|
397049
|
-
await client_1.daemonClient.stop();
|
|
397050
|
-
}
|
|
397051
|
-
const packageManagerCommands = (0, devkit_1.getPackageManagerCommand)(packageManager);
|
|
397052
|
-
let installArgs = generatorOptions?.installArgs || "";
|
|
397053
|
-
devkit_1.output.logSingleLine(`Updating ${packageManager} lock file`);
|
|
397054
|
-
let env = {};
|
|
397055
|
-
if (generatorOptions?.installIgnoreScripts) {
|
|
397056
|
-
if (packageManager === "yarn") {
|
|
397057
|
-
env = { YARN_ENABLE_SCRIPTS: "false" };
|
|
397058
|
-
} else {
|
|
397059
|
-
installArgs = `${installArgs} --ignore-scripts`.trim();
|
|
397060
|
-
}
|
|
397061
|
-
}
|
|
397062
|
-
const lockFile = (0, lock_file_1.getLockFileName)(packageManager);
|
|
397063
|
-
const command = `${packageManagerCommands.updateLockFile} ${installArgs}`.trim();
|
|
397064
|
-
if (verbose) {
|
|
397065
|
-
if (dryRun) {
|
|
397066
|
-
console.log(`Would update ${lockFile} with the following command, but --dry-run was set:`);
|
|
397067
|
-
} else {
|
|
397068
|
-
console.log(`Updating ${lockFile} with the following command:`);
|
|
397069
|
-
}
|
|
397070
|
-
console.log(command);
|
|
397071
|
-
}
|
|
397072
|
-
if (dryRun) {
|
|
397073
|
-
return [];
|
|
397074
|
-
}
|
|
397075
|
-
execLockFileUpdate(command, cwd2, env);
|
|
397076
|
-
if (isDaemonEnabled) {
|
|
397077
|
-
try {
|
|
397078
|
-
await client_1.daemonClient.startInBackground();
|
|
397079
|
-
} catch (e2) {
|
|
397080
|
-
if (verbose) {
|
|
397081
|
-
devkit_1.output.warn({
|
|
397082
|
-
title: 'Unable to restart the Nx Daemon. It will be disabled until you run "nx reset"',
|
|
397083
|
-
bodyLines: [e2.message]
|
|
397084
|
-
});
|
|
397085
|
-
}
|
|
397086
|
-
}
|
|
397087
|
-
}
|
|
397088
|
-
return [lockFile];
|
|
397089
|
-
}
|
|
397090
|
-
exports2.updateLockFile = updateLockFile2;
|
|
397091
|
-
function execLockFileUpdate(command, cwd2, env = {}) {
|
|
397092
|
-
try {
|
|
397093
|
-
const LARGE_BUFFER4 = 1024 * 1e6;
|
|
397094
|
-
(0, child_process_1.execSync)(command, {
|
|
397095
|
-
cwd: cwd2,
|
|
397096
|
-
maxBuffer: LARGE_BUFFER4,
|
|
397097
|
-
env: {
|
|
397098
|
-
...process.env,
|
|
397099
|
-
...env
|
|
397100
|
-
}
|
|
397101
|
-
});
|
|
397102
|
-
} catch (e2) {
|
|
397103
|
-
devkit_1.output.error({
|
|
397104
|
-
title: `Error updating lock file with command '${command}'`,
|
|
397105
|
-
bodyLines: [
|
|
397106
|
-
`Verify that '${command}' succeeds when run from the workspace root.`,
|
|
397107
|
-
`To configure a string of arguments to be passed to this command, set the 'release.version.generatorOptions.installArgs' property in nx.json.`,
|
|
397108
|
-
`To ignore install lifecycle scripts, set 'release.version.generatorOptions.installIgnoreScripts' to true in nx.json.`,
|
|
397109
|
-
`To disable this step entirely, set 'release.version.skipLockFileUpdate' to true in nx.json.`
|
|
397110
|
-
]
|
|
397111
|
-
});
|
|
397112
|
-
throw e2;
|
|
397113
|
-
}
|
|
397114
|
-
}
|
|
397115
|
-
}
|
|
397116
|
-
});
|
|
397117
|
-
|
|
397118
|
-
// 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
|
|
397105
|
+
// 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
|
|
397119
397106
|
var require_package6 = __commonJS({
|
|
397120
|
-
"node_modules/.pnpm/@nx+js@19.
|
|
397107
|
+
"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) {
|
|
397121
397108
|
"use strict";
|
|
397122
397109
|
Object.defineProperty(exports2, "__esModule", { value: true });
|
|
397123
397110
|
exports2.Package = void 0;
|
|
@@ -399350,9 +399337,9 @@ var require_npa = __commonJS({
|
|
|
399350
399337
|
}
|
|
399351
399338
|
});
|
|
399352
399339
|
|
|
399353
|
-
// node_modules/.pnpm/@nx+js@19.
|
|
399340
|
+
// 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
|
|
399354
399341
|
var require_resolve_version_spec = __commonJS({
|
|
399355
|
-
"node_modules/.pnpm/@nx+js@19.
|
|
399342
|
+
"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) {
|
|
399356
399343
|
"use strict";
|
|
399357
399344
|
Object.defineProperty(exports2, "__esModule", { value: true });
|
|
399358
399345
|
exports2.resolveVersionSpec = void 0;
|
|
@@ -399379,9 +399366,9 @@ var require_resolve_version_spec = __commonJS({
|
|
|
399379
399366
|
}
|
|
399380
399367
|
});
|
|
399381
399368
|
|
|
399382
|
-
// node_modules/.pnpm/@nx+js@19.
|
|
399369
|
+
// 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
|
|
399383
399370
|
var require_resolve_local_package_dependencies = __commonJS({
|
|
399384
|
-
"node_modules/.pnpm/@nx+js@19.
|
|
399371
|
+
"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) {
|
|
399385
399372
|
"use strict";
|
|
399386
399373
|
Object.defineProperty(exports2, "__esModule", { value: true });
|
|
399387
399374
|
exports2.resolveLocalPackageDependencies = void 0;
|
|
@@ -399450,6 +399437,110 @@ var require_resolve_local_package_dependencies = __commonJS({
|
|
|
399450
399437
|
}
|
|
399451
399438
|
});
|
|
399452
399439
|
|
|
399440
|
+
// 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
|
|
399441
|
+
var require_update_lock_file = __commonJS({
|
|
399442
|
+
"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) {
|
|
399443
|
+
"use strict";
|
|
399444
|
+
Object.defineProperty(exports2, "__esModule", { value: true });
|
|
399445
|
+
exports2.updateLockFile = void 0;
|
|
399446
|
+
var devkit_1 = require("@nx/devkit");
|
|
399447
|
+
var child_process_1 = require("child_process");
|
|
399448
|
+
var client_1 = require("nx/src/daemon/client/client");
|
|
399449
|
+
var lock_file_1 = require("nx/src/plugins/js/lock-file/lock-file");
|
|
399450
|
+
var semver_1 = require_semver2();
|
|
399451
|
+
async function updateLockFile2(cwd2, { dryRun, verbose, generatorOptions }) {
|
|
399452
|
+
if (generatorOptions?.skipLockFileUpdate) {
|
|
399453
|
+
if (verbose) {
|
|
399454
|
+
console.log("\nSkipped lock file update because skipLockFileUpdate was set.");
|
|
399455
|
+
}
|
|
399456
|
+
return [];
|
|
399457
|
+
}
|
|
399458
|
+
const packageManager = (0, devkit_1.detectPackageManager)(cwd2);
|
|
399459
|
+
if (packageManager === "yarn" && !(0, semver_1.gte)((0, devkit_1.getPackageManagerVersion)(packageManager), "2.0.0")) {
|
|
399460
|
+
if (verbose) {
|
|
399461
|
+
console.log("\nSkipped lock file update because it is not necessary for Yarn Classic.");
|
|
399462
|
+
}
|
|
399463
|
+
return [];
|
|
399464
|
+
}
|
|
399465
|
+
const workspacesEnabled = (0, devkit_1.isWorkspacesEnabled)(packageManager, cwd2);
|
|
399466
|
+
if (!workspacesEnabled) {
|
|
399467
|
+
if (verbose) {
|
|
399468
|
+
console.log(`
|
|
399469
|
+
Skipped lock file update because ${packageManager} workspaces are not enabled.`);
|
|
399470
|
+
}
|
|
399471
|
+
return [];
|
|
399472
|
+
}
|
|
399473
|
+
const isDaemonEnabled = client_1.daemonClient.enabled();
|
|
399474
|
+
if (!dryRun && isDaemonEnabled) {
|
|
399475
|
+
await client_1.daemonClient.stop();
|
|
399476
|
+
}
|
|
399477
|
+
const packageManagerCommands = (0, devkit_1.getPackageManagerCommand)(packageManager);
|
|
399478
|
+
let installArgs = generatorOptions?.installArgs || "";
|
|
399479
|
+
devkit_1.output.logSingleLine(`Updating ${packageManager} lock file`);
|
|
399480
|
+
let env = {};
|
|
399481
|
+
if (generatorOptions?.installIgnoreScripts) {
|
|
399482
|
+
if (packageManager === "yarn") {
|
|
399483
|
+
env = { YARN_ENABLE_SCRIPTS: "false" };
|
|
399484
|
+
} else {
|
|
399485
|
+
installArgs = `${installArgs} --ignore-scripts`.trim();
|
|
399486
|
+
}
|
|
399487
|
+
}
|
|
399488
|
+
const lockFile = (0, lock_file_1.getLockFileName)(packageManager);
|
|
399489
|
+
const command = `${packageManagerCommands.updateLockFile} ${installArgs}`.trim();
|
|
399490
|
+
if (verbose) {
|
|
399491
|
+
if (dryRun) {
|
|
399492
|
+
console.log(`Would update ${lockFile} with the following command, but --dry-run was set:`);
|
|
399493
|
+
} else {
|
|
399494
|
+
console.log(`Updating ${lockFile} with the following command:`);
|
|
399495
|
+
}
|
|
399496
|
+
console.log(command);
|
|
399497
|
+
}
|
|
399498
|
+
if (dryRun) {
|
|
399499
|
+
return [];
|
|
399500
|
+
}
|
|
399501
|
+
execLockFileUpdate(command, cwd2, env);
|
|
399502
|
+
if (isDaemonEnabled) {
|
|
399503
|
+
try {
|
|
399504
|
+
await client_1.daemonClient.startInBackground();
|
|
399505
|
+
} catch (e2) {
|
|
399506
|
+
if (verbose) {
|
|
399507
|
+
devkit_1.output.warn({
|
|
399508
|
+
title: 'Unable to restart the Nx Daemon. It will be disabled until you run "nx reset"',
|
|
399509
|
+
bodyLines: [e2.message]
|
|
399510
|
+
});
|
|
399511
|
+
}
|
|
399512
|
+
}
|
|
399513
|
+
}
|
|
399514
|
+
return [lockFile];
|
|
399515
|
+
}
|
|
399516
|
+
exports2.updateLockFile = updateLockFile2;
|
|
399517
|
+
function execLockFileUpdate(command, cwd2, env = {}) {
|
|
399518
|
+
try {
|
|
399519
|
+
const LARGE_BUFFER4 = 1024 * 1e6;
|
|
399520
|
+
(0, child_process_1.execSync)(command, {
|
|
399521
|
+
cwd: cwd2,
|
|
399522
|
+
maxBuffer: LARGE_BUFFER4,
|
|
399523
|
+
env: {
|
|
399524
|
+
...process.env,
|
|
399525
|
+
...env
|
|
399526
|
+
}
|
|
399527
|
+
});
|
|
399528
|
+
} catch (e2) {
|
|
399529
|
+
devkit_1.output.error({
|
|
399530
|
+
title: `Error updating lock file with command '${command}'`,
|
|
399531
|
+
bodyLines: [
|
|
399532
|
+
`Verify that '${command}' succeeds when run from the workspace root.`,
|
|
399533
|
+
`To configure a string of arguments to be passed to this command, set the 'release.version.generatorOptions.installArgs' property in nx.json.`,
|
|
399534
|
+
`To ignore install lifecycle scripts, set 'release.version.generatorOptions.installIgnoreScripts' to true in nx.json.`,
|
|
399535
|
+
`To disable this step entirely, set 'release.version.skipLockFileUpdate' to true in nx.json.`
|
|
399536
|
+
]
|
|
399537
|
+
});
|
|
399538
|
+
throw e2;
|
|
399539
|
+
}
|
|
399540
|
+
}
|
|
399541
|
+
}
|
|
399542
|
+
});
|
|
399543
|
+
|
|
399453
399544
|
// packages/cloudflare-tools/src/executors/serve/executor.ts
|
|
399454
399545
|
var executor_exports = {};
|
|
399455
399546
|
__export(executor_exports, {
|
|
@@ -404813,18 +404904,18 @@ var generator_default3 = withRunGenerator(
|
|
|
404813
404904
|
);
|
|
404814
404905
|
|
|
404815
404906
|
// packages/workspace-tools/src/generators/release-version/generator.ts
|
|
404816
|
-
var import_devkit11 = require("@nx/devkit");
|
|
404817
|
-
var import_version = require("nx/src/command-line/release/version");
|
|
404818
|
-
var import_utils4 = require("nx/src/tasks-runner/utils");
|
|
404819
|
-
var import_semver = require("nx/src/command-line/release/utils/semver");
|
|
404820
|
-
var import_node_path9 = require("node:path");
|
|
404821
|
-
var import_update_lock_file = __toESM(require_update_lock_file());
|
|
404822
404907
|
var import_node_child_process6 = require("node:child_process");
|
|
404908
|
+
var import_node_path9 = require("node:path");
|
|
404909
|
+
var import_config4 = require("nx/src/command-line/release/config/config");
|
|
404823
404910
|
var import_git = require("nx/src/command-line/release/utils/git");
|
|
404824
404911
|
var import_resolve_semver_specifier = require("nx/src/command-line/release/utils/resolve-semver-specifier");
|
|
404825
|
-
var
|
|
404912
|
+
var import_semver = require("nx/src/command-line/release/utils/semver");
|
|
404913
|
+
var import_version = require("nx/src/command-line/release/version");
|
|
404914
|
+
var import_utils4 = require("nx/src/tasks-runner/utils");
|
|
404826
404915
|
var import_semver2 = __toESM(require_semver2());
|
|
404916
|
+
var import_devkit11 = require("@nx/devkit");
|
|
404827
404917
|
var import_resolve_local_package_dependencies = __toESM(require_resolve_local_package_dependencies());
|
|
404918
|
+
var import_update_lock_file = __toESM(require_update_lock_file());
|
|
404828
404919
|
async function releaseVersionGeneratorFn(tree, options, config) {
|
|
404829
404920
|
const { writeInfo: writeInfo2, findWorkspaceRoot: findWorkspaceRoot2 } = await Promise.resolve().then(() => (init_src2(), src_exports));
|
|
404830
404921
|
const versionData = {};
|
|
@@ -405078,7 +405169,7 @@ To fix this you will either need to add a package.json or Cargo.toml file at tha
|
|
|
405078
405169
|
);
|
|
405079
405170
|
break;
|
|
405080
405171
|
}
|
|
405081
|
-
if ((0, import_semver2.prerelease)(currentVersion)) {
|
|
405172
|
+
if (currentVersion && (0, import_semver2.prerelease)(currentVersion)) {
|
|
405082
405173
|
specifier = "prerelease";
|
|
405083
405174
|
log(
|
|
405084
405175
|
`\u{1F4C4} Resolved the specifier as "${specifier}" since the current version is a prerelease.`
|
|
@@ -405280,7 +405371,7 @@ Projects with packageRoot configured: ${Array.from(projectNameToPackageRootMap.k
|
|
|
405280
405371
|
callback: async (tree2, opts) => {
|
|
405281
405372
|
import_devkit11.output.logSingleLine("Updating Cargo.lock file");
|
|
405282
405373
|
const cwd2 = tree2.root;
|
|
405283
|
-
const updatedFiles = await (0, import_update_lock_file.updateLockFile)(cwd2, opts);
|
|
405374
|
+
const updatedFiles = await (0, import_update_lock_file.updateLockFile)(cwd2, opts) ?? [];
|
|
405284
405375
|
const updatedCargoPackages = [];
|
|
405285
405376
|
for (const [projectName, projectVersionData] of Object.entries(
|
|
405286
405377
|
versionData
|
|
@@ -405301,9 +405392,9 @@ Projects with packageRoot configured: ${Array.from(projectNameToPackageRootMap.k
|
|
|
405301
405392
|
},
|
|
405302
405393
|
cwd: tree2.root
|
|
405303
405394
|
});
|
|
405304
|
-
|
|
405305
|
-
|
|
405306
|
-
|
|
405395
|
+
if (hasGitDiff("Cargo.lock")) {
|
|
405396
|
+
updatedFiles.push("Cargo.lock");
|
|
405397
|
+
}
|
|
405307
405398
|
}
|
|
405308
405399
|
return updatedFiles;
|
|
405309
405400
|
},
|