@powerlines/plugin-pulumi 0.2.232 → 0.2.234

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.
@@ -0,0 +1,29 @@
1
+ //#region rolldown:runtime
2
+ var __create = Object.create;
3
+ var __defProp = Object.defineProperty;
4
+ var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
5
+ var __getOwnPropNames = Object.getOwnPropertyNames;
6
+ var __getProtoOf = Object.getPrototypeOf;
7
+ var __hasOwnProp = Object.prototype.hasOwnProperty;
8
+ var __copyProps = (to, from, except, desc) => {
9
+ if (from && typeof from === "object" || typeof from === "function") {
10
+ for (var keys = __getOwnPropNames(from), i = 0, n = keys.length, key; i < n; i++) {
11
+ key = keys[i];
12
+ if (!__hasOwnProp.call(to, key) && key !== except) {
13
+ __defProp(to, key, {
14
+ get: ((k) => from[k]).bind(null, key),
15
+ enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable
16
+ });
17
+ }
18
+ }
19
+ }
20
+ return to;
21
+ };
22
+ var __toESM = (mod, isNodeMode, target) => (target = mod != null ? __create(__getProtoOf(mod)) : {}, __copyProps(isNodeMode || !mod || !mod.__esModule ? __defProp(target, "default", {
23
+ value: mod,
24
+ enumerable: true
25
+ }) : target, mod));
26
+
27
+ //#endregion
28
+
29
+ exports.__toESM = __toESM;
package/dist/index.cjs CHANGED
@@ -1,39 +1,11 @@
1
1
  Object.defineProperty(exports, '__esModule', { value: true });
2
- //#region rolldown:runtime
3
- var __create = Object.create;
4
- var __defProp = Object.defineProperty;
5
- var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
6
- var __getOwnPropNames = Object.getOwnPropertyNames;
7
- var __getProtoOf = Object.getPrototypeOf;
8
- var __hasOwnProp = Object.prototype.hasOwnProperty;
9
- var __copyProps = (to, from, except, desc) => {
10
- if (from && typeof from === "object" || typeof from === "function") {
11
- for (var keys = __getOwnPropNames(from), i = 0, n = keys.length, key; i < n; i++) {
12
- key = keys[i];
13
- if (!__hasOwnProp.call(to, key) && key !== except) {
14
- __defProp(to, key, {
15
- get: ((k) => from[k]).bind(null, key),
16
- enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable
17
- });
18
- }
19
- }
20
- }
21
- return to;
22
- };
23
- var __toESM = (mod, isNodeMode, target) => (target = mod != null ? __create(__getProtoOf(mod)) : {}, __copyProps(isNodeMode || !mod || !mod.__esModule ? __defProp(target, "default", {
24
- value: mod,
25
- enumerable: true
26
- }) : target, mod));
27
-
28
- //#endregion
29
- require('./plugin-DHXHjv16.cjs');
30
- require('./types-DHkg7xmX.cjs');
2
+ const require_rolldown_runtime = require('./_virtual/rolldown_runtime.cjs');
31
3
  let __pulumi_pulumi_automation = require("@pulumi/pulumi/automation");
32
4
  let __stryke_helpers_index = require("@stryke/helpers/index");
33
5
  let __stryke_path_join = require("@stryke/path/join");
34
6
  let __stryke_string_format_kebab_case = require("@stryke/string-format/kebab-case");
35
7
  let defu = require("defu");
36
- defu = __toESM(defu);
8
+ defu = require_rolldown_runtime.__toESM(defu);
37
9
  let powerlines_plugin_utils_context_helpers = require("powerlines/plugin-utils/context-helpers");
38
10
 
39
11
  //#region src/index.ts
package/dist/index.d.cts CHANGED
@@ -1,5 +1,5 @@
1
- import { S as __ΩPulumiPluginUserConfig, _ as __ΩPulumiPluginDeployConfig, a as PulumiPluginCreateStackOptions, b as __ΩPulumiPluginResolvedConfig, c as PulumiPluginOptions, d as PulumiPluginUserConfig, f as __ΩPulumiPluginBaseOptions, g as __ΩPulumiPluginCreateStackOptions, h as __ΩPulumiPluginCreateStackLocalOptions, i as PulumiPluginCreateStackLocalOptions, l as PulumiPluginResolvedConfig, m as __ΩPulumiPluginCreateStackInlineOptions, n as PulumiPluginContext, o as PulumiPluginDeployConfig, p as __ΩPulumiPluginContext, r as PulumiPluginCreateStackInlineOptions, s as PulumiPluginExistingStackOptions, t as PulumiPluginBaseOptions, u as PulumiPluginResolvedOptions, v as __ΩPulumiPluginExistingStackOptions, x as __ΩPulumiPluginResolvedOptions, y as __ΩPulumiPluginOptions } from "./plugin-DyI30iSE.cjs";
2
- import "./index-CEgs-Dz2.cjs";
1
+ import { PulumiPluginBaseOptions, PulumiPluginContext, PulumiPluginCreateStackInlineOptions, PulumiPluginCreateStackLocalOptions, PulumiPluginCreateStackOptions, PulumiPluginDeployConfig, PulumiPluginExistingStackOptions, PulumiPluginOptions, PulumiPluginResolvedConfig, PulumiPluginResolvedOptions, PulumiPluginUserConfig, __ΩPulumiPluginBaseOptions, __ΩPulumiPluginContext, __ΩPulumiPluginCreateStackInlineOptions, __ΩPulumiPluginCreateStackLocalOptions, __ΩPulumiPluginCreateStackOptions, __ΩPulumiPluginDeployConfig, __ΩPulumiPluginExistingStackOptions, __ΩPulumiPluginOptions, __ΩPulumiPluginResolvedConfig, __ΩPulumiPluginResolvedOptions, __ΩPulumiPluginUserConfig } from "./types/plugin.cjs";
2
+ import "./types/index.cjs";
3
3
  import { Plugin } from "powerlines/types/plugin";
4
4
 
5
5
  //#region src/index.d.ts
package/dist/index.d.mts CHANGED
@@ -1,5 +1,5 @@
1
- import { S as __ΩPulumiPluginUserConfig, _ as __ΩPulumiPluginDeployConfig, a as PulumiPluginCreateStackOptions, b as __ΩPulumiPluginResolvedConfig, c as PulumiPluginOptions, d as PulumiPluginUserConfig, f as __ΩPulumiPluginBaseOptions, g as __ΩPulumiPluginCreateStackOptions, h as __ΩPulumiPluginCreateStackLocalOptions, i as PulumiPluginCreateStackLocalOptions, l as PulumiPluginResolvedConfig, m as __ΩPulumiPluginCreateStackInlineOptions, n as PulumiPluginContext, o as PulumiPluginDeployConfig, p as __ΩPulumiPluginContext, r as PulumiPluginCreateStackInlineOptions, s as PulumiPluginExistingStackOptions, t as PulumiPluginBaseOptions, u as PulumiPluginResolvedOptions, v as __ΩPulumiPluginExistingStackOptions, x as __ΩPulumiPluginResolvedOptions, y as __ΩPulumiPluginOptions } from "./plugin-teJHUXxt.mjs";
2
- import "./index-BgAdqTbb.mjs";
1
+ import { PulumiPluginBaseOptions, PulumiPluginContext, PulumiPluginCreateStackInlineOptions, PulumiPluginCreateStackLocalOptions, PulumiPluginCreateStackOptions, PulumiPluginDeployConfig, PulumiPluginExistingStackOptions, PulumiPluginOptions, PulumiPluginResolvedConfig, PulumiPluginResolvedOptions, PulumiPluginUserConfig, __ΩPulumiPluginBaseOptions, __ΩPulumiPluginContext, __ΩPulumiPluginCreateStackInlineOptions, __ΩPulumiPluginCreateStackLocalOptions, __ΩPulumiPluginCreateStackOptions, __ΩPulumiPluginDeployConfig, __ΩPulumiPluginExistingStackOptions, __ΩPulumiPluginOptions, __ΩPulumiPluginResolvedConfig, __ΩPulumiPluginResolvedOptions, __ΩPulumiPluginUserConfig } from "./types/plugin.mjs";
2
+ import "./types/index.mjs";
3
3
  import { Plugin } from "powerlines/types/plugin";
