@storm-software/pulumi-tools 0.7.56 → 0.7.58
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +7 -0
- package/README.md +1 -1
- package/dist/{chunk-QNO5QCOA.mjs → chunk-2Y5YJX5Z.mjs} +3 -3
- package/dist/{chunk-APBJOTY3.js → chunk-3SJCAWWB.js} +2 -2
- package/dist/{chunk-CS4YJFOV.js → chunk-6FJGS6NO.js} +2 -2
- package/dist/{chunk-ELJDSZB2.mjs → chunk-6GLPUJ2Z.mjs} +1 -1
- package/dist/{chunk-HJNJ7YU6.mjs → chunk-D4MGAVQS.mjs} +1 -1
- package/dist/{chunk-UXXOZVCJ.js → chunk-FPMRBKVJ.js} +3 -3
- package/dist/{chunk-GBL7OLQF.js → chunk-HC2OB6IT.js} +2 -2
- package/dist/{chunk-KDG5WTN4.mjs → chunk-JHWN77K2.mjs} +1 -1
- package/dist/{chunk-BPD7ONO7.mjs → chunk-KBH4R4HS.mjs} +1 -1
- package/dist/{chunk-QCE5MXIG.mjs → chunk-LZCENVL2.mjs} +1 -1
- package/dist/{chunk-3E7U32YZ.js → chunk-MBBLQYXU.js} +15 -9
- package/dist/{chunk-HRV4XKW4.mjs → chunk-NCH5JEH6.mjs} +2 -2
- package/dist/{chunk-L2IHRS7N.mjs → chunk-NLPR2FPW.mjs} +16 -10
- package/dist/{chunk-KDNAYWKN.js → chunk-O7HLYNNY.js} +2 -2
- package/dist/{chunk-TU3Q3T7D.js → chunk-QWUM35ZK.js} +5 -5
- package/dist/{chunk-NFQLTGXG.mjs → chunk-RFWXPH5O.mjs} +1 -1
- package/dist/{chunk-Y4D6KHJP.mjs → chunk-VGSUCQ2S.mjs} +1 -1
- package/dist/{chunk-3HKYDFFV.js → chunk-Z3RL2XD5.js} +2 -2
- package/dist/executors.d.mts +1 -1
- package/dist/executors.d.ts +1 -1
- package/dist/executors.js +7 -7
- package/dist/executors.mjs +8 -8
- package/dist/{generators-C1_XT3qk.d.mts → generators-8hNcjX5A.d.mts} +1 -1
- package/dist/{generators-CIhk3saj.d.ts → generators-BziLQ-SK.d.ts} +1 -1
- package/dist/generators.d.mts +2 -2
- package/dist/generators.d.ts +2 -2
- package/dist/generators.js +3 -3
- package/dist/generators.mjs +4 -4
- package/dist/index.d.mts +2 -2
- package/dist/index.d.ts +2 -2
- package/dist/index.js +9 -9
- package/dist/index.mjs +10 -10
- package/dist/src/base/base-executor.d.mts +1 -1
- package/dist/src/base/base-executor.d.ts +1 -1
- package/dist/src/base/base-executor.js +3 -3
- package/dist/src/base/base-executor.mjs +3 -3
- package/dist/src/base/index.d.mts +1 -1
- package/dist/src/base/index.d.ts +1 -1
- package/dist/src/base/index.js +3 -3
- package/dist/src/base/index.mjs +4 -4
- package/dist/src/base/providers.mjs +2 -2
- package/dist/src/executors/config/executor.d.mts +1 -1
- package/dist/src/executors/config/executor.d.ts +1 -1
- package/dist/src/executors/config/executor.js +4 -4
- package/dist/src/executors/config/executor.mjs +4 -4
- package/dist/src/executors/import/executor.d.mts +1 -1
- package/dist/src/executors/import/executor.d.ts +1 -1
- package/dist/src/executors/import/executor.js +4 -4
- package/dist/src/executors/import/executor.mjs +4 -4
- package/dist/src/executors/preview/executor.d.mts +1 -1
- package/dist/src/executors/preview/executor.d.ts +1 -1
- package/dist/src/executors/preview/executor.js +4 -4
- package/dist/src/executors/preview/executor.mjs +4 -4
- package/dist/src/executors/refresh/executor.d.mts +1 -1
- package/dist/src/executors/refresh/executor.d.ts +1 -1
- package/dist/src/executors/refresh/executor.js +4 -4
- package/dist/src/executors/refresh/executor.mjs +4 -4
- package/dist/src/executors/up/executor.d.mts +1 -1
- package/dist/src/executors/up/executor.d.ts +1 -1
- package/dist/src/executors/up/executor.js +4 -4
- package/dist/src/executors/up/executor.mjs +4 -4
- package/dist/src/generators/init/generator.d.mts +2 -2
- package/dist/src/generators/init/generator.d.ts +2 -2
- package/dist/src/generators/init/generator.js +3 -3
- package/dist/src/generators/init/generator.mjs +4 -4
- package/dist/tsup.config.mjs +1 -1
- package/dist/{types-D7IMa2M3.d.mts → types-D-xLCTdY.d.mts} +2 -2
- package/dist/{types-D7IMa2M3.d.ts → types-D-xLCTdY.d.ts} +2 -2
- package/package.json +31 -11
package/CHANGELOG.md
CHANGED
|
@@ -2,6 +2,13 @@
|
|
|
2
2
|
|
|
3
3
|
# Changelog for Storm Ops - Pulumi Tools
|
|
4
4
|
|
|
5
|
+
## [0.7.58](https://github.com/storm-software/storm-ops/releases/tag/pulumi-tools%400.7.58) (2025-04-25)
|
|
6
|
+
|
|
7
|
+
### Miscellaneous
|
|
8
|
+
|
|
9
|
+
- **monorepo:** Regenerate README markdown files
|
|
10
|
+
([9ab7e03d9](https://github.com/storm-software/storm-ops/commit/9ab7e03d9))
|
|
11
|
+
|
|
5
12
|
## [0.7.56](https://github.com/storm-software/storm-ops/releases/tag/pulumi-tools%400.7.56) (2025-04-16)
|
|
6
13
|
|
|
7
14
|
### 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 -->
|
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
import {
|
|
2
2
|
getCloudTemplateName
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-JHWN77K2.mjs";
|
|
4
4
|
import {
|
|
5
5
|
initGenerator,
|
|
6
6
|
run,
|
|
7
7
|
withRunGenerator
|
|
8
|
-
} from "./chunk-
|
|
8
|
+
} from "./chunk-NLPR2FPW.mjs";
|
|
9
9
|
import {
|
|
10
10
|
__name
|
|
11
|
-
} from "./chunk-
|
|
11
|
+
} from "./chunk-VGSUCQ2S.mjs";
|
|
12
12
|
|
|
13
13
|
// src/generators/init/generator.ts
|
|
14
14
|
import { addDependenciesToPackageJson, addProjectConfiguration, formatFiles, readJsonFile, runTasksInSerial } from "@nx/devkit";
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
"use strict";Object.defineProperty(exports, "__esModule", {value: true});
|
|
2
2
|
|
|
3
|
-
var
|
|
3
|
+
var _chunkFPMRBKVJjs = require('./chunk-FPMRBKVJ.js');
|
|
4
4
|
|
|
5
5
|
// src/executors/config/executor.ts
|
|
6
|
-
var executor_default =
|
|
6
|
+
var executor_default = _chunkFPMRBKVJjs.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 _chunkFPMRBKVJjs = require('./chunk-FPMRBKVJ.js');
|
|
4
4
|
|
|
5
5
|
// src/executors/up/executor.ts
|
|
6
|
-
var executor_default =
|
|
6
|
+
var executor_default = _chunkFPMRBKVJjs.withPulumiExecutor.call(void 0, "up", (options) => [
|
|
7
7
|
"--suppress-progress",
|
|
8
8
|
options.stack && `--stack=${options.stack}`,
|
|
9
9
|
options.skipPreview && "--skip-preview",
|
|
@@ -1,7 +1,7 @@
|
|
|
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 _chunkMBBLQYXUjs = require('./chunk-MBBLQYXU.js');
|
|
5
5
|
|
|
6
6
|
|
|
7
7
|
var _chunk3GQAWCBQjs = require('./chunk-3GQAWCBQ.js');
|
|
@@ -10,7 +10,7 @@ var _chunk3GQAWCBQjs = require('./chunk-3GQAWCBQ.js');
|
|
|
10
10
|
var _path = require('path');
|
|
11
11
|
var _shelljs = require('shelljs');
|
|
12
12
|
var withPulumiExecutor = /* @__PURE__ */ _chunk3GQAWCBQjs.__name.call(void 0, (command, argsMapper, executorOptions = {}) => async (_options, context) => {
|
|
13
|
-
return
|
|
13
|
+
return _chunkMBBLQYXUjs.withRunExecutor.call(void 0, `Pulumi \`${command}\` Command Executor`, async (options, context2, config) => {
|
|
14
14
|
if (!_shelljs.which.call(void 0, "pulumi")) {
|
|
15
15
|
throw new Error("Pulumi is not installed. Please install it before running this executor.");
|
|
16
16
|
}
|
|
@@ -18,7 +18,7 @@ var withPulumiExecutor = /* @__PURE__ */ _chunk3GQAWCBQjs.__name.call(void 0, (c
|
|
|
18
18
|
throw new Error("The Build process failed because the context is not valid. Please run this command from a workspace.");
|
|
19
19
|
}
|
|
20
20
|
const { sourceRoot } = context2.projectsConfigurations.projects[context2.projectName];
|
|
21
|
-
|
|
21
|
+
_chunkMBBLQYXUjs.run.call(void 0, config, [
|
|
22
22
|
"pulumi",
|
|
23
23
|
command,
|
|
24
24
|
...argsMapper(options)
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
"use strict";Object.defineProperty(exports, "__esModule", {value: true});
|
|
2
2
|
|
|
3
|
-
var
|
|
3
|
+
var _chunkFPMRBKVJjs = require('./chunk-FPMRBKVJ.js');
|
|
4
4
|
|
|
5
5
|
// src/executors/import/executor.ts
|
|
6
|
-
var executor_default =
|
|
6
|
+
var executor_default = _chunkFPMRBKVJjs.withPulumiExecutor.call(void 0, "import", (options) => [
|
|
7
7
|
options.target,
|
|
8
8
|
options.name,
|
|
9
9
|
options.id,
|
|
@@ -210,7 +210,7 @@ var stormWorkspaceConfigSchema = _zod2.default.object({
|
|
|
210
210
|
"staging",
|
|
211
211
|
"production"
|
|
212
212
|
]).default("production").describe("The current runtime environment mode for the package"),
|
|
213
|
-
workspaceRoot: _zod2.default.string().trim().
|
|
213
|
+
workspaceRoot: _zod2.default.string().trim().describe("The root directory of the workspace"),
|
|
214
214
|
externalPackagePatterns: _zod2.default.array(_zod2.default.string()).default([]).describe("The build will use these package patterns to determine if they should be external to the bundle"),
|
|
215
215
|
skipCache: _zod2.default.boolean().default(false).describe("Should all known types of workspace caching be skipped?"),
|
|
216
216
|
directories: WorkspaceDirectoryConfigSchema,
|
|
@@ -873,7 +873,7 @@ var getConfigFile = /* @__PURE__ */ _chunk3GQAWCBQjs.__name.call(void 0, async (
|
|
|
873
873
|
}
|
|
874
874
|
}
|
|
875
875
|
}
|
|
876
|
-
if (!config) {
|
|
876
|
+
if (!config || Object.keys(config).length === 0) {
|
|
877
877
|
return void 0;
|
|
878
878
|
}
|
|
879
879
|
config.configFile = configFile;
|
|
@@ -1347,7 +1347,7 @@ var setBaseThemeColorConfigEnv = /* @__PURE__ */ _chunk3GQAWCBQjs.__name.call(vo
|
|
|
1347
1347
|
// ../config-tools/src/create-storm-config.ts
|
|
1348
1348
|
var _extension_cache = /* @__PURE__ */ new WeakMap();
|
|
1349
1349
|
var _static_cache = void 0;
|
|
1350
|
-
var createStormWorkspaceConfig = /* @__PURE__ */ _chunk3GQAWCBQjs.__name.call(void 0, async (extensionName, schema, workspaceRoot3, skipLogs = false) => {
|
|
1350
|
+
var createStormWorkspaceConfig = /* @__PURE__ */ _chunk3GQAWCBQjs.__name.call(void 0, async (extensionName, schema, workspaceRoot3, skipLogs = false, useDefault = true) => {
|
|
1351
1351
|
let result;
|
|
1352
1352
|
if (!_optionalChain([_static_cache, 'optionalAccess', _57 => _57.data]) || !_optionalChain([_static_cache, 'optionalAccess', _58 => _58.timestamp]) || _static_cache.timestamp < Date.now() - 8e3) {
|
|
1353
1353
|
let _workspaceRoot = workspaceRoot3;
|
|
@@ -1355,13 +1355,18 @@ var createStormWorkspaceConfig = /* @__PURE__ */ _chunk3GQAWCBQjs.__name.call(vo
|
|
|
1355
1355
|
_workspaceRoot = findWorkspaceRoot();
|
|
1356
1356
|
}
|
|
1357
1357
|
const configEnv = getConfigEnv();
|
|
1358
|
-
const defaultConfig = await getDefaultConfig(_workspaceRoot);
|
|
1359
1358
|
const configFile = await getConfigFile(_workspaceRoot);
|
|
1360
|
-
if (!configFile
|
|
1361
|
-
|
|
1362
|
-
|
|
1363
|
-
|
|
1359
|
+
if (!configFile) {
|
|
1360
|
+
if (!skipLogs) {
|
|
1361
|
+
writeWarning("No Storm Workspace configuration file found in the current repository. Please ensure this is the expected behavior - you can add a `storm-workspace.json` file to the root of your workspace if it is not.\n", {
|
|
1362
|
+
logLevel: "all"
|
|
1363
|
+
});
|
|
1364
|
+
}
|
|
1365
|
+
if (useDefault === false) {
|
|
1366
|
+
return void 0;
|
|
1367
|
+
}
|
|
1364
1368
|
}
|
|
1369
|
+
const defaultConfig = await getDefaultConfig(_workspaceRoot);
|
|
1365
1370
|
result = await stormWorkspaceConfigSchema.parseAsync(_defu2.default.call(void 0, configEnv, configFile, defaultConfig));
|
|
1366
1371
|
result.workspaceRoot ??= _workspaceRoot;
|
|
1367
1372
|
} else {
|
|
@@ -1394,7 +1399,7 @@ var createConfigExtension = /* @__PURE__ */ _chunk3GQAWCBQjs.__name.call(void 0,
|
|
|
1394
1399
|
return extension;
|
|
1395
1400
|
}, "createConfigExtension");
|
|
1396
1401
|
var loadStormWorkspaceConfig = /* @__PURE__ */ _chunk3GQAWCBQjs.__name.call(void 0, async (workspaceRoot3, skipLogs = false) => {
|
|
1397
|
-
const config = await createStormWorkspaceConfig(void 0, void 0, workspaceRoot3, skipLogs);
|
|
1402
|
+
const config = await createStormWorkspaceConfig(void 0, void 0, workspaceRoot3, skipLogs, true);
|
|
1398
1403
|
setConfigEnv(config);
|
|
1399
1404
|
if (!skipLogs && !config.skipConfigLogging) {
|
|
1400
1405
|
writeTrace(`\u2699\uFE0F Using Storm Workspace configuration:
|
|
@@ -1460,6 +1465,7 @@ ${formatLogMessage(tokenized)}
|
|
|
1460
1465
|
if (_isFunction2(_optionalChain([ret, 'optionalAccess', _65 => _65.next]))) {
|
|
1461
1466
|
const asyncGen = ret;
|
|
1462
1467
|
for await (const iter of asyncGen) {
|
|
1468
|
+
void iter;
|
|
1463
1469
|
}
|
|
1464
1470
|
}
|
|
1465
1471
|
const result = await Promise.resolve(ret);
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import {
|
|
2
2
|
run,
|
|
3
3
|
withRunExecutor
|
|
4
|
-
} from "./chunk-
|
|
4
|
+
} from "./chunk-NLPR2FPW.mjs";
|
|
5
5
|
import {
|
|
6
6
|
__name
|
|
7
|
-
} from "./chunk-
|
|
7
|
+
} from "./chunk-VGSUCQ2S.mjs";
|
|
8
8
|
|
|
9
9
|
// src/base/base-executor.ts
|
|
10
10
|
import { join } from "node:path";
|
|
@@ -2,7 +2,7 @@ import {
|
|
|
2
2
|
__dirname,
|
|
3
3
|
__name,
|
|
4
4
|
__require
|
|
5
|
-
} from "./chunk-
|
|
5
|
+
} from "./chunk-VGSUCQ2S.mjs";
|
|
6
6
|
|
|
7
7
|
// ../config-tools/src/utilities/run.ts
|
|
8
8
|
import { exec, execSync } from "node:child_process";
|
|
@@ -211,7 +211,7 @@ var stormWorkspaceConfigSchema = z.object({
|
|
|
211
211
|
"staging",
|
|
212
212
|
"production"
|
|
213
213
|
]).default("production").describe("The current runtime environment mode for the package"),
|
|
214
|
-
workspaceRoot: z.string().trim().
|
|
214
|
+
workspaceRoot: z.string().trim().describe("The root directory of the workspace"),
|
|
215
215
|
externalPackagePatterns: z.array(z.string()).default([]).describe("The build will use these package patterns to determine if they should be external to the bundle"),
|
|
216
216
|
skipCache: z.boolean().default(false).describe("Should all known types of workspace caching be skipped?"),
|
|
217
217
|
directories: WorkspaceDirectoryConfigSchema,
|
|
@@ -874,7 +874,7 @@ var getConfigFile = /* @__PURE__ */ __name(async (filePath, additionalFileNames
|
|
|
874
874
|
}
|
|
875
875
|
}
|
|
876
876
|
}
|
|
877
|
-
if (!config) {
|
|
877
|
+
if (!config || Object.keys(config).length === 0) {
|
|
878
878
|
return void 0;
|
|
879
879
|
}
|
|
880
880
|
config.configFile = configFile;
|
|
@@ -1348,7 +1348,7 @@ var setBaseThemeColorConfigEnv = /* @__PURE__ */ __name((prefix, config) => {
|
|
|
1348
1348
|
// ../config-tools/src/create-storm-config.ts
|
|
1349
1349
|
var _extension_cache = /* @__PURE__ */ new WeakMap();
|
|
1350
1350
|
var _static_cache = void 0;
|
|
1351
|
-
var createStormWorkspaceConfig = /* @__PURE__ */ __name(async (extensionName, schema, workspaceRoot3, skipLogs = false) => {
|
|
1351
|
+
var createStormWorkspaceConfig = /* @__PURE__ */ __name(async (extensionName, schema, workspaceRoot3, skipLogs = false, useDefault = true) => {
|
|
1352
1352
|
let result;
|
|
1353
1353
|
if (!_static_cache?.data || !_static_cache?.timestamp || _static_cache.timestamp < Date.now() - 8e3) {
|
|
1354
1354
|
let _workspaceRoot = workspaceRoot3;
|
|
@@ -1356,13 +1356,18 @@ var createStormWorkspaceConfig = /* @__PURE__ */ __name(async (extensionName, sc
|
|
|
1356
1356
|
_workspaceRoot = findWorkspaceRoot();
|
|
1357
1357
|
}
|
|
1358
1358
|
const configEnv = getConfigEnv();
|
|
1359
|
-
const defaultConfig = await getDefaultConfig(_workspaceRoot);
|
|
1360
1359
|
const configFile = await getConfigFile(_workspaceRoot);
|
|
1361
|
-
if (!configFile
|
|
1362
|
-
|
|
1363
|
-
|
|
1364
|
-
|
|
1360
|
+
if (!configFile) {
|
|
1361
|
+
if (!skipLogs) {
|
|
1362
|
+
writeWarning("No Storm Workspace configuration file found in the current repository. Please ensure this is the expected behavior - you can add a `storm-workspace.json` file to the root of your workspace if it is not.\n", {
|
|
1363
|
+
logLevel: "all"
|
|
1364
|
+
});
|
|
1365
|
+
}
|
|
1366
|
+
if (useDefault === false) {
|
|
1367
|
+
return void 0;
|
|
1368
|
+
}
|
|
1365
1369
|
}
|
|
1370
|
+
const defaultConfig = await getDefaultConfig(_workspaceRoot);
|
|
1366
1371
|
result = await stormWorkspaceConfigSchema.parseAsync(defu2(configEnv, configFile, defaultConfig));
|
|
1367
1372
|
result.workspaceRoot ??= _workspaceRoot;
|
|
1368
1373
|
} else {
|
|
@@ -1395,7 +1400,7 @@ var createConfigExtension = /* @__PURE__ */ __name((extensionName, schema) => {
|
|
|
1395
1400
|
return extension;
|
|
1396
1401
|
}, "createConfigExtension");
|
|
1397
1402
|
var loadStormWorkspaceConfig = /* @__PURE__ */ __name(async (workspaceRoot3, skipLogs = false) => {
|
|
1398
|
-
const config = await createStormWorkspaceConfig(void 0, void 0, workspaceRoot3, skipLogs);
|
|
1403
|
+
const config = await createStormWorkspaceConfig(void 0, void 0, workspaceRoot3, skipLogs, true);
|
|
1399
1404
|
setConfigEnv(config);
|
|
1400
1405
|
if (!skipLogs && !config.skipConfigLogging) {
|
|
1401
1406
|
writeTrace(`\u2699\uFE0F Using Storm Workspace configuration:
|
|
@@ -1461,6 +1466,7 @@ ${formatLogMessage(tokenized)}
|
|
|
1461
1466
|
if (_isFunction2(ret?.next)) {
|
|
1462
1467
|
const asyncGen = ret;
|
|
1463
1468
|
for await (const iter of asyncGen) {
|
|
1469
|
+
void iter;
|
|
1464
1470
|
}
|
|
1465
1471
|
}
|
|
1466
1472
|
const result = await Promise.resolve(ret);
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
"use strict";Object.defineProperty(exports, "__esModule", {value: true});
|
|
2
2
|
|
|
3
|
-
var
|
|
3
|
+
var _chunkFPMRBKVJjs = require('./chunk-FPMRBKVJ.js');
|
|
4
4
|
|
|
5
5
|
// src/executors/refresh/executor.ts
|
|
6
|
-
var executor_default =
|
|
6
|
+
var executor_default = _chunkFPMRBKVJjs.withPulumiExecutor.call(void 0, "refresh", (options) => [
|
|
7
7
|
"--suppress-progress",
|
|
8
8
|
options.stack && `--stack=${options.stack}`,
|
|
9
9
|
options.skipPreview && "--skip-preview",
|
|
@@ -5,7 +5,7 @@ var _chunkDBLK3NPEjs = require('./chunk-DBLK3NPE.js');
|
|
|
5
5
|
|
|
6
6
|
|
|
7
7
|
|
|
8
|
-
var
|
|
8
|
+
var _chunkMBBLQYXUjs = require('./chunk-MBBLQYXU.js');
|
|
9
9
|
|
|
10
10
|
|
|
11
11
|
var _chunk3GQAWCBQjs = require('./chunk-3GQAWCBQ.js');
|
|
@@ -15,7 +15,7 @@ var _devkit = require('@nx/devkit');
|
|
|
15
15
|
var _fs = require('fs');
|
|
16
16
|
var _path = require('path');
|
|
17
17
|
async function initGeneratorFn(tree, options, config) {
|
|
18
|
-
const task =
|
|
18
|
+
const task = _chunkMBBLQYXUjs.initGenerator.call(void 0, tree, options);
|
|
19
19
|
_devkit.addProjectConfiguration.call(void 0, tree, options.name || "deployment", {
|
|
20
20
|
root: options.directory || "./deployment",
|
|
21
21
|
projectType: "application",
|
|
@@ -49,11 +49,11 @@ async function initGeneratorFn(tree, options, config) {
|
|
|
49
49
|
return task;
|
|
50
50
|
}
|
|
51
51
|
_chunk3GQAWCBQjs.__name.call(void 0, initGeneratorFn, "initGeneratorFn");
|
|
52
|
-
var generator_default =
|
|
52
|
+
var generator_default = _chunkMBBLQYXUjs.withRunGenerator.call(void 0, "Initialize Storm Pulumi workspace", initGeneratorFn);
|
|
53
53
|
function generateNewPulumiProject(tree, options, config) {
|
|
54
54
|
return () => {
|
|
55
55
|
const template = _chunkDBLK3NPEjs.getCloudTemplateName.call(void 0, options.provider);
|
|
56
|
-
|
|
56
|
+
_chunkMBBLQYXUjs.run.call(void 0, config, [
|
|
57
57
|
`pulumi new ${template}`,
|
|
58
58
|
`--name=${options.name || "deployment"}`,
|
|
59
59
|
`--dir=${options.directory || "./deployment"}`,
|
|
@@ -73,7 +73,7 @@ function loginToPulumi(tree, options, config) {
|
|
|
73
73
|
if (options.login.startsWith("file://")) {
|
|
74
74
|
options.login = `file://${tree.root}/${options.directory || "./deployment"}/${options.login.replace("file://", "")}`;
|
|
75
75
|
}
|
|
76
|
-
|
|
76
|
+
_chunkMBBLQYXUjs.run.call(void 0, config, [
|
|
77
77
|
"pulumi login",
|
|
78
78
|
options.login
|
|
79
79
|
].filter(Boolean).join(" "), _path.join.call(void 0, config.workspaceRoot, options.directory || "./deployment"), "inherit", {
|
|
@@ -7,7 +7,7 @@ var __require = /* @__PURE__ */ ((x) => typeof require !== "undefined" ? require
|
|
|
7
7
|
throw Error('Dynamic require of "' + x + '" is not supported');
|
|
8
8
|
});
|
|
9
9
|
|
|
10
|
-
// ../../node_modules/.pnpm/tsup@8.
|
|
10
|
+
// ../../node_modules/.pnpm/tsup@8.4.0_@microsoft+api-extractor@7.52.3_@types+node@22.14.0__@swc+core@1.7.26_@swc+h_1f0f2af312616e61530d7e6463ffcaf7/node_modules/tsup/assets/esm_shims.js
|
|
11
11
|
import { fileURLToPath } from "url";
|
|
12
12
|
import path from "path";
|
|
13
13
|
var getFilename = /* @__PURE__ */ __name(() => fileURLToPath(import.meta.url), "getFilename");
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
"use strict";Object.defineProperty(exports, "__esModule", {value: true});
|
|
2
2
|
|
|
3
|
-
var
|
|
3
|
+
var _chunkFPMRBKVJjs = require('./chunk-FPMRBKVJ.js');
|
|
4
4
|
|
|
5
5
|
// src/executors/preview/executor.ts
|
|
6
|
-
var executor_default =
|
|
6
|
+
var executor_default = _chunkFPMRBKVJjs.withPulumiExecutor.call(void 0, "preview", (options) => [
|
|
7
7
|
options.stack && `--stack=${options.stack}`,
|
|
8
8
|
options.expectNoChanges && "--expect-no-changes"
|
|
9
9
|
]);
|
package/dist/executors.d.mts
CHANGED
|
@@ -5,6 +5,6 @@ export { R as RefreshExecutorSchema } from './schema.d-BTpgEb0Q.mjs';
|
|
|
5
5
|
export { U as UpExecutorSchema } from './schema.d-BCkJFwHO.mjs';
|
|
6
6
|
import './src/base/base-executor.mjs';
|
|
7
7
|
import '@nx/devkit';
|
|
8
|
-
import './types-
|
|
8
|
+
import './types-D-xLCTdY.mjs';
|
|
9
9
|
import 'zod';
|
|
10
10
|
import '@storm-software/workspace-tools';
|
package/dist/executors.d.ts
CHANGED
|
@@ -5,6 +5,6 @@ export { R as RefreshExecutorSchema } from './schema.d-DhkOAnzb.js';
|
|
|
5
5
|
export { U as UpExecutorSchema } from './schema.d-Dri9rCeV.js';
|
|
6
6
|
import './src/base/base-executor.js';
|
|
7
7
|
import '@nx/devkit';
|
|
8
|
-
import './types-
|
|
8
|
+
import './types-D-xLCTdY.js';
|
|
9
9
|
import 'zod';
|
|
10
10
|
import '@storm-software/workspace-tools';
|
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-HC2OB6IT.js');
|
|
3
|
+
require('./chunk-Z3RL2XD5.js');
|
|
4
|
+
require('./chunk-O7HLYNNY.js');
|
|
5
|
+
require('./chunk-6FJGS6NO.js');
|
|
6
|
+
require('./chunk-3SJCAWWB.js');
|
|
7
|
+
require('./chunk-FPMRBKVJ.js');
|
|
8
|
+
require('./chunk-MBBLQYXU.js');
|
|
9
9
|
require('./chunk-3GQAWCBQ.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-
|
|
9
|
-
import "./chunk-
|
|
2
|
+
import "./chunk-D4MGAVQS.mjs";
|
|
3
|
+
import "./chunk-6GLPUJ2Z.mjs";
|
|
4
|
+
import "./chunk-LZCENVL2.mjs";
|
|
5
|
+
import "./chunk-KBH4R4HS.mjs";
|
|
6
|
+
import "./chunk-RFWXPH5O.mjs";
|
|
7
|
+
import "./chunk-NCH5JEH6.mjs";
|
|
8
|
+
import "./chunk-NLPR2FPW.mjs";
|
|
9
|
+
import "./chunk-VGSUCQ2S.mjs";
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import * as _storm_software_workspace_tools from '@storm-software/workspace-tools';
|
|
2
2
|
import { Tree, GeneratorCallback } from '@nx/devkit';
|
|
3
|
-
import { S as StormWorkspaceConfig } from './types-
|
|
3
|
+
import { S as StormWorkspaceConfig } from './types-D-xLCTdY.mjs';
|
|
4
4
|
|
|
5
5
|
// Generated by @storm-software/untyped
|
|
6
6
|
// Do not edit this file directly
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import * as _storm_software_workspace_tools from '@storm-software/workspace-tools';
|
|
2
2
|
import { Tree, GeneratorCallback } from '@nx/devkit';
|
|
3
|
-
import { S as StormWorkspaceConfig } from './types-
|
|
3
|
+
import { S as StormWorkspaceConfig } from './types-D-xLCTdY.js';
|
|
4
4
|
|
|
5
5
|
// Generated by @storm-software/untyped
|
|
6
6
|
// Do not edit this file directly
|
package/dist/generators.d.mts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
export { I as InitGeneratorSchema, i as initGeneratorFn } from './generators-
|
|
1
|
+
export { I as InitGeneratorSchema, i as initGeneratorFn } from './generators-8hNcjX5A.mjs';
|
|
2
2
|
import '@storm-software/workspace-tools';
|
|
3
3
|
import '@nx/devkit';
|
|
4
|
-
import './types-
|
|
4
|
+
import './types-D-xLCTdY.mjs';
|
|
5
5
|
import 'zod';
|
package/dist/generators.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
export { I as InitGeneratorSchema, i as initGeneratorFn } from './generators-
|
|
1
|
+
export { I as InitGeneratorSchema, i as initGeneratorFn } from './generators-BziLQ-SK.js';
|
|
2
2
|
import '@storm-software/workspace-tools';
|
|
3
3
|
import '@nx/devkit';
|
|
4
|
-
import './types-
|
|
4
|
+
import './types-D-xLCTdY.js';
|
|
5
5
|
import 'zod';
|
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 _chunkQWUM35ZKjs = require('./chunk-QWUM35ZK.js');
|
|
5
5
|
require('./chunk-DBLK3NPE.js');
|
|
6
|
-
require('./chunk-
|
|
6
|
+
require('./chunk-MBBLQYXU.js');
|
|
7
7
|
require('./chunk-3GQAWCBQ.js');
|
|
8
8
|
|
|
9
9
|
|
|
10
|
-
exports.initGeneratorFn =
|
|
10
|
+
exports.initGeneratorFn = _chunkQWUM35ZKjs.initGeneratorFn;
|
package/dist/generators.mjs
CHANGED
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import "./chunk-23KFTIT2.mjs";
|
|
2
2
|
import {
|
|
3
3
|
initGeneratorFn
|
|
4
|
-
} from "./chunk-
|
|
5
|
-
import "./chunk-
|
|
6
|
-
import "./chunk-
|
|
7
|
-
import "./chunk-
|
|
4
|
+
} from "./chunk-2Y5YJX5Z.mjs";
|
|
5
|
+
import "./chunk-JHWN77K2.mjs";
|
|
6
|
+
import "./chunk-NLPR2FPW.mjs";
|
|
7
|
+
import "./chunk-VGSUCQ2S.mjs";
|
|
8
8
|
export {
|
|
9
9
|
initGeneratorFn
|
|
10
10
|
};
|
package/dist/index.d.mts
CHANGED
|
@@ -3,10 +3,10 @@ export { I as ImportExecutorSchema } from './schema.d-CWp7y_9i.mjs';
|
|
|
3
3
|
export { P as PreviewExecutorSchema } from './schema.d-C3zluSfr.mjs';
|
|
4
4
|
export { R as RefreshExecutorSchema } from './schema.d-BTpgEb0Q.mjs';
|
|
5
5
|
export { U as UpExecutorSchema } from './schema.d-BCkJFwHO.mjs';
|
|
6
|
-
export { I as InitGeneratorSchema, i as initGeneratorFn } from './generators-
|
|
6
|
+
export { I as InitGeneratorSchema, i as initGeneratorFn } from './generators-8hNcjX5A.mjs';
|
|
7
7
|
export { NormalizedPulumiExecutorOptions, PulumiCommandOptions, PulumiExecutorSchema, withPulumiExecutor } from './src/base/base-executor.mjs';
|
|
8
8
|
export { Provider, getCloudTemplateName } from './src/base/providers.mjs';
|
|
9
9
|
import '@storm-software/workspace-tools';
|
|
10
10
|
import '@nx/devkit';
|
|
11
|
-
import './types-
|
|
11
|
+
import './types-D-xLCTdY.mjs';
|
|
12
12
|
import 'zod';
|
package/dist/index.d.ts
CHANGED
|
@@ -3,10 +3,10 @@ export { I as ImportExecutorSchema } from './schema.d-BBpw11tM.js';
|
|
|
3
3
|
export { P as PreviewExecutorSchema } from './schema.d-i8onVGak.js';
|
|
4
4
|
export { R as RefreshExecutorSchema } from './schema.d-DhkOAnzb.js';
|
|
5
5
|
export { U as UpExecutorSchema } from './schema.d-Dri9rCeV.js';
|
|
6
|
-
export { I as InitGeneratorSchema, i as initGeneratorFn } from './generators-
|
|
6
|
+
export { I as InitGeneratorSchema, i as initGeneratorFn } from './generators-BziLQ-SK.js';
|
|
7
7
|
export { NormalizedPulumiExecutorOptions, PulumiCommandOptions, PulumiExecutorSchema, withPulumiExecutor } from './src/base/base-executor.js';
|
|
8
8
|
export { Provider, getCloudTemplateName } from './src/base/providers.js';
|
|
9
9
|
import '@storm-software/workspace-tools';
|
|
10
10
|
import '@nx/devkit';
|
|
11
|
-
import './types-
|
|
11
|
+
import './types-D-xLCTdY.js';
|
|
12
12
|
import 'zod';
|
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-HC2OB6IT.js');
|
|
3
|
+
require('./chunk-Z3RL2XD5.js');
|
|
4
|
+
require('./chunk-O7HLYNNY.js');
|
|
5
|
+
require('./chunk-6FJGS6NO.js');
|
|
6
6
|
require('./chunk-N2YKXZ5R.js');
|
|
7
7
|
|
|
8
8
|
|
|
9
|
-
var
|
|
9
|
+
var _chunkQWUM35ZKjs = require('./chunk-QWUM35ZK.js');
|
|
10
10
|
require('./chunk-GUQOEBFW.js');
|
|
11
11
|
|
|
12
12
|
|
|
13
13
|
|
|
14
14
|
var _chunkDBLK3NPEjs = require('./chunk-DBLK3NPE.js');
|
|
15
|
-
require('./chunk-
|
|
15
|
+
require('./chunk-3SJCAWWB.js');
|
|
16
16
|
|
|
17
17
|
|
|
18
|
-
var
|
|
19
|
-
require('./chunk-
|
|
18
|
+
var _chunkFPMRBKVJjs = require('./chunk-FPMRBKVJ.js');
|
|
19
|
+
require('./chunk-MBBLQYXU.js');
|
|
20
20
|
require('./chunk-3GQAWCBQ.js');
|
|
21
21
|
|
|
22
22
|
|
|
23
23
|
|
|
24
24
|
|
|
25
25
|
|
|
26
|
-
exports.Provider = _chunkDBLK3NPEjs.Provider; exports.getCloudTemplateName = _chunkDBLK3NPEjs.getCloudTemplateName; exports.initGeneratorFn =
|
|
26
|
+
exports.Provider = _chunkDBLK3NPEjs.Provider; exports.getCloudTemplateName = _chunkDBLK3NPEjs.getCloudTemplateName; exports.initGeneratorFn = _chunkQWUM35ZKjs.initGeneratorFn; exports.withPulumiExecutor = _chunkFPMRBKVJjs.withPulumiExecutor;
|
package/dist/index.mjs
CHANGED
|
@@ -1,23 +1,23 @@
|
|
|
1
1
|
import "./chunk-UV4HQO3Y.mjs";
|
|
2
|
-
import "./chunk-
|
|
3
|
-
import "./chunk-
|
|
4
|
-
import "./chunk-
|
|
5
|
-
import "./chunk-
|
|
2
|
+
import "./chunk-D4MGAVQS.mjs";
|
|
3
|
+
import "./chunk-6GLPUJ2Z.mjs";
|
|
4
|
+
import "./chunk-LZCENVL2.mjs";
|
|
5
|
+
import "./chunk-KBH4R4HS.mjs";
|
|
6
6
|
import "./chunk-23KFTIT2.mjs";
|
|
7
7
|
import {
|
|
8
8
|
initGeneratorFn
|
|
9
|
-
} from "./chunk-
|
|
9
|
+
} from "./chunk-2Y5YJX5Z.mjs";
|
|
10
10
|
import "./chunk-CA7S5MOH.mjs";
|
|
11
11
|
import {
|
|
12
12
|
Provider,
|
|
13
13
|
getCloudTemplateName
|
|
14
|
-
} from "./chunk-
|
|
15
|
-
import "./chunk-
|
|
14
|
+
} from "./chunk-JHWN77K2.mjs";
|
|
15
|
+
import "./chunk-RFWXPH5O.mjs";
|
|
16
16
|
import {
|
|
17
17
|
withPulumiExecutor
|
|
18
|
-
} from "./chunk-
|
|
19
|
-
import "./chunk-
|
|
20
|
-
import "./chunk-
|
|
18
|
+
} from "./chunk-NCH5JEH6.mjs";
|
|
19
|
+
import "./chunk-NLPR2FPW.mjs";
|
|
20
|
+
import "./chunk-VGSUCQ2S.mjs";
|
|
21
21
|
export {
|
|
22
22
|
Provider,
|
|
23
23
|
getCloudTemplateName,
|