@storm-software/pulumi-tools 0.22.262 → 0.22.264
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 +20 -0
- package/README.md +1 -1
- package/dist/{chunk-63NU7YCY.js → chunk-5MNRAXO7.js} +2 -2
- package/dist/{chunk-5QIKSWOJ.mjs → chunk-BRBDYMAH.mjs} +1 -1
- package/dist/{chunk-FXGZ326V.mjs → chunk-G6WTR26Q.mjs} +1 -1
- package/dist/{chunk-SB56QZUD.mjs → chunk-HN572JIY.mjs} +26 -5
- package/dist/{chunk-M3JNWKGD.js → chunk-ISQV2SHV.js} +2 -2
- package/dist/{chunk-LUOI3VWF.js → chunk-J4RKI433.js} +2 -2
- package/dist/{chunk-WD4ZFUNO.mjs → chunk-K7HEEK3C.mjs} +1 -1
- package/dist/{chunk-LYBGZ4MO.js → chunk-LE263C2P.js} +2 -2
- package/dist/{chunk-ZVWFS45F.js → chunk-LI45PJHV.js} +2 -2
- package/dist/{chunk-O6OCMLAP.mjs → chunk-MKLR7VDP.mjs} +1 -1
- package/dist/{chunk-OSSCO6HW.js → chunk-MKQH5OLY.js} +3 -3
- package/dist/{chunk-O4NLMN5H.js → chunk-P5N74APG.js} +5 -5
- package/dist/{chunk-3ZK46FAR.mjs → chunk-R624DLWI.mjs} +1 -1
- package/dist/{chunk-4UDIIH6T.mjs → chunk-TG53HQ3K.mjs} +1 -1
- package/dist/{chunk-3F3DPRLC.js → chunk-UKI2AP2O.js} +65 -44
- package/dist/{chunk-4JDHJLWM.mjs → chunk-WDMRMD53.mjs} +1 -1
- package/dist/executors.js +7 -7
- package/dist/executors.mjs +7 -7
- package/dist/generators.js +3 -3
- package/dist/generators.mjs +2 -2
- package/dist/index.js +9 -9
- package/dist/index.mjs +8 -8
- package/dist/src/base/base-executor.js +3 -3
- package/dist/src/base/base-executor.mjs +2 -2
- package/dist/src/base/index.js +3 -3
- package/dist/src/base/index.mjs +2 -2
- package/dist/src/executors/config/executor.js +4 -4
- package/dist/src/executors/config/executor.mjs +3 -3
- package/dist/src/executors/import/executor.js +4 -4
- package/dist/src/executors/import/executor.mjs +3 -3
- package/dist/src/executors/preview/executor.js +4 -4
- package/dist/src/executors/preview/executor.mjs +3 -3
- package/dist/src/executors/refresh/executor.js +4 -4
- package/dist/src/executors/refresh/executor.mjs +3 -3
- package/dist/src/executors/up/executor.js +4 -4
- package/dist/src/executors/up/executor.mjs +3 -3
- package/dist/src/generators/init/generator.js +3 -3
- package/dist/src/generators/init/generator.mjs +2 -2
- package/package.json +5 -5
package/CHANGELOG.md
CHANGED
|
@@ -2,6 +2,26 @@
|
|
|
2
2
|
|
|
3
3
|
# Changelog for Storm Ops - Pulumi Tools
|
|
4
4
|
|
|
5
|
+
## [0.22.263](https://github.com/storm-software/storm-ops/releases/tag/pulumi-tools%400.22.263) (06/28/2026)
|
|
6
|
+
|
|
7
|
+
### Miscellaneous
|
|
8
|
+
|
|
9
|
+
- **monorepo:** Upgrade workspace packages' dependencies ([fcc009e9d](https://github.com/storm-software/storm-ops/commit/fcc009e9d))
|
|
10
|
+
|
|
11
|
+
### Updated Dependencies
|
|
12
|
+
|
|
13
|
+
- Updated **config** to **v1.138.17**
|
|
14
|
+
- Updated **config-tools** to **v1.190.80**
|
|
15
|
+
- Updated **workspace-tools** to **v1.296.60**
|
|
16
|
+
|
|
17
|
+
## [0.22.262](https://github.com/storm-software/storm-ops/releases/tag/pulumi-tools%400.22.262) (06/28/2026)
|
|
18
|
+
|
|
19
|
+
### Updated Dependencies
|
|
20
|
+
|
|
21
|
+
- Updated **config** to **v1.138.16**
|
|
22
|
+
- Updated **config-tools** to **v1.190.79**
|
|
23
|
+
- Updated **workspace-tools** to **v1.296.59**
|
|
24
|
+
|
|
5
25
|
## [0.22.261](https://github.com/storm-software/storm-ops/releases/tag/pulumi-tools%400.22.261) (06/26/2026)
|
|
6
26
|
|
|
7
27
|
### Miscellaneous
|
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 -->
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
"use strict";Object.defineProperty(exports, "__esModule", {value: true});
|
|
2
2
|
|
|
3
|
-
var
|
|
3
|
+
var _chunkMKQH5OLYjs = require('./chunk-MKQH5OLY.js');
|
|
4
4
|
|
|
5
5
|
// src/executors/import/executor.ts
|
|
6
|
-
var executor_default =
|
|
6
|
+
var executor_default = _chunkMKQH5OLYjs.withPulumiExecutor.call(void 0, "import", (options) => [
|
|
7
7
|
options.target,
|
|
8
8
|
options.name,
|
|
9
9
|
options.id,
|
|
@@ -1438,6 +1438,17 @@ function applyDefaultConfig(config) {
|
|
|
1438
1438
|
return config;
|
|
1439
1439
|
}
|
|
1440
1440
|
|
|
1441
|
+
// ../config-tools/src/utilities/toml.ts
|
|
1442
|
+
import TOML from "@ltd/j-toml";
|
|
1443
|
+
function parseCargoToml(cargoString) {
|
|
1444
|
+
if (!cargoString) {
|
|
1445
|
+
throw new Error("Cargo.toml is empty");
|
|
1446
|
+
}
|
|
1447
|
+
return TOML.parse(cargoString, {
|
|
1448
|
+
x: { comment: true }
|
|
1449
|
+
});
|
|
1450
|
+
}
|
|
1451
|
+
|
|
1441
1452
|
// ../config-tools/src/config-file/get-config-file.ts
|
|
1442
1453
|
var getConfigFileByName = async (fileName, filePath, options = {}) => {
|
|
1443
1454
|
const workspacePath = filePath || findWorkspaceRoot(filePath);
|
|
@@ -2470,6 +2481,7 @@ import {
|
|
|
2470
2481
|
execSync as execSync2,
|
|
2471
2482
|
spawn
|
|
2472
2483
|
} from "node:child_process";
|
|
2484
|
+
import { readFileSync } from "node:fs";
|
|
2473
2485
|
import { relative as relative2 } from "node:path";
|
|
2474
2486
|
var INVALID_CARGO_ARGS = [
|
|
2475
2487
|
"allFeatures",
|
|
@@ -2503,8 +2515,17 @@ var buildCargoCommand = (baseCommand, options, context) => {
|
|
|
2503
2515
|
args.push(`--${key}`, String(value));
|
|
2504
2516
|
}
|
|
2505
2517
|
}
|
|
2506
|
-
if (context.projectName) {
|
|
2507
|
-
|
|
2518
|
+
if (context.projectName && context.projectsConfigurations?.projects && context.projectsConfigurations?.projects[context.projectName] && context.projectsConfigurations?.projects[context.projectName]?.root && context.projectsConfigurations?.projects[context.projectName]?.root.includes("Cargo.toml")) {
|
|
2519
|
+
const cargoToml = parseCargoToml(
|
|
2520
|
+
readFileSync(
|
|
2521
|
+
joinPathFragments(
|
|
2522
|
+
context.projectsConfigurations.projects[context.projectName].root,
|
|
2523
|
+
"Cargo.toml"
|
|
2524
|
+
),
|
|
2525
|
+
"utf-8"
|
|
2526
|
+
)
|
|
2527
|
+
);
|
|
2528
|
+
args.push("-p", cargoToml.package.name);
|
|
2508
2529
|
}
|
|
2509
2530
|
if (options.allFeatures && !args.includes("--all-features")) {
|
|
2510
2531
|
args.push("--all-features");
|
|
@@ -2694,7 +2715,7 @@ var executor_default5 = withRunExecutor(
|
|
|
2694
2715
|
// ../workspace-tools/src/executors/cargo-publish/executor.ts
|
|
2695
2716
|
import { joinPathFragments as joinPathFragments2 } from "@nx/devkit";
|
|
2696
2717
|
import { execSync as execSync3 } from "node:child_process";
|
|
2697
|
-
import { readFileSync } from "node:fs";
|
|
2718
|
+
import { readFileSync as readFileSync2 } from "node:fs";
|
|
2698
2719
|
import https from "node:https";
|
|
2699
2720
|
var LARGE_BUFFER2 = 1024 * 1e6;
|
|
2700
2721
|
|
|
@@ -2801,7 +2822,7 @@ ${footer && typeof footer === "string" ? footer.startsWith("//") ? footer : `//
|
|
|
2801
2822
|
// ../build-tools/src/utilities/generate-package-json.ts
|
|
2802
2823
|
import { calculateProjectBuildableDependencies } from "@nx/js/src/utils/buildable-libs-utils";
|
|
2803
2824
|
import { Glob } from "glob";
|
|
2804
|
-
import { existsSync as existsSync4, readFileSync as
|
|
2825
|
+
import { existsSync as existsSync4, readFileSync as readFileSync3 } from "node:fs";
|
|
2805
2826
|
import { readFile as readFile3 } from "node:fs/promises";
|
|
2806
2827
|
import {
|
|
2807
2828
|
createProjectGraphAsync,
|
|
@@ -2877,7 +2898,7 @@ var addPackageDependencies = async (workspaceRoot2, projectRoot, projectName, pa
|
|
|
2877
2898
|
"package.json"
|
|
2878
2899
|
);
|
|
2879
2900
|
if (existsSync4(depPackageJsonPath)) {
|
|
2880
|
-
const depPackageJsonContent =
|
|
2901
|
+
const depPackageJsonContent = readFileSync3(
|
|
2881
2902
|
depPackageJsonPath,
|
|
2882
2903
|
"utf8"
|
|
2883
2904
|
);
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
"use strict";Object.defineProperty(exports, "__esModule", {value: true});
|
|
2
2
|
|
|
3
|
-
var
|
|
3
|
+
var _chunkMKQH5OLYjs = require('./chunk-MKQH5OLY.js');
|
|
4
4
|
|
|
5
5
|
// src/executors/refresh/executor.ts
|
|
6
|
-
var executor_default =
|
|
6
|
+
var executor_default = _chunkMKQH5OLYjs.withPulumiExecutor.call(void 0, "refresh", (options) => [
|
|
7
7
|
"--suppress-progress",
|
|
8
8
|
options.stack && `--stack=${options.stack}`,
|
|
9
9
|
options.skipPreview && "--skip-preview",
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
"use strict";Object.defineProperty(exports, "__esModule", {value: true});
|
|
2
2
|
|
|
3
|
-
var
|
|
3
|
+
var _chunkMKQH5OLYjs = require('./chunk-MKQH5OLY.js');
|
|
4
4
|
|
|
5
5
|
// src/executors/preview/executor.ts
|
|
6
|
-
var executor_default =
|
|
6
|
+
var executor_default = _chunkMKQH5OLYjs.withPulumiExecutor.call(void 0, "preview", (options) => [
|
|
7
7
|
options.stack && `--stack=${options.stack}`,
|
|
8
8
|
options.expectNoChanges && "--expect-no-changes"
|
|
9
9
|
]);
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
"use strict";Object.defineProperty(exports, "__esModule", {value: true});
|
|
2
2
|
|
|
3
|
-
var
|
|
3
|
+
var _chunkMKQH5OLYjs = require('./chunk-MKQH5OLY.js');
|
|
4
4
|
|
|
5
5
|
// src/executors/config/executor.ts
|
|
6
|
-
var executor_default =
|
|
6
|
+
var executor_default = _chunkMKQH5OLYjs.withPulumiExecutor.call(void 0, "config", (options) => [
|
|
7
7
|
options.action,
|
|
8
8
|
options.showSecrets && `--show-secrets`,
|
|
9
9
|
options.secret && `--secret`,
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
"use strict";Object.defineProperty(exports, "__esModule", {value: true});
|
|
2
2
|
|
|
3
|
-
var
|
|
3
|
+
var _chunkMKQH5OLYjs = require('./chunk-MKQH5OLY.js');
|
|
4
4
|
|
|
5
5
|
// src/executors/up/executor.ts
|
|
6
|
-
var executor_default =
|
|
6
|
+
var executor_default = _chunkMKQH5OLYjs.withPulumiExecutor.call(void 0, "up", (options) => [
|
|
7
7
|
"--suppress-progress",
|
|
8
8
|
options.stack && `--stack=${options.stack}`,
|
|
9
9
|
options.skipPreview && "--skip-preview",
|
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
"use strict";Object.defineProperty(exports, "__esModule", {value: true}); function _optionalChain(ops) { let lastAccessLHS = undefined; let value = ops[0]; let i = 1; while (i < ops.length) { const op = ops[i]; const fn = ops[i + 1]; i += 2; if ((op === 'optionalAccess' || op === 'optionalCall') && value == null) { return undefined; } if (op === 'access' || op === 'optionalAccess') { lastAccessLHS = value; value = fn(value); } else if (op === 'call' || op === 'optionalCall') { value = fn((...args) => value.call(lastAccessLHS, ...args)); lastAccessLHS = undefined; } } return value; }
|
|
2
2
|
|
|
3
3
|
|
|
4
|
-
var
|
|
4
|
+
var _chunkUKI2AP2Ojs = require('./chunk-UKI2AP2O.js');
|
|
5
5
|
|
|
6
6
|
// src/base/base-executor.ts
|
|
7
7
|
var _path = require('path');
|
|
8
8
|
var _shelljs = require('shelljs');
|
|
9
9
|
var withPulumiExecutor = (command, argsMapper, executorOptions = {}) => async (_options, context) => {
|
|
10
|
-
return
|
|
10
|
+
return _chunkUKI2AP2Ojs.withRunExecutor.call(void 0,
|
|
11
11
|
`Pulumi \`${command}\` Command Executor`,
|
|
12
12
|
async (options, context2, config) => {
|
|
13
13
|
if (!_shelljs.which.call(void 0, "pulumi")) {
|
|
@@ -21,7 +21,7 @@ var withPulumiExecutor = (command, argsMapper, executorOptions = {}) => async (_
|
|
|
21
21
|
);
|
|
22
22
|
}
|
|
23
23
|
const { sourceRoot } = context2.projectsConfigurations.projects[context2.projectName];
|
|
24
|
-
|
|
24
|
+
_chunkUKI2AP2Ojs.run.call(void 0,
|
|
25
25
|
config,
|
|
26
26
|
["pulumi", command, ...argsMapper(options)].filter(Boolean).join(" "),
|
|
27
27
|
_path.join.call(void 0, config.workspaceRoot, options.root || sourceRoot),
|
|
@@ -5,7 +5,7 @@ var _chunkQDPXTR73js = require('./chunk-QDPXTR73.js');
|
|
|
5
5
|
|
|
6
6
|
|
|
7
7
|
|
|
8
|
-
var
|
|
8
|
+
var _chunkUKI2AP2Ojs = require('./chunk-UKI2AP2O.js');
|
|
9
9
|
|
|
10
10
|
// src/generators/init/generator.ts
|
|
11
11
|
|
|
@@ -18,7 +18,7 @@ var _devkit = require('@nx/devkit');
|
|
|
18
18
|
var _fs = require('fs');
|
|
19
19
|
var _path = require('path');
|
|
20
20
|
async function initGeneratorFn(tree, options, config) {
|
|
21
|
-
const task =
|
|
21
|
+
const task = _chunkUKI2AP2Ojs.initGenerator.call(void 0, tree, options);
|
|
22
22
|
_devkit.addProjectConfiguration.call(void 0, tree, options.name || "deployment", {
|
|
23
23
|
root: options.directory || "./deployment",
|
|
24
24
|
projectType: "application",
|
|
@@ -54,14 +54,14 @@ async function initGeneratorFn(tree, options, config) {
|
|
|
54
54
|
}
|
|
55
55
|
return task;
|
|
56
56
|
}
|
|
57
|
-
var generator_default =
|
|
57
|
+
var generator_default = _chunkUKI2AP2Ojs.withRunGenerator.call(void 0,
|
|
58
58
|
"Initialize Storm Pulumi workspace",
|
|
59
59
|
initGeneratorFn
|
|
60
60
|
);
|
|
61
61
|
function generateNewPulumiProject(tree, options, config) {
|
|
62
62
|
return () => {
|
|
63
63
|
const template = _chunkQDPXTR73js.getCloudTemplateName.call(void 0, options.provider);
|
|
64
|
-
|
|
64
|
+
_chunkUKI2AP2Ojs.run.call(void 0,
|
|
65
65
|
config,
|
|
66
66
|
[
|
|
67
67
|
`pulumi new ${template}`,
|
|
@@ -85,7 +85,7 @@ function loginToPulumi(tree, options, config) {
|
|
|
85
85
|
if (options.login.startsWith("file://")) {
|
|
86
86
|
options.login = `file://${tree.root}/${options.directory || "./deployment"}/${options.login.replace("file://", "")}`;
|
|
87
87
|
}
|
|
88
|
-
|
|
88
|
+
_chunkUKI2AP2Ojs.run.call(void 0,
|
|
89
89
|
config,
|
|
90
90
|
["pulumi login", options.login].filter(Boolean).join(" "),
|
|
91
91
|
_path.join.call(void 0, config.workspaceRoot, options.directory || "./deployment"),
|
|
@@ -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 });
|
|
@@ -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
|
);
|
|
@@ -4271,15 +4292,15 @@ async function typeScriptLibraryGeneratorFn(tree, options, config) {
|
|
|
4271
4292
|
_devkit.addProjectConfiguration.call(void 0, tree, normalized.name, projectConfig);
|
|
4272
4293
|
let repository = {
|
|
4273
4294
|
type: "github",
|
|
4274
|
-
url: _optionalChain([config, 'optionalAccess',
|
|
4295
|
+
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
4296
|
};
|
|
4276
4297
|
let description = options.description || "A package developed by Storm Software used to create modern, scalable web applications.";
|
|
4277
4298
|
if (tree.exists("package.json")) {
|
|
4278
4299
|
const packageJson = _devkit.readJson.call(void 0, tree, "package.json");
|
|
4279
|
-
if (_optionalChain([packageJson, 'optionalAccess',
|
|
4300
|
+
if (_optionalChain([packageJson, 'optionalAccess', _223 => _223.repository])) {
|
|
4280
4301
|
repository = packageJson.repository;
|
|
4281
4302
|
}
|
|
4282
|
-
if (_optionalChain([packageJson, 'optionalAccess',
|
|
4303
|
+
if (_optionalChain([packageJson, 'optionalAccess', _224 => _224.description])) {
|
|
4283
4304
|
description = packageJson.description;
|
|
4284
4305
|
}
|
|
4285
4306
|
}
|
|
@@ -4334,9 +4355,9 @@ async function typeScriptLibraryGeneratorFn(tree, options, config) {
|
|
|
4334
4355
|
_devkit.updateJson.call(void 0, tree, "package.json", (json) => ({
|
|
4335
4356
|
...json,
|
|
4336
4357
|
pnpm: {
|
|
4337
|
-
..._optionalChain([json, 'optionalAccess',
|
|
4358
|
+
..._optionalChain([json, 'optionalAccess', _225 => _225.pnpm]),
|
|
4338
4359
|
overrides: {
|
|
4339
|
-
..._optionalChain([json, 'optionalAccess',
|
|
4360
|
+
..._optionalChain([json, 'optionalAccess', _226 => _226.pnpm, 'optionalAccess', _227 => _227.overrides]),
|
|
4340
4361
|
[_nullishCoalesce(normalized.importPath, () => ( ""))]: "workspace:*"
|
|
4341
4362
|
}
|
|
4342
4363
|
}
|
|
@@ -4354,10 +4375,10 @@ async function typeScriptLibraryGeneratorFn(tree, options, config) {
|
|
|
4354
4375
|
]);
|
|
4355
4376
|
if (tree.exists("package.json")) {
|
|
4356
4377
|
const packageJson = _devkit.readJson.call(void 0, tree, "package.json");
|
|
4357
|
-
if (_optionalChain([packageJson, 'optionalAccess',
|
|
4378
|
+
if (_optionalChain([packageJson, 'optionalAccess', _228 => _228.repository])) {
|
|
4358
4379
|
repository = packageJson.repository;
|
|
4359
4380
|
}
|
|
4360
|
-
if (_optionalChain([packageJson, 'optionalAccess',
|
|
4381
|
+
if (_optionalChain([packageJson, 'optionalAccess', _229 => _229.description])) {
|
|
4361
4382
|
description = packageJson.description;
|
|
4362
4383
|
}
|
|
4363
4384
|
}
|
|
@@ -4394,22 +4415,22 @@ function getOutputPath(options) {
|
|
|
4394
4415
|
function createProjectTsConfigJson(tree, options) {
|
|
4395
4416
|
const tsconfig = {
|
|
4396
4417
|
extends: options.rootProject ? void 0 : _js.getRelativePathToRootTsConfig.call(void 0, tree, options.projectRoot),
|
|
4397
|
-
..._nullishCoalesce(_optionalChain([options, 'optionalAccess',
|
|
4418
|
+
..._nullishCoalesce(_optionalChain([options, 'optionalAccess', _230 => _230.tsconfigOptions]), () => ( {})),
|
|
4398
4419
|
compilerOptions: {
|
|
4399
4420
|
...options.rootProject ? _js.tsConfigBaseOptions : {},
|
|
4400
4421
|
outDir: joinPaths(_devkit.offsetFromRoot.call(void 0, options.projectRoot), "dist/out-tsc"),
|
|
4401
4422
|
noEmit: true,
|
|
4402
|
-
..._nullishCoalesce(_optionalChain([options, 'optionalAccess',
|
|
4423
|
+
..._nullishCoalesce(_optionalChain([options, 'optionalAccess', _231 => _231.tsconfigOptions, 'optionalAccess', _232 => _232.compilerOptions]), () => ( {}))
|
|
4403
4424
|
},
|
|
4404
|
-
files: [..._nullishCoalesce(_optionalChain([options, 'optionalAccess',
|
|
4425
|
+
files: [..._nullishCoalesce(_optionalChain([options, 'optionalAccess', _233 => _233.tsconfigOptions, 'optionalAccess', _234 => _234.files]), () => ( []))],
|
|
4405
4426
|
include: [
|
|
4406
|
-
..._nullishCoalesce(_optionalChain([options, 'optionalAccess',
|
|
4427
|
+
..._nullishCoalesce(_optionalChain([options, 'optionalAccess', _235 => _235.tsconfigOptions, 'optionalAccess', _236 => _236.include]), () => ( [])),
|
|
4407
4428
|
"src/**/*.ts",
|
|
4408
4429
|
"src/**/*.js",
|
|
4409
4430
|
"bin/**/*"
|
|
4410
4431
|
],
|
|
4411
4432
|
exclude: [
|
|
4412
|
-
..._nullishCoalesce(_optionalChain([options, 'optionalAccess',
|
|
4433
|
+
..._nullishCoalesce(_optionalChain([options, 'optionalAccess', _237 => _237.tsconfigOptions, 'optionalAccess', _238 => _238.exclude]), () => ( [])),
|
|
4413
4434
|
"jest.config.ts",
|
|
4414
4435
|
"src/**/*.spec.ts",
|
|
4415
4436
|
"src/**/*.test.ts"
|
|
@@ -4419,8 +4440,8 @@ function createProjectTsConfigJson(tree, options) {
|
|
|
4419
4440
|
}
|
|
4420
4441
|
async function normalizeOptions(tree, options, config) {
|
|
4421
4442
|
let importPath = options.importPath;
|
|
4422
|
-
if (!importPath && _optionalChain([config, 'optionalAccess',
|
|
4423
|
-
importPath = `@${_optionalChain([config, 'optionalAccess',
|
|
4443
|
+
if (!importPath && _optionalChain([config, 'optionalAccess', _239 => _239.namespace])) {
|
|
4444
|
+
importPath = `@${_optionalChain([config, 'optionalAccess', _240 => _240.namespace])}/${options.name}`;
|
|
4424
4445
|
}
|
|
4425
4446
|
if (options.publishable) {
|
|
4426
4447
|
if (!importPath) {
|
|
@@ -4585,7 +4606,7 @@ async function configSchemaGeneratorFn(tree, options, config) {
|
|
|
4585
4606
|
);
|
|
4586
4607
|
}
|
|
4587
4608
|
const outputPath = options.outputFile.replaceAll("{workspaceRoot}", "").replaceAll(
|
|
4588
|
-
_nullishCoalesce(_optionalChain([config, 'optionalAccess',
|
|
4609
|
+
_nullishCoalesce(_optionalChain([config, 'optionalAccess', _241 => _241.workspaceRoot]), () => ( findWorkspaceRoot())),
|
|
4589
4610
|
options.outputFile.startsWith("./") ? "" : "./"
|
|
4590
4611
|
);
|
|
4591
4612
|
writeTrace(
|
package/dist/executors.js
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
"use strict";require('./chunk-XO62WWX4.js');
|
|
2
|
-
require('./chunk-
|
|
3
|
-
require('./chunk-
|
|
4
|
-
require('./chunk-
|
|
5
|
-
require('./chunk-
|
|
6
|
-
require('./chunk-
|
|
7
|
-
require('./chunk-
|
|
8
|
-
require('./chunk-
|
|
2
|
+
require('./chunk-5MNRAXO7.js');
|
|
3
|
+
require('./chunk-J4RKI433.js');
|
|
4
|
+
require('./chunk-ISQV2SHV.js');
|
|
5
|
+
require('./chunk-LI45PJHV.js');
|
|
6
|
+
require('./chunk-LE263C2P.js');
|
|
7
|
+
require('./chunk-MKQH5OLY.js');
|
|
8
|
+
require('./chunk-UKI2AP2O.js');
|
package/dist/executors.mjs
CHANGED
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import "./chunk-UV4HQO3Y.mjs";
|
|
2
|
-
import "./chunk-
|
|
3
|
-
import "./chunk-
|
|
4
|
-
import "./chunk-
|
|
5
|
-
import "./chunk-
|
|
6
|
-
import "./chunk-
|
|
7
|
-
import "./chunk-
|
|
8
|
-
import "./chunk-
|
|
2
|
+
import "./chunk-K7HEEK3C.mjs";
|
|
3
|
+
import "./chunk-TG53HQ3K.mjs";
|
|
4
|
+
import "./chunk-WDMRMD53.mjs";
|
|
5
|
+
import "./chunk-R624DLWI.mjs";
|
|
6
|
+
import "./chunk-BRBDYMAH.mjs";
|
|
7
|
+
import "./chunk-MKLR7VDP.mjs";
|
|
8
|
+
import "./chunk-HN572JIY.mjs";
|
|
9
9
|
import "./chunk-O67GNKWY.mjs";
|
package/dist/generators.js
CHANGED
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
"use strict";Object.defineProperty(exports, "__esModule", {value: true});require('./chunk-N2YKXZ5R.js');
|
|
2
2
|
|
|
3
3
|
|
|
4
|
-
var
|
|
4
|
+
var _chunkP5N74APGjs = require('./chunk-P5N74APG.js');
|
|
5
5
|
require('./chunk-QDPXTR73.js');
|
|
6
|
-
require('./chunk-
|
|
6
|
+
require('./chunk-UKI2AP2O.js');
|
|
7
7
|
|
|
8
8
|
|
|
9
|
-
exports.initGeneratorFn =
|
|
9
|
+
exports.initGeneratorFn = _chunkP5N74APGjs.initGeneratorFn;
|
package/dist/generators.mjs
CHANGED
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import "./chunk-23KFTIT2.mjs";
|
|
2
2
|
import {
|
|
3
3
|
initGeneratorFn
|
|
4
|
-
} from "./chunk-
|
|
4
|
+
} from "./chunk-G6WTR26Q.mjs";
|
|
5
5
|
import "./chunk-5TB4HFDP.mjs";
|
|
6
|
-
import "./chunk-
|
|
6
|
+
import "./chunk-HN572JIY.mjs";
|
|
7
7
|
import "./chunk-O67GNKWY.mjs";
|
|
8
8
|
export {
|
|
9
9
|
initGeneratorFn
|
package/dist/index.js
CHANGED
|
@@ -8,24 +8,24 @@
|
|
|
8
8
|
|
|
9
9
|
var _chunk7I63VQP3js = require('./chunk-7I63VQP3.js');
|
|
10
10
|
require('./chunk-XO62WWX4.js');
|
|
11
|
-
require('./chunk-
|
|
12
|
-
require('./chunk-
|
|
13
|
-
require('./chunk-
|
|
14
|
-
require('./chunk-
|
|
11
|
+
require('./chunk-5MNRAXO7.js');
|
|
12
|
+
require('./chunk-J4RKI433.js');
|
|
13
|
+
require('./chunk-ISQV2SHV.js');
|
|
14
|
+
require('./chunk-LI45PJHV.js');
|
|
15
15
|
require('./chunk-N2YKXZ5R.js');
|
|
16
16
|
|
|
17
17
|
|
|
18
|
-
var
|
|
18
|
+
var _chunkP5N74APGjs = require('./chunk-P5N74APG.js');
|
|
19
19
|
require('./chunk-GUQOEBFW.js');
|
|
20
20
|
|
|
21
21
|
|
|
22
22
|
|
|
23
23
|
var _chunkQDPXTR73js = require('./chunk-QDPXTR73.js');
|
|
24
|
-
require('./chunk-
|
|
24
|
+
require('./chunk-LE263C2P.js');
|
|
25
25
|
|
|
26
26
|
|
|
27
|
-
var
|
|
28
|
-
require('./chunk-
|
|
27
|
+
var _chunkMKQH5OLYjs = require('./chunk-MKQH5OLY.js');
|
|
28
|
+
require('./chunk-UKI2AP2O.js');
|
|
29
29
|
|
|
30
30
|
|
|
31
31
|
|
|
@@ -37,4 +37,4 @@ require('./chunk-3F3DPRLC.js');
|
|
|
37
37
|
|
|
38
38
|
|
|
39
39
|
|
|
40
|
-
exports.Provider = _chunkQDPXTR73js.Provider; exports.ec2Instance = _chunk7I63VQP3js.ec2Instance; exports.getAWSTemplateName = _chunk7I63VQP3js.getAWSTemplateName; exports.getCloudTemplateName = _chunkQDPXTR73js.getCloudTemplateName; exports.getProviderOpts = _chunk7I63VQP3js.getProviderOpts; exports.initGeneratorFn =
|
|
40
|
+
exports.Provider = _chunkQDPXTR73js.Provider; exports.ec2Instance = _chunk7I63VQP3js.ec2Instance; exports.getAWSTemplateName = _chunk7I63VQP3js.getAWSTemplateName; exports.getCloudTemplateName = _chunkQDPXTR73js.getCloudTemplateName; exports.getProviderOpts = _chunk7I63VQP3js.getProviderOpts; exports.initGeneratorFn = _chunkP5N74APGjs.initGeneratorFn; exports.securityGroup = _chunk7I63VQP3js.securityGroup; exports.subnet = _chunk7I63VQP3js.subnet; exports.vpc = _chunk7I63VQP3js.vpc; exports.withPulumiExecutor = _chunkMKQH5OLYjs.withPulumiExecutor;
|
package/dist/index.mjs
CHANGED
|
@@ -8,24 +8,24 @@ import {
|
|
|
8
8
|
vpc
|
|
9
9
|
} from "./chunk-S6XCS2TA.mjs";
|
|
10
10
|
import "./chunk-UV4HQO3Y.mjs";
|
|
11
|
-
import "./chunk-
|
|
12
|
-
import "./chunk-
|
|
13
|
-
import "./chunk-
|
|
14
|
-
import "./chunk-
|
|
11
|
+
import "./chunk-K7HEEK3C.mjs";
|
|
12
|
+
import "./chunk-TG53HQ3K.mjs";
|
|
13
|
+
import "./chunk-WDMRMD53.mjs";
|
|
14
|
+
import "./chunk-R624DLWI.mjs";
|
|
15
15
|
import "./chunk-23KFTIT2.mjs";
|
|
16
16
|
import {
|
|
17
17
|
initGeneratorFn
|
|
18
|
-
} from "./chunk-
|
|
18
|
+
} from "./chunk-G6WTR26Q.mjs";
|
|
19
19
|
import "./chunk-CA7S5MOH.mjs";
|
|
20
20
|
import {
|
|
21
21
|
Provider,
|
|
22
22
|
getCloudTemplateName
|
|
23
23
|
} from "./chunk-5TB4HFDP.mjs";
|
|
24
|
-
import "./chunk-
|
|
24
|
+
import "./chunk-BRBDYMAH.mjs";
|
|
25
25
|
import {
|
|
26
26
|
withPulumiExecutor
|
|
27
|
-
} from "./chunk-
|
|
28
|
-
import "./chunk-
|
|
27
|
+
} from "./chunk-MKLR7VDP.mjs";
|
|
28
|
+
import "./chunk-HN572JIY.mjs";
|
|
29
29
|
import "./chunk-O67GNKWY.mjs";
|
|
30
30
|
export {
|
|
31
31
|
Provider,
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
"use strict";Object.defineProperty(exports, "__esModule", {value: true});
|
|
2
2
|
|
|
3
|
-
var
|
|
4
|
-
require('../../chunk-
|
|
3
|
+
var _chunkMKQH5OLYjs = require('../../chunk-MKQH5OLY.js');
|
|
4
|
+
require('../../chunk-UKI2AP2O.js');
|
|
5
5
|
|
|
6
6
|
|
|
7
|
-
exports.withPulumiExecutor =
|
|
7
|
+
exports.withPulumiExecutor = _chunkMKQH5OLYjs.withPulumiExecutor;
|
package/dist/src/base/index.js
CHANGED
|
@@ -5,10 +5,10 @@
|
|
|
5
5
|
var _chunkQDPXTR73js = require('../../chunk-QDPXTR73.js');
|
|
6
6
|
|
|
7
7
|
|
|
8
|
-
var
|
|
9
|
-
require('../../chunk-
|
|
8
|
+
var _chunkMKQH5OLYjs = require('../../chunk-MKQH5OLY.js');
|
|
9
|
+
require('../../chunk-UKI2AP2O.js');
|
|
10
10
|
|
|
11
11
|
|
|
12
12
|
|
|
13
13
|
|
|
14
|
-
exports.Provider = _chunkQDPXTR73js.Provider; exports.getCloudTemplateName = _chunkQDPXTR73js.getCloudTemplateName; exports.withPulumiExecutor =
|
|
14
|
+
exports.Provider = _chunkQDPXTR73js.Provider; exports.getCloudTemplateName = _chunkQDPXTR73js.getCloudTemplateName; exports.withPulumiExecutor = _chunkMKQH5OLYjs.withPulumiExecutor;
|
package/dist/src/base/index.mjs
CHANGED
|
@@ -5,8 +5,8 @@ import {
|
|
|
5
5
|
} from "../../chunk-5TB4HFDP.mjs";
|
|
6
6
|
import {
|
|
7
7
|
withPulumiExecutor
|
|
8
|
-
} from "../../chunk-
|
|
9
|
-
import "../../chunk-
|
|
8
|
+
} from "../../chunk-MKLR7VDP.mjs";
|
|
9
|
+
import "../../chunk-HN572JIY.mjs";
|
|
10
10
|
import "../../chunk-O67GNKWY.mjs";
|
|
11
11
|
export {
|
|
12
12
|
Provider,
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
"use strict";Object.defineProperty(exports, "__esModule", {value: true});
|
|
2
2
|
|
|
3
|
-
var
|
|
4
|
-
require('../../../chunk-
|
|
5
|
-
require('../../../chunk-
|
|
3
|
+
var _chunkLE263C2Pjs = require('../../../chunk-LE263C2P.js');
|
|
4
|
+
require('../../../chunk-MKQH5OLY.js');
|
|
5
|
+
require('../../../chunk-UKI2AP2O.js');
|
|
6
6
|
|
|
7
7
|
|
|
8
|
-
exports.default =
|
|
8
|
+
exports.default = _chunkLE263C2Pjs.executor_default;
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import {
|
|
2
2
|
executor_default
|
|
3
|
-
} from "../../../chunk-
|
|
4
|
-
import "../../../chunk-
|
|
5
|
-
import "../../../chunk-
|
|
3
|
+
} from "../../../chunk-BRBDYMAH.mjs";
|
|
4
|
+
import "../../../chunk-MKLR7VDP.mjs";
|
|
5
|
+
import "../../../chunk-HN572JIY.mjs";
|
|
6
6
|
import "../../../chunk-O67GNKWY.mjs";
|
|
7
7
|
export {
|
|
8
8
|
executor_default as default
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
"use strict";Object.defineProperty(exports, "__esModule", {value: true});
|
|
2
2
|
|
|
3
|
-
var
|
|
4
|
-
require('../../../chunk-
|
|
5
|
-
require('../../../chunk-
|
|
3
|
+
var _chunk5MNRAXO7js = require('../../../chunk-5MNRAXO7.js');
|
|
4
|
+
require('../../../chunk-MKQH5OLY.js');
|
|
5
|
+
require('../../../chunk-UKI2AP2O.js');
|
|
6
6
|
|
|
7
7
|
|
|
8
|
-
exports.default =
|
|
8
|
+
exports.default = _chunk5MNRAXO7js.executor_default;
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import {
|
|
2
2
|
executor_default
|
|
3
|
-
} from "../../../chunk-
|
|
4
|
-
import "../../../chunk-
|
|
5
|
-
import "../../../chunk-
|
|
3
|
+
} from "../../../chunk-K7HEEK3C.mjs";
|
|
4
|
+
import "../../../chunk-MKLR7VDP.mjs";
|
|
5
|
+
import "../../../chunk-HN572JIY.mjs";
|
|
6
6
|
import "../../../chunk-O67GNKWY.mjs";
|
|
7
7
|
export {
|
|
8
8
|
executor_default as default
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
"use strict";Object.defineProperty(exports, "__esModule", {value: true});
|
|
2
2
|
|
|
3
|
-
var
|
|
4
|
-
require('../../../chunk-
|
|
5
|
-
require('../../../chunk-
|
|
3
|
+
var _chunkJ4RKI433js = require('../../../chunk-J4RKI433.js');
|
|
4
|
+
require('../../../chunk-MKQH5OLY.js');
|
|
5
|
+
require('../../../chunk-UKI2AP2O.js');
|
|
6
6
|
|
|
7
7
|
|
|
8
|
-
exports.default =
|
|
8
|
+
exports.default = _chunkJ4RKI433js.executor_default;
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import {
|
|
2
2
|
executor_default
|
|
3
|
-
} from "../../../chunk-
|
|
4
|
-
import "../../../chunk-
|
|
5
|
-
import "../../../chunk-
|
|
3
|
+
} from "../../../chunk-TG53HQ3K.mjs";
|
|
4
|
+
import "../../../chunk-MKLR7VDP.mjs";
|
|
5
|
+
import "../../../chunk-HN572JIY.mjs";
|
|
6
6
|
import "../../../chunk-O67GNKWY.mjs";
|
|
7
7
|
export {
|
|
8
8
|
executor_default as default
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
"use strict";Object.defineProperty(exports, "__esModule", {value: true});
|
|
2
2
|
|
|
3
|
-
var
|
|
4
|
-
require('../../../chunk-
|
|
5
|
-
require('../../../chunk-
|
|
3
|
+
var _chunkISQV2SHVjs = require('../../../chunk-ISQV2SHV.js');
|
|
4
|
+
require('../../../chunk-MKQH5OLY.js');
|
|
5
|
+
require('../../../chunk-UKI2AP2O.js');
|
|
6
6
|
|
|
7
7
|
|
|
8
|
-
exports.default =
|
|
8
|
+
exports.default = _chunkISQV2SHVjs.executor_default;
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import {
|
|
2
2
|
executor_default
|
|
3
|
-
} from "../../../chunk-
|
|
4
|
-
import "../../../chunk-
|
|
5
|
-
import "../../../chunk-
|
|
3
|
+
} from "../../../chunk-WDMRMD53.mjs";
|
|
4
|
+
import "../../../chunk-MKLR7VDP.mjs";
|
|
5
|
+
import "../../../chunk-HN572JIY.mjs";
|
|
6
6
|
import "../../../chunk-O67GNKWY.mjs";
|
|
7
7
|
export {
|
|
8
8
|
executor_default as default
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
"use strict";Object.defineProperty(exports, "__esModule", {value: true});
|
|
2
2
|
|
|
3
|
-
var
|
|
4
|
-
require('../../../chunk-
|
|
5
|
-
require('../../../chunk-
|
|
3
|
+
var _chunkLI45PJHVjs = require('../../../chunk-LI45PJHV.js');
|
|
4
|
+
require('../../../chunk-MKQH5OLY.js');
|
|
5
|
+
require('../../../chunk-UKI2AP2O.js');
|
|
6
6
|
|
|
7
7
|
|
|
8
|
-
exports.default =
|
|
8
|
+
exports.default = _chunkLI45PJHVjs.executor_default;
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import {
|
|
2
2
|
executor_default
|
|
3
|
-
} from "../../../chunk-
|
|
4
|
-
import "../../../chunk-
|
|
5
|
-
import "../../../chunk-
|
|
3
|
+
} from "../../../chunk-R624DLWI.mjs";
|
|
4
|
+
import "../../../chunk-MKLR7VDP.mjs";
|
|
5
|
+
import "../../../chunk-HN572JIY.mjs";
|
|
6
6
|
import "../../../chunk-O67GNKWY.mjs";
|
|
7
7
|
export {
|
|
8
8
|
executor_default as default
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
"use strict";Object.defineProperty(exports, "__esModule", {value: true});
|
|
2
2
|
|
|
3
3
|
|
|
4
|
-
var
|
|
4
|
+
var _chunkP5N74APGjs = require('../../../chunk-P5N74APG.js');
|
|
5
5
|
require('../../../chunk-QDPXTR73.js');
|
|
6
|
-
require('../../../chunk-
|
|
6
|
+
require('../../../chunk-UKI2AP2O.js');
|
|
7
7
|
|
|
8
8
|
|
|
9
9
|
|
|
10
|
-
exports.default =
|
|
10
|
+
exports.default = _chunkP5N74APGjs.generator_default; exports.initGeneratorFn = _chunkP5N74APGjs.initGeneratorFn;
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import {
|
|
2
2
|
generator_default,
|
|
3
3
|
initGeneratorFn
|
|
4
|
-
} from "../../../chunk-
|
|
4
|
+
} from "../../../chunk-G6WTR26Q.mjs";
|
|
5
5
|
import "../../../chunk-5TB4HFDP.mjs";
|
|
6
|
-
import "../../../chunk-
|
|
6
|
+
import "../../../chunk-HN572JIY.mjs";
|
|
7
7
|
import "../../../chunk-O67GNKWY.mjs";
|
|
8
8
|
export {
|
|
9
9
|
generator_default as default,
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@storm-software/pulumi-tools",
|
|
3
|
-
"version": "0.22.
|
|
3
|
+
"version": "0.22.264",
|
|
4
4
|
"description": "Tools for managing Pulumi infrastructure within a Nx workspace.",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"iac",
|
|
@@ -145,9 +145,9 @@
|
|
|
145
145
|
"@pulumi/aws": "^6.83.4",
|
|
146
146
|
"@pulumi/awsx": "^2.22.0",
|
|
147
147
|
"@pulumi/pulumi": "^3.248.0",
|
|
148
|
-
"@storm-software/config": "1.138.
|
|
149
|
-
"@storm-software/config-tools": "1.190.
|
|
150
|
-
"@storm-software/workspace-tools": "1.296.
|
|
148
|
+
"@storm-software/config": "1.138.18",
|
|
149
|
+
"@storm-software/config-tools": "1.190.81",
|
|
150
|
+
"@storm-software/workspace-tools": "1.296.61",
|
|
151
151
|
"defu": "^6.1.7",
|
|
152
152
|
"shelljs": "^0.8.5"
|
|
153
153
|
},
|
|
@@ -160,5 +160,5 @@
|
|
|
160
160
|
"publishConfig": { "access": "public" },
|
|
161
161
|
"executors": "./executors.json",
|
|
162
162
|
"generators": "./generators.json",
|
|
163
|
-
"gitHead": "
|
|
163
|
+
"gitHead": "61f91d519ffe77bde1a06627ba2d7dcda4c7ce20"
|
|
164
164
|
}
|