4
4
 
5
5
  //#region src/index.d.ts
package/dist/index.mjs CHANGED
@@ -1,5 +1,3 @@
1
- import "./plugin-C3MaN5jp.mjs";
2
- import "./types-CTUnla4x.mjs";
3
1
  import { LocalWorkspace, fullyQualifiedStackName } from "@pulumi/pulumi/automation";
4
2
  import { omit } from "@stryke/helpers/index";
5
3
  import { joinPaths } from "@stryke/path/join";
@@ -1 +1 @@
1
- {"version":3,"file":"index.mjs","names":[],"sources":["../src/index.ts"],"sourcesContent":["/* -------------------------------------------------------------------\n\n ⚡ Storm Software - Powerlines\n\n This code was released as part of the Powerlines project. Powerlines\n is maintained by Storm Software under the Apache-2.0 license, and is\n free for commercial and private use. For more information, please visit\n our licensing page at https://stormsoftware.com/licenses/projects/powerlines.\n\n Website: https://stormsoftware.com\n Repository: https://github.com/storm-software/powerlines\n Documentation: https://docs.stormsoftware.com/projects/powerlines\n Contact: https://stormsoftware.com/contact\n\n SPDX-License-Identifier: Apache-2.0\n\n ------------------------------------------------------------------- */\n\nimport {\n fullyQualifiedStackName,\n LocalWorkspace\n} from \"@pulumi/pulumi/automation\";\nimport { omit } from \"@stryke/helpers/index\";\nimport { joinPaths } from \"@stryke/path/join\";\nimport { kebabCase } from \"@stryke/string-format/kebab-case\";\nimport defu from \"defu\";\nimport {\n getOrganizationName,\n getWorkspaceName\n} from \"powerlines/plugin-utils/context-helpers\";\nimport { Plugin } from \"powerlines/types/plugin\";\nimport {\n PulumiPluginContext,\n PulumiPluginCreateStackInlineOptions,\n PulumiPluginCreateStackLocalOptions,\n PulumiPluginCreateStackOptions,\n PulumiPluginExistingStackOptions,\n PulumiPluginOptions\n} from \"./types/plugin\";\n\nexport * from \"./types\";\n\n/**\n * A package containing a Powerlines plugin to configure infrastructure and deploy a project using Pulumi IaC.\n *\n * @see https://www.pulumi.com\n *\n * @param options - The Pulumi plugin user configuration options.\n * @returns A Powerlines plugin to configure infrastructure and deploy a project using Pulumi.\n */\nexport const plugin = <\n TContext extends PulumiPluginContext = PulumiPluginContext\n>(\n options: PulumiPluginOptions = {}\n): Plugin<TContext> => {\n return {\n name: \"pulumi\",\n async config() {\n return {\n deploy: {\n pulumi: defu(options, {\n projectName: this.config.name,\n workDir: joinPaths(this.artifactsPath, \"infrastructure\"),\n settings: {}\n })\n }\n };\n },\n async configResolved() {\n if (!(options as PulumiPluginExistingStackOptions).stack) {\n (\n this.config.deploy.pulumi as PulumiPluginCreateStackOptions\n ).stackName ??= fullyQualifiedStackName(\n kebabCase(getOrganizationName(this) || \"default\"),\n `${\n getWorkspaceName(this)\n ? `${kebabCase(getWorkspaceName(this))}-`\n : \"\"\n }${kebabCase(this.config.name)}`,\n this.config.mode\n );\n }\n },\n deploy: {\n order: \"post\",\n async handler() {\n this.info(\n `Deploying Pulumi stack: ${\n (this.config.deploy.pulumi as PulumiPluginExistingStackOptions)\n .stack?.name ||\n (this.config.deploy.pulumi as PulumiPluginCreateStackOptions)\n .stackName\n }`\n );\n\n if (\n (!(options as PulumiPluginExistingStackOptions).stack &&\n !(options as PulumiPluginCreateStackInlineOptions).program &&\n !(options as PulumiPluginCreateStackInlineOptions).projectName) ||\n !(options as PulumiPluginCreateStackLocalOptions).workDir\n ) {\n throw new Error(\n `Pulumi plugin requires either an inline program or a working directory to be specified.`\n );\n }\n\n let stack = (options as PulumiPluginExistingStackOptions).stack;\n stack ??= await LocalWorkspace.createOrSelectStack(\n omit(this.config.deploy.pulumi as PulumiPluginCreateStackOptions, [\n \"options\",\n \"settings\"\n ]) as Parameters<typeof LocalWorkspace.createOrSelectStack>[0]\n );\n\n if (\n this.config.deploy.pulumi.settings &&\n Object.keys(this.config.deploy.pulumi.settings).length > 0\n ) {\n await stack.workspace.saveStackSettings(\n stack.name,\n this.config.deploy.pulumi.settings\n );\n }\n\n await stack.refresh({ onOutput: this.debug.bind(this) });\n\n if (this.config.deploy.pulumi.destroy) {\n await stack.destroy({ onOutput: this.debug.bind(this) });\n }\n\n const result = await stack.up({\n onOutput: this.debug.bind(this)\n });\n\n this.info(\n `Successfully deployed ${stack.name} (v${result.summary.version}): ${result.summary.message}`\n );\n }\n }\n } as Plugin<TContext>;\n};\n\nexport default plugin;\n"],"mappings":";;;;;;;;;;;;;;;;;;AAkDA,MAAa,UAGX,UAA+B,EAAE,KACZ;AACrB,QAAO;EACL,MAAM;EACN,MAAM,SAAS;AACb,UAAO,EACL,QAAQ,EACN,QAAQ,KAAK,SAAS;IACpB,aAAa,KAAK,OAAO;IACzB,SAAS,UAAU,KAAK,eAAe,iBAAiB;IACxD,UAAU,EAAE;IACb,CAAC,EACH,EACF;;EAEH,MAAM,iBAAiB;AACrB,OAAI,CAAE,QAA6C,MACjD,CACE,KAAK,OAAO,OAAO,OACnB,cAAc,wBACd,UAAU,oBAAoB,KAAK,IAAI,UAAU,EACjD,GACE,iBAAiB,KAAK,GAClB,GAAG,UAAU,iBAAiB,KAAK,CAAC,CAAC,KACrC,KACH,UAAU,KAAK,OAAO,KAAK,IAC9B,KAAK,OAAO,KACb;;EAGL,QAAQ;GACN,OAAO;GACP,MAAM,UAAU;AACd,SAAK,KACH,2BACG,KAAK,OAAO,OAAO,OACjB,OAAO,QACT,KAAK,OAAO,OAAO,OACjB,YAEN;AAED,QACG,CAAE,QAA6C,SAC9C,CAAE,QAAiD,WACnD,CAAE,QAAiD,eACrD,CAAE,QAAgD,QAElD,OAAM,IAAI,MACR,0FACD;IAGH,IAAI,QAAS,QAA6C;AAC1D,cAAU,MAAM,eAAe,oBAC7B,KAAK,KAAK,OAAO,OAAO,QAA0C,CAChE,WACA,WACD,CAAC,CACH;AAED,QACE,KAAK,OAAO,OAAO,OAAO,YAC1B,OAAO,KAAK,KAAK,OAAO,OAAO,OAAO,SAAS,CAAC,SAAS,EAEzD,OAAM,MAAM,UAAU,kBACpB,MAAM,MACN,KAAK,OAAO,OAAO,OAAO,SAC3B;AAGH,UAAM,MAAM,QAAQ,EAAE,UAAU,KAAK,MAAM,KAAK,KAAK,EAAE,CAAC;AAExD,QAAI,KAAK,OAAO,OAAO,OAAO,QAC5B,OAAM,MAAM,QAAQ,EAAE,UAAU,KAAK,MAAM,KAAK,KAAK,EAAE,CAAC;IAG1D,MAAM,SAAS,MAAM,MAAM,GAAG,EAC5B,UAAU,KAAK,MAAM,KAAK,KAAK,EAChC,CAAC;AAEF,SAAK,KACH,yBAAyB,MAAM,KAAK,KAAK,OAAO,QAAQ,QAAQ,KAAK,OAAO,QAAQ,UACrF;;GAEJ;EACF;;AAGH,kBAAe"}
1
+ {"version":3,"file":"index.mjs","names":[],"sources":["../src/index.ts"],"sourcesContent":["/* -------------------------------------------------------------------\n\n ⚡ Storm Software - Powerlines\n\n This code was released as part of the Powerlines project. Powerlines\n is maintained by Storm Software under the Apache-2.0 license, and is\n free for commercial and private use. For more information, please visit\n our licensing page at https://stormsoftware.com/licenses/projects/powerlines.\n\n Website: https://stormsoftware.com\n Repository: https://github.com/storm-software/powerlines\n Documentation: https://docs.stormsoftware.com/projects/powerlines\n Contact: https://stormsoftware.com/contact\n\n SPDX-License-Identifier: Apache-2.0\n\n ------------------------------------------------------------------- */\n\nimport {\n fullyQualifiedStackName,\n LocalWorkspace\n} from \"@pulumi/pulumi/automation\";\nimport { omit } from \"@stryke/helpers/index\";\nimport { joinPaths } from \"@stryke/path/join\";\nimport { kebabCase } from \"@stryke/string-format/kebab-case\";\nimport defu from \"defu\";\nimport {\n getOrganizationName,\n getWorkspaceName\n} from \"powerlines/plugin-utils/context-helpers\";\nimport { Plugin } from \"powerlines/types/plugin\";\nimport {\n PulumiPluginContext,\n PulumiPluginCreateStackInlineOptions,\n PulumiPluginCreateStackLocalOptions,\n PulumiPluginCreateStackOptions,\n PulumiPluginExistingStackOptions,\n PulumiPluginOptions\n} from \"./types/plugin\";\n\nexport * from \"./types\";\n\n/**\n * A package containing a Powerlines plugin to configure infrastructure and deploy a project using Pulumi IaC.\n *\n * @see https://www.pulumi.com\n *\n * @param options - The Pulumi plugin user configuration options.\n * @returns A Powerlines plugin to configure infrastructure and deploy a project using Pulumi.\n */\nexport const plugin = <\n TContext extends PulumiPluginContext = PulumiPluginContext\n>(\n options: PulumiPluginOptions = {}\n): Plugin<TContext> => {\n return {\n name: \"pulumi\",\n async config() {\n return {\n deploy: {\n pulumi: defu(options, {\n projectName: this.config.name,\n workDir: joinPaths(this.artifactsPath, \"infrastructure\"),\n settings: {}\n })\n }\n };\n },\n async configResolved() {\n if (!(options as PulumiPluginExistingStackOptions).stack) {\n (\n this.config.deploy.pulumi as PulumiPluginCreateStackOptions\n ).stackName ??= fullyQualifiedStackName(\n kebabCase(getOrganizationName(this) || \"default\"),\n `${\n getWorkspaceName(this)\n ? `${kebabCase(getWorkspaceName(this))}-`\n : \"\"\n }${kebabCase(this.config.name)}`,\n this.config.mode\n );\n }\n },\n deploy: {\n order: \"post\",\n async handler() {\n this.info(\n `Deploying Pulumi stack: ${\n (this.config.deploy.pulumi as PulumiPluginExistingStackOptions)\n .stack?.name ||\n (this.config.deploy.pulumi as PulumiPluginCreateStackOptions)\n .stackName\n }`\n );\n\n if (\n (!(options as PulumiPluginExistingStackOptions).stack &&\n !(options as PulumiPluginCreateStackInlineOptions).program &&\n !(options as PulumiPluginCreateStackInlineOptions).projectName) ||\n !(options as PulumiPluginCreateStackLocalOptions).workDir\n ) {\n throw new Error(\n `Pulumi plugin requires either an inline program or a working directory to be specified.`\n );\n }\n\n let stack = (options as PulumiPluginExistingStackOptions).stack;\n stack ??= await LocalWorkspace.createOrSelectStack(\n omit(this.config.deploy.pulumi as PulumiPluginCreateStackOptions, [\n \"options\",\n \"settings\"\n ]) as Parameters<typeof LocalWorkspace.createOrSelectStack>[0]\n );\n\n if (\n this.config.deploy.pulumi.settings &&\n Object.keys(this.config.deploy.pulumi.settings).length > 0\n ) {\n await stack.workspace.saveStackSettings(\n stack.name,\n this.config.deploy.pulumi.settings\n );\n }\n\n await stack.refresh({ onOutput: this.debug.bind(this) });\n\n if (this.config.deploy.pulumi.destroy) {\n await stack.destroy({ onOutput: this.debug.bind(this) });\n }\n\n const result = await stack.up({\n onOutput: this.debug.bind(this)\n });\n\n this.info(\n `Successfully deployed ${stack.name} (v${result.summary.version}): ${result.summary.message}`\n );\n }\n }\n } as Plugin<TContext>;\n};\n\nexport default plugin;\n"],"mappings":";;;;;;;;;;;;;;;;AAkDA,MAAa,UAGX,UAA+B,EAAE,KACZ;AACrB,QAAO;EACL,MAAM;EACN,MAAM,SAAS;AACb,UAAO,EACL,QAAQ,EACN,QAAQ,KAAK,SAAS;IACpB,aAAa,KAAK,OAAO;IACzB,SAAS,UAAU,KAAK,eAAe,iBAAiB;IACxD,UAAU,EAAE;IACb,CAAC,EACH,EACF;;EAEH,MAAM,iBAAiB;AACrB,OAAI,CAAE,QAA6C,MACjD,CACE,KAAK,OAAO,OAAO,OACnB,cAAc,wBACd,UAAU,oBAAoB,KAAK,IAAI,UAAU,EACjD,GACE,iBAAiB,KAAK,GAClB,GAAG,UAAU,iBAAiB,KAAK,CAAC,CAAC,KACrC,KACH,UAAU,KAAK,OAAO,KAAK,IAC9B,KAAK,OAAO,KACb;;EAGL,QAAQ;GACN,OAAO;GACP,MAAM,UAAU;AACd,SAAK,KACH,2BACG,KAAK,OAAO,OAAO,OACjB,OAAO,QACT,KAAK,OAAO,OAAO,OACjB,YAEN;AAED,QACG,CAAE,QAA6C,SAC9C,CAAE,QAAiD,WACnD,CAAE,QAAiD,eACrD,CAAE,QAAgD,QAElD,OAAM,IAAI,MACR,0FACD;IAGH,IAAI,QAAS,QAA6C;AAC1D,cAAU,MAAM,eAAe,oBAC7B,KAAK,KAAK,OAAO,OAAO,QAA0C,CAChE,WACA,WACD,CAAC,CACH;AAED,QACE,KAAK,OAAO,OAAO,OAAO,YAC1B,OAAO,KAAK,KAAK,OAAO,OAAO,OAAO,SAAS,CAAC,SAAS,EAEzD,OAAM,MAAM,UAAU,kBACpB,MAAM,MACN,KAAK,OAAO,OAAO,OAAO,SAC3B;AAGH,UAAM,MAAM,QAAQ,EAAE,UAAU,KAAK,MAAM,KAAK,KAAK,EAAE,CAAC;AAExD,QAAI,KAAK,OAAO,OAAO,OAAO,QAC5B,OAAM,MAAM,QAAQ,EAAE,UAAU,KAAK,MAAM,KAAK,KAAK,EAAE,CAAC;IAG1D,MAAM,SAAS,MAAM,MAAM,GAAG,EAC5B,UAAU,KAAK,MAAM,KAAK,KAAK,EAChC,CAAC;AAEF,SAAK,KACH,yBAAyB,MAAM,KAAK,KAAK,OAAO,QAAQ,QAAQ,KAAK,OAAO,QAAQ,UACrF;;GAEJ;EACF;;AAGH,kBAAe"}
@@ -1,2 +0,0 @@
1
- require('../plugin-DHXHjv16.cjs');
2
- require('../types-DHkg7xmX.cjs');
@@ -1,3 +1,2 @@
1
- import { S as __ΩPulumiPluginUserConfig, _ as __ΩPulumiPluginDeployConfig, a as PulumiPluginCreateStackOptions, b as __ΩPulumiPluginResolvedConfig, c as PulumiPluginOptions, d as PulumiPluginUserConfig, f as __ΩPulumiPluginBaseOptions, g as __ΩPulumiPluginCreateStackOptions, h as __ΩPulumiPluginCreateStackLocalOptions, i as PulumiPluginCreateStackLocalOptions, l as PulumiPluginResolvedConfig, m as __ΩPulumiPluginCreateStackInlineOptions, n as PulumiPluginContext, o as PulumiPluginDeployConfig, p as __ΩPulumiPluginContext, r as PulumiPluginCreateStackInlineOptions, s as PulumiPluginExistingStackOptions, t as PulumiPluginBaseOptions, u as PulumiPluginResolvedOptions, v as __ΩPulumiPluginExistingStackOptions, x as __ΩPulumiPluginResolvedOptions, y as __ΩPulumiPluginOptions } from "../plugin-DyI30iSE.cjs";
2
- import "../index-CEgs-Dz2.cjs";
1
+ import { PulumiPluginBaseOptions, PulumiPluginContext, PulumiPluginCreateStackInlineOptions, PulumiPluginCreateStackLocalOptions, PulumiPluginCreateStackOptions, PulumiPluginDeployConfig, PulumiPluginExistingStackOptions, PulumiPluginOptions, PulumiPluginResolvedConfig, PulumiPluginResolvedOptions, PulumiPluginUserConfig, __ΩPulumiPluginBaseOptions, __ΩPulumiPluginContext, __ΩPulumiPluginCreateStackInlineOptions, __ΩPulumiPluginCreateStackLocalOptions, __ΩPulumiPluginCreateStackOptions, __ΩPulumiPluginDeployConfig, __ΩPulumiPluginExistingStackOptions, __ΩPulumiPluginOptions, __ΩPulumiPluginResolvedConfig, __ΩPulumiPluginResolvedOptions, __ΩPulumiPluginUserConfig } from "./plugin.cjs";
3
2
  export { PulumiPluginBaseOptions, PulumiPluginContext, PulumiPluginCreateStackInlineOptions, PulumiPluginCreateStackLocalOptions, PulumiPluginCreateStackOptions, PulumiPluginDeployConfig, PulumiPluginExistingStackOptions, PulumiPluginOptions, PulumiPluginResolvedConfig, PulumiPluginResolvedOptions, PulumiPluginUserConfig, __ΩPulumiPluginBaseOptions, __ΩPulumiPluginContext, __ΩPulumiPluginCreateStackInlineOptions, __ΩPulumiPluginCreateStackLocalOptions, __ΩPulumiPluginCreateStackOptions, __ΩPulumiPluginDeployConfig, __ΩPulumiPluginExistingStackOptions, __ΩPulumiPluginOptions, __ΩPulumiPluginResolvedConfig, __ΩPulumiPluginResolvedOptions, __ΩPulumiPluginUserConfig };
