@storm-software/pulumi-tools 0.22.263 → 0.22.265
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 +36 -0
- package/README.md +1 -1
- package/dist/{chunk-3F3DPRLC.js → chunk-3VWSQ2SS.js} +72 -62
- package/dist/{chunk-4UDIIH6T.mjs → chunk-5UMYMZRA.mjs} +1 -1
- package/dist/{chunk-ZVWFS45F.js → chunk-AWP77CXN.js} +2 -2
- package/dist/{chunk-O6OCMLAP.mjs → chunk-DFZUZOLL.mjs} +1 -1
- package/dist/{chunk-SB56QZUD.mjs → chunk-FLUX3ET7.mjs} +31 -21
- package/dist/{chunk-OSSCO6HW.js → chunk-GTZLRIOL.js} +3 -3
- package/dist/{chunk-63NU7YCY.js → chunk-IYHI4LBK.js} +2 -2
- package/dist/{chunk-LUOI3VWF.js → chunk-L3E6R4RK.js} +2 -2
- package/dist/{chunk-FXGZ326V.mjs → chunk-NDN3RVIF.mjs} +1 -1
- package/dist/{chunk-WD4ZFUNO.mjs → chunk-NLQG5KWS.mjs} +1 -1
- package/dist/{chunk-O4NLMN5H.js → chunk-NO345UZJ.js} +5 -5
- package/dist/{chunk-LYBGZ4MO.js → chunk-OZCLSR3Y.js} +2 -2
- package/dist/{chunk-4JDHJLWM.mjs → chunk-P4GGKYJK.mjs} +1 -1
- package/dist/{chunk-O67GNKWY.mjs → chunk-UB6ZNCMG.mjs} +1 -1
- package/dist/{chunk-3ZK46FAR.mjs → chunk-V7MEDIVC.mjs} +1 -1
- package/dist/{chunk-M3JNWKGD.js → chunk-WTRYK6OF.js} +2 -2
- package/dist/{chunk-5QIKSWOJ.mjs → chunk-ZTHBX2FQ.mjs} +1 -1
- package/dist/executors.js +7 -7
- package/dist/executors.mjs +8 -8
- package/dist/generators.js +3 -3
- package/dist/generators.mjs +3 -3
- package/dist/index.js +9 -9
- package/dist/index.mjs +9 -9
- package/dist/src/base/base-executor.js +3 -3
- package/dist/src/base/base-executor.mjs +3 -3
- package/dist/src/base/index.js +3 -3
- package/dist/src/base/index.mjs +3 -3
- package/dist/src/base/providers.mjs +1 -1
- package/dist/src/executors/config/executor.js +4 -4
- package/dist/src/executors/config/executor.mjs +4 -4
- package/dist/src/executors/import/executor.js +4 -4
- package/dist/src/executors/import/executor.mjs +4 -4
- package/dist/src/executors/preview/executor.js +4 -4
- package/dist/src/executors/preview/executor.mjs +4 -4
- package/dist/src/executors/refresh/executor.js +4 -4
- package/dist/src/executors/refresh/executor.mjs +4 -4
- package/dist/src/executors/up/executor.js +4 -4
- package/dist/src/executors/up/executor.mjs +4 -4
- package/dist/src/generators/init/generator.js +3 -3
- package/dist/src/generators/init/generator.mjs +3 -3
- package/dist/src/lib/aws/index.mjs +1 -1
- package/dist/src/lib/aws/providers.mjs +1 -1
- package/dist/tsup.config.mjs +1 -1
- package/package.json +7 -7
package/CHANGELOG.md
CHANGED
|
@@ -2,6 +2,42 @@
|
|
|
2
2
|
|
|
3
3
|
# Changelog for Storm Ops - Pulumi Tools
|
|
4
4
|
|
|
5
|
+
## [0.22.265](https://github.com/storm-software/storm-ops/releases/tag/pulumi-tools%400.22.265) (06/30/2026)
|
|
6
|
+
|
|
7
|
+
### Miscellaneous
|
|
8
|
+
|
|
9
|
+
- **monorepo:** Update repository packages' dependencies ([6f81fb5b5](https://github.com/storm-software/storm-ops/commit/6f81fb5b5))
|
|
10
|
+
|
|
11
|
+
### Updated Dependencies
|
|
12
|
+
|
|
13
|
+
- Updated **config** to **v1.138.19**
|
|
14
|
+
- Updated **config-tools** to **v1.190.82**
|
|
15
|
+
- Updated **workspace-tools** to **v1.296.62**
|
|
16
|
+
|
|
17
|
+
## [0.22.264](https://github.com/storm-software/storm-ops/releases/tag/pulumi-tools%400.22.264) (06/29/2026)
|
|
18
|
+
|
|
19
|
+
### Bug Fixes
|
|
20
|
+
|
|
21
|
+
- **workspace-tools:** Resolve issue applying the cargo project name parameter ([f927214be](https://github.com/storm-software/storm-ops/commit/f927214be))
|
|
22
|
+
|
|
23
|
+
### Updated Dependencies
|
|
24
|
+
|
|
25
|
+
- Updated **config** to **v1.138.18**
|
|
26
|
+
- Updated **config-tools** to **v1.190.81**
|
|
27
|
+
- Updated **workspace-tools** to **v1.296.61**
|
|
28
|
+
|
|
29
|
+
## [0.22.263](https://github.com/storm-software/storm-ops/releases/tag/pulumi-tools%400.22.263) (06/28/2026)
|
|
30
|
+
|
|
31
|
+
### Miscellaneous
|
|
32
|
+
|
|
33
|
+
- **monorepo:** Upgrade workspace packages' dependencies ([fcc009e9d](https://github.com/storm-software/storm-ops/commit/fcc009e9d))
|
|
34
|
+
|
|
35
|
+
### Updated Dependencies
|
|
36
|
+
|
|
37
|
+
- Updated **config** to **v1.138.17**
|
|
38
|
+
- Updated **config-tools** to **v1.190.80**
|
|
39
|
+
- Updated **workspace-tools** to **v1.296.60**
|
|
40
|
+
|
|
5
41
|
## [0.22.262](https://github.com/storm-software/storm-ops/releases/tag/pulumi-tools%400.22.262) (06/28/2026)
|
|
6
42
|
|
|
7
43
|
### Updated Dependencies
|
package/README.md
CHANGED
|
@@ -27,7 +27,7 @@ This package is part of the <b>⚡Storm-Ops</b> monorepo. The Storm-Ops packages
|
|
|
27
27
|
|
|
28
28
|
<h3 align="center">💻 Visit <a href="https://stormsoftware.com" target="_blank">stormsoftware.com</a> to stay up to date with this developer</h3><br />
|
|
29
29
|
|
|
30
|
-
[](https://prettier.io/) [](http://nx.dev/) [](https://nextjs.org/) [](http://commitizen.github.io/cz-cli/)  [](https://fumadocs.vercel.app/) 
|
|
31
31
|
|
|
32
32
|
<!-- prettier-ignore-start -->
|
|
33
33
|
<!-- markdownlint-disable -->
|
|
@@ -1434,6 +1434,17 @@ function applyDefaultConfig(config) {
|
|
|
1434
1434
|
return config;
|
|
1435
1435
|
}
|
|
1436
1436
|
|
|
1437
|
+
// ../config-tools/src/utilities/toml.ts
|
|
1438
|
+
var _jtoml = require('@ltd/j-toml'); var _jtoml2 = _interopRequireDefault(_jtoml);
|
|
1439
|
+
function parseCargoToml(cargoString) {
|
|
1440
|
+
if (!cargoString) {
|
|
1441
|
+
throw new Error("Cargo.toml is empty");
|
|
1442
|
+
}
|
|
1443
|
+
return _jtoml2.default.parse(cargoString, {
|
|
1444
|
+
x: { comment: true }
|
|
1445
|
+
});
|
|
1446
|
+
}
|
|
1447
|
+
|
|
1437
1448
|
// ../config-tools/src/config-file/get-config-file.ts
|
|
1438
1449
|
var getConfigFileByName = async (fileName, filePath, options = {}) => {
|
|
1439
1450
|
const workspacePath = filePath || findWorkspaceRoot(filePath);
|
|
@@ -2467,6 +2478,7 @@ async function initGenerator(tree, schema) {
|
|
|
2467
2478
|
|
|
2468
2479
|
|
|
2469
2480
|
|
|
2481
|
+
|
|
2470
2482
|
var INVALID_CARGO_ARGS = [
|
|
2471
2483
|
"allFeatures",
|
|
2472
2484
|
"allTargets",
|
|
@@ -2499,8 +2511,17 @@ var buildCargoCommand = (baseCommand, options, context) => {
|
|
|
2499
2511
|
args.push(`--${key}`, String(value));
|
|
2500
2512
|
}
|
|
2501
2513
|
}
|
|
2502
|
-
if (context.projectName) {
|
|
2503
|
-
|
|
2514
|
+
if (context.projectName && _optionalChain([context, 'access', _107 => _107.projectsConfigurations, 'optionalAccess', _108 => _108.projects]) && _optionalChain([context, 'access', _109 => _109.projectsConfigurations, 'optionalAccess', _110 => _110.projects, 'access', _111 => _111[context.projectName]]) && _optionalChain([context, 'access', _112 => _112.projectsConfigurations, 'optionalAccess', _113 => _113.projects, 'access', _114 => _114[context.projectName], 'optionalAccess', _115 => _115.root]) && _optionalChain([context, 'access', _116 => _116.projectsConfigurations, 'optionalAccess', _117 => _117.projects, 'access', _118 => _118[context.projectName], 'optionalAccess', _119 => _119.root, 'access', _120 => _120.includes, 'call', _121 => _121("Cargo.toml")])) {
|
|
2515
|
+
const cargoToml = parseCargoToml(
|
|
2516
|
+
_fs.readFileSync.call(void 0,
|
|
2517
|
+
_devkit.joinPathFragments.call(void 0,
|
|
2518
|
+
context.projectsConfigurations.projects[context.projectName].root,
|
|
2519
|
+
"Cargo.toml"
|
|
2520
|
+
),
|
|
2521
|
+
"utf-8"
|
|
2522
|
+
)
|
|
2523
|
+
);
|
|
2524
|
+
args.push("-p", cargoToml.package.name);
|
|
2504
2525
|
}
|
|
2505
2526
|
if (options.allFeatures && !args.includes("--all-features")) {
|
|
2506
2527
|
args.push("--all-features");
|
|
@@ -2523,10 +2544,10 @@ async function cargoCommand(workspaceRoot2, ...args) {
|
|
|
2523
2544
|
}
|
|
2524
2545
|
function cargoCommandSync(args = "", options) {
|
|
2525
2546
|
const normalizedOptions = {
|
|
2526
|
-
stdio: _nullishCoalesce(_optionalChain([options, 'optionalAccess',
|
|
2547
|
+
stdio: _nullishCoalesce(_optionalChain([options, 'optionalAccess', _122 => _122.stdio]), () => ( "inherit")),
|
|
2527
2548
|
env: {
|
|
2528
2549
|
...process.env,
|
|
2529
|
-
..._optionalChain([options, 'optionalAccess',
|
|
2550
|
+
..._optionalChain([options, 'optionalAccess', _123 => _123.env])
|
|
2530
2551
|
}
|
|
2531
2552
|
};
|
|
2532
2553
|
try {
|
|
@@ -2559,7 +2580,7 @@ function cargoMetadata() {
|
|
|
2559
2580
|
}
|
|
2560
2581
|
function runProcess(workspaceRoot2, processCmd, ...args) {
|
|
2561
2582
|
const metadata = cargoMetadata();
|
|
2562
|
-
const targetDir = _nullishCoalesce(_optionalChain([metadata, 'optionalAccess',
|
|
2583
|
+
const targetDir = _nullishCoalesce(_optionalChain([metadata, 'optionalAccess', _124 => _124.target_directory]), () => ( _devkit.joinPathFragments.call(void 0, workspaceRoot2, "dist")));
|
|
2563
2584
|
return new Promise((resolve3) => {
|
|
2564
2585
|
if (process.env.VERCEL) {
|
|
2565
2586
|
return resolve3({ success: true });
|
|
@@ -2723,7 +2744,7 @@ var _resolve2 = require('resolve'); var _resolve3 = _interopRequireDefault(_reso
|
|
|
2723
2744
|
|
|
2724
2745
|
|
|
2725
2746
|
// ../build-tools/src/utilities/copy-assets.ts
|
|
2726
|
-
var
|
|
2747
|
+
var _internal = require('@nx/js/internal');
|
|
2727
2748
|
var _glob = require('glob');
|
|
2728
2749
|
|
|
2729
2750
|
var copyAssets = async (config, assets, outputPath, projectRoot, sourceRoot, generatePackageJson3 = true, includeSrc = false, banner, footer) => {
|
|
@@ -2757,7 +2778,7 @@ var copyAssets = async (config, assets, outputPath, projectRoot, sourceRoot, gen
|
|
|
2757
2778
|
${pendingAssets.map((pendingAsset) => typeof pendingAsset === "string" ? ` - ${pendingAsset} -> ${outputPath}` : ` - ${pendingAsset.input}/${pendingAsset.glob} -> ${joinPaths(outputPath, pendingAsset.output)}`).join("\n")}`,
|
|
2758
2779
|
config
|
|
2759
2780
|
);
|
|
2760
|
-
const assetHandler = new (0,
|
|
2781
|
+
const assetHandler = new (0, _internal.CopyAssetsHandler)({
|
|
2761
2782
|
projectDir: projectRoot,
|
|
2762
2783
|
rootDir: config.workspaceRoot,
|
|
2763
2784
|
outputDir: outputPath,
|
|
@@ -2795,7 +2816,7 @@ ${footer && typeof footer === "string" ? footer.startsWith("//") ? footer : `//
|
|
|
2795
2816
|
};
|
|
2796
2817
|
|
|
2797
2818
|
// ../build-tools/src/utilities/generate-package-json.ts
|
|
2798
|
-
|
|
2819
|
+
|
|
2799
2820
|
|
|
2800
2821
|
|
|
2801
2822
|
|
|
@@ -2817,7 +2838,7 @@ var addPackageDependencies = async (workspaceRoot2, projectRoot, projectName, pa
|
|
|
2817
2838
|
"The Build process failed because the project graph is not available. Please run the build command again."
|
|
2818
2839
|
);
|
|
2819
2840
|
}
|
|
2820
|
-
const projectDependencies =
|
|
2841
|
+
const projectDependencies = _internal.calculateProjectBuildableDependencies.call(void 0,
|
|
2821
2842
|
void 0,
|
|
2822
2843
|
projectGraph,
|
|
2823
2844
|
workspaceRoot2,
|
|
@@ -2828,7 +2849,7 @@ var addPackageDependencies = async (workspaceRoot2, projectRoot, projectName, pa
|
|
|
2828
2849
|
);
|
|
2829
2850
|
const localPackages = [];
|
|
2830
2851
|
for (const project of projectDependencies.dependencies.filter(
|
|
2831
|
-
(dep) => dep.node.type === "lib" && _optionalChain([dep, 'access',
|
|
2852
|
+
(dep) => dep.node.type === "lib" && _optionalChain([dep, 'access', _125 => _125.node, 'access', _126 => _126.data, 'optionalAccess', _127 => _127.root]) !== projectRoot && _optionalChain([dep, 'access', _128 => _128.node, 'access', _129 => _129.data, 'optionalAccess', _130 => _130.root]) !== workspaceRoot2
|
|
2832
2853
|
)) {
|
|
2833
2854
|
const projectNode = project.node;
|
|
2834
2855
|
if (projectNode.data.root) {
|
|
@@ -2860,13 +2881,13 @@ var addPackageDependencies = async (workspaceRoot2, projectRoot, projectName, pa
|
|
|
2860
2881
|
const projectJson = JSON.parse(projectJsonFile);
|
|
2861
2882
|
const projectName2 = projectJson.name;
|
|
2862
2883
|
const projectConfigurations = _projectgraph.readProjectsConfigurationFromProjectGraph.call(void 0, projectGraph);
|
|
2863
|
-
if (!_optionalChain([projectConfigurations, 'optionalAccess',
|
|
2884
|
+
if (!_optionalChain([projectConfigurations, 'optionalAccess', _131 => _131.projects, 'optionalAccess', _132 => _132[projectName2]])) {
|
|
2864
2885
|
throw new Error(
|
|
2865
2886
|
"The Build process failed because the project does not have a valid configuration in the project.json file. Check if the file exists in the root of the project."
|
|
2866
2887
|
);
|
|
2867
2888
|
}
|
|
2868
|
-
const implicitDependencies = _optionalChain([projectConfigurations, 'access',
|
|
2869
|
-
if (_optionalChain([projectConfigurations, 'access',
|
|
2889
|
+
const implicitDependencies = _optionalChain([projectConfigurations, 'access', _133 => _133.projects, 'optionalAccess', _134 => _134[projectName2], 'access', _135 => _135.implicitDependencies, 'optionalAccess', _136 => _136.reduce, 'call', _137 => _137((ret, dep) => {
|
|
2890
|
+
if (_optionalChain([projectConfigurations, 'access', _138 => _138.projects, 'optionalAccess', _139 => _139[dep]])) {
|
|
2870
2891
|
const depPackageJsonPath = joinPaths(
|
|
2871
2892
|
workspaceRoot2,
|
|
2872
2893
|
projectConfigurations.projects[dep].root,
|
|
@@ -2886,13 +2907,13 @@ var addPackageDependencies = async (workspaceRoot2, projectRoot, projectName, pa
|
|
|
2886
2907
|
return ret;
|
|
2887
2908
|
}, [])]);
|
|
2888
2909
|
packageJson.dependencies = localPackages.reduce((ret, localPackage) => {
|
|
2889
|
-
if (!ret[localPackage.name] && !_optionalChain([implicitDependencies, 'optionalAccess',
|
|
2910
|
+
if (!ret[localPackage.name] && !_optionalChain([implicitDependencies, 'optionalAccess', _140 => _140.includes, 'call', _141 => _141(localPackage.name)]) && _optionalChain([packageJson, 'access', _142 => _142.devDependencies, 'optionalAccess', _143 => _143[localPackage.name]]) === void 0) {
|
|
2890
2911
|
ret[localPackage.name] = `^${localPackage.version || "0.0.1"}`;
|
|
2891
2912
|
}
|
|
2892
2913
|
return ret;
|
|
2893
2914
|
}, _nullishCoalesce(packageJson.dependencies, () => ( {})));
|
|
2894
2915
|
packageJson.devDependencies = localPackages.reduce((ret, localPackage) => {
|
|
2895
|
-
if (!ret[localPackage.name] && _optionalChain([implicitDependencies, 'optionalAccess',
|
|
2916
|
+
if (!ret[localPackage.name] && _optionalChain([implicitDependencies, 'optionalAccess', _144 => _144.includes, 'call', _145 => _145(localPackage.name)]) && _optionalChain([packageJson, 'access', _146 => _146.dependencies, 'optionalAccess', _147 => _147[localPackage.name]]) === void 0) {
|
|
2896
2917
|
ret[localPackage.name] = `^${localPackage.version || "0.0.1"}`;
|
|
2897
2918
|
}
|
|
2898
2919
|
return ret;
|
|
@@ -2994,7 +3015,7 @@ var _createtaskgraph = require('nx/src/tasks-runner/create-task-graph');
|
|
|
2994
3015
|
|
|
2995
3016
|
// ../esbuild/src/assets.ts
|
|
2996
3017
|
async function copyBuildAssets(context) {
|
|
2997
|
-
if (!_optionalChain([context, 'access',
|
|
3018
|
+
if (!_optionalChain([context, 'access', _148 => _148.result, 'optionalAccess', _149 => _149.errors, 'access', _150 => _150.length]) && _optionalChain([context, 'access', _151 => _151.options, 'access', _152 => _152.assets, 'optionalAccess', _153 => _153.length])) {
|
|
2998
3019
|
writeDebug(
|
|
2999
3020
|
` \u{1F4CB} Copying ${context.options.assets.length} asset files to output directory: ${context.outputPath}`,
|
|
3000
3021
|
context.workspaceConfig
|
|
@@ -3100,7 +3121,7 @@ async function resolveContext(userOptions) {
|
|
|
3100
3121
|
const projectJson = JSON.parse(projectJsonFile);
|
|
3101
3122
|
const projectName = projectJson.name || userOptions.name;
|
|
3102
3123
|
const projectConfigurations = _devkit.readProjectsConfigurationFromProjectGraph.call(void 0, projectGraph);
|
|
3103
|
-
if (!_optionalChain([projectConfigurations, 'optionalAccess',
|
|
3124
|
+
if (!_optionalChain([projectConfigurations, 'optionalAccess', _154 => _154.projects, 'optionalAccess', _155 => _155[projectName]])) {
|
|
3104
3125
|
throw new Error(
|
|
3105
3126
|
"The Build process failed because the project does not have a valid configuration in the project.json file. Check if the file exists in the root of the project."
|
|
3106
3127
|
);
|
|
@@ -3328,7 +3349,7 @@ async function executeTsup(context) {
|
|
|
3328
3349
|
|
|
3329
3350
|
// ../esbuild/src/build.ts
|
|
3330
3351
|
async function reportResults(context) {
|
|
3331
|
-
if (_optionalChain([context, 'access',
|
|
3352
|
+
if (_optionalChain([context, 'access', _156 => _156.result, 'optionalAccess', _157 => _157.errors, 'access', _158 => _158.length]) === 0) {
|
|
3332
3353
|
if (context.result.warnings.length > 0) {
|
|
3333
3354
|
writeWarning(
|
|
3334
3355
|
` \u{1F6A7} The following warnings occurred during the build: ${context.result.warnings.map((warning) => warning.text).join("\n")}`,
|
|
@@ -3339,7 +3360,7 @@ async function reportResults(context) {
|
|
|
3339
3360
|
` \u{1F4E6} The ${context.options.name} build completed successfully`,
|
|
3340
3361
|
context.workspaceConfig
|
|
3341
3362
|
);
|
|
3342
|
-
} else if (_optionalChain([context, 'access',
|
|
3363
|
+
} else if (_optionalChain([context, 'access', _159 => _159.result, 'optionalAccess', _160 => _160.errors]) && _optionalChain([context, 'access', _161 => _161.result, 'optionalAccess', _162 => _162.errors, 'access', _163 => _163.length]) > 0) {
|
|
3343
3364
|
writeError(
|
|
3344
3365
|
` \u274C The ${context.options.name} build failed with the following errors: ${context.result.errors.map((error) => error.text).join("\n")}`,
|
|
3345
3366
|
context.workspaceConfig
|
|
@@ -3392,7 +3413,7 @@ async function build2(options) {
|
|
|
3392
3413
|
// ../workspace-tools/src/executors/esbuild/executor.ts
|
|
3393
3414
|
async function esbuildExecutorFn(options, context, config) {
|
|
3394
3415
|
writeInfo("\u{1F4E6} Running Storm ESBuild executor on the workspace", config);
|
|
3395
|
-
if (!_optionalChain([context, 'access',
|
|
3416
|
+
if (!_optionalChain([context, 'access', _164 => _164.projectsConfigurations, 'optionalAccess', _165 => _165.projects]) || !context.projectName || !context.projectsConfigurations.projects[context.projectName] || !_optionalChain([context, 'access', _166 => _166.projectsConfigurations, 'access', _167 => _167.projects, 'access', _168 => _168[context.projectName], 'optionalAccess', _169 => _169.root])) {
|
|
3396
3417
|
throw new Error(
|
|
3397
3418
|
"The Build process failed because the context is not valid. Please run this command from a workspace."
|
|
3398
3419
|
);
|
|
@@ -3401,10 +3422,10 @@ async function esbuildExecutorFn(options, context, config) {
|
|
|
3401
3422
|
...options,
|
|
3402
3423
|
projectRoot: (
|
|
3403
3424
|
// eslint-disable-next-line @typescript-eslint/no-non-null-assertion
|
|
3404
|
-
_optionalChain([context, 'access',
|
|
3425
|
+
_optionalChain([context, 'access', _170 => _170.projectsConfigurations, 'access', _171 => _171.projects, 'optionalAccess', _172 => _172[context.projectName], 'access', _173 => _173.root])
|
|
3405
3426
|
),
|
|
3406
3427
|
name: context.projectName,
|
|
3407
|
-
sourceRoot: _optionalChain([context, 'access',
|
|
3428
|
+
sourceRoot: _optionalChain([context, 'access', _174 => _174.projectsConfigurations, 'access', _175 => _175.projects, 'optionalAccess', _176 => _176[context.projectName], 'optionalAccess', _177 => _177.sourceRoot]),
|
|
3408
3429
|
format: options.format,
|
|
3409
3430
|
platform: options.platform
|
|
3410
3431
|
});
|
|
@@ -3443,12 +3464,12 @@ async function napiExecutor(options, context, config) {
|
|
|
3443
3464
|
const { NapiCli } = await jiti.import(
|
|
3444
3465
|
jiti.esmResolve("@napi-rs/cli")
|
|
3445
3466
|
);
|
|
3446
|
-
if (!_optionalChain([context, 'access',
|
|
3467
|
+
if (!_optionalChain([context, 'access', _178 => _178.projectGraph, 'optionalAccess', _179 => _179.nodes, 'access', _180 => _180[_nullishCoalesce(context.projectName, () => ( ""))]])) {
|
|
3447
3468
|
throw new Error(
|
|
3448
3469
|
"The Napi Build process failed because the project could not be found in the project graph. Please run this command from a workspace root directory."
|
|
3449
3470
|
);
|
|
3450
3471
|
}
|
|
3451
|
-
const projectRoot = _optionalChain([context, 'access',
|
|
3472
|
+
const projectRoot = _optionalChain([context, 'access', _181 => _181.projectGraph, 'optionalAccess', _182 => _182.nodes, 'access', _183 => _183[_nullishCoalesce(context.projectName, () => ( ""))], 'optionalAccess', _184 => _184.data, 'access', _185 => _185.root]);
|
|
3452
3473
|
const packageJson = joinPaths(_nullishCoalesce(projectRoot, () => ( ".")), "package.json");
|
|
3453
3474
|
if (!_fileutils.fileExists.call(void 0, packageJson)) {
|
|
3454
3475
|
throw new Error(`Could not find package.json at ${packageJson}`);
|
|
@@ -3456,7 +3477,7 @@ async function napiExecutor(options, context, config) {
|
|
|
3456
3477
|
const napi = new NapiCli();
|
|
3457
3478
|
const normalizedOptions = { ...options };
|
|
3458
3479
|
const metadata = cargoMetadata();
|
|
3459
|
-
normalizedOptions.targetDir = options.targetDir || _optionalChain([metadata, 'optionalAccess',
|
|
3480
|
+
normalizedOptions.targetDir = options.targetDir || _optionalChain([metadata, 'optionalAccess', _186 => _186.target_directory]) || joinPaths(config.workspaceRoot, "dist", "target");
|
|
3460
3481
|
normalizedOptions.outputDir = options.outputPath;
|
|
3461
3482
|
normalizedOptions.packageJsonPath ??= packageJson;
|
|
3462
3483
|
if (options.cwd) {
|
|
@@ -3665,15 +3686,15 @@ var _esbuildwhy = require('@size-limit/esbuild-why'); var _esbuildwhy2 = _intero
|
|
|
3665
3686
|
var _file = require('@size-limit/file'); var _file2 = _interopRequireDefault(_file);
|
|
3666
3687
|
var _sizelimit = require('size-limit'); var _sizelimit2 = _interopRequireDefault(_sizelimit);
|
|
3667
3688
|
async function sizeLimitExecutorFn(options, context, config) {
|
|
3668
|
-
if (!_optionalChain([context, 'optionalAccess',
|
|
3689
|
+
if (!_optionalChain([context, 'optionalAccess', _187 => _187.projectName]) || !_optionalChain([context, 'access', _188 => _188.projectsConfigurations, 'optionalAccess', _189 => _189.projects]) || !context.projectsConfigurations.projects[context.projectName]) {
|
|
3669
3690
|
throw new Error(
|
|
3670
3691
|
"The Size-Limit process failed because the context is not valid. Please run this command from a workspace."
|
|
3671
3692
|
);
|
|
3672
3693
|
}
|
|
3673
3694
|
writeInfo(`\u{1F4CF} Running Size-Limit on ${context.projectName}`, config);
|
|
3674
3695
|
_sizelimit2.default.call(void 0, [_file2.default, _esbuild2.default, _esbuildwhy2.default], {
|
|
3675
|
-
checks: _nullishCoalesce(_nullishCoalesce(options.entry, () => ( _optionalChain([context, 'access',
|
|
3676
|
-
_nullishCoalesce(_optionalChain([context, 'access',
|
|
3696
|
+
checks: _nullishCoalesce(_nullishCoalesce(options.entry, () => ( _optionalChain([context, 'access', _190 => _190.projectsConfigurations, 'access', _191 => _191.projects, 'access', _192 => _192[context.projectName], 'optionalAccess', _193 => _193.sourceRoot]))), () => ( _devkit.joinPathFragments.call(void 0,
|
|
3697
|
+
_nullishCoalesce(_optionalChain([context, 'access', _194 => _194.projectsConfigurations, 'access', _195 => _195.projects, 'access', _196 => _196[context.projectName], 'optionalAccess', _197 => _197.root]), () => ( "./")),
|
|
3677
3698
|
"src"
|
|
3678
3699
|
)))
|
|
3679
3700
|
}).then((result) => {
|
|
@@ -3771,7 +3792,7 @@ var resolveOptions = async (userOptions) => {
|
|
|
3771
3792
|
const projectJson = JSON.parse(projectJsonFile);
|
|
3772
3793
|
const projectName = projectJson.name;
|
|
3773
3794
|
const projectConfigurations = _devkit.readProjectsConfigurationFromProjectGraph.call(void 0, projectGraph);
|
|
3774
|
-
if (!_optionalChain([projectConfigurations, 'optionalAccess',
|
|
3795
|
+
if (!_optionalChain([projectConfigurations, 'optionalAccess', _198 => _198.projects, 'optionalAccess', _199 => _199[projectName]])) {
|
|
3775
3796
|
throw new Error(
|
|
3776
3797
|
"The Build process failed because the project does not have a valid configuration in the project.json file. Check if the file exists in the root of the project."
|
|
3777
3798
|
);
|
|
@@ -3992,7 +4013,7 @@ async function build3(options) {
|
|
|
3992
4013
|
// ../workspace-tools/src/executors/tsdown/executor.ts
|
|
3993
4014
|
async function tsdownExecutorFn(options, context, config) {
|
|
3994
4015
|
writeInfo("\u{1F4E6} Running Storm TSDown executor on the workspace", config);
|
|
3995
|
-
if (!_optionalChain([context, 'access',
|
|
4016
|
+
if (!_optionalChain([context, 'access', _200 => _200.projectsConfigurations, 'optionalAccess', _201 => _201.projects]) || !context.projectName || !context.projectsConfigurations.projects[context.projectName] || !_optionalChain([context, 'access', _202 => _202.projectsConfigurations, 'access', _203 => _203.projects, 'access', _204 => _204[context.projectName], 'optionalAccess', _205 => _205.root])) {
|
|
3996
4017
|
throw new Error(
|
|
3997
4018
|
"The Build process failed because the context is not valid. Please run this command from a workspace."
|
|
3998
4019
|
);
|
|
@@ -4001,10 +4022,10 @@ async function tsdownExecutorFn(options, context, config) {
|
|
|
4001
4022
|
...options,
|
|
4002
4023
|
projectRoot: (
|
|
4003
4024
|
// eslint-disable-next-line @typescript-eslint/no-non-null-assertion
|
|
4004
|
-
_optionalChain([context, 'access',
|
|
4025
|
+
_optionalChain([context, 'access', _206 => _206.projectsConfigurations, 'access', _207 => _207.projects, 'optionalAccess', _208 => _208[context.projectName], 'access', _209 => _209.root])
|
|
4005
4026
|
),
|
|
4006
4027
|
name: context.projectName,
|
|
4007
|
-
sourceRoot: _optionalChain([context, 'access',
|
|
4028
|
+
sourceRoot: _optionalChain([context, 'access', _210 => _210.projectsConfigurations, 'access', _211 => _211.projects, 'optionalAccess', _212 => _212[context.projectName], 'optionalAccess', _213 => _213.sourceRoot]),
|
|
4008
4029
|
format: options.format,
|
|
4009
4030
|
platform: options.platform
|
|
4010
4031
|
});
|
|
@@ -4072,7 +4093,7 @@ var executor_default10 = withRunExecutor(
|
|
|
4072
4093
|
|
|
4073
4094
|
async function unbuildExecutorFn(options, context, config) {
|
|
4074
4095
|
writeInfo("\u{1F4E6} Running Storm Unbuild executor on the workspace", config);
|
|
4075
|
-
if (!_optionalChain([context, 'access',
|
|
4096
|
+
if (!_optionalChain([context, 'access', _214 => _214.projectsConfigurations, 'optionalAccess', _215 => _215.projects]) || !context.projectName || !context.projectsConfigurations.projects[context.projectName]) {
|
|
4076
4097
|
throw new Error(
|
|
4077
4098
|
"The Build process failed because the context is not valid. Please run this command from a workspace root directory."
|
|
4078
4099
|
);
|
|
@@ -4178,14 +4199,12 @@ var executor_default11 = withRunExecutor(
|
|
|
4178
4199
|
|
|
4179
4200
|
|
|
4180
4201
|
|
|
4181
|
-
var
|
|
4202
|
+
var _internal3 = require('@nx/devkit/internal');
|
|
4182
4203
|
|
|
4183
4204
|
|
|
4184
4205
|
|
|
4185
4206
|
|
|
4186
4207
|
var _js = require('@nx/js');
|
|
4187
|
-
var _init = require('@nx/js/src/generators/init/init'); var _init2 = _interopRequireDefault(_init);
|
|
4188
|
-
var _generator = require('@nx/js/src/generators/setup-verdaccio/generator'); var _generator2 = _interopRequireDefault(_generator);
|
|
4189
4208
|
|
|
4190
4209
|
// ../workspace-tools/src/utils/versions.ts
|
|
4191
4210
|
var typesNodeVersion = "20.9.0";
|
|
@@ -4197,12 +4216,6 @@ var pnpmVersion = "8.10.2";
|
|
|
4197
4216
|
async function typeScriptLibraryGeneratorFn(tree, options, config) {
|
|
4198
4217
|
const normalized = await normalizeOptions(tree, { ...options });
|
|
4199
4218
|
const tasks = [];
|
|
4200
|
-
tasks.push(
|
|
4201
|
-
await _init2.default.call(void 0, tree, {
|
|
4202
|
-
...normalized,
|
|
4203
|
-
tsConfigName: normalized.rootProject ? "tsconfig.json" : "tsconfig.base.json"
|
|
4204
|
-
})
|
|
4205
|
-
);
|
|
4206
4219
|
tasks.push(
|
|
4207
4220
|
_devkit.addDependenciesToPackageJson.call(void 0,
|
|
4208
4221
|
tree,
|
|
@@ -4214,9 +4227,6 @@ async function typeScriptLibraryGeneratorFn(tree, options, config) {
|
|
|
4214
4227
|
}
|
|
4215
4228
|
)
|
|
4216
4229
|
);
|
|
4217
|
-
if (normalized.publishable) {
|
|
4218
|
-
tasks.push(await _generator2.default.call(void 0, tree, { ...normalized, skipFormat: true }));
|
|
4219
|
-
}
|
|
4220
4230
|
const projectConfig = {
|
|
4221
4231
|
root: normalized.directory,
|
|
4222
4232
|
projectType: "library",
|
|
@@ -4271,15 +4281,15 @@ async function typeScriptLibraryGeneratorFn(tree, options, config) {
|
|
|
4271
4281
|
_devkit.addProjectConfiguration.call(void 0, tree, normalized.name, projectConfig);
|
|
4272
4282
|
let repository = {
|
|
4273
4283
|
type: "github",
|
|
4274
|
-
url: _optionalChain([config, 'optionalAccess',
|
|
4284
|
+
url: _optionalChain([config, 'optionalAccess', _216 => _216.repository]) || `https://github.com/${(typeof _optionalChain([config, 'optionalAccess', _217 => _217.organization]) === "string" ? _optionalChain([config, 'optionalAccess', _218 => _218.organization]) : _optionalChain([config, 'optionalAccess', _219 => _219.organization, 'optionalAccess', _220 => _220.name])) || "storm-software"}/${_optionalChain([config, 'optionalAccess', _221 => _221.namespace]) || _optionalChain([config, 'optionalAccess', _222 => _222.name]) || "repository"}.git`
|
|
4275
4285
|
};
|
|
4276
4286
|
let description = options.description || "A package developed by Storm Software used to create modern, scalable web applications.";
|
|
4277
4287
|
if (tree.exists("package.json")) {
|
|
4278
4288
|
const packageJson = _devkit.readJson.call(void 0, tree, "package.json");
|
|
4279
|
-
if (_optionalChain([packageJson, 'optionalAccess',
|
|
4289
|
+
if (_optionalChain([packageJson, 'optionalAccess', _223 => _223.repository])) {
|
|
4280
4290
|
repository = packageJson.repository;
|
|
4281
4291
|
}
|
|
4282
|
-
if (_optionalChain([packageJson, 'optionalAccess',
|
|
4292
|
+
if (_optionalChain([packageJson, 'optionalAccess', _224 => _224.description])) {
|
|
4283
4293
|
description = packageJson.description;
|
|
4284
4294
|
}
|
|
4285
4295
|
}
|
|
@@ -4334,9 +4344,9 @@ async function typeScriptLibraryGeneratorFn(tree, options, config) {
|
|
|
4334
4344
|
_devkit.updateJson.call(void 0, tree, "package.json", (json) => ({
|
|
4335
4345
|
...json,
|
|
4336
4346
|
pnpm: {
|
|
4337
|
-
..._optionalChain([json, 'optionalAccess',
|
|
4347
|
+
..._optionalChain([json, 'optionalAccess', _225 => _225.pnpm]),
|
|
4338
4348
|
overrides: {
|
|
4339
|
-
..._optionalChain([json, 'optionalAccess',
|
|
4349
|
+
..._optionalChain([json, 'optionalAccess', _226 => _226.pnpm, 'optionalAccess', _227 => _227.overrides]),
|
|
4340
4350
|
[_nullishCoalesce(normalized.importPath, () => ( ""))]: "workspace:*"
|
|
4341
4351
|
}
|
|
4342
4352
|
}
|
|
@@ -4354,10 +4364,10 @@ async function typeScriptLibraryGeneratorFn(tree, options, config) {
|
|
|
4354
4364
|
]);
|
|
4355
4365
|
if (tree.exists("package.json")) {
|
|
4356
4366
|
const packageJson = _devkit.readJson.call(void 0, tree, "package.json");
|
|
4357
|
-
if (_optionalChain([packageJson, 'optionalAccess',
|
|
4367
|
+
if (_optionalChain([packageJson, 'optionalAccess', _228 => _228.repository])) {
|
|
4358
4368
|
repository = packageJson.repository;
|
|
4359
4369
|
}
|
|
4360
|
-
if (_optionalChain([packageJson, 'optionalAccess',
|
|
4370
|
+
if (_optionalChain([packageJson, 'optionalAccess', _229 => _229.description])) {
|
|
4361
4371
|
description = packageJson.description;
|
|
4362
4372
|
}
|
|
4363
4373
|
}
|
|
@@ -4394,22 +4404,22 @@ function getOutputPath(options) {
|
|
|
4394
4404
|
function createProjectTsConfigJson(tree, options) {
|
|
4395
4405
|
const tsconfig = {
|
|
4396
4406
|
extends: options.rootProject ? void 0 : _js.getRelativePathToRootTsConfig.call(void 0, tree, options.projectRoot),
|
|
4397
|
-
..._nullishCoalesce(_optionalChain([options, 'optionalAccess',
|
|
4407
|
+
..._nullishCoalesce(_optionalChain([options, 'optionalAccess', _230 => _230.tsconfigOptions]), () => ( {})),
|
|
4398
4408
|
compilerOptions: {
|
|
4399
4409
|
...options.rootProject ? _js.tsConfigBaseOptions : {},
|
|
4400
4410
|
outDir: joinPaths(_devkit.offsetFromRoot.call(void 0, options.projectRoot), "dist/out-tsc"),
|
|
4401
4411
|
noEmit: true,
|
|
4402
|
-
..._nullishCoalesce(_optionalChain([options, 'optionalAccess',
|
|
4412
|
+
..._nullishCoalesce(_optionalChain([options, 'optionalAccess', _231 => _231.tsconfigOptions, 'optionalAccess', _232 => _232.compilerOptions]), () => ( {}))
|
|
4403
4413
|
},
|
|
4404
|
-
files: [..._nullishCoalesce(_optionalChain([options, 'optionalAccess',
|
|
4414
|
+
files: [..._nullishCoalesce(_optionalChain([options, 'optionalAccess', _233 => _233.tsconfigOptions, 'optionalAccess', _234 => _234.files]), () => ( []))],
|
|
4405
4415
|
include: [
|
|
4406
|
-
..._nullishCoalesce(_optionalChain([options, 'optionalAccess',
|
|
4416
|
+
..._nullishCoalesce(_optionalChain([options, 'optionalAccess', _235 => _235.tsconfigOptions, 'optionalAccess', _236 => _236.include]), () => ( [])),
|
|
4407
4417
|
"src/**/*.ts",
|
|
4408
4418
|
"src/**/*.js",
|
|
4409
4419
|
"bin/**/*"
|
|
4410
4420
|
],
|
|
4411
4421
|
exclude: [
|
|
4412
|
-
..._nullishCoalesce(_optionalChain([options, 'optionalAccess',
|
|
4422
|
+
..._nullishCoalesce(_optionalChain([options, 'optionalAccess', _237 => _237.tsconfigOptions, 'optionalAccess', _238 => _238.exclude]), () => ( [])),
|
|
4413
4423
|
"jest.config.ts",
|
|
4414
4424
|
"src/**/*.spec.ts",
|
|
4415
4425
|
"src/**/*.test.ts"
|
|
@@ -4419,8 +4429,8 @@ function createProjectTsConfigJson(tree, options) {
|
|
|
4419
4429
|
}
|
|
4420
4430
|
async function normalizeOptions(tree, options, config) {
|
|
4421
4431
|
let importPath = options.importPath;
|
|
4422
|
-
if (!importPath && _optionalChain([config, 'optionalAccess',
|
|
4423
|
-
importPath = `@${_optionalChain([config, 'optionalAccess',
|
|
4432
|
+
if (!importPath && _optionalChain([config, 'optionalAccess', _239 => _239.namespace])) {
|
|
4433
|
+
importPath = `@${_optionalChain([config, 'optionalAccess', _240 => _240.namespace])}/${options.name}`;
|
|
4424
4434
|
}
|
|
4425
4435
|
if (options.publishable) {
|
|
4426
4436
|
if (!importPath) {
|
|
@@ -4440,7 +4450,7 @@ async function normalizeOptions(tree, options, config) {
|
|
|
4440
4450
|
names: projectNames,
|
|
4441
4451
|
projectRoot,
|
|
4442
4452
|
importPath: normalizedImportPath
|
|
4443
|
-
} = await
|
|
4453
|
+
} = await _internal3.determineProjectNameAndRootOptions.call(void 0, tree, {
|
|
4444
4454
|
name: options.name,
|
|
4445
4455
|
projectType: "library",
|
|
4446
4456
|
directory: options.directory,
|
|
@@ -4585,7 +4595,7 @@ async function configSchemaGeneratorFn(tree, options, config) {
|
|
|
4585
4595
|
);
|
|
4586
4596
|
}
|
|
4587
4597
|
const outputPath = options.outputFile.replaceAll("{workspaceRoot}", "").replaceAll(
|
|
4588
|
-
_nullishCoalesce(_optionalChain([config, 'optionalAccess',
|
|
4598
|
+
_nullishCoalesce(_optionalChain([config, 'optionalAccess', _241 => _241.workspaceRoot]), () => ( findWorkspaceRoot())),
|
|
4589
4599
|
options.outputFile.startsWith("./") ? "" : "./"
|
|
4590
4600
|
);
|
|
4591
4601
|
writeTrace(
|
|
@@ -5337,7 +5347,7 @@ var typescript_library_generator_untyped_default = _untyped.defineUntypedSchema.
|
|
|
5337
5347
|
});
|
|
5338
5348
|
|
|
5339
5349
|
// ../workspace-tools/src/release/js-version-actions.ts
|
|
5340
|
-
var
|
|
5350
|
+
var _versionactions = require('@nx/js/src/release/version-actions'); var _versionactions2 = _interopRequireDefault(_versionactions);
|
|
5341
5351
|
|
|
5342
5352
|
// ../workspace-tools/src/release/rust-version-actions.ts
|
|
5343
5353
|
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
"use strict";Object.defineProperty(exports, "__esModule", {value: true});
|
|
2
2
|
|
|
3
|
-
var
|
|
3
|
+
var _chunkGTZLRIOLjs = require('./chunk-GTZLRIOL.js');
|
|
4
4
|
|
|
5
5
|
// src/executors/up/executor.ts
|
|
6
|
-
var executor_default =
|
|
6
|
+
var executor_default = _chunkGTZLRIOLjs.withPulumiExecutor.call(void 0, "up", (options) => [
|
|
7
7
|
"--suppress-progress",
|
|
8
8
|
options.stack && `--stack=${options.stack}`,
|
|
9
9
|
options.skipPreview && "--skip-preview",
|