@storm-software/pulumi-tools 0.7.39 → 0.7.40
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-OHB7BWHV.mjs → chunk-4HYQNBDU.mjs} +27 -11
- package/dist/{chunk-ITMXW6BU.js → chunk-7IJFV2U7.js} +3 -3
- package/dist/{chunk-WP5ADETB.js → chunk-7JEKW6KY.js} +27 -11
- package/dist/{chunk-EBQ4W45Z.mjs → chunk-ADEKKRTN.mjs} +1 -1
- package/dist/{chunk-CAUTCB4N.js → chunk-B4VAZ4GA.js} +2 -2
- package/dist/{chunk-56MIYBFB.mjs → chunk-BXLCN3BG.mjs} +1 -1
- package/dist/{chunk-OFWGUF5J.js → chunk-C7OPIIWO.js} +5 -5
- package/dist/{chunk-CV3MVGM5.mjs → chunk-E6ZR7YGL.mjs} +1 -1
- package/dist/{chunk-2XCN4ZZY.mjs → chunk-GZTNBOQX.mjs} +1 -1
- package/dist/{chunk-4JHRPIAI.mjs → chunk-HPJ6ZKU2.mjs} +1 -1
- package/dist/{chunk-GNIGDMSD.js → chunk-JN3MLPGY.js} +2 -2
- package/dist/{chunk-AUCEBVHL.js → chunk-MGZUT45D.js} +2 -2
- package/dist/{chunk-3B4UHGT2.js → chunk-OP5YAHP3.js} +2 -2
- package/dist/{chunk-FUB25V7L.mjs → chunk-P52D75ZB.mjs} +1 -1
- package/dist/{chunk-OSIIC47G.mjs → chunk-U34F6LC2.mjs} +1 -1
- package/dist/{chunk-HGFZEBRF.js → chunk-YPL7SPOE.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 +7 -7
- package/dist/{generators-Cf-nGItq.d.mts → generators-C1_XT3qk.d.mts} +1 -1
- package/dist/{generators-DltbTTJ2.d.ts → generators-CIhk3saj.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 +2 -2
- package/dist/index.d.mts +2 -2
- package/dist/index.d.ts +2 -2
- package/dist/index.js +9 -9
- package/dist/index.mjs +8 -8
- 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 +2 -2
- 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 +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 +3 -3
- 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 +3 -3
- 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 +3 -3
- 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 +3 -3
- 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 +3 -3
- 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 +2 -2
- package/dist/{types-PmpUoA3H.d.mts → types-D7IMa2M3.d.mts} +20 -2
- package/dist/{types-PmpUoA3H.d.ts → types-D7IMa2M3.d.ts} +20 -2
- package/package.json +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -2,6 +2,13 @@
|
|
|
2
2
|
|
|
3
3
|
# Changelog for Storm Ops - Pulumi Tools
|
|
4
4
|
|
|
5
|
+
## [0.7.40](https://github.com/storm-software/storm-ops/releases/tag/pulumi-tools%400.7.40) (2025-04-04)
|
|
6
|
+
|
|
7
|
+
### Miscellaneous
|
|
8
|
+
|
|
9
|
+
- **monorepo:** Regenerate README markdown files
|
|
10
|
+
([30c679ec1](https://github.com/storm-software/storm-ops/commit/30c679ec1))
|
|
11
|
+
|
|
5
12
|
## [0.7.39](https://github.com/storm-software/storm-ops/releases/tag/pulumi-tools%400.7.39) (2025-04-02)
|
|
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 -->
|
|
@@ -182,6 +182,10 @@ var WorkspaceDirectoryConfigSchema = z.object({
|
|
|
182
182
|
log: z.string().trim().optional().describe("The directory used to store the environment's temp files"),
|
|
183
183
|
build: z.string().trim().default("dist").describe("The directory used to store the workspace's distributable files after a build (relative to the workspace root)")
|
|
184
184
|
}).describe("Various directories used by the workspace to store data, cache, and configuration files");
|
|
185
|
+
var errorConfigSchema = z.object({
|
|
186
|
+
codesFile: z.string().trim().default(STORM_DEFAULT_RELEASE_BANNER).describe("The path to the workspace's error codes JSON file"),
|
|
187
|
+
url: z.string().trim().url().optional().describe("A URL to a page that looks up the workspace's error messages given a specific error code")
|
|
188
|
+
}).describe("The workspace's error config used during the error process");
|
|
185
189
|
var stormWorkspaceConfigSchema = z.object({
|
|
186
190
|
$schema: z.string().trim().default("https://cdn.jsdelivr.net/npm/@storm-software/config/schemas/storm-workspace.schema.json").optional().nullish().describe("The URL to the JSON schema file that describes the Storm configuration file"),
|
|
187
191
|
extends: ExtendsSchema.optional(),
|
|
@@ -200,6 +204,7 @@ var stormWorkspaceConfigSchema = z.object({
|
|
|
200
204
|
bot: WorkspaceBotConfigSchema,
|
|
201
205
|
release: WorkspaceReleaseConfigSchema,
|
|
202
206
|
account: WorkspaceAccountConfigSchema,
|
|
207
|
+
error: errorConfigSchema,
|
|
203
208
|
mode: z.enum([
|
|
204
209
|
"development",
|
|
205
210
|
"staging",
|
|
@@ -537,7 +542,10 @@ var getDefaultConfig = /* @__PURE__ */ __name(async (root) => {
|
|
|
537
542
|
license,
|
|
538
543
|
homepage,
|
|
539
544
|
docs: `${homepage || STORM_DEFAULT_HOMEPAGE}/docs`,
|
|
540
|
-
licensing: `${homepage || STORM_DEFAULT_HOMEPAGE}/license
|
|
545
|
+
licensing: `${homepage || STORM_DEFAULT_HOMEPAGE}/license`,
|
|
546
|
+
error: {
|
|
547
|
+
url: `${homepage || STORM_DEFAULT_HOMEPAGE}/errors`
|
|
548
|
+
}
|
|
541
549
|
};
|
|
542
550
|
}, "getDefaultConfig");
|
|
543
551
|
|
|
@@ -902,6 +910,10 @@ var getConfigEnv = /* @__PURE__ */ __name(() => {
|
|
|
902
910
|
header: process.env[`${prefix}RELEASE_HEADER`] || void 0,
|
|
903
911
|
footer: process.env[`${prefix}RELEASE_FOOTER`] || void 0
|
|
904
912
|
},
|
|
913
|
+
error: {
|
|
914
|
+
codesFile: process.env[`${prefix}ERROR_CODES_FILE`] || void 0,
|
|
915
|
+
url: process.env[`${prefix}ERROR_URL`] || void 0
|
|
916
|
+
},
|
|
905
917
|
account: {
|
|
906
918
|
twitter: process.env[`${prefix}ACCOUNT_TWITTER`] || void 0,
|
|
907
919
|
discord: process.env[`${prefix}ACCOUNT_DISCORD`] || void 0,
|
|
@@ -1075,6 +1087,10 @@ var setConfigEnv = /* @__PURE__ */ __name((config) => {
|
|
|
1075
1087
|
process.env[`${prefix}BOT_NAME`] = config.bot.name;
|
|
1076
1088
|
process.env[`${prefix}BOT_EMAIL`] = config.bot.email;
|
|
1077
1089
|
}
|
|
1090
|
+
if (config.error) {
|
|
1091
|
+
process.env[`${prefix}ERROR_CODES_FILE`] = config.error.codesFile;
|
|
1092
|
+
process.env[`${prefix}ERROR_URL`] = config.error.url;
|
|
1093
|
+
}
|
|
1078
1094
|
if (config.release) {
|
|
1079
1095
|
process.env[`${prefix}RELEASE_BANNER`] = config.release.banner;
|
|
1080
1096
|
process.env[`${prefix}RELEASE_HEADER`] = config.release.header;
|
|
@@ -1205,7 +1221,7 @@ var setConfigEnv = /* @__PURE__ */ __name((config) => {
|
|
|
1205
1221
|
process.env[`${prefix}REGISTRY_CYCLONE`] = String(config.registry.cyclone);
|
|
1206
1222
|
}
|
|
1207
1223
|
if (config.registry.container) {
|
|
1208
|
-
process.env[`${prefix}REGISTRY_CONTAINER`] = String(config.registry.
|
|
1224
|
+
process.env[`${prefix}REGISTRY_CONTAINER`] = String(config.registry.container);
|
|
1209
1225
|
}
|
|
1210
1226
|
}
|
|
1211
1227
|
if (config.logLevel) {
|
|
@@ -2025,10 +2041,9 @@ var getEntryPoints = /* @__PURE__ */ __name(async (config, projectRoot, sourceRo
|
|
|
2025
2041
|
return ret;
|
|
2026
2042
|
}, []));
|
|
2027
2043
|
} else {
|
|
2028
|
-
|
|
2029
|
-
|
|
2030
|
-
|
|
2031
|
-
paths.push(result);
|
|
2044
|
+
writeDebug(`Trying to add entry point ${entryPoint}"`, config);
|
|
2045
|
+
if (!paths.includes(entryPoint)) {
|
|
2046
|
+
paths.push(entryPoint);
|
|
2032
2047
|
}
|
|
2033
2048
|
}
|
|
2034
2049
|
return paths;
|
|
@@ -2772,7 +2787,7 @@ var resolveOptions = /* @__PURE__ */ __name(async (userOptions) => {
|
|
|
2772
2787
|
...userOptions,
|
|
2773
2788
|
tsconfig: joinPaths(projectRoot, userOptions.tsconfig ? userOptions.tsconfig.replace(projectRoot, "") : "tsconfig.json"),
|
|
2774
2789
|
format: options.format || "cjs",
|
|
2775
|
-
entryPoints: await getEntryPoints(config, projectRoot, projectJson.sourceRoot, userOptions.entry ?? "./src/index.ts",
|
|
2790
|
+
entryPoints: await getEntryPoints(config, projectRoot, projectJson.sourceRoot, userOptions.entry ?? "./src/index.ts", false),
|
|
2776
2791
|
outdir: userOptions.outputPath || joinPaths("dist", projectRoot),
|
|
2777
2792
|
distDir: userOptions.distDir || "dist",
|
|
2778
2793
|
plugins: [],
|
|
@@ -2787,7 +2802,6 @@ var resolveOptions = /* @__PURE__ */ __name(async (userOptions) => {
|
|
|
2787
2802
|
metafile: userOptions.metafile !== false,
|
|
2788
2803
|
generatePackageJson: userOptions.generatePackageJson !== false,
|
|
2789
2804
|
clean: userOptions.clean !== false,
|
|
2790
|
-
emitOnAll: userOptions.emitOnAll === true,
|
|
2791
2805
|
assets: userOptions.assets ?? [],
|
|
2792
2806
|
injectShims: userOptions.injectShims !== true,
|
|
2793
2807
|
bundle: userOptions.bundle !== false,
|
|
@@ -2864,7 +2878,7 @@ async function generatePackageJson(context2) {
|
|
|
2864
2878
|
if (Array.isArray(context2.options.entryPoints)) {
|
|
2865
2879
|
entryPoints = context2.options.entryPoints.map((entryPoint) => typeof entryPoint === "string" ? {
|
|
2866
2880
|
in: entryPoint,
|
|
2867
|
-
out: entryPoint
|
|
2881
|
+
out: correctPaths(entryPoint.replaceAll(correctPaths(context2.options.config.workspaceRoot), "").replaceAll(correctPaths(context2.options.projectRoot), ""))
|
|
2868
2882
|
} : entryPoint);
|
|
2869
2883
|
}
|
|
2870
2884
|
for (const entryPoint of entryPoints) {
|
|
@@ -2935,7 +2949,6 @@ async function executeEsBuild(context2) {
|
|
|
2935
2949
|
delete options.clean;
|
|
2936
2950
|
delete options.debug;
|
|
2937
2951
|
delete options.generatePackageJson;
|
|
2938
|
-
delete options.emitOnAll;
|
|
2939
2952
|
delete options.distDir;
|
|
2940
2953
|
delete options.includeSrc;
|
|
2941
2954
|
delete options.verbose;
|
|
@@ -2948,7 +2961,10 @@ async function executeEsBuild(context2) {
|
|
|
2948
2961
|
delete options.injectShims;
|
|
2949
2962
|
delete options.external;
|
|
2950
2963
|
writeTrace(`Run esbuild (${context2.options.name}) with the following options:
|
|
2951
|
-
${formatLogMessage(
|
|
2964
|
+
${formatLogMessage({
|
|
2965
|
+
...options,
|
|
2966
|
+
define: "<Hidden>"
|
|
2967
|
+
})}`, context2.options.config);
|
|
2952
2968
|
const result = await esbuild2.build(options);
|
|
2953
2969
|
await esbuild2.stop();
|
|
2954
2970
|
if (result.metafile) {
|
|
@@ -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 _chunk7JEKW6KYjs = require('./chunk-7JEKW6KY.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 _chunk7JEKW6KYjs.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
|
+
_chunk7JEKW6KYjs.run.call(void 0, config, [
|
|
22
22
|
"pulumi",
|
|
23
23
|
command,
|
|
24
24
|
...argsMapper(options)
|
|
@@ -181,6 +181,10 @@ var WorkspaceDirectoryConfigSchema = _zod2.default.object({
|
|
|
181
181
|
log: _zod2.default.string().trim().optional().describe("The directory used to store the environment's temp files"),
|
|
182
182
|
build: _zod2.default.string().trim().default("dist").describe("The directory used to store the workspace's distributable files after a build (relative to the workspace root)")
|
|
183
183
|
}).describe("Various directories used by the workspace to store data, cache, and configuration files");
|
|
184
|
+
var errorConfigSchema = _zod2.default.object({
|
|
185
|
+
codesFile: _zod2.default.string().trim().default(STORM_DEFAULT_RELEASE_BANNER).describe("The path to the workspace's error codes JSON file"),
|
|
186
|
+
url: _zod2.default.string().trim().url().optional().describe("A URL to a page that looks up the workspace's error messages given a specific error code")
|
|
187
|
+
}).describe("The workspace's error config used during the error process");
|
|
184
188
|
var stormWorkspaceConfigSchema = _zod2.default.object({
|
|
185
189
|
$schema: _zod2.default.string().trim().default("https://cdn.jsdelivr.net/npm/@storm-software/config/schemas/storm-workspace.schema.json").optional().nullish().describe("The URL to the JSON schema file that describes the Storm configuration file"),
|
|
186
190
|
extends: ExtendsSchema.optional(),
|
|
@@ -199,6 +203,7 @@ var stormWorkspaceConfigSchema = _zod2.default.object({
|
|
|
199
203
|
bot: WorkspaceBotConfigSchema,
|
|
200
204
|
release: WorkspaceReleaseConfigSchema,
|
|
201
205
|
account: WorkspaceAccountConfigSchema,
|
|
206
|
+
error: errorConfigSchema,
|
|
202
207
|
mode: _zod2.default.enum([
|
|
203
208
|
"development",
|
|
204
209
|
"staging",
|
|
@@ -536,7 +541,10 @@ var getDefaultConfig = /* @__PURE__ */ _chunk3GQAWCBQjs.__name.call(void 0, asyn
|
|
|
536
541
|
license,
|
|
537
542
|
homepage,
|
|
538
543
|
docs: `${homepage || STORM_DEFAULT_HOMEPAGE}/docs`,
|
|
539
|
-
licensing: `${homepage || STORM_DEFAULT_HOMEPAGE}/license
|
|
544
|
+
licensing: `${homepage || STORM_DEFAULT_HOMEPAGE}/license`,
|
|
545
|
+
error: {
|
|
546
|
+
url: `${homepage || STORM_DEFAULT_HOMEPAGE}/errors`
|
|
547
|
+
}
|
|
540
548
|
};
|
|
541
549
|
}, "getDefaultConfig");
|
|
542
550
|
|
|
@@ -901,6 +909,10 @@ var getConfigEnv = /* @__PURE__ */ _chunk3GQAWCBQjs.__name.call(void 0, () => {
|
|
|
901
909
|
header: process.env[`${prefix}RELEASE_HEADER`] || void 0,
|
|
902
910
|
footer: process.env[`${prefix}RELEASE_FOOTER`] || void 0
|
|
903
911
|
},
|
|
912
|
+
error: {
|
|
913
|
+
codesFile: process.env[`${prefix}ERROR_CODES_FILE`] || void 0,
|
|
914
|
+
url: process.env[`${prefix}ERROR_URL`] || void 0
|
|
915
|
+
},
|
|
904
916
|
account: {
|
|
905
917
|
twitter: process.env[`${prefix}ACCOUNT_TWITTER`] || void 0,
|
|
906
918
|
discord: process.env[`${prefix}ACCOUNT_DISCORD`] || void 0,
|
|
@@ -1074,6 +1086,10 @@ var setConfigEnv = /* @__PURE__ */ _chunk3GQAWCBQjs.__name.call(void 0, (config)
|
|
|
1074
1086
|
process.env[`${prefix}BOT_NAME`] = config.bot.name;
|
|
1075
1087
|
process.env[`${prefix}BOT_EMAIL`] = config.bot.email;
|
|
1076
1088
|
}
|
|
1089
|
+
if (config.error) {
|
|
1090
|
+
process.env[`${prefix}ERROR_CODES_FILE`] = config.error.codesFile;
|
|
1091
|
+
process.env[`${prefix}ERROR_URL`] = config.error.url;
|
|
1092
|
+
}
|
|
1077
1093
|
if (config.release) {
|
|
1078
1094
|
process.env[`${prefix}RELEASE_BANNER`] = config.release.banner;
|
|
1079
1095
|
process.env[`${prefix}RELEASE_HEADER`] = config.release.header;
|
|
@@ -1204,7 +1220,7 @@ var setConfigEnv = /* @__PURE__ */ _chunk3GQAWCBQjs.__name.call(void 0, (config)
|
|
|
1204
1220
|
process.env[`${prefix}REGISTRY_CYCLONE`] = String(config.registry.cyclone);
|
|
1205
1221
|
}
|
|
1206
1222
|
if (config.registry.container) {
|
|
1207
|
-
process.env[`${prefix}REGISTRY_CONTAINER`] = String(config.registry.
|
|
1223
|
+
process.env[`${prefix}REGISTRY_CONTAINER`] = String(config.registry.container);
|
|
1208
1224
|
}
|
|
1209
1225
|
}
|
|
1210
1226
|
if (config.logLevel) {
|
|
@@ -2024,10 +2040,9 @@ var getEntryPoints = /* @__PURE__ */ _chunk3GQAWCBQjs.__name.call(void 0, async
|
|
|
2024
2040
|
return ret;
|
|
2025
2041
|
}, []));
|
|
2026
2042
|
} else {
|
|
2027
|
-
|
|
2028
|
-
|
|
2029
|
-
|
|
2030
|
-
paths.push(result);
|
|
2043
|
+
writeDebug(`Trying to add entry point ${entryPoint}"`, config);
|
|
2044
|
+
if (!paths.includes(entryPoint)) {
|
|
2045
|
+
paths.push(entryPoint);
|
|
2031
2046
|
}
|
|
2032
2047
|
}
|
|
2033
2048
|
return paths;
|
|
@@ -2771,7 +2786,7 @@ var resolveOptions = /* @__PURE__ */ _chunk3GQAWCBQjs.__name.call(void 0, async
|
|
|
2771
2786
|
...userOptions,
|
|
2772
2787
|
tsconfig: joinPaths(projectRoot, userOptions.tsconfig ? userOptions.tsconfig.replace(projectRoot, "") : "tsconfig.json"),
|
|
2773
2788
|
format: options.format || "cjs",
|
|
2774
|
-
entryPoints: await getEntryPoints(config, projectRoot, projectJson.sourceRoot, _nullishCoalesce(userOptions.entry, () => ( "./src/index.ts")),
|
|
2789
|
+
entryPoints: await getEntryPoints(config, projectRoot, projectJson.sourceRoot, _nullishCoalesce(userOptions.entry, () => ( "./src/index.ts")), false),
|
|
2775
2790
|
outdir: userOptions.outputPath || joinPaths("dist", projectRoot),
|
|
2776
2791
|
distDir: userOptions.distDir || "dist",
|
|
2777
2792
|
plugins: [],
|
|
@@ -2786,7 +2801,6 @@ var resolveOptions = /* @__PURE__ */ _chunk3GQAWCBQjs.__name.call(void 0, async
|
|
|
2786
2801
|
metafile: userOptions.metafile !== false,
|
|
2787
2802
|
generatePackageJson: userOptions.generatePackageJson !== false,
|
|
2788
2803
|
clean: userOptions.clean !== false,
|
|
2789
|
-
emitOnAll: userOptions.emitOnAll === true,
|
|
2790
2804
|
assets: _nullishCoalesce(userOptions.assets, () => ( [])),
|
|
2791
2805
|
injectShims: userOptions.injectShims !== true,
|
|
2792
2806
|
bundle: userOptions.bundle !== false,
|
|
@@ -2863,7 +2877,7 @@ async function generatePackageJson(context2) {
|
|
|
2863
2877
|
if (Array.isArray(context2.options.entryPoints)) {
|
|
2864
2878
|
entryPoints = context2.options.entryPoints.map((entryPoint) => typeof entryPoint === "string" ? {
|
|
2865
2879
|
in: entryPoint,
|
|
2866
|
-
out: entryPoint
|
|
2880
|
+
out: correctPaths(entryPoint.replaceAll(correctPaths(context2.options.config.workspaceRoot), "").replaceAll(correctPaths(context2.options.projectRoot), ""))
|
|
2867
2881
|
} : entryPoint);
|
|
2868
2882
|
}
|
|
2869
2883
|
for (const entryPoint of entryPoints) {
|
|
@@ -2934,7 +2948,6 @@ async function executeEsBuild(context2) {
|
|
|
2934
2948
|
delete options.clean;
|
|
2935
2949
|
delete options.debug;
|
|
2936
2950
|
delete options.generatePackageJson;
|
|
2937
|
-
delete options.emitOnAll;
|
|
2938
2951
|
delete options.distDir;
|
|
2939
2952
|
delete options.includeSrc;
|
|
2940
2953
|
delete options.verbose;
|
|
@@ -2947,7 +2960,10 @@ async function executeEsBuild(context2) {
|
|
|
2947
2960
|
delete options.injectShims;
|
|
2948
2961
|
delete options.external;
|
|
2949
2962
|
writeTrace(`Run esbuild (${context2.options.name}) with the following options:
|
|
2950
|
-
${formatLogMessage(
|
|
2963
|
+
${formatLogMessage({
|
|
2964
|
+
...options,
|
|
2965
|
+
define: "<Hidden>"
|
|
2966
|
+
})}`, context2.options.config);
|
|
2951
2967
|
const result = await esbuild2.build(options);
|
|
2952
2968
|
await esbuild2.stop();
|
|
2953
2969
|
if (result.metafile) {
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
"use strict";Object.defineProperty(exports, "__esModule", {value: true});
|
|
2
2
|
|
|
3
|
-
var
|
|
3
|
+
var _chunk7IJFV2U7js = require('./chunk-7IJFV2U7.js');
|
|
4
4
|
|
|
5
5
|
// src/executors/up/executor.ts
|
|
6
|
-
var executor_default =
|
|
6
|
+
var executor_default = _chunk7IJFV2U7js.withPulumiExecutor.call(void 0, "up", (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 _chunk7JEKW6KYjs = require('./chunk-7JEKW6KY.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 = _chunk7JEKW6KYjs.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 = _chunk7JEKW6KYjs.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
|
+
_chunk7JEKW6KYjs.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
|
+
_chunk7JEKW6KYjs.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", {
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
"use strict";Object.defineProperty(exports, "__esModule", {value: true});
|
|
2
2
|
|
|
3
|
-
var
|
|
3
|
+
var _chunk7IJFV2U7js = require('./chunk-7IJFV2U7.js');
|
|
4
4
|
|
|
5
5
|
// src/executors/config/executor.ts
|
|
6
|
-
var executor_default =
|
|
6
|
+
var executor_default = _chunk7IJFV2U7js.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 _chunk7IJFV2U7js = require('./chunk-7IJFV2U7.js');
|
|
4
4
|
|
|
5
5
|
// src/executors/import/executor.ts
|
|
6
|
-
var executor_default =
|
|
6
|
+
var executor_default = _chunk7IJFV2U7js.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 _chunk7IJFV2U7js = require('./chunk-7IJFV2U7.js');
|
|
4
4
|
|
|
5
5
|
// src/executors/refresh/executor.ts
|
|
6
|
-
var executor_default =
|
|
6
|
+
var executor_default = _chunk7IJFV2U7js.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 _chunk7IJFV2U7js = require('./chunk-7IJFV2U7.js');
|
|
4
4
|
|
|
5
5
|
// src/executors/preview/executor.ts
|
|
6
|
-
var executor_default =
|
|
6
|
+
var executor_default = _chunk7IJFV2U7js.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-D7IMa2M3.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-D7IMa2M3.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-MGZUT45D.js');
|
|
3
|
+
require('./chunk-YPL7SPOE.js');
|
|
4
|
+
require('./chunk-B4VAZ4GA.js');
|
|
5
|
+
require('./chunk-OP5YAHP3.js');
|
|
6
|
+
require('./chunk-JN3MLPGY.js');
|
|
7
|
+
require('./chunk-7IJFV2U7.js');
|
|
8
|
+
require('./chunk-7JEKW6KY.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-
|
|
2
|
+
import "./chunk-ADEKKRTN.mjs";
|
|
3
|
+
import "./chunk-U34F6LC2.mjs";
|
|
4
|
+
import "./chunk-P52D75ZB.mjs";
|
|
5
|
+
import "./chunk-HPJ6ZKU2.mjs";
|
|
6
|
+
import "./chunk-E6ZR7YGL.mjs";
|
|
7
|
+
import "./chunk-BXLCN3BG.mjs";
|
|
8
|
+
import "./chunk-4HYQNBDU.mjs";
|
|
9
9
|
import "./chunk-2BPV2XV2.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-D7IMa2M3.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-D7IMa2M3.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-C1_XT3qk.mjs';
|
|
2
2
|
import '@storm-software/workspace-tools';
|
|
3
3
|
import '@nx/devkit';
|
|
4
|
-
import './types-
|
|
4
|
+
import './types-D7IMa2M3.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-CIhk3saj.js';
|
|
2
2
|
import '@storm-software/workspace-tools';
|
|
3
3
|
import '@nx/devkit';
|
|
4
|
-
import './types-
|
|
4
|
+
import './types-D7IMa2M3.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 _chunkC7OPIIWOjs = require('./chunk-C7OPIIWO.js');
|
|
5
5
|
require('./chunk-DBLK3NPE.js');
|
|
6
|
-
require('./chunk-
|
|
6
|
+
require('./chunk-7JEKW6KY.js');
|
|
7
7
|
require('./chunk-3GQAWCBQ.js');
|
|
8
8
|
|
|
9
9
|
|
|
10
|
-
exports.initGeneratorFn =
|
|
10
|
+
exports.initGeneratorFn = _chunkC7OPIIWOjs.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-GZTNBOQX.mjs";
|
|
5
5
|
import "./chunk-UF7ZCXHA.mjs";
|
|
6
|
-
import "./chunk-
|
|
6
|
+
import "./chunk-4HYQNBDU.mjs";
|
|
7
7
|
import "./chunk-2BPV2XV2.mjs";
|
|
8
8
|
export {
|
|
9
9
|
initGeneratorFn
|
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-C1_XT3qk.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-D7IMa2M3.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-CIhk3saj.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-D7IMa2M3.js';
|
|
12
12
|
import 'zod';
|