@@ -1,3 +1,2 @@
1
- import { S as __ΩPulumiPluginUserConfig, _ as __ΩPulumiPluginDeployConfig, a as PulumiPluginCreateStackOptions, b as __ΩPulumiPluginResolvedConfig, c as PulumiPluginOptions, d as PulumiPluginUserConfig, f as __ΩPulumiPluginBaseOptions, g as __ΩPulumiPluginCreateStackOptions, h as __ΩPulumiPluginCreateStackLocalOptions, i as PulumiPluginCreateStackLocalOptions, l as PulumiPluginResolvedConfig, m as __ΩPulumiPluginCreateStackInlineOptions, n as PulumiPluginContext, o as PulumiPluginDeployConfig, p as __ΩPulumiPluginContext, r as PulumiPluginCreateStackInlineOptions, s as PulumiPluginExistingStackOptions, t as PulumiPluginBaseOptions, u as PulumiPluginResolvedOptions, v as __ΩPulumiPluginExistingStackOptions, x as __ΩPulumiPluginResolvedOptions, y as __ΩPulumiPluginOptions } from "../plugin-teJHUXxt.mjs";
2
- import "../index-BgAdqTbb.mjs";
1
+ import { PulumiPluginBaseOptions, PulumiPluginContext, PulumiPluginCreateStackInlineOptions, PulumiPluginCreateStackLocalOptions, PulumiPluginCreateStackOptions, PulumiPluginDeployConfig, PulumiPluginExistingStackOptions, PulumiPluginOptions, PulumiPluginResolvedConfig, PulumiPluginResolvedOptions, PulumiPluginUserConfig, __ΩPulumiPluginBaseOptions, __ΩPulumiPluginContext, __ΩPulumiPluginCreateStackInlineOptions, __ΩPulumiPluginCreateStackLocalOptions, __ΩPulumiPluginCreateStackOptions, __ΩPulumiPluginDeployConfig, __ΩPulumiPluginExistingStackOptions, __ΩPulumiPluginOptions, __ΩPulumiPluginResolvedConfig, __ΩPulumiPluginResolvedOptions, __ΩPulumiPluginUserConfig } from "./plugin.mjs";
3
2
  export { PulumiPluginBaseOptions, PulumiPluginContext, PulumiPluginCreateStackInlineOptions, PulumiPluginCreateStackLocalOptions, PulumiPluginCreateStackOptions, PulumiPluginDeployConfig, PulumiPluginExistingStackOptions, PulumiPluginOptions, PulumiPluginResolvedConfig, PulumiPluginResolvedOptions, PulumiPluginUserConfig, __ΩPulumiPluginBaseOptions, __ΩPulumiPluginContext, __ΩPulumiPluginCreateStackInlineOptions, __ΩPulumiPluginCreateStackLocalOptions, __ΩPulumiPluginCreateStackOptions, __ΩPulumiPluginDeployConfig, __ΩPulumiPluginExistingStackOptions, __ΩPulumiPluginOptions, __ΩPulumiPluginResolvedConfig, __ΩPulumiPluginResolvedOptions, __ΩPulumiPluginUserConfig };
