@storm-software/cloudflare-tools 0.6.1 → 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 +14 -0
- package/README.md +9 -5
- package/index.js +4387 -5678
- package/meta.json +1 -1
- package/package.json +19 -19
- package/packages/workspace-tools/src/generators/release-version/generator.d.ts +2 -2
- package/packages/workspace-tools/src/utils/cargo.d.ts +1 -0
- package/src/executors/cloudflare-publish/executor.js +3652 -4923
- package/src/executors/serve/executor.js +3649 -4924
- package/src/generators/init/generator.js +198 -143
- package/src/generators/worker/generator.js +4258 -5545
|
@@ -515,12 +515,12 @@ var init_tslib_es6 = __esm({
|
|
|
515
515
|
}
|
|
516
516
|
});
|
|
517
517
|
|
|
518
|
-
// node_modules/.pnpm/@nx+js@19.
|
|
518
|
+
// 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
|
|
519
519
|
var require_package = __commonJS({
|
|
520
|
-
"node_modules/.pnpm/@nx+js@19.
|
|
520
|
+
"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) {
|
|
521
521
|
module2.exports = {
|
|
522
522
|
name: "@nx/js",
|
|
523
|
-
version: "19.
|
|
523
|
+
version: "19.2.0",
|
|
524
524
|
private: false,
|
|
525
525
|
description: "The JS plugin for Nx contains executors and generators that provide the best experience for developing JavaScript and TypeScript projects. ",
|
|
526
526
|
repository: {
|
|
@@ -578,9 +578,9 @@ var require_package = __commonJS({
|
|
|
578
578
|
semver: "^7.5.3",
|
|
579
579
|
"source-map-support": "0.5.19",
|
|
580
580
|
tslib: "^2.3.0",
|
|
581
|
-
"@nx/devkit": "19.
|
|
582
|
-
"@nx/workspace": "19.
|
|
583
|
-
"@nrwl/js": "19.
|
|
581
|
+
"@nx/devkit": "19.2.0",
|
|
582
|
+
"@nx/workspace": "19.2.0",
|
|
583
|
+
"@nrwl/js": "19.2.0"
|
|
584
584
|
},
|
|
585
585
|
peerDependencies: {
|
|
586
586
|
verdaccio: "^5.0.4"
|
|
@@ -598,9 +598,9 @@ var require_package = __commonJS({
|
|
|
598
598
|
}
|
|
599
599
|
});
|
|
600
600
|
|
|
601
|
-
// node_modules/.pnpm/@nx+js@19.
|
|
601
|
+
// 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
|
|
602
602
|
var require_versions = __commonJS({
|
|
603
|
-
"node_modules/.pnpm/@nx+js@19.
|
|
603
|
+
"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) {
|
|
604
604
|
"use strict";
|
|
605
605
|
Object.defineProperty(exports2, "__esModule", { value: true });
|
|
606
606
|
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;
|
|
@@ -619,9 +619,9 @@ var require_versions = __commonJS({
|
|
|
619
619
|
}
|
|
620
620
|
});
|
|
621
621
|
|
|
622
|
-
// node_modules/.pnpm/@nx+js@19.
|
|
622
|
+
// 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
|
|
623
623
|
var require_add_tslib_dependencies = __commonJS({
|
|
624
|
-
"node_modules/.pnpm/@nx+js@19.
|
|
624
|
+
"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) {
|
|
625
625
|
"use strict";
|
|
626
626
|
Object.defineProperty(exports2, "__esModule", { value: true });
|
|
627
627
|
exports2.addTsLibDependencies = void 0;
|
|
@@ -636,9 +636,9 @@ var require_add_tslib_dependencies = __commonJS({
|
|
|
636
636
|
}
|
|
637
637
|
});
|
|
638
638
|
|
|
639
|
-
// node_modules/.pnpm/@nx+js@19.
|
|
639
|
+
// 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
|
|
640
640
|
var require_load_ts_transformers = __commonJS({
|
|
641
|
-
"node_modules/.pnpm/@nx+js@19.
|
|
641
|
+
"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) {
|
|
642
642
|
"use strict";
|
|
643
643
|
Object.defineProperty(exports2, "__esModule", { value: true });
|
|
644
644
|
exports2.loadTsTransformers = void 0;
|
|
@@ -703,9 +703,9 @@ var require_load_ts_transformers = __commonJS({
|
|
|
703
703
|
}
|
|
704
704
|
});
|
|
705
705
|
|
|
706
|
-
// node_modules/.pnpm/@nx+js@19.
|
|
706
|
+
// 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
|
|
707
707
|
var require_print_diagnostics = __commonJS({
|
|
708
|
-
"node_modules/.pnpm/@nx+js@19.
|
|
708
|
+
"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) {
|
|
709
709
|
"use strict";
|
|
710
710
|
Object.defineProperty(exports2, "__esModule", { value: true });
|
|
711
711
|
exports2.printDiagnostics = void 0;
|
|
@@ -2297,9 +2297,9 @@ var require_js_tokens = __commonJS({
|
|
|
2297
2297
|
}
|
|
2298
2298
|
});
|
|
2299
2299
|
|
|
2300
|
-
// node_modules/.pnpm/@nx+js@19.
|
|
2300
|
+
// 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
|
|
2301
2301
|
var require_identifiers = __commonJS({
|
|
2302
|
-
"node_modules/.pnpm/@nx+js@19.
|
|
2302
|
+
"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) {
|
|
2303
2303
|
"use strict";
|
|
2304
2304
|
Object.defineProperty(exports2, "__esModule", { value: true });
|
|
2305
2305
|
exports2.isKeyword = exports2.isReservedWord = void 0;
|
|
@@ -2351,9 +2351,9 @@ var require_identifiers = __commonJS({
|
|
|
2351
2351
|
}
|
|
2352
2352
|
});
|
|
2353
2353
|
|
|
2354
|
-
// node_modules/.pnpm/@nx+js@19.
|
|
2354
|
+
// 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
|
|
2355
2355
|
var require_highlight = __commonJS({
|
|
2356
|
-
"node_modules/.pnpm/@nx+js@19.
|
|
2356
|
+
"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) {
|
|
2357
2357
|
"use strict";
|
|
2358
2358
|
Object.defineProperty(exports2, "__esModule", { value: true });
|
|
2359
2359
|
exports2.highlight = void 0;
|
|
@@ -2418,9 +2418,9 @@ var require_highlight = __commonJS({
|
|
|
2418
2418
|
}
|
|
2419
2419
|
});
|
|
2420
2420
|
|
|
2421
|
-
// node_modules/.pnpm/@nx+js@19.
|
|
2421
|
+
// 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
|
|
2422
2422
|
var require_ensure_typescript = __commonJS({
|
|
2423
|
-
"node_modules/.pnpm/@nx+js@19.
|
|
2423
|
+
"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) {
|
|
2424
2424
|
"use strict";
|
|
2425
2425
|
Object.defineProperty(exports2, "__esModule", { value: true });
|
|
2426
2426
|
exports2.ensureTypescript = void 0;
|
|
@@ -207618,9 +207618,9 @@ ${e.message}`;
|
|
|
207618
207618
|
}
|
|
207619
207619
|
});
|
|
207620
207620
|
|
|
207621
|
-
// node_modules/.pnpm/@nx+js@19.
|
|
207621
|
+
// 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
|
|
207622
207622
|
var require_ts_config = __commonJS({
|
|
207623
|
-
"node_modules/.pnpm/@nx+js@19.
|
|
207623
|
+
"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) {
|
|
207624
207624
|
"use strict";
|
|
207625
207625
|
Object.defineProperty(exports2, "__esModule", { value: true });
|
|
207626
207626
|
exports2.readTsConfigPaths = exports2.addTsConfigPath = exports2.getRootTsConfigFileName = exports2.getRootTsConfigPath = exports2.getRelativePathToRootTsConfig = exports2.getRootTsConfigPathInTree = exports2.readTsConfig = void 0;
|
|
@@ -207704,9 +207704,9 @@ var require_ts_config = __commonJS({
|
|
|
207704
207704
|
}
|
|
207705
207705
|
});
|
|
207706
207706
|
|
|
207707
|
-
// node_modules/.pnpm/@nx+js@19.
|
|
207707
|
+
// 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
|
|
207708
207708
|
var require_run_type_check = __commonJS({
|
|
207709
|
-
"node_modules/.pnpm/@nx+js@19.
|
|
207709
|
+
"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) {
|
|
207710
207710
|
"use strict";
|
|
207711
207711
|
Object.defineProperty(exports2, "__esModule", { value: true });
|
|
207712
207712
|
exports2.getFormattedDiagnostic = exports2.runTypeCheck = exports2.runTypeCheckWatch = void 0;
|
|
@@ -207822,9 +207822,9 @@ var require_run_type_check = __commonJS({
|
|
|
207822
207822
|
}
|
|
207823
207823
|
});
|
|
207824
207824
|
|
|
207825
|
-
// node_modules/.pnpm/@nx+js@19.
|
|
207825
|
+
// 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
|
|
207826
207826
|
var require_get_source_nodes = __commonJS({
|
|
207827
|
-
"node_modules/.pnpm/@nx+js@19.
|
|
207827
|
+
"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) {
|
|
207828
207828
|
"use strict";
|
|
207829
207829
|
Object.defineProperty(exports2, "__esModule", { value: true });
|
|
207830
207830
|
exports2.getSourceNodes = void 0;
|
|
@@ -207846,9 +207846,9 @@ var require_get_source_nodes = __commonJS({
|
|
|
207846
207846
|
}
|
|
207847
207847
|
});
|
|
207848
207848
|
|
|
207849
|
-
// node_modules/.pnpm/@nx+js@19.
|
|
207849
|
+
// 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
|
|
207850
207850
|
var require_get_swcrc_path = __commonJS({
|
|
207851
|
-
"node_modules/.pnpm/@nx+js@19.
|
|
207851
|
+
"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) {
|
|
207852
207852
|
"use strict";
|
|
207853
207853
|
Object.defineProperty(exports2, "__esModule", { value: true });
|
|
207854
207854
|
exports2.getSwcrcPath = void 0;
|
|
@@ -207865,9 +207865,9 @@ var require_get_swcrc_path = __commonJS({
|
|
|
207865
207865
|
}
|
|
207866
207866
|
});
|
|
207867
207867
|
|
|
207868
|
-
// node_modules/.pnpm/@nx+js@19.
|
|
207868
|
+
// 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
|
|
207869
207869
|
var require_compiler_helper_dependency = __commonJS({
|
|
207870
|
-
"node_modules/.pnpm/@nx+js@19.
|
|
207870
|
+
"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) {
|
|
207871
207871
|
"use strict";
|
|
207872
207872
|
Object.defineProperty(exports2, "__esModule", { value: true });
|
|
207873
207873
|
exports2.getHelperDependenciesFromProjectGraph = exports2.getHelperDependency = exports2.HelperDependency = void 0;
|
|
@@ -207887,7 +207887,7 @@ var require_compiler_helper_dependency = __commonJS({
|
|
|
207887
207887
|
},
|
|
207888
207888
|
"@nx/js:swc": {
|
|
207889
207889
|
helperDependency: HelperDependency.swc,
|
|
207890
|
-
getConfigPath: (options, contextRoot, projectRoot) => (0, get_swcrc_path_1.getSwcrcPath)(options, contextRoot, projectRoot)
|
|
207890
|
+
getConfigPath: (options, contextRoot, projectRoot) => (0, get_swcrc_path_1.getSwcrcPath)(options, contextRoot, projectRoot).swcrcPath
|
|
207891
207891
|
}
|
|
207892
207892
|
};
|
|
207893
207893
|
function getHelperDependency(helperDependency, configPath, dependencies, projectGraph, returnDependencyIfFound = false) {
|
|
@@ -207966,9 +207966,9 @@ var require_compiler_helper_dependency = __commonJS({
|
|
|
207966
207966
|
}
|
|
207967
207967
|
});
|
|
207968
207968
|
|
|
207969
|
-
// node_modules/.pnpm/@nx+js@19.
|
|
207969
|
+
// 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
|
|
207970
207970
|
var require_create_ts_config = __commonJS({
|
|
207971
|
-
"node_modules/.pnpm/@nx+js@19.
|
|
207971
|
+
"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) {
|
|
207972
207972
|
"use strict";
|
|
207973
207973
|
Object.defineProperty(exports2, "__esModule", { value: true });
|
|
207974
207974
|
exports2.extractTsConfigBase = exports2.tsConfigBaseOptions = void 0;
|
|
@@ -208020,9 +208020,9 @@ var require_create_ts_config = __commonJS({
|
|
|
208020
208020
|
}
|
|
208021
208021
|
});
|
|
208022
208022
|
|
|
208023
|
-
// node_modules/.pnpm/@nx+js@19.
|
|
208023
|
+
// 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
|
|
208024
208024
|
var require_ast_utils = __commonJS({
|
|
208025
|
-
"node_modules/.pnpm/@nx+js@19.
|
|
208025
|
+
"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) {
|
|
208026
208026
|
"use strict";
|
|
208027
208027
|
Object.defineProperty(exports2, "__esModule", { value: true });
|
|
208028
208028
|
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;
|
|
@@ -208261,9 +208261,9 @@ ${opts.methodHeader} {}
|
|
|
208261
208261
|
}
|
|
208262
208262
|
});
|
|
208263
208263
|
|
|
208264
|
-
// node_modules/.pnpm/@nx+js@19.
|
|
208264
|
+
// 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
|
|
208265
208265
|
var require_watch_for_single_file_changes = __commonJS({
|
|
208266
|
-
"node_modules/.pnpm/@nx+js@19.
|
|
208266
|
+
"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) {
|
|
208267
208267
|
"use strict";
|
|
208268
208268
|
Object.defineProperty(exports2, "__esModule", { value: true });
|
|
208269
208269
|
exports2.watchForSingleFileChanges = void 0;
|
|
@@ -210400,9 +210400,9 @@ var require_lib = __commonJS({
|
|
|
210400
210400
|
}
|
|
210401
210401
|
});
|
|
210402
210402
|
|
|
210403
|
-
// node_modules/.pnpm/@nx+js@19.
|
|
210403
|
+
// 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
|
|
210404
210404
|
var require_get_main_file_dir = __commonJS({
|
|
210405
|
-
"node_modules/.pnpm/@nx+js@19.
|
|
210405
|
+
"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) {
|
|
210406
210406
|
"use strict";
|
|
210407
210407
|
Object.defineProperty(exports2, "__esModule", { value: true });
|
|
210408
210408
|
exports2.getRelativeDirectoryToProjectRoot = void 0;
|
|
@@ -210417,9 +210417,9 @@ var require_get_main_file_dir = __commonJS({
|
|
|
210417
210417
|
}
|
|
210418
210418
|
});
|
|
210419
210419
|
|
|
210420
|
-
// node_modules/.pnpm/@nx+js@19.
|
|
210420
|
+
// 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
|
|
210421
210421
|
var require_update_package_json = __commonJS({
|
|
210422
|
-
"node_modules/.pnpm/@nx+js@19.
|
|
210422
|
+
"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) {
|
|
210423
210423
|
"use strict";
|
|
210424
210424
|
Object.defineProperty(exports2, "__esModule", { value: true });
|
|
210425
210425
|
exports2.getUpdatedPackageJsonContent = exports2.getExports = exports2.updatePackageJson = void 0;
|
|
@@ -210581,9 +210581,9 @@ var require_update_package_json = __commonJS({
|
|
|
210581
210581
|
}
|
|
210582
210582
|
});
|
|
210583
210583
|
|
|
210584
|
-
// node_modules/.pnpm/@nx+js@19.
|
|
210584
|
+
// 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
|
|
210585
210585
|
var require_buildable_libs_utils = __commonJS({
|
|
210586
|
-
"node_modules/.pnpm/@nx+js@19.
|
|
210586
|
+
"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) {
|
|
210587
210587
|
"use strict";
|
|
210588
210588
|
Object.defineProperty(exports2, "__esModule", { value: true });
|
|
210589
210589
|
exports2.updateBuildableProjectPackageJsonDependencies = exports2.updatePaths = exports2.findMissingBuildDependencies = exports2.checkDependentProjectsHaveBeenBuilt = exports2.createTmpTsConfig = exports2.computeCompilerOptionsPaths = exports2.calculateDependenciesFromTaskGraph = exports2.calculateProjectDependencies = exports2.calculateProjectBuildableDependencies = void 0;
|
|
@@ -210909,9 +210909,9 @@ var require_buildable_libs_utils = __commonJS({
|
|
|
210909
210909
|
}
|
|
210910
210910
|
});
|
|
210911
210911
|
|
|
210912
|
-
// node_modules/.pnpm/@nx+js@19.
|
|
210912
|
+
// 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
|
|
210913
210913
|
var require_check_dependencies = __commonJS({
|
|
210914
|
-
"node_modules/.pnpm/@nx+js@19.
|
|
210914
|
+
"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) {
|
|
210915
210915
|
"use strict";
|
|
210916
210916
|
Object.defineProperty(exports2, "__esModule", { value: true });
|
|
210917
210917
|
exports2.checkDependencies = void 0;
|
|
@@ -210938,9 +210938,9 @@ var require_check_dependencies = __commonJS({
|
|
|
210938
210938
|
}
|
|
210939
210939
|
});
|
|
210940
210940
|
|
|
210941
|
-
// node_modules/.pnpm/@nx+js@19.
|
|
210941
|
+
// 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
|
|
210942
210942
|
var require_package_json = __commonJS({
|
|
210943
|
-
"node_modules/.pnpm/@nx+js@19.
|
|
210943
|
+
"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) {
|
|
210944
210944
|
"use strict";
|
|
210945
210945
|
Object.defineProperty(exports2, "__esModule", { value: true });
|
|
210946
210946
|
exports2.copyPackageJson = void 0;
|
|
@@ -218279,9 +218279,9 @@ var require_out4 = __commonJS({
|
|
|
218279
218279
|
}
|
|
218280
218280
|
});
|
|
218281
218281
|
|
|
218282
|
-
// node_modules/.pnpm/@nx+js@19.
|
|
218282
|
+
// 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
|
|
218283
218283
|
var require_copy_assets_handler = __commonJS({
|
|
218284
|
-
"node_modules/.pnpm/@nx+js@19.
|
|
218284
|
+
"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) {
|
|
218285
218285
|
"use strict";
|
|
218286
218286
|
Object.defineProperty(exports2, "__esModule", { value: true });
|
|
218287
218287
|
exports2.CopyAssetsHandler = exports2.defaultFileEventHandler = void 0;
|
|
@@ -218429,9 +218429,9 @@ var require_copy_assets_handler = __commonJS({
|
|
|
218429
218429
|
}
|
|
218430
218430
|
});
|
|
218431
218431
|
|
|
218432
|
-
// node_modules/.pnpm/@nx+js@19.
|
|
218432
|
+
// 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
|
|
218433
218433
|
var require_assets = __commonJS({
|
|
218434
|
-
"node_modules/.pnpm/@nx+js@19.
|
|
218434
|
+
"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) {
|
|
218435
218435
|
"use strict";
|
|
218436
218436
|
Object.defineProperty(exports2, "__esModule", { value: true });
|
|
218437
218437
|
exports2.copyAssets = void 0;
|
|
@@ -218461,9 +218461,9 @@ var require_assets = __commonJS({
|
|
|
218461
218461
|
}
|
|
218462
218462
|
});
|
|
218463
218463
|
|
|
218464
|
-
// node_modules/.pnpm/@nx+js@19.
|
|
218464
|
+
// 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
|
|
218465
218465
|
var require_create_entry_points = __commonJS({
|
|
218466
|
-
"node_modules/.pnpm/@nx+js@19.
|
|
218466
|
+
"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) {
|
|
218467
218467
|
"use strict";
|
|
218468
218468
|
Object.defineProperty(exports2, "__esModule", { value: true });
|
|
218469
218469
|
exports2.createEntryPoints = void 0;
|
|
@@ -218485,9 +218485,9 @@ var require_create_entry_points = __commonJS({
|
|
|
218485
218485
|
}
|
|
218486
218486
|
});
|
|
218487
218487
|
|
|
218488
|
-
// node_modules/.pnpm/@nx+js@19.
|
|
218488
|
+
// 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
|
|
218489
218489
|
var require_add_swc_config = __commonJS({
|
|
218490
|
-
"node_modules/.pnpm/@nx+js@19.
|
|
218490
|
+
"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) {
|
|
218491
218491
|
"use strict";
|
|
218492
218492
|
Object.defineProperty(exports2, "__esModule", { value: true });
|
|
218493
218493
|
exports2.addSwcConfig = exports2.defaultExclude = void 0;
|
|
@@ -218532,9 +218532,9 @@ var require_add_swc_config = __commonJS({
|
|
|
218532
218532
|
}
|
|
218533
218533
|
});
|
|
218534
218534
|
|
|
218535
|
-
// node_modules/.pnpm/@nx+js@19.
|
|
218535
|
+
// 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
|
|
218536
218536
|
var require_add_swc_dependencies = __commonJS({
|
|
218537
|
-
"node_modules/.pnpm/@nx+js@19.
|
|
218537
|
+
"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) {
|
|
218538
218538
|
"use strict";
|
|
218539
218539
|
Object.defineProperty(exports2, "__esModule", { value: true });
|
|
218540
218540
|
exports2.addSwcRegisterDependencies = exports2.addSwcDependencies = void 0;
|
|
@@ -220380,9 +220380,9 @@ var require_semver2 = __commonJS({
|
|
|
220380
220380
|
}
|
|
220381
220381
|
});
|
|
220382
220382
|
|
|
220383
|
-
// node_modules/.pnpm/@nx+js@19.
|
|
220383
|
+
// 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
|
|
220384
220384
|
var require_init = __commonJS({
|
|
220385
|
-
"node_modules/.pnpm/@nx+js@19.
|
|
220385
|
+
"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) {
|
|
220386
220386
|
"use strict";
|
|
220387
220387
|
Object.defineProperty(exports2, "__esModule", { value: true });
|
|
220388
220388
|
exports2.initGenerator = void 0;
|
|
@@ -220461,6 +220461,7 @@ var require_init = __commonJS({
|
|
|
220461
220461
|
/dist
|
|
220462
220462
|
/coverage
|
|
220463
220463
|
/.nx/cache
|
|
220464
|
+
/.nx/workspace-data
|
|
220464
220465
|
`);
|
|
220465
220466
|
}
|
|
220466
220467
|
if (tree.exists(".vscode/extensions.json")) {
|
|
@@ -220491,9 +220492,9 @@ var require_init = __commonJS({
|
|
|
220491
220492
|
}
|
|
220492
220493
|
});
|
|
220493
220494
|
|
|
220494
|
-
// node_modules/.pnpm/@nx+js@19.
|
|
220495
|
+
// 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
|
|
220495
220496
|
var require_generator = __commonJS({
|
|
220496
|
-
"node_modules/.pnpm/@nx+js@19.
|
|
220497
|
+
"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) {
|
|
220497
220498
|
"use strict";
|
|
220498
220499
|
Object.defineProperty(exports2, "__esModule", { value: true });
|
|
220499
220500
|
exports2.setupVerdaccio = void 0;
|
|
@@ -220550,9 +220551,9 @@ var require_generator = __commonJS({
|
|
|
220550
220551
|
}
|
|
220551
220552
|
});
|
|
220552
220553
|
|
|
220553
|
-
// node_modules/.pnpm/@nx+eslint@19.
|
|
220554
|
+
// 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
|
|
220554
220555
|
var require_flat_config = __commonJS({
|
|
220555
|
-
"node_modules/.pnpm/@nx+eslint@19.
|
|
220556
|
+
"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) {
|
|
220556
220557
|
"use strict";
|
|
220557
220558
|
Object.defineProperty(exports2, "__esModule", { value: true });
|
|
220558
220559
|
exports2.useFlatConfig = void 0;
|
|
@@ -220563,9 +220564,9 @@ var require_flat_config = __commonJS({
|
|
|
220563
220564
|
}
|
|
220564
220565
|
});
|
|
220565
220566
|
|
|
220566
|
-
// node_modules/.pnpm/@nx+eslint@19.
|
|
220567
|
+
// 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
|
|
220567
220568
|
var require_path_utils = __commonJS({
|
|
220568
|
-
"node_modules/.pnpm/@nx+eslint@19.
|
|
220569
|
+
"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) {
|
|
220569
220570
|
"use strict";
|
|
220570
220571
|
Object.defineProperty(exports2, "__esModule", { value: true });
|
|
220571
220572
|
exports2.mapFilePath = exports2.updateFiles = void 0;
|
|
@@ -220595,9 +220596,9 @@ var require_path_utils = __commonJS({
|
|
|
220595
220596
|
}
|
|
220596
220597
|
});
|
|
220597
220598
|
|
|
220598
|
-
// node_modules/.pnpm/@nx+eslint@19.
|
|
220599
|
+
// 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
|
|
220599
220600
|
var require_ast_utils2 = __commonJS({
|
|
220600
|
-
"node_modules/.pnpm/@nx+eslint@19.
|
|
220601
|
+
"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) {
|
|
220601
220602
|
"use strict";
|
|
220602
220603
|
Object.defineProperty(exports2, "__esModule", { value: true });
|
|
220603
220604
|
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;
|
|
@@ -220925,7 +220926,7 @@ ${insert},`
|
|
|
220925
220926
|
if (result.includes("const compat = new FlatCompat")) {
|
|
220926
220927
|
return result;
|
|
220927
220928
|
}
|
|
220928
|
-
result = addImportToFlatConfig(result, "FlatCompat", "@eslint/eslintrc");
|
|
220929
|
+
result = addImportToFlatConfig(result, ["FlatCompat"], "@eslint/eslintrc");
|
|
220929
220930
|
const index = result.indexOf("module.exports");
|
|
220930
220931
|
return (0, devkit_1.applyChangesToString)(result, [
|
|
220931
220932
|
{
|
|
@@ -221072,33 +221073,79 @@ const compat = new FlatCompat({
|
|
|
221072
221073
|
}
|
|
221073
221074
|
});
|
|
221074
221075
|
|
|
221075
|
-
// node_modules/.pnpm/@nx+eslint@19.
|
|
221076
|
+
// 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
|
|
221076
221077
|
var require_config_file = __commonJS({
|
|
221077
|
-
"node_modules/.pnpm/@nx+eslint@19.
|
|
221078
|
+
"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) {
|
|
221078
221079
|
"use strict";
|
|
221079
221080
|
Object.defineProperty(exports2, "__esModule", { value: true });
|
|
221080
|
-
exports2.isFlatConfig = exports2.baseEsLintFlatConfigFile = exports2.baseEsLintConfigFile = exports2.ESLINT_CONFIG_FILENAMES = void 0;
|
|
221081
|
-
|
|
221081
|
+
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;
|
|
221082
|
+
var fs_1 = require("fs");
|
|
221083
|
+
var path_1 = require("path");
|
|
221084
|
+
exports2.ESLINT_FLAT_CONFIG_FILENAMES = ["eslint.config.js"];
|
|
221085
|
+
exports2.ESLINT_OLD_CONFIG_FILENAMES = [
|
|
221082
221086
|
".eslintrc",
|
|
221083
221087
|
".eslintrc.js",
|
|
221084
221088
|
".eslintrc.cjs",
|
|
221085
221089
|
".eslintrc.yaml",
|
|
221086
221090
|
".eslintrc.yml",
|
|
221087
|
-
".eslintrc.json"
|
|
221088
|
-
|
|
221091
|
+
".eslintrc.json"
|
|
221092
|
+
];
|
|
221093
|
+
exports2.ESLINT_CONFIG_FILENAMES = [
|
|
221094
|
+
...exports2.ESLINT_OLD_CONFIG_FILENAMES,
|
|
221095
|
+
...exports2.ESLINT_FLAT_CONFIG_FILENAMES
|
|
221089
221096
|
];
|
|
221090
221097
|
exports2.baseEsLintConfigFile = ".eslintrc.base.json";
|
|
221091
221098
|
exports2.baseEsLintFlatConfigFile = "eslint.base.config.js";
|
|
221092
221099
|
function isFlatConfig(configFilePath) {
|
|
221093
|
-
|
|
221100
|
+
const configFileName = (0, path_1.basename)(configFilePath);
|
|
221101
|
+
return exports2.ESLINT_FLAT_CONFIG_FILENAMES.includes(configFileName);
|
|
221094
221102
|
}
|
|
221095
221103
|
exports2.isFlatConfig = isFlatConfig;
|
|
221104
|
+
function findFlatConfigFile(directory, workspaceRoot) {
|
|
221105
|
+
let currentDir = (0, path_1.resolve)(workspaceRoot, directory);
|
|
221106
|
+
if (currentDir === workspaceRoot) {
|
|
221107
|
+
return getConfigFileInDirectory(currentDir, exports2.ESLINT_FLAT_CONFIG_FILENAMES);
|
|
221108
|
+
}
|
|
221109
|
+
while (currentDir !== workspaceRoot) {
|
|
221110
|
+
const configFilePath = getConfigFileInDirectory(currentDir, exports2.ESLINT_FLAT_CONFIG_FILENAMES);
|
|
221111
|
+
if (configFilePath) {
|
|
221112
|
+
return configFilePath;
|
|
221113
|
+
}
|
|
221114
|
+
currentDir = (0, path_1.dirname)(currentDir);
|
|
221115
|
+
}
|
|
221116
|
+
return null;
|
|
221117
|
+
}
|
|
221118
|
+
exports2.findFlatConfigFile = findFlatConfigFile;
|
|
221119
|
+
function findOldConfigFile(filePathOrDirectory, workspaceRoot) {
|
|
221120
|
+
let currentDir = (0, fs_1.statSync)(filePathOrDirectory).isDirectory() ? filePathOrDirectory : (0, path_1.dirname)(filePathOrDirectory);
|
|
221121
|
+
if (currentDir === workspaceRoot) {
|
|
221122
|
+
return getConfigFileInDirectory(currentDir, exports2.ESLINT_OLD_CONFIG_FILENAMES);
|
|
221123
|
+
}
|
|
221124
|
+
while (currentDir !== workspaceRoot) {
|
|
221125
|
+
const configFilePath = getConfigFileInDirectory(currentDir, exports2.ESLINT_OLD_CONFIG_FILENAMES);
|
|
221126
|
+
if (configFilePath) {
|
|
221127
|
+
return configFilePath;
|
|
221128
|
+
}
|
|
221129
|
+
currentDir = (0, path_1.dirname)(currentDir);
|
|
221130
|
+
}
|
|
221131
|
+
return null;
|
|
221132
|
+
}
|
|
221133
|
+
exports2.findOldConfigFile = findOldConfigFile;
|
|
221134
|
+
function getConfigFileInDirectory(directory, candidateFileNames) {
|
|
221135
|
+
for (const filename of candidateFileNames) {
|
|
221136
|
+
const filePath = (0, path_1.join)(directory, filename);
|
|
221137
|
+
if ((0, fs_1.existsSync)(filePath)) {
|
|
221138
|
+
return filePath;
|
|
221139
|
+
}
|
|
221140
|
+
}
|
|
221141
|
+
return null;
|
|
221142
|
+
}
|
|
221096
221143
|
}
|
|
221097
221144
|
});
|
|
221098
221145
|
|
|
221099
|
-
// node_modules/.pnpm/@nx+eslint@19.
|
|
221146
|
+
// 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
|
|
221100
221147
|
var require_eslint_file = __commonJS({
|
|
221101
|
-
"node_modules/.pnpm/@nx+eslint@19.
|
|
221148
|
+
"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) {
|
|
221102
221149
|
"use strict";
|
|
221103
221150
|
Object.defineProperty(exports2, "__esModule", { value: true });
|
|
221104
221151
|
exports2.getPluginImport = exports2.addIgnoresToLintConfig = exports2.addPluginsToLintConfig = exports2.addExtendsToLintConfig = exports2.replaceOverridesInLintConfig = exports2.lintConfigHasOverride = exports2.updateOverrideInLintConfig = exports2.addOverrideToLintConfig = exports2.updateRelativePathsInConfig = exports2.isEslintConfigSupported = exports2.findEslintFile = void 0;
|
|
@@ -221268,7 +221315,7 @@ var require_eslint_file = __commonJS({
|
|
|
221268
221315
|
content = (0, ast_utils_1.removeOverridesFromLintConfig)(content);
|
|
221269
221316
|
overrides.forEach((override) => {
|
|
221270
221317
|
const flatOverride = (0, ast_utils_1.generateFlatOverride)(override);
|
|
221271
|
-
(0, ast_utils_1.addBlockToFlatConfigExport)(content, flatOverride);
|
|
221318
|
+
content = (0, ast_utils_1.addBlockToFlatConfigExport)(content, flatOverride);
|
|
221272
221319
|
});
|
|
221273
221320
|
tree.write(fileName, content);
|
|
221274
221321
|
} else {
|
|
@@ -221287,7 +221334,9 @@ var require_eslint_file = __commonJS({
|
|
|
221287
221334
|
const pluginExtends = (0, ast_utils_1.generatePluginExtendsElement)(plugins);
|
|
221288
221335
|
let content = tree.read(fileName, "utf8");
|
|
221289
221336
|
content = (0, ast_utils_1.addCompatToFlatConfig)(content);
|
|
221290
|
-
tree.write(fileName, (0, ast_utils_1.addBlockToFlatConfigExport)(content, pluginExtends
|
|
221337
|
+
tree.write(fileName, (0, ast_utils_1.addBlockToFlatConfigExport)(content, pluginExtends, {
|
|
221338
|
+
insertAtTheEnd: false
|
|
221339
|
+
}));
|
|
221291
221340
|
} else {
|
|
221292
221341
|
const fileName = (0, devkit_1.joinPathFragments)(root, ".eslintrc.json");
|
|
221293
221342
|
(0, devkit_1.updateJson)(tree, fileName, (json) => {
|
|
@@ -221363,9 +221412,9 @@ var require_eslint_file = __commonJS({
|
|
|
221363
221412
|
}
|
|
221364
221413
|
});
|
|
221365
221414
|
|
|
221366
|
-
// node_modules/.pnpm/@nx+js@19.
|
|
221415
|
+
// 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
|
|
221367
221416
|
var require_library = __commonJS({
|
|
221368
|
-
"node_modules/.pnpm/@nx+js@19.
|
|
221417
|
+
"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) {
|
|
221369
221418
|
"use strict";
|
|
221370
221419
|
Object.defineProperty(exports2, "__esModule", { value: true });
|
|
221371
221420
|
exports2.addLint = exports2.libraryGeneratorInternal = exports2.libraryGenerator = void 0;
|
|
@@ -221409,6 +221458,14 @@ var require_library = __commonJS({
|
|
|
221409
221458
|
if (options.publishable) {
|
|
221410
221459
|
tasks.push(await (0, generator_1.default)(tree, { ...options, skipFormat: true }));
|
|
221411
221460
|
}
|
|
221461
|
+
if (options.bundler === "rollup") {
|
|
221462
|
+
const { configurationGenerator } = (0, devkit_1.ensurePackage)("@nx/rollup", versions_1.nxVersion);
|
|
221463
|
+
await configurationGenerator(tree, {
|
|
221464
|
+
project: options.name,
|
|
221465
|
+
compiler: "swc",
|
|
221466
|
+
format: ["cjs", "esm"]
|
|
221467
|
+
});
|
|
221468
|
+
}
|
|
221412
221469
|
if (options.bundler === "vite") {
|
|
221413
221470
|
const { viteConfigurationGenerator, createOrEditViteConfig } = (0, devkit_1.ensurePackage)("@nx/vite", versions_1.nxVersion);
|
|
221414
221471
|
const viteTask = await viteConfigurationGenerator(tree, {
|
|
@@ -221487,35 +221544,31 @@ var require_library = __commonJS({
|
|
|
221487
221544
|
tags: options.parsedTags
|
|
221488
221545
|
};
|
|
221489
221546
|
if (options.bundler && options.bundler !== "none" && options.config !== "npm-scripts") {
|
|
221490
|
-
|
|
221491
|
-
|
|
221492
|
-
|
|
221493
|
-
|
|
221494
|
-
|
|
221495
|
-
|
|
221496
|
-
|
|
221497
|
-
|
|
221498
|
-
|
|
221499
|
-
|
|
221500
|
-
|
|
221547
|
+
if (options.bundler !== "rollup") {
|
|
221548
|
+
const outputPath = getOutputPath(options);
|
|
221549
|
+
const executor = getBuildExecutor(options.bundler);
|
|
221550
|
+
(0, add_build_target_defaults_1.addBuildTargetDefaults)(tree, executor);
|
|
221551
|
+
projectConfiguration.targets.build = {
|
|
221552
|
+
executor,
|
|
221553
|
+
outputs: ["{options.outputPath}"],
|
|
221554
|
+
options: {
|
|
221555
|
+
outputPath,
|
|
221556
|
+
main: `${options.projectRoot}/src/index` + (options.js ? ".js" : ".ts"),
|
|
221557
|
+
tsConfig: `${options.projectRoot}/tsconfig.lib.json`,
|
|
221558
|
+
assets: []
|
|
221559
|
+
}
|
|
221560
|
+
};
|
|
221561
|
+
if (options.bundler === "esbuild") {
|
|
221562
|
+
projectConfiguration.targets.build.options.generatePackageJson = true;
|
|
221563
|
+
projectConfiguration.targets.build.options.format = ["cjs"];
|
|
221564
|
+
}
|
|
221565
|
+
if (options.bundler === "swc" && options.skipTypeCheck) {
|
|
221566
|
+
projectConfiguration.targets.build.options.skipTypeCheck = true;
|
|
221567
|
+
}
|
|
221568
|
+
if (!options.minimal) {
|
|
221569
|
+
projectConfiguration.targets.build.options.assets ??= [];
|
|
221570
|
+
projectConfiguration.targets.build.options.assets.push((0, devkit_1.joinPathFragments)(options.projectRoot, "*.md"));
|
|
221501
221571
|
}
|
|
221502
|
-
};
|
|
221503
|
-
if (options.bundler === "esbuild") {
|
|
221504
|
-
projectConfiguration.targets.build.options.generatePackageJson = true;
|
|
221505
|
-
projectConfiguration.targets.build.options.format = ["cjs"];
|
|
221506
|
-
}
|
|
221507
|
-
if (options.bundler === "rollup") {
|
|
221508
|
-
projectConfiguration.targets.build.options.project = `${options.projectRoot}/package.json`;
|
|
221509
|
-
projectConfiguration.targets.build.options.compiler = "swc";
|
|
221510
|
-
projectConfiguration.targets.build.options.format = ["cjs", "esm"];
|
|
221511
|
-
}
|
|
221512
|
-
if (options.bundler === "swc" && options.skipTypeCheck) {
|
|
221513
|
-
projectConfiguration.targets.build.options.skipTypeCheck = true;
|
|
221514
|
-
}
|
|
221515
|
-
if (!options.minimal && // TODO(jack): assets for rollup have validation that we need to fix (assets must be under <project-root>/src)
|
|
221516
|
-
options.bundler !== "rollup") {
|
|
221517
|
-
projectConfiguration.targets.build.options.assets ??= [];
|
|
221518
|
-
projectConfiguration.targets.build.options.assets.push((0, devkit_1.joinPathFragments)(options.projectRoot, "*.md"));
|
|
221519
221572
|
}
|
|
221520
221573
|
if (options.publishable) {
|
|
221521
221574
|
const packageRoot = (0, path_1.join)(defaultOutputDirectory, "{projectRoot}");
|
|
@@ -221561,7 +221614,9 @@ var require_library = __commonJS({
|
|
|
221561
221614
|
unitTestRunner: options.unitTestRunner,
|
|
221562
221615
|
setParserOptionsProject: options.setParserOptionsProject,
|
|
221563
221616
|
rootProject: options.rootProject,
|
|
221564
|
-
addPlugin: options.addPlugin
|
|
221617
|
+
addPlugin: options.addPlugin,
|
|
221618
|
+
// Since the build target is inferred now, we need to let the generator know to add @nx/dependency-checks regardless.
|
|
221619
|
+
addPackageJsonDependencyChecks: options.bundler !== "none"
|
|
221565
221620
|
});
|
|
221566
221621
|
const {
|
|
221567
221622
|
addOverrideToLintConfig,
|
|
@@ -222058,9 +222113,9 @@ var require_library = __commonJS({
|
|
|
222058
222113
|
}
|
|
222059
222114
|
});
|
|
222060
222115
|
|
|
222061
|
-
// node_modules/.pnpm/@nx+js@19.
|
|
222116
|
+
// 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
|
|
222062
222117
|
var require_is_valid_variable = __commonJS({
|
|
222063
|
-
"node_modules/.pnpm/@nx+js@19.
|
|
222118
|
+
"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) {
|
|
222064
222119
|
"use strict";
|
|
222065
222120
|
Object.defineProperty(exports2, "__esModule", { value: true });
|
|
222066
222121
|
exports2.isValidVariable = void 0;
|
|
@@ -222094,9 +222149,9 @@ var require_is_valid_variable = __commonJS({
|
|
|
222094
222149
|
}
|
|
222095
222150
|
});
|
|
222096
222151
|
|
|
222097
|
-
// node_modules/.pnpm/@nx+js@19.
|
|
222152
|
+
// 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
|
|
222098
222153
|
var require_src = __commonJS({
|
|
222099
|
-
"node_modules/.pnpm/@nx+js@19.
|
|
222154
|
+
"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) {
|
|
222100
222155
|
"use strict";
|
|
222101
222156
|
Object.defineProperty(exports2, "__esModule", { value: true });
|
|
222102
222157
|
exports2.createPackageJson = exports2.getLockFileName = exports2.createLockFile = exports2.isValidVariable = exports2.setupVerdaccio = exports2.initGenerator = exports2.libraryGenerator = void 0;
|
|
@@ -222144,12 +222199,12 @@ var require_src = __commonJS({
|
|
|
222144
222199
|
}
|
|
222145
222200
|
});
|
|
222146
222201
|
|
|
222147
|
-
// node_modules/.pnpm/@nx+node@19.
|
|
222202
|
+
// node_modules/.pnpm/@nx+node@19.2.0_@babel+traverse@7.24.7_@swc-node+register@1.9.1_@swc+core@1.5.7_@swc+helpers@_symcv2dz2nckb5ttj6kqvk4wua/node_modules/@nx/node/package.json
|
|
222148
222203
|
var require_package2 = __commonJS({
|
|
222149
|
-
"node_modules/.pnpm/@nx+node@19.
|
|
222204
|
+
"node_modules/.pnpm/@nx+node@19.2.0_@babel+traverse@7.24.7_@swc-node+register@1.9.1_@swc+core@1.5.7_@swc+helpers@_symcv2dz2nckb5ttj6kqvk4wua/node_modules/@nx/node/package.json"(exports2, module2) {
|
|
222150
222205
|
module2.exports = {
|
|
222151
222206
|
name: "@nx/node",
|
|
222152
|
-
version: "19.
|
|
222207
|
+
version: "19.2.0",
|
|
222153
222208
|
private: false,
|
|
222154
222209
|
description: "The Node Plugin for Nx contains generators to manage Node applications within an Nx workspace.",
|
|
222155
222210
|
repository: {
|
|
@@ -222181,11 +222236,11 @@ var require_package2 = __commonJS({
|
|
|
222181
222236
|
},
|
|
222182
222237
|
dependencies: {
|
|
222183
222238
|
tslib: "^2.3.0",
|
|
222184
|
-
"@nx/devkit": "19.
|
|
222185
|
-
"@nx/jest": "19.
|
|
222186
|
-
"@nx/js": "19.
|
|
222187
|
-
"@nx/eslint": "19.
|
|
222188
|
-
"@nrwl/node": "19.
|
|
222239
|
+
"@nx/devkit": "19.2.0",
|
|
222240
|
+
"@nx/jest": "19.2.0",
|
|
222241
|
+
"@nx/js": "19.2.0",
|
|
222242
|
+
"@nx/eslint": "19.2.0",
|
|
222243
|
+
"@nrwl/node": "19.2.0"
|
|
222189
222244
|
},
|
|
222190
222245
|
publishConfig: {
|
|
222191
222246
|
access: "public"
|
|
@@ -222195,9 +222250,9 @@ var require_package2 = __commonJS({
|
|
|
222195
222250
|
}
|
|
222196
222251
|
});
|
|
222197
222252
|
|
|
222198
|
-
// node_modules/.pnpm/@nx+node@19.
|
|
222253
|
+
// node_modules/.pnpm/@nx+node@19.2.0_@babel+traverse@7.24.7_@swc-node+register@1.9.1_@swc+core@1.5.7_@swc+helpers@_symcv2dz2nckb5ttj6kqvk4wua/node_modules/@nx/node/src/utils/versions.js
|
|
222199
222254
|
var require_versions2 = __commonJS({
|
|
222200
|
-
"node_modules/.pnpm/@nx+node@19.
|
|
222255
|
+
"node_modules/.pnpm/@nx+node@19.2.0_@babel+traverse@7.24.7_@swc-node+register@1.9.1_@swc+core@1.5.7_@swc+helpers@_symcv2dz2nckb5ttj6kqvk4wua/node_modules/@nx/node/src/utils/versions.js"(exports2) {
|
|
222201
222256
|
"use strict";
|
|
222202
222257
|
Object.defineProperty(exports2, "__esModule", { value: true });
|
|
222203
222258
|
exports2.axiosVersion = exports2.fastifyPluginVersion = exports2.fastifySensibleVersion = exports2.fastifyAutoloadVersion = exports2.fastifyVersion = exports2.koaTypingsVersion = exports2.koaVersion = exports2.expressTypingsVersion = exports2.expressVersion = exports2.typesNodeVersion = exports2.tslibVersion = exports2.nxVersion = void 0;
|
|
@@ -222221,35 +222276,27 @@ var require_package3 = __commonJS({
|
|
|
222221
222276
|
"packages/cloudflare-tools/package.json"(exports2, module2) {
|
|
222222
222277
|
module2.exports = {
|
|
222223
222278
|
name: "@storm-software/cloudflare-tools",
|
|
222224
|
-
version: "0.
|
|
222225
|
-
|
|
222279
|
+
version: "0.7.0",
|
|
222280
|
+
type: "commonjs",
|
|
222226
222281
|
description: "\u26A1The Storm-Ops monorepo contains utility applications, tools, and various libraries to create modern and scalable web applications.",
|
|
222227
|
-
keywords: [
|
|
222228
|
-
"storm",
|
|
222229
|
-
"storm-ops",
|
|
222230
|
-
"stormstack",
|
|
222231
|
-
"storm-stack",
|
|
222232
|
-
"sullivanpj",
|
|
222233
|
-
"open-system",
|
|
222234
|
-
"monorepo"
|
|
222235
|
-
],
|
|
222236
|
-
homepage: "https://stormsoftware.com",
|
|
222237
|
-
bugs: {
|
|
222238
|
-
url: "https://github.com/storm-software/storm-ops/issues",
|
|
222239
|
-
email: "support@stormsoftware.com"
|
|
222240
|
-
},
|
|
222241
222282
|
repository: {
|
|
222242
222283
|
type: "github",
|
|
222243
222284
|
url: "https://github.com/storm-software/storm-ops",
|
|
222244
222285
|
directory: "packages/cloudflare-tools"
|
|
222245
222286
|
},
|
|
222246
|
-
|
|
222287
|
+
homepage: "https://stormsoftware.com",
|
|
222288
|
+
bugs: {
|
|
222289
|
+
url: "https://github.com/storm-software/storm-ops/issues",
|
|
222290
|
+
email: "support@stormsoftware.com"
|
|
222291
|
+
},
|
|
222247
222292
|
author: {
|
|
222248
222293
|
name: "Storm Software",
|
|
222249
222294
|
email: "contact@stormsoftware.com",
|
|
222250
222295
|
url: "https://stormsoftware.com"
|
|
222251
222296
|
},
|
|
222252
|
-
|
|
222297
|
+
license: "Apache 2.0",
|
|
222298
|
+
private: false,
|
|
222299
|
+
main: "./index.js",
|
|
222253
222300
|
exports: {
|
|
222254
222301
|
".": "./index.js",
|
|
222255
222302
|
"./package.json": "./package.json",
|
|
@@ -222259,8 +222306,16 @@ var require_package3 = __commonJS({
|
|
|
222259
222306
|
"./executors/*/schema.json": "./src/executors/*/schema.json",
|
|
222260
222307
|
"./plugin": "./src/plugin/index.js"
|
|
222261
222308
|
},
|
|
222262
|
-
main: "./index.js",
|
|
222263
222309
|
typings: "./declarations.d.ts",
|
|
222310
|
+
keywords: [
|
|
222311
|
+
"storm",
|
|
222312
|
+
"storm-ops",
|
|
222313
|
+
"stormstack",
|
|
222314
|
+
"storm-stack",
|
|
222315
|
+
"sullivanpj",
|
|
222316
|
+
"open-system",
|
|
222317
|
+
"monorepo"
|
|
222318
|
+
],
|
|
222264
222319
|
dependencies: {
|
|
222265
222320
|
"@nx/devkit": "^19.1.0",
|
|
222266
222321
|
"@nx/node": "^19.1.0",
|