@storm-software/pulumi-tools 0.13.37 → 0.13.39
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 +1 -1
- package/dist/{chunk-ARMLL4XR.mjs → chunk-2BD4IRTI.mjs} +1 -1
- package/dist/{chunk-YLUP4GPB.js → chunk-3TSC26ST.js} +5 -5
- package/dist/{chunk-2BJWKRZY.mjs → chunk-4H6OCFMZ.mjs} +1 -1
- package/dist/{chunk-WVWQ63DQ.js → chunk-5HEDS3UT.js} +2 -2
- package/dist/{chunk-RXBT4QGR.js → chunk-7P4YWHUA.js} +71 -56
- package/dist/{chunk-3HZRQFRU.mjs → chunk-ARSQVJ7N.mjs} +1 -1
- package/dist/{chunk-ZSDJN6O2.js → chunk-D573L2O2.js} +3 -3
- package/dist/{chunk-2AXVXQLX.js → chunk-DKJKBXBI.js} +2 -2
- package/dist/{chunk-DRRNDUUU.mjs → chunk-EWYULOQJ.mjs} +1 -1
- package/dist/{chunk-K6F4GVJR.mjs → chunk-IVFQT4WC.mjs} +1 -1
- package/dist/{chunk-KFBJ5IQ5.mjs → chunk-JUCS6QST.mjs} +1 -1
- package/dist/{chunk-7WJWSBOM.mjs → chunk-KSX7QAB3.mjs} +1 -1
- package/dist/{chunk-UATEWFF4.mjs → chunk-L6UX4WWK.mjs} +23 -8
- package/dist/{chunk-GVL45UUV.js → chunk-NLVT27VF.js} +2 -2
- package/dist/{chunk-PF32IZUC.js → chunk-TI2UULSV.js} +2 -2
- package/dist/{chunk-5FF2VTEQ.js → chunk-YW4SEJR7.js} +2 -2
- 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 +2 -2
package/CHANGELOG.md
CHANGED
|
@@ -2,6 +2,20 @@
|
|
|
2
2
|
|
|
3
3
|
# Changelog for Storm Ops - Pulumi Tools
|
|
4
4
|
|
|
5
|
+
## [0.13.38](https://github.com/storm-software/storm-ops/releases/tag/pulumi-tools%400.13.38) (2025-07-10)
|
|
6
|
+
|
|
7
|
+
### Miscellaneous
|
|
8
|
+
|
|
9
|
+
- **monorepo:** Regenerate README markdown files
|
|
10
|
+
([98723860a](https://github.com/storm-software/storm-ops/commit/98723860a))
|
|
11
|
+
|
|
12
|
+
## [0.13.37](https://github.com/storm-software/storm-ops/releases/tag/pulumi-tools%400.13.37) (2025-07-08)
|
|
13
|
+
|
|
14
|
+
### Miscellaneous
|
|
15
|
+
|
|
16
|
+
- **monorepo:** Update README markdown files
|
|
17
|
+
([a201e9178](https://github.com/storm-software/storm-ops/commit/a201e9178))
|
|
18
|
+
|
|
5
19
|
## [0.13.36](https://github.com/storm-software/storm-ops/releases/tag/pulumi-tools%400.13.36) (2025-07-06)
|
|
6
20
|
|
|
7
21
|
### Miscellaneous
|
package/README.md
CHANGED
|
@@ -21,7 +21,7 @@ This package is part of the <b>⚡Storm-Ops</b> monorepo. The Storm-Ops packages
|
|
|
21
21
|
|
|
22
22
|
<h3 align="center">💻 Visit <a href="https://stormsoftware.com" target="_blank">stormsoftware.com</a> to stay up to date with this developer</h3><br />
|
|
23
23
|
|
|
24
|
-
[](https://prettier.io/) [](http://nx.dev/) [](https://nextjs.org/) [](http://commitizen.github.io/cz-cli/)  [](https://fumadocs.vercel.app/) 
|
|
25
25
|
|
|
26
26
|
<!-- prettier-ignore-start -->
|
|
27
27
|
<!-- markdownlint-disable -->
|
|
@@ -5,7 +5,7 @@ var _chunkHUKXHFCAjs = require('./chunk-HUKXHFCA.js');
|
|
|
5
5
|
|
|
6
6
|
|
|
7
7
|
|
|
8
|
-
var
|
|
8
|
+
var _chunk7P4YWHUAjs = require('./chunk-7P4YWHUA.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 = _chunk7P4YWHUAjs.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 = _chunk7P4YWHUAjs.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 = _chunkHUKXHFCAjs.getCloudTemplateName.call(void 0, options.provider);
|
|
64
|
-
|
|
64
|
+
_chunk7P4YWHUAjs.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
|
+
_chunk7P4YWHUAjs.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"),
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
"use strict";Object.defineProperty(exports, "__esModule", {value: true});
|
|
2
2
|
|
|
3
|
-
var
|
|
3
|
+
var _chunkD573L2O2js = require('./chunk-D573L2O2.js');
|
|
4
4
|
|
|
5
5
|
// src/executors/up/executor.ts
|
|
6
|
-
var executor_default =
|
|
6
|
+
var executor_default = _chunkD573L2O2js.withPulumiExecutor.call(void 0, "up", (options) => [
|
|
7
7
|
"--suppress-progress",
|
|
8
8
|
options.stack && `--stack=${options.stack}`,
|
|
9
9
|
options.skipPreview && "--skip-preview",
|
|
@@ -55,7 +55,6 @@ var STORM_DEFAULT_HOMEPAGE = "https://stormsoftware.com";
|
|
|
55
55
|
var STORM_DEFAULT_CONTACT = "https://stormsoftware.com/contact";
|
|
56
56
|
var STORM_DEFAULT_LICENSING = "https://stormsoftware.com/license";
|
|
57
57
|
var STORM_DEFAULT_LICENSE = "Apache-2.0";
|
|
58
|
-
var STORM_DEFAULT_RELEASE_BANNER = "https://public.storm-cdn.com/brand-banner.png";
|
|
59
58
|
var STORM_DEFAULT_SOCIAL_TWITTER = "StormSoftwareHQ";
|
|
60
59
|
var STORM_DEFAULT_SOCIAL_DISCORD = "https://discord.gg/MQ6YVzakM5";
|
|
61
60
|
var STORM_DEFAULT_SOCIAL_TELEGRAM = "https://t.me/storm_software";
|
|
@@ -171,13 +170,13 @@ var WorkspaceBotConfigSchema = z.object({
|
|
|
171
170
|
"The workspace's bot user's config used to automated various operations tasks"
|
|
172
171
|
);
|
|
173
172
|
var WorkspaceReleaseConfigSchema = z.object({
|
|
174
|
-
banner: z.string().trim().
|
|
173
|
+
banner: z.string().trim().optional().describe(
|
|
175
174
|
"A URL to a banner image used to display the workspace's release"
|
|
176
175
|
),
|
|
177
176
|
header: z.string().trim().optional().describe(
|
|
178
177
|
"A header message appended to the start of the workspace's release notes"
|
|
179
178
|
),
|
|
180
|
-
footer: z.string().trim().
|
|
179
|
+
footer: z.string().trim().optional().describe(
|
|
181
180
|
"A footer message appended to the end of the workspace's release notes"
|
|
182
181
|
)
|
|
183
182
|
}).describe("The workspace's release config used during the release process");
|
|
@@ -1580,12 +1579,28 @@ var createStormWorkspaceConfig = async (extensionName, schema, workspaceRoot3, s
|
|
|
1580
1579
|
}
|
|
1581
1580
|
}
|
|
1582
1581
|
const defaultConfig = await getPackageJsonConfig(_workspaceRoot);
|
|
1583
|
-
|
|
1584
|
-
|
|
1585
|
-
|
|
1586
|
-
|
|
1582
|
+
const configInput = _defu2.default.call(void 0,
|
|
1583
|
+
configEnv,
|
|
1584
|
+
configFile,
|
|
1585
|
+
defaultConfig
|
|
1587
1586
|
);
|
|
1588
|
-
|
|
1587
|
+
try {
|
|
1588
|
+
result = applyDefaultConfig(
|
|
1589
|
+
await stormWorkspaceConfigSchema.parseAsync(configInput)
|
|
1590
|
+
);
|
|
1591
|
+
result.workspaceRoot ??= _workspaceRoot;
|
|
1592
|
+
} catch (error) {
|
|
1593
|
+
throw new Error(
|
|
1594
|
+
`Failed to parse Storm Workspace configuration${_optionalChain([error, 'optionalAccess', _63 => _63.message]) ? `: ${error.message}` : ""}
|
|
1595
|
+
|
|
1596
|
+
Please ensure your configuration file is valid JSON and matches the expected schema. The current workspace configuration input is: ${formatLogMessage(
|
|
1597
|
+
configInput
|
|
1598
|
+
)}`,
|
|
1599
|
+
{
|
|
1600
|
+
cause: error
|
|
1601
|
+
}
|
|
1602
|
+
);
|
|
1603
|
+
}
|
|
1589
1604
|
} else {
|
|
1590
1605
|
result = _static_cache.data;
|
|
1591
1606
|
}
|
|
@@ -1651,7 +1666,7 @@ var withRunExecutor = (name, executorFn, executorOptions = {}) => async (_option
|
|
|
1651
1666
|
let options = _options;
|
|
1652
1667
|
let config = {};
|
|
1653
1668
|
try {
|
|
1654
|
-
if (!_optionalChain([context, 'access',
|
|
1669
|
+
if (!_optionalChain([context, 'access', _64 => _64.projectsConfigurations, 'optionalAccess', _65 => _65.projects]) || !context.projectName || !context.projectsConfigurations.projects[context.projectName]) {
|
|
1655
1670
|
throw new Error(
|
|
1656
1671
|
"The Build process failed because the context is not valid. Please run this command from a workspace."
|
|
1657
1672
|
);
|
|
@@ -1674,7 +1689,7 @@ var withRunExecutor = (name, executorFn, executorOptions = {}) => async (_option
|
|
|
1674
1689
|
);
|
|
1675
1690
|
config = await getConfig(workspaceRoot3);
|
|
1676
1691
|
}
|
|
1677
|
-
if (_optionalChain([executorOptions, 'optionalAccess',
|
|
1692
|
+
if (_optionalChain([executorOptions, 'optionalAccess', _66 => _66.hooks, 'optionalAccess', _67 => _67.applyDefaultOptions])) {
|
|
1678
1693
|
writeDebug("Running the applyDefaultOptions hook...", config);
|
|
1679
1694
|
options = await Promise.resolve(
|
|
1680
1695
|
executorOptions.hooks.applyDefaultOptions(options, config)
|
|
@@ -1702,7 +1717,7 @@ ${formatLogMessage(tokenized)}
|
|
|
1702
1717
|
`,
|
|
1703
1718
|
config
|
|
1704
1719
|
);
|
|
1705
|
-
if (_optionalChain([executorOptions, 'optionalAccess',
|
|
1720
|
+
if (_optionalChain([executorOptions, 'optionalAccess', _68 => _68.hooks, 'optionalAccess', _69 => _69.preProcess])) {
|
|
1706
1721
|
writeDebug("Running the preProcess hook...", config);
|
|
1707
1722
|
await Promise.resolve(
|
|
1708
1723
|
executorOptions.hooks.preProcess(tokenized, config)
|
|
@@ -1710,7 +1725,7 @@ ${formatLogMessage(tokenized)}
|
|
|
1710
1725
|
writeDebug("Completed the preProcess hook", config);
|
|
1711
1726
|
}
|
|
1712
1727
|
const ret = executorFn(tokenized, context, config);
|
|
1713
|
-
if (_isFunction2(_optionalChain([ret, 'optionalAccess',
|
|
1728
|
+
if (_isFunction2(_optionalChain([ret, 'optionalAccess', _70 => _70.next]))) {
|
|
1714
1729
|
const asyncGen = ret;
|
|
1715
1730
|
for await (const iter of asyncGen) {
|
|
1716
1731
|
void iter;
|
|
@@ -1719,7 +1734,7 @@ ${formatLogMessage(tokenized)}
|
|
|
1719
1734
|
const result = await Promise.resolve(
|
|
1720
1735
|
ret
|
|
1721
1736
|
);
|
|
1722
|
-
if (result && (!result.success || result.error && _optionalChain([result, 'optionalAccess',
|
|
1737
|
+
if (result && (!result.success || result.error && _optionalChain([result, 'optionalAccess', _71 => _71.error, 'optionalAccess', _72 => _72.message]) && typeof _optionalChain([result, 'optionalAccess', _73 => _73.error, 'optionalAccess', _74 => _74.message]) === "string" && _optionalChain([result, 'optionalAccess', _75 => _75.error, 'optionalAccess', _76 => _76.name]) && typeof _optionalChain([result, 'optionalAccess', _77 => _77.error, 'optionalAccess', _78 => _78.name]) === "string")) {
|
|
1723
1738
|
writeTrace(
|
|
1724
1739
|
`Failure determined by the ${name} executor
|
|
1725
1740
|
${formatLogMessage(result)}`,
|
|
@@ -1727,10 +1742,10 @@ ${formatLogMessage(result)}`,
|
|
|
1727
1742
|
);
|
|
1728
1743
|
console.error(result);
|
|
1729
1744
|
throw new Error(`The ${name} executor failed to run`, {
|
|
1730
|
-
cause: _optionalChain([result, 'optionalAccess',
|
|
1745
|
+
cause: _optionalChain([result, 'optionalAccess', _79 => _79.error])
|
|
1731
1746
|
});
|
|
1732
1747
|
}
|
|
1733
|
-
if (_optionalChain([executorOptions, 'optionalAccess',
|
|
1748
|
+
if (_optionalChain([executorOptions, 'optionalAccess', _80 => _80.hooks, 'optionalAccess', _81 => _81.postProcess])) {
|
|
1734
1749
|
writeDebug("Running the postProcess hook...", config);
|
|
1735
1750
|
await Promise.resolve(executorOptions.hooks.postProcess(config));
|
|
1736
1751
|
writeDebug("Completed the postProcess hook", config);
|
|
@@ -1760,7 +1775,7 @@ ${formatLogMessage(result)}`,
|
|
|
1760
1775
|
};
|
|
1761
1776
|
var _isFunction2 = (value) => {
|
|
1762
1777
|
try {
|
|
1763
|
-
return value instanceof Function || typeof value === "function" || !!(_optionalChain([value, 'optionalAccess',
|
|
1778
|
+
return value instanceof Function || typeof value === "function" || !!(_optionalChain([value, 'optionalAccess', _82 => _82.constructor]) && _optionalChain([value, 'optionalAccess', _83 => _83.call]) && _optionalChain([value, 'optionalAccess', _84 => _84.apply]));
|
|
1764
1779
|
} catch (e) {
|
|
1765
1780
|
return false;
|
|
1766
1781
|
}
|
|
@@ -1786,7 +1801,7 @@ var withRunGenerator = (name, generatorFn, generatorOptions = {
|
|
|
1786
1801
|
);
|
|
1787
1802
|
config = await getConfig(workspaceRoot3);
|
|
1788
1803
|
}
|
|
1789
|
-
if (_optionalChain([generatorOptions, 'optionalAccess',
|
|
1804
|
+
if (_optionalChain([generatorOptions, 'optionalAccess', _85 => _85.hooks, 'optionalAccess', _86 => _86.applyDefaultOptions])) {
|
|
1790
1805
|
writeDebug("Running the applyDefaultOptions hook...", config);
|
|
1791
1806
|
options = await Promise.resolve(
|
|
1792
1807
|
generatorOptions.hooks.applyDefaultOptions(options, config)
|
|
@@ -1803,7 +1818,7 @@ ${Object.keys(_nullishCoalesce(options, () => ( {}))).map((key) => ` - ${key}=${
|
|
|
1803
1818
|
{ workspaceRoot: tree.root, config },
|
|
1804
1819
|
applyWorkspaceBaseTokens
|
|
1805
1820
|
);
|
|
1806
|
-
if (_optionalChain([generatorOptions, 'optionalAccess',
|
|
1821
|
+
if (_optionalChain([generatorOptions, 'optionalAccess', _87 => _87.hooks, 'optionalAccess', _88 => _88.preProcess])) {
|
|
1807
1822
|
writeDebug("Running the preProcess hook...", config);
|
|
1808
1823
|
await Promise.resolve(
|
|
1809
1824
|
generatorOptions.hooks.preProcess(tokenized, config)
|
|
@@ -1814,15 +1829,15 @@ ${Object.keys(_nullishCoalesce(options, () => ( {}))).map((key) => ` - ${key}=${
|
|
|
1814
1829
|
generatorFn(tree, tokenized, config)
|
|
1815
1830
|
);
|
|
1816
1831
|
if (result) {
|
|
1817
|
-
if (result.success === false || result.error && _optionalChain([result, 'optionalAccess',
|
|
1832
|
+
if (result.success === false || result.error && _optionalChain([result, 'optionalAccess', _89 => _89.error, 'optionalAccess', _90 => _90.message]) && typeof _optionalChain([result, 'optionalAccess', _91 => _91.error, 'optionalAccess', _92 => _92.message]) === "string" && _optionalChain([result, 'optionalAccess', _93 => _93.error, 'optionalAccess', _94 => _94.name]) && typeof _optionalChain([result, 'optionalAccess', _95 => _95.error, 'optionalAccess', _96 => _96.name]) === "string") {
|
|
1818
1833
|
throw new Error(`The ${name} generator failed to run`, {
|
|
1819
|
-
cause: _optionalChain([result, 'optionalAccess',
|
|
1834
|
+
cause: _optionalChain([result, 'optionalAccess', _97 => _97.error])
|
|
1820
1835
|
});
|
|
1821
1836
|
} else if (result.success && result.data) {
|
|
1822
1837
|
return result;
|
|
1823
1838
|
}
|
|
1824
1839
|
}
|
|
1825
|
-
if (_optionalChain([generatorOptions, 'optionalAccess',
|
|
1840
|
+
if (_optionalChain([generatorOptions, 'optionalAccess', _98 => _98.hooks, 'optionalAccess', _99 => _99.postProcess])) {
|
|
1826
1841
|
writeDebug("Running the postProcess hook...", config);
|
|
1827
1842
|
await Promise.resolve(generatorOptions.hooks.postProcess(config));
|
|
1828
1843
|
writeDebug("Completed the postProcess hook", config);
|
|
@@ -1937,10 +1952,10 @@ async function cargoCommand(...args) {
|
|
|
1937
1952
|
}
|
|
1938
1953
|
function cargoCommandSync(args = "", options) {
|
|
1939
1954
|
const normalizedOptions = {
|
|
1940
|
-
stdio: _nullishCoalesce(_optionalChain([options, 'optionalAccess',
|
|
1955
|
+
stdio: _nullishCoalesce(_optionalChain([options, 'optionalAccess', _100 => _100.stdio]), () => ( "inherit")),
|
|
1941
1956
|
env: {
|
|
1942
1957
|
...process.env,
|
|
1943
|
-
..._optionalChain([options, 'optionalAccess',
|
|
1958
|
+
..._optionalChain([options, 'optionalAccess', _101 => _101.env])
|
|
1944
1959
|
}
|
|
1945
1960
|
};
|
|
1946
1961
|
try {
|
|
@@ -1973,7 +1988,7 @@ function cargoMetadata() {
|
|
|
1973
1988
|
}
|
|
1974
1989
|
function runProcess(processCmd, ...args) {
|
|
1975
1990
|
const metadata = cargoMetadata();
|
|
1976
|
-
const targetDir = _nullishCoalesce(_optionalChain([metadata, 'optionalAccess',
|
|
1991
|
+
const targetDir = _nullishCoalesce(_optionalChain([metadata, 'optionalAccess', _102 => _102.target_directory]), () => ( _devkit.joinPathFragments.call(void 0, _devkit.workspaceRoot, "dist")));
|
|
1977
1992
|
return new Promise((resolve2) => {
|
|
1978
1993
|
if (process.env.VERCEL) {
|
|
1979
1994
|
return resolve2({ success: true });
|
|
@@ -2241,7 +2256,7 @@ var addPackageDependencies = async (workspaceRoot3, projectRoot, projectName, pa
|
|
|
2241
2256
|
);
|
|
2242
2257
|
const localPackages = [];
|
|
2243
2258
|
for (const project of projectDependencies.dependencies.filter(
|
|
2244
|
-
(dep) => dep.node.type === "lib" && _optionalChain([dep, 'access',
|
|
2259
|
+
(dep) => dep.node.type === "lib" && _optionalChain([dep, 'access', _103 => _103.node, 'access', _104 => _104.data, 'optionalAccess', _105 => _105.root]) !== projectRoot && _optionalChain([dep, 'access', _106 => _106.node, 'access', _107 => _107.data, 'optionalAccess', _108 => _108.root]) !== workspaceRoot3
|
|
2245
2260
|
)) {
|
|
2246
2261
|
const projectNode = project.node;
|
|
2247
2262
|
if (projectNode.data.root) {
|
|
@@ -2273,13 +2288,13 @@ var addPackageDependencies = async (workspaceRoot3, projectRoot, projectName, pa
|
|
|
2273
2288
|
const projectJson = JSON.parse(projectJsonFile);
|
|
2274
2289
|
const projectName2 = projectJson.name;
|
|
2275
2290
|
const projectConfigurations = _projectgraph.readProjectsConfigurationFromProjectGraph.call(void 0, projectGraph);
|
|
2276
|
-
if (!_optionalChain([projectConfigurations, 'optionalAccess',
|
|
2291
|
+
if (!_optionalChain([projectConfigurations, 'optionalAccess', _109 => _109.projects, 'optionalAccess', _110 => _110[projectName2]])) {
|
|
2277
2292
|
throw new Error(
|
|
2278
2293
|
"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."
|
|
2279
2294
|
);
|
|
2280
2295
|
}
|
|
2281
|
-
const implicitDependencies = _optionalChain([projectConfigurations, 'access',
|
|
2282
|
-
if (_optionalChain([projectConfigurations, 'access',
|
|
2296
|
+
const implicitDependencies = _optionalChain([projectConfigurations, 'access', _111 => _111.projects, 'optionalAccess', _112 => _112[projectName2], 'access', _113 => _113.implicitDependencies, 'optionalAccess', _114 => _114.reduce, 'call', _115 => _115((ret, dep) => {
|
|
2297
|
+
if (_optionalChain([projectConfigurations, 'access', _116 => _116.projects, 'optionalAccess', _117 => _117[dep]])) {
|
|
2283
2298
|
const depPackageJsonPath = joinPaths(
|
|
2284
2299
|
workspaceRoot3,
|
|
2285
2300
|
projectConfigurations.projects[dep].root,
|
|
@@ -2299,13 +2314,13 @@ var addPackageDependencies = async (workspaceRoot3, projectRoot, projectName, pa
|
|
|
2299
2314
|
return ret;
|
|
2300
2315
|
}, [])]);
|
|
2301
2316
|
packageJson.dependencies = localPackages.reduce((ret, localPackage) => {
|
|
2302
|
-
if (!ret[localPackage.name] && !_optionalChain([implicitDependencies, 'optionalAccess',
|
|
2317
|
+
if (!ret[localPackage.name] && !_optionalChain([implicitDependencies, 'optionalAccess', _118 => _118.includes, 'call', _119 => _119(localPackage.name)]) && _optionalChain([packageJson, 'access', _120 => _120.devDependencies, 'optionalAccess', _121 => _121[localPackage.name]]) === void 0) {
|
|
2303
2318
|
ret[localPackage.name] = `^${localPackage.version || "0.0.1"}`;
|
|
2304
2319
|
}
|
|
2305
2320
|
return ret;
|
|
2306
2321
|
}, _nullishCoalesce(packageJson.dependencies, () => ( {})));
|
|
2307
2322
|
packageJson.devDependencies = localPackages.reduce((ret, localPackage) => {
|
|
2308
|
-
if (!ret[localPackage.name] && _optionalChain([implicitDependencies, 'optionalAccess',
|
|
2323
|
+
if (!ret[localPackage.name] && _optionalChain([implicitDependencies, 'optionalAccess', _122 => _122.includes, 'call', _123 => _123(localPackage.name)]) && _optionalChain([packageJson, 'access', _124 => _124.dependencies, 'optionalAccess', _125 => _125[localPackage.name]]) === void 0) {
|
|
2309
2324
|
ret[localPackage.name] = `^${localPackage.version || "0.0.1"}`;
|
|
2310
2325
|
}
|
|
2311
2326
|
return ret;
|
|
@@ -2387,7 +2402,7 @@ var _createtaskgraph = require('nx/src/tasks-runner/create-task-graph');
|
|
|
2387
2402
|
|
|
2388
2403
|
// ../esbuild/src/assets.ts
|
|
2389
2404
|
async function copyBuildAssets(context) {
|
|
2390
|
-
if (!_optionalChain([context, 'access',
|
|
2405
|
+
if (!_optionalChain([context, 'access', _126 => _126.result, 'optionalAccess', _127 => _127.errors, 'access', _128 => _128.length]) && _optionalChain([context, 'access', _129 => _129.options, 'access', _130 => _130.assets, 'optionalAccess', _131 => _131.length])) {
|
|
2391
2406
|
writeDebug(
|
|
2392
2407
|
` \u{1F4CB} Copying ${context.options.assets.length} asset files to output directory: ${context.outputPath}`,
|
|
2393
2408
|
context.workspaceConfig
|
|
@@ -2493,7 +2508,7 @@ async function resolveContext(userOptions) {
|
|
|
2493
2508
|
const projectJson = JSON.parse(projectJsonFile);
|
|
2494
2509
|
const projectName = projectJson.name || userOptions.name;
|
|
2495
2510
|
const projectConfigurations = _devkit.readProjectsConfigurationFromProjectGraph.call(void 0, projectGraph);
|
|
2496
|
-
if (!_optionalChain([projectConfigurations, 'optionalAccess',
|
|
2511
|
+
if (!_optionalChain([projectConfigurations, 'optionalAccess', _132 => _132.projects, 'optionalAccess', _133 => _133[projectName]])) {
|
|
2497
2512
|
throw new Error(
|
|
2498
2513
|
"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."
|
|
2499
2514
|
);
|
|
@@ -2788,7 +2803,7 @@ async function executeTsup(context) {
|
|
|
2788
2803
|
|
|
2789
2804
|
// ../esbuild/src/build.ts
|
|
2790
2805
|
async function reportResults(context) {
|
|
2791
|
-
if (_optionalChain([context, 'access',
|
|
2806
|
+
if (_optionalChain([context, 'access', _134 => _134.result, 'optionalAccess', _135 => _135.errors, 'access', _136 => _136.length]) === 0) {
|
|
2792
2807
|
if (context.result.warnings.length > 0) {
|
|
2793
2808
|
writeWarning(
|
|
2794
2809
|
` \u{1F6A7} The following warnings occurred during the build: ${context.result.warnings.map((warning) => warning.text).join("\n")}`,
|
|
@@ -2799,7 +2814,7 @@ async function reportResults(context) {
|
|
|
2799
2814
|
` \u{1F4E6} The ${context.options.name} build completed successfully`,
|
|
2800
2815
|
context.workspaceConfig
|
|
2801
2816
|
);
|
|
2802
|
-
} else if (_optionalChain([context, 'access',
|
|
2817
|
+
} else if (_optionalChain([context, 'access', _137 => _137.result, 'optionalAccess', _138 => _138.errors]) && _optionalChain([context, 'access', _139 => _139.result, 'optionalAccess', _140 => _140.errors, 'access', _141 => _141.length]) > 0) {
|
|
2803
2818
|
writeError(
|
|
2804
2819
|
` \u274C The ${context.options.name} build failed with the following errors: ${context.result.errors.map((error) => error.text).join("\n")}`,
|
|
2805
2820
|
context.workspaceConfig
|
|
@@ -2878,16 +2893,16 @@ async function build2(options) {
|
|
|
2878
2893
|
// ../workspace-tools/src/executors/esbuild/executor.ts
|
|
2879
2894
|
async function esbuildExecutorFn(options, context, config) {
|
|
2880
2895
|
writeInfo("\u{1F4E6} Running Storm ESBuild executor on the workspace", config);
|
|
2881
|
-
if (!_optionalChain([context, 'access',
|
|
2896
|
+
if (!_optionalChain([context, 'access', _142 => _142.projectsConfigurations, 'optionalAccess', _143 => _143.projects]) || !context.projectName || !context.projectsConfigurations.projects[context.projectName] || !_optionalChain([context, 'access', _144 => _144.projectsConfigurations, 'access', _145 => _145.projects, 'access', _146 => _146[context.projectName], 'optionalAccess', _147 => _147.root])) {
|
|
2882
2897
|
throw new Error(
|
|
2883
2898
|
"The Build process failed because the context is not valid. Please run this command from a workspace."
|
|
2884
2899
|
);
|
|
2885
2900
|
}
|
|
2886
2901
|
await build2({
|
|
2887
2902
|
...options,
|
|
2888
|
-
projectRoot: _optionalChain([context, 'access',
|
|
2903
|
+
projectRoot: _optionalChain([context, 'access', _148 => _148.projectsConfigurations, 'access', _149 => _149.projects, 'optionalAccess', _150 => _150[context.projectName], 'access', _151 => _151.root]),
|
|
2889
2904
|
name: context.projectName,
|
|
2890
|
-
sourceRoot: _optionalChain([context, 'access',
|
|
2905
|
+
sourceRoot: _optionalChain([context, 'access', _152 => _152.projectsConfigurations, 'access', _153 => _153.projects, 'optionalAccess', _154 => _154[context.projectName], 'optionalAccess', _155 => _155.sourceRoot]),
|
|
2891
2906
|
format: options.format,
|
|
2892
2907
|
platform: options.format
|
|
2893
2908
|
});
|
|
@@ -3007,15 +3022,15 @@ var _esbuildwhy = require('@size-limit/esbuild-why'); var _esbuildwhy2 = _intero
|
|
|
3007
3022
|
var _file = require('@size-limit/file'); var _file2 = _interopRequireDefault(_file);
|
|
3008
3023
|
var _sizelimit = require('size-limit'); var _sizelimit2 = _interopRequireDefault(_sizelimit);
|
|
3009
3024
|
async function sizeLimitExecutorFn(options, context, config) {
|
|
3010
|
-
if (!_optionalChain([context, 'optionalAccess',
|
|
3025
|
+
if (!_optionalChain([context, 'optionalAccess', _156 => _156.projectName]) || !_optionalChain([context, 'access', _157 => _157.projectsConfigurations, 'optionalAccess', _158 => _158.projects]) || !context.projectsConfigurations.projects[context.projectName]) {
|
|
3011
3026
|
throw new Error(
|
|
3012
3027
|
"The Size-Limit process failed because the context is not valid. Please run this command from a workspace."
|
|
3013
3028
|
);
|
|
3014
3029
|
}
|
|
3015
3030
|
writeInfo(`\u{1F4CF} Running Size-Limit on ${context.projectName}`, config);
|
|
3016
3031
|
_sizelimit2.default.call(void 0, [_file2.default, _esbuild3.default, _esbuildwhy2.default], {
|
|
3017
|
-
checks: _nullishCoalesce(_nullishCoalesce(options.entry, () => ( _optionalChain([context, 'access',
|
|
3018
|
-
_nullishCoalesce(_optionalChain([context, 'access',
|
|
3032
|
+
checks: _nullishCoalesce(_nullishCoalesce(options.entry, () => ( _optionalChain([context, 'access', _159 => _159.projectsConfigurations, 'access', _160 => _160.projects, 'access', _161 => _161[context.projectName], 'optionalAccess', _162 => _162.sourceRoot]))), () => ( _devkit.joinPathFragments.call(void 0,
|
|
3033
|
+
_nullishCoalesce(_optionalChain([context, 'access', _163 => _163.projectsConfigurations, 'access', _164 => _164.projects, 'access', _165 => _165[context.projectName], 'optionalAccess', _166 => _166.root]), () => ( "./")),
|
|
3019
3034
|
"src"
|
|
3020
3035
|
)))
|
|
3021
3036
|
}).then((result) => {
|
|
@@ -3085,7 +3100,7 @@ var executor_default8 = withRunExecutor(
|
|
|
3085
3100
|
var _jiti = require('jiti');
|
|
3086
3101
|
async function unbuildExecutorFn(options, context, config) {
|
|
3087
3102
|
writeInfo("\u{1F4E6} Running Storm Unbuild executor on the workspace", config);
|
|
3088
|
-
if (!_optionalChain([context, 'access',
|
|
3103
|
+
if (!_optionalChain([context, 'access', _167 => _167.projectsConfigurations, 'optionalAccess', _168 => _168.projects]) || !context.projectName || !context.projectsConfigurations.projects[context.projectName]) {
|
|
3089
3104
|
throw new Error(
|
|
3090
3105
|
"The Build process failed because the context is not valid. Please run this command from a workspace root directory."
|
|
3091
3106
|
);
|
|
@@ -3284,15 +3299,15 @@ async function typeScriptLibraryGeneratorFn(tree, options, config) {
|
|
|
3284
3299
|
_devkit.addProjectConfiguration.call(void 0, tree, normalized.name, projectConfig);
|
|
3285
3300
|
let repository = {
|
|
3286
3301
|
type: "github",
|
|
3287
|
-
url: _optionalChain([config, 'optionalAccess',
|
|
3302
|
+
url: _optionalChain([config, 'optionalAccess', _169 => _169.repository]) || `https://github.com/${(typeof _optionalChain([config, 'optionalAccess', _170 => _170.organization]) === "string" ? _optionalChain([config, 'optionalAccess', _171 => _171.organization]) : _optionalChain([config, 'optionalAccess', _172 => _172.organization, 'optionalAccess', _173 => _173.name])) || "storm-software"}/${_optionalChain([config, 'optionalAccess', _174 => _174.namespace]) || _optionalChain([config, 'optionalAccess', _175 => _175.name]) || "repository"}.git`
|
|
3288
3303
|
};
|
|
3289
3304
|
let description = options.description || "A package developed by Storm Software used to create modern, scalable web applications.";
|
|
3290
3305
|
if (tree.exists("package.json")) {
|
|
3291
3306
|
const packageJson = _devkit.readJson.call(void 0, tree, "package.json");
|
|
3292
|
-
if (_optionalChain([packageJson, 'optionalAccess',
|
|
3307
|
+
if (_optionalChain([packageJson, 'optionalAccess', _176 => _176.repository])) {
|
|
3293
3308
|
repository = packageJson.repository;
|
|
3294
3309
|
}
|
|
3295
|
-
if (_optionalChain([packageJson, 'optionalAccess',
|
|
3310
|
+
if (_optionalChain([packageJson, 'optionalAccess', _177 => _177.description])) {
|
|
3296
3311
|
description = packageJson.description;
|
|
3297
3312
|
}
|
|
3298
3313
|
}
|
|
@@ -3347,9 +3362,9 @@ async function typeScriptLibraryGeneratorFn(tree, options, config) {
|
|
|
3347
3362
|
_devkit.updateJson.call(void 0, tree, "package.json", (json) => ({
|
|
3348
3363
|
...json,
|
|
3349
3364
|
pnpm: {
|
|
3350
|
-
..._optionalChain([json, 'optionalAccess',
|
|
3365
|
+
..._optionalChain([json, 'optionalAccess', _178 => _178.pnpm]),
|
|
3351
3366
|
overrides: {
|
|
3352
|
-
..._optionalChain([json, 'optionalAccess',
|
|
3367
|
+
..._optionalChain([json, 'optionalAccess', _179 => _179.pnpm, 'optionalAccess', _180 => _180.overrides]),
|
|
3353
3368
|
[_nullishCoalesce(normalized.importPath, () => ( ""))]: "workspace:*"
|
|
3354
3369
|
}
|
|
3355
3370
|
}
|
|
@@ -3367,10 +3382,10 @@ async function typeScriptLibraryGeneratorFn(tree, options, config) {
|
|
|
3367
3382
|
]);
|
|
3368
3383
|
if (tree.exists("package.json")) {
|
|
3369
3384
|
const packageJson = _devkit.readJson.call(void 0, tree, "package.json");
|
|
3370
|
-
if (_optionalChain([packageJson, 'optionalAccess',
|
|
3385
|
+
if (_optionalChain([packageJson, 'optionalAccess', _181 => _181.repository])) {
|
|
3371
3386
|
repository = packageJson.repository;
|
|
3372
3387
|
}
|
|
3373
|
-
if (_optionalChain([packageJson, 'optionalAccess',
|
|
3388
|
+
if (_optionalChain([packageJson, 'optionalAccess', _182 => _182.description])) {
|
|
3374
3389
|
description = packageJson.description;
|
|
3375
3390
|
}
|
|
3376
3391
|
}
|
|
@@ -3407,22 +3422,22 @@ function getOutputPath(options) {
|
|
|
3407
3422
|
function createProjectTsConfigJson(tree, options) {
|
|
3408
3423
|
const tsconfig = {
|
|
3409
3424
|
extends: options.rootProject ? void 0 : _js.getRelativePathToRootTsConfig.call(void 0, tree, options.projectRoot),
|
|
3410
|
-
..._nullishCoalesce(_optionalChain([options, 'optionalAccess',
|
|
3425
|
+
..._nullishCoalesce(_optionalChain([options, 'optionalAccess', _183 => _183.tsconfigOptions]), () => ( {})),
|
|
3411
3426
|
compilerOptions: {
|
|
3412
3427
|
...options.rootProject ? _js.tsConfigBaseOptions : {},
|
|
3413
3428
|
outDir: joinPaths(_devkit.offsetFromRoot.call(void 0, options.projectRoot), "dist/out-tsc"),
|
|
3414
3429
|
noEmit: true,
|
|
3415
|
-
..._nullishCoalesce(_optionalChain([options, 'optionalAccess',
|
|
3430
|
+
..._nullishCoalesce(_optionalChain([options, 'optionalAccess', _184 => _184.tsconfigOptions, 'optionalAccess', _185 => _185.compilerOptions]), () => ( {}))
|
|
3416
3431
|
},
|
|
3417
|
-
files: [..._nullishCoalesce(_optionalChain([options, 'optionalAccess',
|
|
3432
|
+
files: [..._nullishCoalesce(_optionalChain([options, 'optionalAccess', _186 => _186.tsconfigOptions, 'optionalAccess', _187 => _187.files]), () => ( []))],
|
|
3418
3433
|
include: [
|
|
3419
|
-
..._nullishCoalesce(_optionalChain([options, 'optionalAccess',
|
|
3434
|
+
..._nullishCoalesce(_optionalChain([options, 'optionalAccess', _188 => _188.tsconfigOptions, 'optionalAccess', _189 => _189.include]), () => ( [])),
|
|
3420
3435
|
"src/**/*.ts",
|
|
3421
3436
|
"src/**/*.js",
|
|
3422
3437
|
"bin/**/*"
|
|
3423
3438
|
],
|
|
3424
3439
|
exclude: [
|
|
3425
|
-
..._nullishCoalesce(_optionalChain([options, 'optionalAccess',
|
|
3440
|
+
..._nullishCoalesce(_optionalChain([options, 'optionalAccess', _190 => _190.tsconfigOptions, 'optionalAccess', _191 => _191.exclude]), () => ( [])),
|
|
3426
3441
|
"jest.config.ts",
|
|
3427
3442
|
"src/**/*.spec.ts",
|
|
3428
3443
|
"src/**/*.test.ts"
|
|
@@ -3432,8 +3447,8 @@ function createProjectTsConfigJson(tree, options) {
|
|
|
3432
3447
|
}
|
|
3433
3448
|
async function normalizeOptions(tree, options, config) {
|
|
3434
3449
|
let importPath = options.importPath;
|
|
3435
|
-
if (!importPath && _optionalChain([config, 'optionalAccess',
|
|
3436
|
-
importPath = `@${_optionalChain([config, 'optionalAccess',
|
|
3450
|
+
if (!importPath && _optionalChain([config, 'optionalAccess', _192 => _192.namespace])) {
|
|
3451
|
+
importPath = `@${_optionalChain([config, 'optionalAccess', _193 => _193.namespace])}/${options.name}`;
|
|
3437
3452
|
}
|
|
3438
3453
|
if (options.publishable) {
|
|
3439
3454
|
if (!importPath) {
|
|
@@ -3597,7 +3612,7 @@ async function configSchemaGeneratorFn(tree, options, config) {
|
|
|
3597
3612
|
);
|
|
3598
3613
|
}
|
|
3599
3614
|
const outputPath = options.outputFile.replaceAll("{workspaceRoot}", "").replaceAll(
|
|
3600
|
-
_nullishCoalesce(_optionalChain([config, 'optionalAccess',
|
|
3615
|
+
_nullishCoalesce(_optionalChain([config, 'optionalAccess', _194 => _194.workspaceRoot]), () => ( findWorkspaceRoot())),
|
|
3601
3616
|
options.outputFile.startsWith("./") ? "" : "./"
|
|
3602
3617
|
);
|
|
3603
3618
|
writeTrace(
|
|
@@ -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 _chunk7P4YWHUAjs = require('./chunk-7P4YWHUA.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 _chunk7P4YWHUAjs.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
|
+
_chunk7P4YWHUAjs.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),
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
"use strict";Object.defineProperty(exports, "__esModule", {value: true});
|
|
2
2
|
|
|
3
|
-
var
|
|
3
|
+
var _chunkD573L2O2js = require('./chunk-D573L2O2.js');
|
|
4
4
|
|
|
5
5
|
// src/executors/refresh/executor.ts
|
|
6
|
-
var executor_default =
|
|
6
|
+
var executor_default = _chunkD573L2O2js.withPulumiExecutor.call(void 0,
|
|
7
7
|
"refresh",
|
|
8
8
|
(options) => [
|
|
9
9
|
"--suppress-progress",
|
|
@@ -56,7 +56,6 @@ var STORM_DEFAULT_HOMEPAGE = "https://stormsoftware.com";
|
|
|
56
56
|
var STORM_DEFAULT_CONTACT = "https://stormsoftware.com/contact";
|
|
57
57
|
var STORM_DEFAULT_LICENSING = "https://stormsoftware.com/license";
|
|
58
58
|
var STORM_DEFAULT_LICENSE = "Apache-2.0";
|
|
59
|
-
var STORM_DEFAULT_RELEASE_BANNER = "https://public.storm-cdn.com/brand-banner.png";
|
|
60
59
|
var STORM_DEFAULT_SOCIAL_TWITTER = "StormSoftwareHQ";
|
|
61
60
|
var STORM_DEFAULT_SOCIAL_DISCORD = "https://discord.gg/MQ6YVzakM5";
|
|
62
61
|
var STORM_DEFAULT_SOCIAL_TELEGRAM = "https://t.me/storm_software";
|
|
@@ -172,13 +171,13 @@ var WorkspaceBotConfigSchema = z.object({
|
|
|
172
171
|
"The workspace's bot user's config used to automated various operations tasks"
|
|
173
172
|
);
|
|
174
173
|
var WorkspaceReleaseConfigSchema = z.object({
|
|
175
|
-
banner: z.string().trim().
|
|
174
|
+
banner: z.string().trim().optional().describe(
|
|
176
175
|
"A URL to a banner image used to display the workspace's release"
|
|
177
176
|
),
|
|
178
177
|
header: z.string().trim().optional().describe(
|
|
179
178
|
"A header message appended to the start of the workspace's release notes"
|
|
180
179
|
),
|
|
181
|
-
footer: z.string().trim().
|
|
180
|
+
footer: z.string().trim().optional().describe(
|
|
182
181
|
"A footer message appended to the end of the workspace's release notes"
|
|
183
182
|
)
|
|
184
183
|
}).describe("The workspace's release config used during the release process");
|
|
@@ -1581,12 +1580,28 @@ var createStormWorkspaceConfig = async (extensionName, schema, workspaceRoot3, s
|
|
|
1581
1580
|
}
|
|
1582
1581
|
}
|
|
1583
1582
|
const defaultConfig = await getPackageJsonConfig(_workspaceRoot);
|
|
1584
|
-
|
|
1585
|
-
|
|
1586
|
-
|
|
1587
|
-
|
|
1583
|
+
const configInput = defu2(
|
|
1584
|
+
configEnv,
|
|
1585
|
+
configFile,
|
|
1586
|
+
defaultConfig
|
|
1588
1587
|
);
|
|
1589
|
-
|
|
1588
|
+
try {
|
|
1589
|
+
result = applyDefaultConfig(
|
|
1590
|
+
await stormWorkspaceConfigSchema.parseAsync(configInput)
|
|
1591
|
+
);
|
|
1592
|
+
result.workspaceRoot ??= _workspaceRoot;
|
|
1593
|
+
} catch (error) {
|
|
1594
|
+
throw new Error(
|
|
1595
|
+
`Failed to parse Storm Workspace configuration${error?.message ? `: ${error.message}` : ""}
|
|
1596
|
+
|
|
1597
|
+
Please ensure your configuration file is valid JSON and matches the expected schema. The current workspace configuration input is: ${formatLogMessage(
|
|
1598
|
+
configInput
|
|
1599
|
+
)}`,
|
|
1600
|
+
{
|
|
1601
|
+
cause: error
|
|
1602
|
+
}
|
|
1603
|
+
);
|
|
1604
|
+
}
|
|
1590
1605
|
} else {
|
|
1591
1606
|
result = _static_cache.data;
|
|
1592
1607
|
}
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
"use strict";Object.defineProperty(exports, "__esModule", {value: true});
|
|
2
2
|
|
|
3
|
-
var
|
|
3
|
+
var _chunkD573L2O2js = require('./chunk-D573L2O2.js');
|
|
4
4
|
|
|
5
5
|
// src/executors/preview/executor.ts
|
|
6
|
-
var executor_default =
|
|
6
|
+
var executor_default = _chunkD573L2O2js.withPulumiExecutor.call(void 0,
|
|
7
7
|
"preview",
|
|
8
8
|
(options) => [
|
|
9
9
|
options.stack && `--stack=${options.stack}`,
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
"use strict";Object.defineProperty(exports, "__esModule", {value: true});
|
|
2
2
|
|
|
3
|
-
var
|
|
3
|
+
var _chunkD573L2O2js = require('./chunk-D573L2O2.js');
|
|
4
4
|
|
|
5
5
|
// src/executors/import/executor.ts
|
|
6
|
-
var executor_default =
|
|
6
|
+
var executor_default = _chunkD573L2O2js.withPulumiExecutor.call(void 0, "import", (options) => [
|
|
7
7
|
options.target,
|
|
8
8
|
options.name,
|
|
9
9
|
options.id,
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
"use strict";Object.defineProperty(exports, "__esModule", {value: true});
|
|
2
2
|
|
|
3
|
-
var
|
|
3
|
+
var _chunkD573L2O2js = require('./chunk-D573L2O2.js');
|
|
4
4
|
|
|
5
5
|
// src/executors/config/executor.ts
|
|
6
|
-
var executor_default =
|
|
6
|
+
var executor_default = _chunkD573L2O2js.withPulumiExecutor.call(void 0, "config", (options) => [
|
|
7
7
|
options.action,
|
|
8
8
|
options.showSecrets && `--show-secrets`,
|
|
9
9
|
options.secret && `--secret`,
|
package/dist/executors.js
CHANGED
|
@@ -1,9 +1,9 @@
|
|
|
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-TI2UULSV.js');
|
|
3
|
+
require('./chunk-NLVT27VF.js');
|
|
4
|
+
require('./chunk-DKJKBXBI.js');
|
|
5
|
+
require('./chunk-5HEDS3UT.js');
|
|
6
|
+
require('./chunk-YW4SEJR7.js');
|
|
7
|
+
require('./chunk-D573L2O2.js');
|
|
8
|
+
require('./chunk-7P4YWHUA.js');
|
|
9
9
|
require('./chunk-3RG5ZIWI.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-KSX7QAB3.mjs";
|
|
3
|
+
import "./chunk-2BD4IRTI.mjs";
|
|
4
|
+
import "./chunk-4H6OCFMZ.mjs";
|
|
5
|
+
import "./chunk-EWYULOQJ.mjs";
|
|
6
|
+
import "./chunk-ARSQVJ7N.mjs";
|
|
7
|
+
import "./chunk-JUCS6QST.mjs";
|
|
8
|
+
import "./chunk-L6UX4WWK.mjs";
|
|
9
9
|
import "./chunk-ACCVWIOF.mjs";
|
package/dist/generators.js
CHANGED
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
"use strict";Object.defineProperty(exports, "__esModule", {value: true});require('./chunk-N2YKXZ5R.js');
|
|
2
2
|
|
|
3
3
|
|
|
4
|
-
var
|
|
4
|
+
var _chunk3TSC26STjs = require('./chunk-3TSC26ST.js');
|
|
5
5
|
require('./chunk-HUKXHFCA.js');
|
|
6
|
-
require('./chunk-
|
|
6
|
+
require('./chunk-7P4YWHUA.js');
|
|
7
7
|
require('./chunk-3RG5ZIWI.js');
|
|
8
8
|
|
|
9
9
|
|
|
10
|
-
exports.initGeneratorFn =
|
|
10
|
+
exports.initGeneratorFn = _chunk3TSC26STjs.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-IVFQT4WC.mjs";
|
|
5
5
|
import "./chunk-KPFHCT4A.mjs";
|
|
6
|
-
import "./chunk-
|
|
6
|
+
import "./chunk-L6UX4WWK.mjs";
|
|
7
7
|
import "./chunk-ACCVWIOF.mjs";
|
|
8
8
|
export {
|
|
9
9
|
initGeneratorFn
|
package/dist/index.js
CHANGED
|
@@ -1,26 +1,26 @@
|
|
|
1
1
|
"use strict";Object.defineProperty(exports, "__esModule", {value: true});require('./chunk-XO62WWX4.js');
|
|
2
|
-
require('./chunk-
|
|
3
|
-
require('./chunk-
|
|
4
|
-
require('./chunk-
|
|
5
|
-
require('./chunk-
|
|
2
|
+
require('./chunk-TI2UULSV.js');
|
|
3
|
+
require('./chunk-NLVT27VF.js');
|
|
4
|
+
require('./chunk-DKJKBXBI.js');
|
|
5
|
+
require('./chunk-5HEDS3UT.js');
|
|
6
6
|
require('./chunk-N2YKXZ5R.js');
|
|
7
7
|
|
|
8
8
|
|
|
9
|
-
var
|
|
9
|
+
var _chunk3TSC26STjs = require('./chunk-3TSC26ST.js');
|
|
10
10
|
require('./chunk-GUQOEBFW.js');
|
|
11
11
|
|
|
12
12
|
|
|
13
13
|
|
|
14
14
|
var _chunkHUKXHFCAjs = require('./chunk-HUKXHFCA.js');
|
|
15
|
-
require('./chunk-
|
|
15
|
+
require('./chunk-YW4SEJR7.js');
|
|
16
16
|
|
|
17
17
|
|
|
18
|
-
var
|
|
19
|
-
require('./chunk-
|
|
18
|
+
var _chunkD573L2O2js = require('./chunk-D573L2O2.js');
|
|
19
|
+
require('./chunk-7P4YWHUA.js');
|
|
20
20
|
require('./chunk-3RG5ZIWI.js');
|
|
21
21
|
|
|
22
22
|
|
|
23
23
|
|
|
24
24
|
|
|
25
25
|
|
|
26
|
-
exports.Provider = _chunkHUKXHFCAjs.Provider; exports.getCloudTemplateName = _chunkHUKXHFCAjs.getCloudTemplateName; exports.initGeneratorFn =
|
|
26
|
+
exports.Provider = _chunkHUKXHFCAjs.Provider; exports.getCloudTemplateName = _chunkHUKXHFCAjs.getCloudTemplateName; exports.initGeneratorFn = _chunk3TSC26STjs.initGeneratorFn; exports.withPulumiExecutor = _chunkD573L2O2js.withPulumiExecutor;
|
package/dist/index.mjs
CHANGED
|
@@ -1,22 +1,22 @@
|
|
|
1
1
|
import "./chunk-UV4HQO3Y.mjs";
|
|
2
|
-
import "./chunk-
|
|
3
|
-
import "./chunk-
|
|
4
|
-
import "./chunk-
|
|
5
|
-
import "./chunk-
|
|
2
|
+
import "./chunk-KSX7QAB3.mjs";
|
|
3
|
+
import "./chunk-2BD4IRTI.mjs";
|
|
4
|
+
import "./chunk-4H6OCFMZ.mjs";
|
|
5
|
+
import "./chunk-EWYULOQJ.mjs";
|
|
6
6
|
import "./chunk-23KFTIT2.mjs";
|
|
7
7
|
import {
|
|
8
8
|
initGeneratorFn
|
|
9
|
-
} from "./chunk-
|
|
9
|
+
} from "./chunk-IVFQT4WC.mjs";
|
|
10
10
|
import "./chunk-CA7S5MOH.mjs";
|
|
11
11
|
import {
|
|
12
12
|
Provider,
|
|
13
13
|
getCloudTemplateName
|
|
14
14
|
} from "./chunk-KPFHCT4A.mjs";
|
|
15
|
-
import "./chunk-
|
|
15
|
+
import "./chunk-ARSQVJ7N.mjs";
|
|
16
16
|
import {
|
|
17
17
|
withPulumiExecutor
|
|
18
|
-
} from "./chunk-
|
|
19
|
-
import "./chunk-
|
|
18
|
+
} from "./chunk-JUCS6QST.mjs";
|
|
19
|
+
import "./chunk-L6UX4WWK.mjs";
|
|
20
20
|
import "./chunk-ACCVWIOF.mjs";
|
|
21
21
|
export {
|
|
22
22
|
Provider,
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
"use strict";Object.defineProperty(exports, "__esModule", {value: true});
|
|
2
2
|
|
|
3
|
-
var
|
|
4
|
-
require('../../chunk-
|
|
3
|
+
var _chunkD573L2O2js = require('../../chunk-D573L2O2.js');
|
|
4
|
+
require('../../chunk-7P4YWHUA.js');
|
|
5
5
|
require('../../chunk-3RG5ZIWI.js');
|
|
6
6
|
|
|
7
7
|
|
|
8
|
-
exports.withPulumiExecutor =
|
|
8
|
+
exports.withPulumiExecutor = _chunkD573L2O2js.withPulumiExecutor;
|
package/dist/src/base/index.js
CHANGED
|
@@ -5,11 +5,11 @@
|
|
|
5
5
|
var _chunkHUKXHFCAjs = require('../../chunk-HUKXHFCA.js');
|
|
6
6
|
|
|
7
7
|
|
|
8
|
-
var
|
|
9
|
-
require('../../chunk-
|
|
8
|
+
var _chunkD573L2O2js = require('../../chunk-D573L2O2.js');
|
|
9
|
+
require('../../chunk-7P4YWHUA.js');
|
|
10
10
|
require('../../chunk-3RG5ZIWI.js');
|
|
11
11
|
|
|
12
12
|
|
|
13
13
|
|
|
14
14
|
|
|
15
|
-
exports.Provider = _chunkHUKXHFCAjs.Provider; exports.getCloudTemplateName = _chunkHUKXHFCAjs.getCloudTemplateName; exports.withPulumiExecutor =
|
|
15
|
+
exports.Provider = _chunkHUKXHFCAjs.Provider; exports.getCloudTemplateName = _chunkHUKXHFCAjs.getCloudTemplateName; exports.withPulumiExecutor = _chunkD573L2O2js.withPulumiExecutor;
|
package/dist/src/base/index.mjs
CHANGED
|
@@ -5,8 +5,8 @@ import {
|
|
|
5
5
|
} from "../../chunk-KPFHCT4A.mjs";
|
|
6
6
|
import {
|
|
7
7
|
withPulumiExecutor
|
|
8
|
-
} from "../../chunk-
|
|
9
|
-
import "../../chunk-
|
|
8
|
+
} from "../../chunk-JUCS6QST.mjs";
|
|
9
|
+
import "../../chunk-L6UX4WWK.mjs";
|
|
10
10
|
import "../../chunk-ACCVWIOF.mjs";
|
|
11
11
|
export {
|
|
12
12
|
Provider,
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
"use strict";Object.defineProperty(exports, "__esModule", {value: true});
|
|
2
2
|
|
|
3
|
-
var
|
|
4
|
-
require('../../../chunk-
|
|
5
|
-
require('../../../chunk-
|
|
3
|
+
var _chunkYW4SEJR7js = require('../../../chunk-YW4SEJR7.js');
|
|
4
|
+
require('../../../chunk-D573L2O2.js');
|
|
5
|
+
require('../../../chunk-7P4YWHUA.js');
|
|
6
6
|
require('../../../chunk-3RG5ZIWI.js');
|
|
7
7
|
|
|
8
8
|
|
|
9
|
-
exports.default =
|
|
9
|
+
exports.default = _chunkYW4SEJR7js.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-ARSQVJ7N.mjs";
|
|
4
|
+
import "../../../chunk-JUCS6QST.mjs";
|
|
5
|
+
import "../../../chunk-L6UX4WWK.mjs";
|
|
6
6
|
import "../../../chunk-ACCVWIOF.mjs";
|
|
7
7
|
export {
|
|
8
8
|
executor_default as default
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
"use strict";Object.defineProperty(exports, "__esModule", {value: true});
|
|
2
2
|
|
|
3
|
-
var
|
|
4
|
-
require('../../../chunk-
|
|
5
|
-
require('../../../chunk-
|
|
3
|
+
var _chunkTI2UULSVjs = require('../../../chunk-TI2UULSV.js');
|
|
4
|
+
require('../../../chunk-D573L2O2.js');
|
|
5
|
+
require('../../../chunk-7P4YWHUA.js');
|
|
6
6
|
require('../../../chunk-3RG5ZIWI.js');
|
|
7
7
|
|
|
8
8
|
|
|
9
|
-
exports.default =
|
|
9
|
+
exports.default = _chunkTI2UULSVjs.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-KSX7QAB3.mjs";
|
|
4
|
+
import "../../../chunk-JUCS6QST.mjs";
|
|
5
|
+
import "../../../chunk-L6UX4WWK.mjs";
|
|
6
6
|
import "../../../chunk-ACCVWIOF.mjs";
|
|
7
7
|
export {
|
|
8
8
|
executor_default as default
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
"use strict";Object.defineProperty(exports, "__esModule", {value: true});
|
|
2
2
|
|
|
3
|
-
var
|
|
4
|
-
require('../../../chunk-
|
|
5
|
-
require('../../../chunk-
|
|
3
|
+
var _chunkNLVT27VFjs = require('../../../chunk-NLVT27VF.js');
|
|
4
|
+
require('../../../chunk-D573L2O2.js');
|
|
5
|
+
require('../../../chunk-7P4YWHUA.js');
|
|
6
6
|
require('../../../chunk-3RG5ZIWI.js');
|
|
7
7
|
|
|
8
8
|
|
|
9
|
-
exports.default =
|
|
9
|
+
exports.default = _chunkNLVT27VFjs.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-2BD4IRTI.mjs";
|
|
4
|
+
import "../../../chunk-JUCS6QST.mjs";
|
|
5
|
+
import "../../../chunk-L6UX4WWK.mjs";
|
|
6
6
|
import "../../../chunk-ACCVWIOF.mjs";
|
|
7
7
|
export {
|
|
8
8
|
executor_default as default
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
"use strict";Object.defineProperty(exports, "__esModule", {value: true});
|
|
2
2
|
|
|
3
|
-
var
|
|
4
|
-
require('../../../chunk-
|
|
5
|
-
require('../../../chunk-
|
|
3
|
+
var _chunkDKJKBXBIjs = require('../../../chunk-DKJKBXBI.js');
|
|
4
|
+
require('../../../chunk-D573L2O2.js');
|
|
5
|
+
require('../../../chunk-7P4YWHUA.js');
|
|
6
6
|
require('../../../chunk-3RG5ZIWI.js');
|
|
7
7
|
|
|
8
8
|
|
|
9
|
-
exports.default =
|
|
9
|
+
exports.default = _chunkDKJKBXBIjs.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-4H6OCFMZ.mjs";
|
|
4
|
+
import "../../../chunk-JUCS6QST.mjs";
|
|
5
|
+
import "../../../chunk-L6UX4WWK.mjs";
|
|
6
6
|
import "../../../chunk-ACCVWIOF.mjs";
|
|
7
7
|
export {
|
|
8
8
|
executor_default as default
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
"use strict";Object.defineProperty(exports, "__esModule", {value: true});
|
|
2
2
|
|
|
3
|
-
var
|
|
4
|
-
require('../../../chunk-
|
|
5
|
-
require('../../../chunk-
|
|
3
|
+
var _chunk5HEDS3UTjs = require('../../../chunk-5HEDS3UT.js');
|
|
4
|
+
require('../../../chunk-D573L2O2.js');
|
|
5
|
+
require('../../../chunk-7P4YWHUA.js');
|
|
6
6
|
require('../../../chunk-3RG5ZIWI.js');
|
|
7
7
|
|
|
8
8
|
|
|
9
|
-
exports.default =
|
|
9
|
+
exports.default = _chunk5HEDS3UTjs.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-EWYULOQJ.mjs";
|
|
4
|
+
import "../../../chunk-JUCS6QST.mjs";
|
|
5
|
+
import "../../../chunk-L6UX4WWK.mjs";
|
|
6
6
|
import "../../../chunk-ACCVWIOF.mjs";
|
|
7
7
|
export {
|
|
8
8
|
executor_default as default
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
"use strict";Object.defineProperty(exports, "__esModule", {value: true});
|
|
2
2
|
|
|
3
3
|
|
|
4
|
-
var
|
|
4
|
+
var _chunk3TSC26STjs = require('../../../chunk-3TSC26ST.js');
|
|
5
5
|
require('../../../chunk-HUKXHFCA.js');
|
|
6
|
-
require('../../../chunk-
|
|
6
|
+
require('../../../chunk-7P4YWHUA.js');
|
|
7
7
|
require('../../../chunk-3RG5ZIWI.js');
|
|
8
8
|
|
|
9
9
|
|
|
10
10
|
|
|
11
|
-
exports.default =
|
|
11
|
+
exports.default = _chunk3TSC26STjs.generator_default; exports.initGeneratorFn = _chunk3TSC26STjs.initGeneratorFn;
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import {
|
|
2
2
|
generator_default,
|
|
3
3
|
initGeneratorFn
|
|
4
|
-
} from "../../../chunk-
|
|
4
|
+
} from "../../../chunk-IVFQT4WC.mjs";
|
|
5
5
|
import "../../../chunk-KPFHCT4A.mjs";
|
|
6
|
-
import "../../../chunk-
|
|
6
|
+
import "../../../chunk-L6UX4WWK.mjs";
|
|
7
7
|
import "../../../chunk-ACCVWIOF.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.13.
|
|
3
|
+
"version": "0.13.39",
|
|
4
4
|
"type": "commonjs",
|
|
5
5
|
"description": "Tools for managing Pulumi infrastructure within a Nx workspace.",
|
|
6
6
|
"repository": {
|
|
@@ -136,5 +136,5 @@
|
|
|
136
136
|
"publishConfig": { "access": "public" },
|
|
137
137
|
"executors": "./executors.json",
|
|
138
138
|
"generators": "./generators.json",
|
|
139
|
-
"gitHead": "
|
|
139
|
+
"gitHead": "a8ed9927e278fdcef751286a496cea6a4727208a"
|
|
140
140
|
}
|