@@ -1,4 +1 @@
1
- import "../plugin-C3MaN5jp.mjs";
2
- import "../types-CTUnla4x.mjs";
3
-
4
1
  export { };
@@ -1 +0,0 @@
1
- require('../plugin-DHXHjv16.cjs');
@@ -1,2 +1,84 @@
1
- import { S as __ΩPulumiPluginUserConfig, _ as __ΩPulumiPluginDeployConfig, a as PulumiPluginCreateStackOptions, b as __ΩPulumiPluginResolvedConfig, c as PulumiPluginOptions, d as PulumiPluginUserConfig, f as __ΩPulumiPluginBaseOptions, g as __ΩPulumiPluginCreateStackOptions, h as __ΩPulumiPluginCreateStackLocalOptions, i as PulumiPluginCreateStackLocalOptions, l as PulumiPluginResolvedConfig, m as __ΩPulumiPluginCreateStackInlineOptions, n as PulumiPluginContext, o as PulumiPluginDeployConfig, p as __ΩPulumiPluginContext, r as PulumiPluginCreateStackInlineOptions, s as PulumiPluginExistingStackOptions, t as PulumiPluginBaseOptions, u as PulumiPluginResolvedOptions, v as __ΩPulumiPluginExistingStackOptions, x as __ΩPulumiPluginResolvedOptions, y as __ΩPulumiPluginOptions } from "../plugin-DyI30iSE.cjs";
2
- export { PulumiPluginBaseOptions, PulumiPluginContext, PulumiPluginCreateStackInlineOptions, PulumiPluginCreateStackLocalOptions, PulumiPluginCreateStackOptions, PulumiPluginDeployConfig, PulumiPluginExistingStackOptions, PulumiPluginOptions, PulumiPluginResolvedConfig, PulumiPluginResolvedOptions, PulumiPluginUserConfig, __ΩPulumiPluginBaseOptions, __ΩPulumiPluginContext, __ΩPulumiPluginCreateStackInlineOptions, __ΩPulumiPluginCreateStackLocalOptions, __ΩPulumiPluginCreateStackOptions, __ΩPulumiPluginDeployConfig, __ΩPulumiPluginExistingStackOptions, __ΩPulumiPluginOptions, __ΩPulumiPluginResolvedConfig, __ΩPulumiPluginResolvedOptions, __ΩPulumiPluginUserConfig };
1
+ import { LocalWorkspaceOptions, PulumiFn, Stack, StackSettings } from "@pulumi/pulumi/automation";
2
+ import { DeployConfig, UserConfig } from "powerlines/types/config";
3
+ import { PluginContext } from "powerlines/types/context";
4
+ import { ResolvedConfig } from "powerlines/types/resolved";
5
+
6
+ //#region src/types/plugin.d.ts
7
+ interface PulumiPluginBaseOptions {
8
+ /**
9
+ * Whether to destroy the stack during the `destroy` lifecycle phase.
10
+ *
11
+ * @defaultValue false
12
+ */
13
+ destroy?: boolean;
14
+ /**
15
+ * Additional stack settings.
16
+ */
17
+ settings?: StackSettings;
18
+ }
19
+ interface PulumiPluginExistingStackOptions extends PulumiPluginBaseOptions {
20
+ /**
21
+ * The Pulumi Stack instance to use for deployment operations.
22
+ */
23
+ stack?: Stack;
24
+ }
25
+ interface PulumiPluginCreateStackOptions extends PulumiPluginBaseOptions {
26
+ /**
27
+ * The associated stack name.
28
+ */
29
+ stackName?: string;
30
+ /**
31
+ * Additional options for the Pulumi Workspace.
32
+ */
33
+ options?: LocalWorkspaceOptions;
34
+ }
35
+ interface PulumiPluginExistingStackOptions {
36
+ /**
37
+ * The Pulumi Stack instance to use for deployment operations.
38
+ */
39
+ stack?: Stack;
40
+ }
41
+ interface PulumiPluginCreateStackInlineOptions extends PulumiPluginCreateStackOptions {
42
+ /**
43
+ * The associated project name.
44
+ */
45
+ projectName?: string;
46
+ /**
47
+ * The inline (in-process) Pulumi program to use with update and preview operations.
48
+ */
49
+ program?: PulumiFn;
50
+ }
51
+ interface PulumiPluginCreateStackLocalOptions extends PulumiPluginCreateStackOptions {
52
+ /**
53
+ * The working directory of the program.
54
+ *
55
+ * @defaultValue "\{artifactsPath\}/infrastructure"
56
+ */
57
+ workDir?: string;
58
+ }
59
+ type PulumiPluginOptions = PulumiPluginExistingStackOptions | PulumiPluginCreateStackInlineOptions | PulumiPluginCreateStackLocalOptions;
60
+ type PulumiPluginResolvedOptions = (Omit<PulumiPluginExistingStackOptions, "stack"> & Required<Pick<PulumiPluginExistingStackOptions, "stack">>) | (Omit<PulumiPluginCreateStackInlineOptions, "stackName" | "projectName" | "program"> & Required<Pick<PulumiPluginCreateStackInlineOptions, "stackName" | "projectName" | "program">>) | (Omit<PulumiPluginCreateStackLocalOptions, "stackName" | "workDir"> & Required<Pick<PulumiPluginCreateStackLocalOptions, "stackName" | "workDir">>);
61
+ interface PulumiPluginDeployConfig extends DeployConfig {
62
+ pulumi: PulumiPluginOptions;
63
+ }
64
+ interface PulumiPluginUserConfig extends UserConfig {
65
+ deploy: PulumiPluginDeployConfig;
66
+ }
67
+ interface PulumiPluginResolvedConfig extends ResolvedConfig {
68
+ deploy: PulumiPluginDeployConfig;
69
+ }
70
+ type PulumiPluginContext<TResolvedConfig extends PulumiPluginResolvedConfig = PulumiPluginResolvedConfig> = PluginContext<TResolvedConfig>;
71
+ declare type __ΩPulumiPluginBaseOptions = any[];
72
+ declare type __ΩPulumiPluginExistingStackOptions = any[];
73
+ declare type __ΩPulumiPluginCreateStackOptions = any[];
74
+ declare type __ΩPulumiPluginCreateStackInlineOptions = any[];
75
+ declare type __ΩPulumiPluginCreateStackLocalOptions = any[];
76
+ declare type __ΩPulumiPluginOptions = any[];
77
+ declare type __ΩPulumiPluginResolvedOptions = any[];
78
+ declare type __ΩPulumiPluginDeployConfig = any[];
79
+ declare type __ΩPulumiPluginUserConfig = any[];
80
+ declare type __ΩPulumiPluginResolvedConfig = any[];
81
+ declare type __ΩPulumiPluginContext = any[];
82
+ //#endregion
83
+ export { PulumiPluginBaseOptions, PulumiPluginContext, PulumiPluginCreateStackInlineOptions, PulumiPluginCreateStackLocalOptions, PulumiPluginCreateStackOptions, PulumiPluginDeployConfig, PulumiPluginExistingStackOptions, PulumiPluginOptions, PulumiPluginResolvedConfig, PulumiPluginResolvedOptions, PulumiPluginUserConfig, __ΩPulumiPluginBaseOptions, __ΩPulumiPluginContext, __ΩPulumiPluginCreateStackInlineOptions, __ΩPulumiPluginCreateStackLocalOptions, __ΩPulumiPluginCreateStackOptions, __ΩPulumiPluginDeployConfig, __ΩPulumiPluginExistingStackOptions, __ΩPulumiPluginOptions, __ΩPulumiPluginResolvedConfig, __ΩPulumiPluginResolvedOptions, __ΩPulumiPluginUserConfig };
84
+ //# sourceMappingURL=plugin.d.cts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"plugin.d.cts","names":[],"sources":["../../src/types/plugin.ts"],"sourcesContent":[],"mappings":";;;;;;UA4BiB,uBAAA;;AAAjB;AAcA;AAOA;AAYA;EAOiB,OAAA,CAAA,EAAA,OAAA;EAYA;AASjB;;EAEI,QAAA,CAAA,EApDS,aAoDT;;AACmC,UAlDtB,gCAAA,SAAyC,uBAkDnB,CAAA;EAE3B;;;EAEQ,KAAA,CAAA,EAlDV,KAkDU;;AAAd,UA/CW,8BAAA,SAAuC,uBA+ClD,CAAA;EAEA;;;EAIE,SAAA,CAAA,EAAA,MAAA;EADF;;;EAQO,OAAA,CAAA,EAnDD,qBAmDC;;AADP,UA/CW,gCAAA,CA+CX;EAAQ;AAId;AAIA;EAIiB,KAAA,CAAA,EAvDP,KAuDO;AAIjB;AAC0B,UAzDT,oCAAA,SAA6C,8BAyDpC,CAAA;EACtB;;;EACa,WAAA,CAAA,EAAA,MAAA;;;;YAlDL;;UAGK,mCAAA,SAA4C;;;;;;;;KASjD,mBAAA,GACR,mCACA,uCACA;KAEQ,2BAAA,IACP,KAAK,6CACJ,SAAS,KAAK,gDACf,KACC,iFAGA,SACE,KACE,oFAIL,KAAK,gEACJ,SACE,KAAK;UAGI,wBAAA,SAAiC;UACxC;;UAGO,sBAAA,SAA+B;UACtC;;UAGO,0BAAA,SAAmC;UAC1C;;KAGE,4CACc,6BACtB,8BACA,cAAc"}
@@ -1,2 +1,84 @@
1
- import { S as __ΩPulumiPluginUserConfig, _ as __ΩPulumiPluginDeployConfig, a as PulumiPluginCreateStackOptions, b as __ΩPulumiPluginResolvedConfig, c as PulumiPluginOptions, d as PulumiPluginUserConfig, f as __ΩPulumiPluginBaseOptions, g as __ΩPulumiPluginCreateStackOptions, h as __ΩPulumiPluginCreateStackLocalOptions, i as PulumiPluginCreateStackLocalOptions, l as PulumiPluginResolvedConfig, m as __ΩPulumiPluginCreateStackInlineOptions, n as PulumiPluginContext, o as PulumiPluginDeployConfig, p as __ΩPulumiPluginContext, r as PulumiPluginCreateStackInlineOptions, s as PulumiPluginExistingStackOptions, t as PulumiPluginBaseOptions, u as PulumiPluginResolvedOptions, v as __ΩPulumiPluginExistingStackOptions, x as __ΩPulumiPluginResolvedOptions, y as __ΩPulumiPluginOptions } from "../plugin-teJHUXxt.mjs";
2
- export { PulumiPluginBaseOptions, PulumiPluginContext, PulumiPluginCreateStackInlineOptions, PulumiPluginCreateStackLocalOptions, PulumiPluginCreateStackOptions, PulumiPluginDeployConfig, PulumiPluginExistingStackOptions, PulumiPluginOptions, PulumiPluginResolvedConfig, PulumiPluginResolvedOptions, PulumiPluginUserConfig, __ΩPulumiPluginBaseOptions, __ΩPulumiPluginContext, __ΩPulumiPluginCreateStackInlineOptions, __ΩPulumiPluginCreateStackLocalOptions, __ΩPulumiPluginCreateStackOptions, __ΩPulumiPluginDeployConfig, __ΩPulumiPluginExistingStackOptions, __ΩPulumiPluginOptions, __ΩPulumiPluginResolvedConfig, __ΩPulumiPluginResolvedOptions, __ΩPulumiPluginUserConfig };
1
+ import { LocalWorkspaceOptions, PulumiFn, Stack, StackSettings } from "@pulumi/pulumi/automation";
2
+ import { DeployConfig, UserConfig } from "powerlines/types/config";
3
+ import { PluginContext } from "powerlines/types/context";
4
+ import { ResolvedConfig } from "powerlines/types/resolved";
5
+
6
+ //#region src/types/plugin.d.ts
7
+ interface PulumiPluginBaseOptions {
8
+ /**
9
+ * Whether to destroy the stack during the `destroy` lifecycle phase.
10
+ *
11
+ * @defaultValue false
12
+ */
13
+ destroy?: boolean;
14
+ /**
15
+ * Additional stack settings.
16
+ */
17
+ settings?: StackSettings;
18
+ }
19
+ interface PulumiPluginExistingStackOptions extends PulumiPluginBaseOptions {
20
+ /**
21
+ * The Pulumi Stack instance to use for deployment operations.
22
+ */
23
+ stack?: Stack;
24
+ }
25
+ interface PulumiPluginCreateStackOptions extends PulumiPluginBaseOptions {
26
+ /**
27
+ * The associated stack name.
28
+ */
29
+ stackName?: string;
30
+ /**
31
+ * Additional options for the Pulumi Workspace.
32
+ */
33
+ options?: LocalWorkspaceOptions;
34
+ }
35
+ interface PulumiPluginExistingStackOptions {
36
+ /**
37
+ * The Pulumi Stack instance to use for deployment operations.
38
+ */
39
+ stack?: Stack;
40
+ }
41
+ interface PulumiPluginCreateStackInlineOptions extends PulumiPluginCreateStackOptions {
42
+ /**
43
+ * The associated project name.
44
+ */
45
+ projectName?: string;
46
+ /**
47
+ * The inline (in-process) Pulumi program to use with update and preview operations.
48
+ */
49
+ program?: PulumiFn;
50
+ }
51
+ interface PulumiPluginCreateStackLocalOptions extends PulumiPluginCreateStackOptions {
52
+ /**
53
+ * The working directory of the program.
54
+ *
55
+ * @defaultValue "\{artifactsPath\}/infrastructure"
56
+ */
57
+ workDir?: string;
58
+ }
59
+ type PulumiPluginOptions = PulumiPluginExistingStackOptions | PulumiPluginCreateStackInlineOptions | PulumiPluginCreateStackLocalOptions;
60
+ type PulumiPluginResolvedOptions = (Omit<PulumiPluginExistingStackOptions, "stack"> & Required<Pick<PulumiPluginExistingStackOptions, "stack">>) | (Omit<PulumiPluginCreateStackInlineOptions, "stackName" | "projectName" | "program"> & Required<Pick<PulumiPluginCreateStackInlineOptions, "stackName" | "projectName" | "program">>) | (Omit<PulumiPluginCreateStackLocalOptions, "stackName" | "workDir"> & Required<Pick<PulumiPluginCreateStackLocalOptions, "stackName" | "workDir">>);
61
+ interface PulumiPluginDeployConfig extends DeployConfig {
62
+ pulumi: PulumiPluginOptions;
63
+ }
64
+ interface PulumiPluginUserConfig extends UserConfig {
65
+ deploy: PulumiPluginDeployConfig;
66
+ }
67
+ interface PulumiPluginResolvedConfig extends ResolvedConfig {
68
+ deploy: PulumiPluginDeployConfig;
69
+ }
70
+ type PulumiPluginContext<TResolvedConfig extends PulumiPluginResolvedConfig = PulumiPluginResolvedConfig> = PluginContext<TResolvedConfig>;
71
+ declare type __ΩPulumiPluginBaseOptions = any[];
72
+ declare type __ΩPulumiPluginExistingStackOptions = any[];
73
+ declare type __ΩPulumiPluginCreateStackOptions = any[];
74
+ declare type __ΩPulumiPluginCreateStackInlineOptions = any[];
75
+ declare type __ΩPulumiPluginCreateStackLocalOptions = any[];
76
+ declare type __ΩPulumiPluginOptions = any[];
77
+ declare type __ΩPulumiPluginResolvedOptions = any[];
78
+ declare type __ΩPulumiPluginDeployConfig = any[];
79
+ declare type __ΩPulumiPluginUserConfig = any[];
80
+ declare type __ΩPulumiPluginResolvedConfig = any[];
81
+ declare type __ΩPulumiPluginContext = any[];
82
+ //#endregion
83
+ export { PulumiPluginBaseOptions, PulumiPluginContext, PulumiPluginCreateStackInlineOptions, PulumiPluginCreateStackLocalOptions, PulumiPluginCreateStackOptions, PulumiPluginDeployConfig, PulumiPluginExistingStackOptions, PulumiPluginOptions, PulumiPluginResolvedConfig, PulumiPluginResolvedOptions, PulumiPluginUserConfig, __ΩPulumiPluginBaseOptions, __ΩPulumiPluginContext, __ΩPulumiPluginCreateStackInlineOptions, __ΩPulumiPluginCreateStackLocalOptions, __ΩPulumiPluginCreateStackOptions, __ΩPulumiPluginDeployConfig, __ΩPulumiPluginExistingStackOptions, __ΩPulumiPluginOptions, __ΩPulumiPluginResolvedConfig, __ΩPulumiPluginResolvedOptions, __ΩPulumiPluginUserConfig };
84
+ //# sourceMappingURL=plugin.d.mts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"plugin.d.mts","names":[],"sources":["../../src/types/plugin.ts"],"sourcesContent":[],"mappings":";;;;;;UA4BiB,uBAAA;;AAAjB;AAcA;AAOA;AAYA;EAOiB,OAAA,CAAA,EAAA,OAAA;EAYA;AASjB;;EAEI,QAAA,CAAA,EApDS,aAoDT;;AACmC,UAlDtB,gCAAA,SAAyC,uBAkDnB,CAAA;EAE3B;;;EAEQ,KAAA,CAAA,EAlDV,KAkDU;;AAAd,UA/CW,8BAAA,SAAuC,uBA+ClD,CAAA;EAEA;;;EAIE,SAAA,CAAA,EAAA,MAAA;EADF;;;EAQO,OAAA,CAAA,EAnDD,qBAmDC;;AADP,UA/CW,gCAAA,CA+CX;EAAQ;AAId;AAIA;EAIiB,KAAA,CAAA,EAvDP,KAuDO;AAIjB;AAC0B,UAzDT,oCAAA,SAA6C,8BAyDpC,CAAA;EACtB;;;EACa,WAAA,CAAA,EAAA,MAAA;;;;YAlDL;;UAGK,mCAAA,SAA4C;;;;;;;;KASjD,mBAAA,GACR,mCACA,uCACA;KAEQ,2BAAA,IACP,KAAK,6CACJ,SAAS,KAAK,gDACf,KACC,iFAGA,SACE,KACE,oFAIL,KAAK,gEACJ,SACE,KAAK;UAGI,wBAAA,SAAiC;UACxC;;UAGO,sBAAA,SAA+B;UACtC;;UAGO,0BAAA,SAAmC;UAC1C;;KAGE,4CACc,6BACtB,8BACA,cAAc"}
@@ -1,3 +1 @@
1
- import "../plugin-C3MaN5jp.mjs";
2
-
3
1
  export { };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@powerlines/plugin-pulumi",
3
- "version": "0.2.232",
3
+ "version": "0.2.234",
4
4
  "type": "module",
5
5
  "description": "A Powerlines plugin to transform source code to be platform agnostic using pulumi.",
6
6
  "repository": {
@@ -90,21 +90,21 @@
90
90
  "keywords": ["pulumi", "powerlines", "storm-software", "powerlines-plugin"],
91
91
  "dependencies": {
92
92
  "@pulumi/pulumi": "^3.218.0",
93
- "@stryke/fs": "^0.33.39",
94
- "@stryke/helpers": "^0.9.39",
95
- "@stryke/path": "^0.26.3",
96
- "@stryke/string-format": "^0.13.6",
97
- "@stryke/type-checks": "^0.5.22",
98
- "@stryke/types": "^0.10.36",
93
+ "@stryke/fs": "^0.33.40",
94
+ "@stryke/helpers": "^0.9.40",
95
+ "@stryke/path": "^0.26.4",
96
+ "@stryke/string-format": "^0.13.7",
97
+ "@stryke/type-checks": "^0.5.23",
98
+ "@stryke/types": "^0.10.37",
99
99
  "defu": "^6.1.4",
100
- "powerlines": "^0.38.19",
100
+ "powerlines": "^0.38.21",
101
101
  "typescript": "^5.9.3"
102
102
  },
103
103
  "devDependencies": {
104
- "@powerlines/plugin-plugin": "^0.12.203",
104
+ "@powerlines/plugin-plugin": "^0.12.205",
105
105
  "@types/node": "^24.10.9"
106
106
  },
107
107
  "publishConfig": { "access": "public" },
108
108
  "types": "./dist/index.d.cts",
109
- "gitHead": "ed4d8044dcb6e1de7843b3908424bb0a7e636620"
109
+ "gitHead": "6000a15bf3fbc1b7eaaf967088c68eef9949786a"
110
110
  }
@@ -1 +0,0 @@
1
- export { };
@@ -1 +0,0 @@
1
- export { };
@@ -1 +0,0 @@
1
- export { };
File without changes
@@ -1,84 +0,0 @@
1
- import { LocalWorkspaceOptions, PulumiFn, Stack, StackSettings } from "@pulumi/pulumi/automation";
2
- import { DeployConfig, UserConfig } from "powerlines/types/config";
3
- import { PluginContext } from "powerlines/types/context";
4
- import { ResolvedConfig } from "powerlines/types/resolved";
5
-
6
- //#region src/types/plugin.d.ts
7
- interface PulumiPluginBaseOptions {
8
- /**
9
- * Whether to destroy the stack during the `destroy` lifecycle phase.
10
- *
11
- * @defaultValue false
12
- */
13
- destroy?: boolean;
14
- /**
15
- * Additional stack settings.
16
- */
17
- settings?: StackSettings;
18
- }
19
- interface PulumiPluginExistingStackOptions extends PulumiPluginBaseOptions {
20
- /**
21
- * The Pulumi Stack instance to use for deployment operations.
22
- */
23
- stack?: Stack;
24
- }
25
- interface PulumiPluginCreateStackOptions extends PulumiPluginBaseOptions {
26
- /**
27
- * The associated stack name.
28
- */
29
- stackName?: string;
30
- /**
31
- * Additional options for the Pulumi Workspace.
32
- */
33
- options?: LocalWorkspaceOptions;
34
- }
35
- interface PulumiPluginExistingStackOptions {
36
- /**
37
- * The Pulumi Stack instance to use for deployment operations.
38
- */
39
- stack?: Stack;
40
- }
41
- interface PulumiPluginCreateStackInlineOptions extends PulumiPluginCreateStackOptions {
42
- /**
43
- * The associated project name.
44
- */
45
- projectName?: string;
46
- /**
47
- * The inline (in-process) Pulumi program to use with update and preview operations.
48
- */
49
- program?: PulumiFn;
50
- }
51
- interface PulumiPluginCreateStackLocalOptions extends PulumiPluginCreateStackOptions {
52
- /**
53
- * The working directory of the program.
54
- *
55
- * @defaultValue "\{artifactsPath\}/infrastructure"
56
- */
57
- workDir?: string;
58
- }
59
- type PulumiPluginOptions = PulumiPluginExistingStackOptions | PulumiPluginCreateStackInlineOptions | PulumiPluginCreateStackLocalOptions;
60
- type PulumiPluginResolvedOptions = (Omit<PulumiPluginExistingStackOptions, "stack"> & Required<Pick<PulumiPluginExistingStackOptions, "stack">>) | (Omit<PulumiPluginCreateStackInlineOptions, "stackName" | "projectName" | "program"> & Required<Pick<PulumiPluginCreateStackInlineOptions, "stackName" | "projectName" | "program">>) | (Omit<PulumiPluginCreateStackLocalOptions, "stackName" | "workDir"> & Required<Pick<PulumiPluginCreateStackLocalOptions, "stackName" | "workDir">>);
61
- interface PulumiPluginDeployConfig extends DeployConfig {
62
- pulumi: PulumiPluginOptions;
63
- }
64
- interface PulumiPluginUserConfig extends UserConfig {
65
- deploy: PulumiPluginDeployConfig;
66
- }
67
- interface PulumiPluginResolvedConfig extends ResolvedConfig {
68
- deploy: PulumiPluginDeployConfig;
69
- }
70
- type PulumiPluginContext<TResolvedConfig extends PulumiPluginResolvedConfig = PulumiPluginResolvedConfig> = PluginContext<TResolvedConfig>;
71
- declare type __ΩPulumiPluginBaseOptions = any[];
72
- declare type __ΩPulumiPluginExistingStackOptions = any[];
73
- declare type __ΩPulumiPluginCreateStackOptions = any[];
74
- declare type __ΩPulumiPluginCreateStackInlineOptions = any[];
75
- declare type __ΩPulumiPluginCreateStackLocalOptions = any[];
76
- declare type __ΩPulumiPluginOptions = any[];
77
- declare type __ΩPulumiPluginResolvedOptions = any[];
78
- declare type __ΩPulumiPluginDeployConfig = any[];
79
- declare type __ΩPulumiPluginUserConfig = any[];
80
- declare type __ΩPulumiPluginResolvedConfig = any[];
81
- declare type __ΩPulumiPluginContext = any[];
82
- //#endregion
83
- export { __ΩPulumiPluginUserConfig as S, __ΩPulumiPluginDeployConfig as _, PulumiPluginCreateStackOptions as a, __ΩPulumiPluginResolvedConfig as b, PulumiPluginOptions as c, PulumiPluginUserConfig as d, __ΩPulumiPluginBaseOptions as f, __ΩPulumiPluginCreateStackOptions as g, __ΩPulumiPluginCreateStackLocalOptions as h, PulumiPluginCreateStackLocalOptions as i, PulumiPluginResolvedConfig as l, __ΩPulumiPluginCreateStackInlineOptions as m, PulumiPluginContext as n, PulumiPluginDeployConfig as o, __ΩPulumiPluginContext as p, PulumiPluginCreateStackInlineOptions as r, PulumiPluginExistingStackOptions as s, PulumiPluginBaseOptions as t, PulumiPluginResolvedOptions as u, __ΩPulumiPluginExistingStackOptions as v, __ΩPulumiPluginResolvedOptions as x, __ΩPulumiPluginOptions as y };
84
- //# sourceMappingURL=plugin-DyI30iSE.d.cts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"plugin-DyI30iSE.d.cts","names":[],"sources":["../src/types/plugin.ts"],"sourcesContent":[],"mappings":";;;;;;UA4BiB,uBAAA;;AAAjB;AAcA;AAOA;AAYA;EAOiB,OAAA,CAAA,EAAA,OAAA;EAYA;AASjB;;EAEI,QAAA,CAAA,EApDS,aAoDT;;AACmC,UAlDtB,gCAAA,SAAyC,uBAkDnB,CAAA;EAE3B;;;EAEQ,KAAA,CAAA,EAlDV,KAkDU;;AAAd,UA/CW,8BAAA,SAAuC,uBA+ClD,CAAA;EAEA;;;EAIE,SAAA,CAAA,EAAA,MAAA;EADF;;;EAQO,OAAA,CAAA,EAnDD,qBAmDC;;AADP,UA/CW,gCAAA,CA+CX;EAAQ;AAId;AAIA;EAIiB,KAAA,CAAA,EAvDP,KAuDO;AAIjB;AAC0B,UAzDT,oCAAA,SAA6C,8BAyDpC,CAAA;EACtB;;;EACa,WAAA,CAAA,EAAA,MAAA;;;;YAlDL;;UAGK,mCAAA,SAA4C;;;;;;;;KASjD,mBAAA,GACR,mCACA,uCACA;KAEQ,2BAAA,IACP,KAAK,6CACJ,SAAS,KAAK,gDACf,KACC,iFAGA,SACE,KACE,oFAIL,KAAK,gEACJ,SACE,KAAK;UAGI,wBAAA,SAAiC;UACxC;;UAGO,sBAAA,SAA+B;UACtC;;UAGO,0BAAA,SAAmC;UAC1C;;KAGE,4CACc,6BACtB,8BACA,cAAc"}
@@ -1,84 +0,0 @@
1
- import { LocalWorkspaceOptions, PulumiFn, Stack, StackSettings } from "@pulumi/pulumi/automation";
2
- import { DeployConfig, UserConfig } from "powerlines/types/config";
3
- import { PluginContext } from "powerlines/types/context";
4
- import { ResolvedConfig } from "powerlines/types/resolved";
5
-
6
- //#region src/types/plugin.d.ts
7
- interface PulumiPluginBaseOptions {
8
- /**
9
- * Whether to destroy the stack during the `destroy` lifecycle phase.
10
- *
11
- * @defaultValue false
12
- */
13
- destroy?: boolean;
14
- /**
15
- * Additional stack settings.
16
- */
17
- settings?: StackSettings;
18
- }
19
- interface PulumiPluginExistingStackOptions extends PulumiPluginBaseOptions {
20
- /**
21
- * The Pulumi Stack instance to use for deployment operations.
22
- */
23
- stack?: Stack;
24
- }
25
- interface PulumiPluginCreateStackOptions extends PulumiPluginBaseOptions {
26
- /**
27
- * The associated stack name.
28
- */
29
- stackName?: string;
30
- /**
31
- * Additional options for the Pulumi Workspace.
32
- */
33
- options?: LocalWorkspaceOptions;
34
- }
35
- interface PulumiPluginExistingStackOptions {
36
- /**
37
- * The Pulumi Stack instance to use for deployment operations.
38
- */
39
- stack?: Stack;
40
- }
41
- interface PulumiPluginCreateStackInlineOptions extends PulumiPluginCreateStackOptions {
42
- /**
43
- * The associated project name.
44
- */
45
- projectName?: string;
46
- /**
47
- * The inline (in-process) Pulumi program to use with update and preview operations.
48
- */
49
- program?: PulumiFn;
50
- }
51
- interface PulumiPluginCreateStackLocalOptions extends PulumiPluginCreateStackOptions {
52
- /**
53
- * The working directory of the program.
54
- *
55
- * @defaultValue "\{artifactsPath\}/infrastructure"
56
- */
57
- workDir?: string;
58
- }
59
- type PulumiPluginOptions = PulumiPluginExistingStackOptions | PulumiPluginCreateStackInlineOptions | PulumiPluginCreateStackLocalOptions;
60
- type PulumiPluginResolvedOptions = (Omit<PulumiPluginExistingStackOptions, "stack"> & Required<Pick<PulumiPluginExistingStackOptions, "stack">>) | (Omit<PulumiPluginCreateStackInlineOptions, "stackName" | "projectName" | "program"> & Required<Pick<PulumiPluginCreateStackInlineOptions, "stackName" | "projectName" | "program">>) | (Omit<PulumiPluginCreateStackLocalOptions, "stackName" | "workDir"> & Required<Pick<PulumiPluginCreateStackLocalOptions, "stackName" | "workDir">>);
61
- interface PulumiPluginDeployConfig extends DeployConfig {
62
- pulumi: PulumiPluginOptions;
63
- }
64
- interface PulumiPluginUserConfig extends UserConfig {
65
- deploy: PulumiPluginDeployConfig;
66
- }
67
- interface PulumiPluginResolvedConfig extends ResolvedConfig {
68
- deploy: PulumiPluginDeployConfig;
69
- }
70
- type PulumiPluginContext<TResolvedConfig extends PulumiPluginResolvedConfig = PulumiPluginResolvedConfig> = PluginContext<TResolvedConfig>;
71
- declare type __ΩPulumiPluginBaseOptions = any[];
72
- declare type __ΩPulumiPluginExistingStackOptions = any[];
73
- declare type __ΩPulumiPluginCreateStackOptions = any[];
74
- declare type __ΩPulumiPluginCreateStackInlineOptions = any[];
75
- declare type __ΩPulumiPluginCreateStackLocalOptions = any[];
76
- declare type __ΩPulumiPluginOptions = any[];
77
- declare type __ΩPulumiPluginResolvedOptions = any[];
78
- declare type __ΩPulumiPluginDeployConfig = any[];
79
- declare type __ΩPulumiPluginUserConfig = any[];
80
- declare type __ΩPulumiPluginResolvedConfig = any[];
81
- declare type __ΩPulumiPluginContext = any[];
82
- //#endregion
83
- export { __ΩPulumiPluginUserConfig as S, __ΩPulumiPluginDeployConfig as _, PulumiPluginCreateStackOptions as a, __ΩPulumiPluginResolvedConfig as b, PulumiPluginOptions as c, PulumiPluginUserConfig as d, __ΩPulumiPluginBaseOptions as f, __ΩPulumiPluginCreateStackOptions as g, __ΩPulumiPluginCreateStackLocalOptions as h, PulumiPluginCreateStackLocalOptions as i, PulumiPluginResolvedConfig as l, __ΩPulumiPluginCreateStackInlineOptions as m, PulumiPluginContext as n, PulumiPluginDeployConfig as o, __ΩPulumiPluginContext as p, PulumiPluginCreateStackInlineOptions as r, PulumiPluginExistingStackOptions as s, PulumiPluginBaseOptions as t, PulumiPluginResolvedOptions as u, __ΩPulumiPluginExistingStackOptions as v, __ΩPulumiPluginResolvedOptions as x, __ΩPulumiPluginOptions as y };
84
- //# sourceMappingURL=plugin-teJHUXxt.d.mts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"plugin-teJHUXxt.d.mts","names":[],"sources":["../src/types/plugin.ts"],"sourcesContent":[],"mappings":";;;;;;UA4BiB,uBAAA;;AAAjB;AAcA;AAOA;AAYA;EAOiB,OAAA,CAAA,EAAA,OAAA;EAYA;AASjB;;EAEI,QAAA,CAAA,EApDS,aAoDT;;AACmC,UAlDtB,gCAAA,SAAyC,uBAkDnB,CAAA;EAE3B;;;EAEQ,KAAA,CAAA,EAlDV,KAkDU;;AAAd,UA/CW,8BAAA,SAAuC,uBA+ClD,CAAA;EAEA;;;EAIE,SAAA,CAAA,EAAA,MAAA;EADF;;;EAQO,OAAA,CAAA,EAnDD,qBAmDC;;AADP,UA/CW,gCAAA,CA+CX;EAAQ;AAId;AAIA;EAIiB,KAAA,CAAA,EAvDP,KAuDO;AAIjB;AAC0B,UAzDT,oCAAA,SAA6C,8BAyDpC,CAAA;EACtB;;;EACa,WAAA,CAAA,EAAA,MAAA;;;;YAlDL;;UAGK,mCAAA,SAA4C;;;;;;;;KASjD,mBAAA,GACR,mCACA,uCACA;KAEQ,2BAAA,IACP,KAAK,6CACJ,SAAS,KAAK,gDACf,KACC,iFAGA,SACE,KACE,oFAIL,KAAK,gEACJ,SACE,KAAK;UAGI,wBAAA,SAAiC;UACxC;;UAGO,sBAAA,SAA+B;UACtC;;UAGO,0BAAA,SAAmC;UAC1C;;KAGE,4CACc,6BACtB,8BACA,cAAc"}
@@ -1 +0,0 @@
1
- export { };
File without changes