@powerlines/plugin-pulumi 0.6.72 → 0.6.73

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@powerlines/plugin-pulumi",
3
- "version": "0.6.72",
3
+ "version": "0.6.73",
4
4
  "private": false,
5
5
  "description": "A Powerlines plugin to deploy infrastructure using Pulumi.",
6
6
  "keywords": ["pulumi", "powerlines", "storm-software", "powerlines-plugin"],
@@ -126,13 +126,13 @@
126
126
  "@stryke/type-checks": "^0.6.2",
127
127
  "@stryke/types": "^0.11.4",
128
128
  "defu": "^6.1.7",
129
- "powerlines": "^0.43.27",
129
+ "powerlines": "^0.43.28",
130
130
  "typescript": "^6.0.3"
131
131
  },
132
132
  "devDependencies": {
133
- "@powerlines/plugin-plugin": "^0.12.382",
133
+ "@powerlines/plugin-plugin": "^0.12.383",
134
134
  "@types/node": "^25.6.0"
135
135
  },
136
136
  "publishConfig": { "access": "public" },
137
- "gitHead": "ad851a239011b884c15b0444db518d74927fd13f"
137
+ "gitHead": "efeaec793549f37c700f2e876bf6097c37375c46"
138
138
  }
@@ -1 +0,0 @@
1
- var e=Object.create,t=Object.defineProperty,n=Object.getOwnPropertyDescriptor,r=Object.getOwnPropertyNames,i=Object.getPrototypeOf,a=Object.prototype.hasOwnProperty,o=(e,i,o,s)=>{if(i&&typeof i==`object`||typeof i==`function`)for(var c=r(i),l=0,u=c.length,d;l<u;l++)d=c[l],!a.call(e,d)&&d!==o&&t(e,d,{get:(e=>i[e]).bind(null,d),enumerable:!(s=n(i,d))||s.enumerable});return e},s=(n,r,a)=>(a=n==null?{}:e(i(n)),o(r||!n||!n.__esModule?t(a,`default`,{value:n,enumerable:!0}):a,n));exports.__toESM=s;
package/dist/index.cjs DELETED
@@ -1 +0,0 @@
1
- Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:`Module`}});const e=require(`./_virtual/_rolldown/runtime.cjs`);let t=require(`@pulumi/pulumi/automation/index.js`),n=require(`@stryke/string-format/kebab-case`),r=require(`defu`);r=e.__toESM(r,1);let i=require(`powerlines/plugin-utils`);const a=(e={})=>[{name:`pulumi`,async config(){return{deploy:{pulumi:(0,r.default)(e,{projectName:this.config.name,settings:{}})}}},async configResolved(){let e=(0,n.kebabCase)((0,i.getOrganizationName)(this)),r=(0,n.kebabCase)(await(0,i.getWorkspaceName)(this)),a=(0,n.kebabCase)(this.config.name);this.config.pulumi.stackName??=(0,t.fullyQualifiedStackName)(e||r||a,`${r&&r!==e&&r!==a?`${r}-`:``}${a}`,this.config.mode)},async deploy(){this.info(`Creating resources for Pulumi stack: ${this.config.pulumi.stackName}`),this.pulumi??=await t.LocalWorkspace.createOrSelectStack({...this.config.pulumi,program:async()=>{this.debug(`Executing Pulumi program to define infrastructure resources.`),await this.$$internal.callHook(`pulumi:deploy`,{sequential:!0,result:`merge`},{}),this.debug(`Pulumi program execution completed. Resources have been defined.`)}}),await this.pulumi.workspace.installPlugin(`terraform-provider`,`v1.0.2`),this.config.pulumi.stackSettings&&Object.keys(this.config.pulumi.stackSettings).length>0&&await this.pulumi.workspace.saveStackSettings(this.pulumi.name,this.config.pulumi.stackSettings),await this.pulumi.workspace.saveProjectSettings((0,r.default)(this.config.pulumi.projectSettings??{},{name:this.config.name,runtime:{name:`nodejs`},description:this.config.description,author:this.config.organization})),this.info(`Deploying Pulumi stack: ${this.config.pulumi.stackName}`),await this.pulumi.refresh({onOutput:this.debug.bind(this)}),this.config.pulumi.destroy&&await this.pulumi.destroy({onOutput:this.debug.bind(this)});let e=await this.pulumi.up({onOutput:this.debug.bind(this)});this.info(`Successfully deployed ${this.pulumi.name} (v${e.summary.version}): ${e.summary.message}`)}}];exports.default=a,exports.plugin=a;
package/dist/index.d.cts DELETED
@@ -1,35 +0,0 @@
1
- import { PulumiPluginContext, PulumiPluginOptions, PulumiPluginResolvedConfig, PulumiPluginUserConfig } from "./types/plugin.cjs";
2
- import { DeployPulumiResult, PulumiOutputRecord } from "./types/pulumi.cjs";
3
- import { MaybePromise } from "@stryke/types/base";
4
- import { Plugin, PluginContext } from "powerlines";
5
-
6
- //#region src/index.d.ts
7
- declare module "powerlines" {
8
- interface Config {
9
- pulumi?: PulumiPluginOptions;
10
- }
11
- interface BasePlugin<TContext extends PluginContext> {
12
- pulumi?: {
13
- /**
14
- * A hook that can be implemented to deploy Pulumi resources after the main build process. This allows you to define and manage your infrastructure as code using Pulumi, directly from your Powerlines plugin.
15
- *
16
- * @param this - The plugin context.
17
- * @param resources - An object containing the Pulumi resources' outputs that were added in earlier hook invocations.
18
- * @returns Optionally, the resources' outputs that were added during the Pulumi deployment that will be passed to the next hook invocation.
19
- */
20
- deploy?: (this: TContext, resources?: PulumiOutputRecord) => MaybePromise<DeployPulumiResult>;
21
- };
22
- }
23
- }
24
- /**
25
- * A package containing a Powerlines plugin to configure infrastructure and deploy a project using Pulumi IaC.
26
- *
27
- * @see https://www.pulumi.com
28
- *
29
- * @param options - The Pulumi plugin user configuration options.
30
- * @returns A Powerlines plugin to configure infrastructure and deploy a project using Pulumi.
31
- */
32
- declare const plugin: <TContext extends PulumiPluginContext = PulumiPluginContext>(options?: PulumiPluginOptions) => Plugin<TContext>[];
33
- //#endregion
34
- export { DeployPulumiResult, PulumiOutputRecord, PulumiPluginContext, PulumiPluginOptions, PulumiPluginResolvedConfig, PulumiPluginUserConfig, plugin as default, plugin };
35
- //# sourceMappingURL=index.d.cts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"index.d.cts","names":[],"sources":["../src/index.ts"],"mappings":";;;;;;;YAmCY,MAAA;IACR,MAAA,GAAS,mBAAA;EAAA;EAAA,UAGD,UAAA,kBAA4B,aAAA;IACpC,MAAA;MADoC;;;;;;;MASlC,MAAA,IACE,IAAA,EAAM,QAAA,EACN,SAAA,GAAY,kBAAA,KACT,YAAA,CAAa,kBAAA;IAAA;EAAA;AAAA;;;;;;;;;cAaX,MAAA,oBACM,mBAAA,GAAsB,mBAAA,EAEvC,OAAA,GAAS,mBAAA,KACR,MAAA,CAAO,QAAA"}
package/dist/index.d.mts DELETED
@@ -1,35 +0,0 @@
1
- import { PulumiPluginContext, PulumiPluginOptions, PulumiPluginResolvedConfig, PulumiPluginUserConfig } from "./types/plugin.mjs";
2
- import { DeployPulumiResult, PulumiOutputRecord } from "./types/pulumi.mjs";
3
- import { MaybePromise } from "@stryke/types/base";
4
- import { Plugin, PluginContext } from "powerlines";
5
-
6
- //#region src/index.d.ts
7
- declare module "powerlines" {
8
- interface Config {
9
- pulumi?: PulumiPluginOptions;
10
- }
11
- interface BasePlugin<TContext extends PluginContext> {
12
- pulumi?: {
13
- /**
14
- * A hook that can be implemented to deploy Pulumi resources after the main build process. This allows you to define and manage your infrastructure as code using Pulumi, directly from your Powerlines plugin.
15
- *
16
- * @param this - The plugin context.
17
- * @param resources - An object containing the Pulumi resources' outputs that were added in earlier hook invocations.
18
- * @returns Optionally, the resources' outputs that were added during the Pulumi deployment that will be passed to the next hook invocation.
19
- */
20
- deploy?: (this: TContext, resources?: PulumiOutputRecord) => MaybePromise<DeployPulumiResult>;
21
- };
22
- }
23
- }
24
- /**
25
- * A package containing a Powerlines plugin to configure infrastructure and deploy a project using Pulumi IaC.
26
- *
27
- * @see https://www.pulumi.com
28
- *
29
- * @param options - The Pulumi plugin user configuration options.
30
- * @returns A Powerlines plugin to configure infrastructure and deploy a project using Pulumi.
31
- */
32
- declare const plugin: <TContext extends PulumiPluginContext = PulumiPluginContext>(options?: PulumiPluginOptions) => Plugin<TContext>[];
33
- //#endregion
34
- export { DeployPulumiResult, PulumiOutputRecord, PulumiPluginContext, PulumiPluginOptions, PulumiPluginResolvedConfig, PulumiPluginUserConfig, plugin as default, plugin };
35
- //# sourceMappingURL=index.d.mts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"index.d.mts","names":[],"sources":["../src/index.ts"],"mappings":";;;;;;;YAmCY,MAAA;IACR,MAAA,GAAS,mBAAA;EAAA;EAAA,UAGD,UAAA,kBAA4B,aAAA;IACpC,MAAA;MADoC;;;;;;;MASlC,MAAA,IACE,IAAA,EAAM,QAAA,EACN,SAAA,GAAY,kBAAA,KACT,YAAA,CAAa,kBAAA;IAAA;EAAA;AAAA;;;;;;;;;cAaX,MAAA,oBACM,mBAAA,GAAsB,mBAAA,EAEvC,OAAA,GAAS,mBAAA,KACR,MAAA,CAAO,QAAA"}
package/dist/index.mjs DELETED
@@ -1,2 +0,0 @@
1
- import{LocalWorkspace as e,fullyQualifiedStackName as t}from"@pulumi/pulumi/automation/index.js";import{kebabCase as n}from"@stryke/string-format/kebab-case";import r from"defu";import{getOrganizationName as i,getWorkspaceName as a}from"powerlines/plugin-utils";const o=(o={})=>[{name:`pulumi`,async config(){return{deploy:{pulumi:r(o,{projectName:this.config.name,settings:{}})}}},async configResolved(){let e=n(i(this)),r=n(await a(this)),o=n(this.config.name);this.config.pulumi.stackName??=t(e||r||o,`${r&&r!==e&&r!==o?`${r}-`:``}${o}`,this.config.mode)},async deploy(){this.info(`Creating resources for Pulumi stack: ${this.config.pulumi.stackName}`),this.pulumi??=await e.createOrSelectStack({...this.config.pulumi,program:async()=>{this.debug(`Executing Pulumi program to define infrastructure resources.`),await this.$$internal.callHook(`pulumi:deploy`,{sequential:!0,result:`merge`},{}),this.debug(`Pulumi program execution completed. Resources have been defined.`)}}),await this.pulumi.workspace.installPlugin(`terraform-provider`,`v1.0.2`),this.config.pulumi.stackSettings&&Object.keys(this.config.pulumi.stackSettings).length>0&&await this.pulumi.workspace.saveStackSettings(this.pulumi.name,this.config.pulumi.stackSettings),await this.pulumi.workspace.saveProjectSettings(r(this.config.pulumi.projectSettings??{},{name:this.config.name,runtime:{name:`nodejs`},description:this.config.description,author:this.config.organization})),this.info(`Deploying Pulumi stack: ${this.config.pulumi.stackName}`),await this.pulumi.refresh({onOutput:this.debug.bind(this)}),this.config.pulumi.destroy&&await this.pulumi.destroy({onOutput:this.debug.bind(this)});let t=await this.pulumi.up({onOutput:this.debug.bind(this)});this.info(`Successfully deployed ${this.pulumi.name} (v${t.summary.version}): ${t.summary.message}`)}}];export{o as default,o as plugin};
2
- //# sourceMappingURL=index.mjs.map
@@ -1 +0,0 @@
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 ProjectSettings\n} from \"@pulumi/pulumi/automation\";\nimport { kebabCase } from \"@stryke/string-format/kebab-case\";\nimport { MaybePromise } from \"@stryke/types/base\";\nimport defu from \"defu\";\nimport { Plugin, PluginContext } from \"powerlines\";\nimport { getOrganizationName, getWorkspaceName } from \"powerlines/plugin-utils\";\nimport { Unstable_PulumiPluginContext } from \"./types/_internal\";\nimport { PulumiPluginContext, PulumiPluginOptions } from \"./types/plugin\";\nimport { DeployPulumiResult, PulumiOutputRecord } from \"./types/pulumi\";\n\nexport type * from \"./types\";\n\ndeclare module \"powerlines\" {\n interface Config {\n pulumi?: PulumiPluginOptions;\n }\n\n interface BasePlugin<TContext extends PluginContext> {\n pulumi?: {\n /**\n * A hook that can be implemented to deploy Pulumi resources after the main build process. This allows you to define and manage your infrastructure as code using Pulumi, directly from your Powerlines plugin.\n *\n * @param this - The plugin context.\n * @param resources - An object containing the Pulumi resources' outputs that were added in earlier hook invocations.\n * @returns Optionally, the resources' outputs that were added during the Pulumi deployment that will be passed to the next hook invocation.\n */\n deploy?: (\n this: TContext,\n resources?: PulumiOutputRecord\n ) => MaybePromise<DeployPulumiResult>;\n };\n }\n}\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 {\n name: \"pulumi\",\n async config() {\n return {\n deploy: {\n pulumi: defu(options, {\n projectName: this.config.name,\n settings: {}\n })\n }\n };\n },\n async configResolved() {\n const organizationName = kebabCase(getOrganizationName(this));\n const workspaceName = kebabCase(await getWorkspaceName(this));\n const projectName = kebabCase(this.config.name);\n\n this.config.pulumi.stackName ??= fullyQualifiedStackName(\n organizationName || workspaceName || projectName,\n `${\n workspaceName &&\n workspaceName !== organizationName &&\n workspaceName !== projectName\n ? `${workspaceName}-`\n : \"\"\n }${projectName}`,\n this.config.mode\n );\n },\n async deploy() {\n this.info(\n `Creating resources for Pulumi stack: ${this.config.pulumi.stackName}`\n );\n\n this.pulumi ??= await LocalWorkspace.createOrSelectStack({\n ...(this.config.pulumi as Parameters<\n typeof LocalWorkspace.createOrSelectStack\n >[0]),\n program: async () => {\n this.debug(\n \"Executing Pulumi program to define infrastructure resources.\"\n );\n\n const resources = {} as PulumiOutputRecord;\n await (\n this as unknown as Unstable_PulumiPluginContext\n ).$$internal.callHook(\n \"pulumi:deploy\",\n {\n sequential: true,\n result: \"merge\"\n },\n resources\n );\n\n this.debug(\n \"Pulumi program execution completed. Resources have been defined.\"\n );\n }\n });\n await this.pulumi.workspace.installPlugin(\n \"terraform-provider\",\n \"v1.0.2\"\n );\n\n if (\n this.config.pulumi.stackSettings &&\n Object.keys(this.config.pulumi.stackSettings).length > 0\n ) {\n await this.pulumi.workspace.saveStackSettings(\n this.pulumi.name,\n this.config.pulumi.stackSettings\n );\n }\n\n await this.pulumi.workspace.saveProjectSettings(\n defu(this.config.pulumi.projectSettings ?? {}, {\n name: this.config.name,\n runtime: { name: \"nodejs\" },\n description: this.config.description,\n author: this.config.organization\n }) as ProjectSettings\n );\n\n this.info(`Deploying Pulumi stack: ${this.config.pulumi.stackName}`);\n\n await this.pulumi.refresh({ onOutput: this.debug.bind(this) });\n\n if (this.config.pulumi.destroy) {\n await this.pulumi.destroy({\n onOutput: this.debug.bind(this)\n });\n }\n\n const result = await this.pulumi.up({\n onOutput: this.debug.bind(this)\n });\n\n this.info(\n `Successfully deployed ${this.pulumi.name} (v${\n result.summary.version\n }): ${result.summary.message}`\n );\n }\n }\n ] as Plugin<TContext>[];\n};\n\nexport default plugin;\n"],"mappings":"sQAgEA,MAAa,GAGX,EAA+B,EAAE,GAE1B,CACL,CACE,KAAM,SACN,MAAM,QAAS,CACb,MAAO,CACL,OAAQ,CACN,OAAQ,EAAK,EAAS,CACpB,YAAa,KAAK,OAAO,KACzB,SAAU,EAAE,CACb,CAAC,CACH,CACF,EAEH,MAAM,gBAAiB,CACrB,IAAM,EAAmB,EAAU,EAAoB,KAAK,CAAC,CACvD,EAAgB,EAAU,MAAM,EAAiB,KAAK,CAAC,CACvD,EAAc,EAAU,KAAK,OAAO,KAAK,CAE/C,KAAK,OAAO,OAAO,YAAc,EAC/B,GAAoB,GAAiB,EACrC,GACE,GACA,IAAkB,GAClB,IAAkB,EACd,GAAG,EAAc,GACjB,KACH,IACH,KAAK,OAAO,KACb,EAEH,MAAM,QAAS,CACb,KAAK,KACH,wCAAwC,KAAK,OAAO,OAAO,YAC5D,CAED,KAAK,SAAW,MAAM,EAAe,oBAAoB,CACvD,GAAI,KAAK,OAAO,OAGhB,QAAS,SAAY,CACnB,KAAK,MACH,+DACD,CAGD,MACE,KACA,WAAW,SACX,gBACA,CACE,WAAY,GACZ,OAAQ,QACT,CACD,EAAS,CACV,CAED,KAAK,MACH,mEACD,EAEJ,CAAC,CACF,MAAM,KAAK,OAAO,UAAU,cAC1B,qBACA,SACD,CAGC,KAAK,OAAO,OAAO,eACnB,OAAO,KAAK,KAAK,OAAO,OAAO,cAAc,CAAC,OAAS,GAEvD,MAAM,KAAK,OAAO,UAAU,kBAC1B,KAAK,OAAO,KACZ,KAAK,OAAO,OAAO,cACpB,CAGH,MAAM,KAAK,OAAO,UAAU,oBAC1B,EAAK,KAAK,OAAO,OAAO,iBAAmB,EAAE,CAAE,CAC7C,KAAM,KAAK,OAAO,KAClB,QAAS,CAAE,KAAM,SAAU,CAC3B,YAAa,KAAK,OAAO,YACzB,OAAQ,KAAK,OAAO,aACrB,CAAC,CACH,CAED,KAAK,KAAK,2BAA2B,KAAK,OAAO,OAAO,YAAY,CAEpE,MAAM,KAAK,OAAO,QAAQ,CAAE,SAAU,KAAK,MAAM,KAAK,KAAK,CAAE,CAAC,CAE1D,KAAK,OAAO,OAAO,SACrB,MAAM,KAAK,OAAO,QAAQ,CACxB,SAAU,KAAK,MAAM,KAAK,KAAK,CAChC,CAAC,CAGJ,IAAM,EAAS,MAAM,KAAK,OAAO,GAAG,CAClC,SAAU,KAAK,MAAM,KAAK,KAAK,CAChC,CAAC,CAEF,KAAK,KACH,yBAAyB,KAAK,OAAO,KAAK,KACxC,EAAO,QAAQ,QAChB,KAAK,EAAO,QAAQ,UACtB,EAEJ,CACF"}
File without changes
@@ -1,8 +0,0 @@
1
- import { PulumiPluginContext, PulumiPluginResolvedConfig } from "./plugin.cjs";
2
- import { Unstable_PluginContext } from "@powerlines/core/types/_internal";
3
-
4
- //#region src/types/_internal.d.ts
5
- type Unstable_PulumiPluginContext<TResolvedConfig extends PulumiPluginResolvedConfig = PulumiPluginResolvedConfig> = PulumiPluginContext<TResolvedConfig> & Unstable_PluginContext<TResolvedConfig>;
6
- //#endregion
7
- export { Unstable_PulumiPluginContext };
8
- //# sourceMappingURL=_internal.d.cts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"_internal.d.cts","names":[],"sources":["../../src/types/_internal.ts"],"mappings":";;;;KAqBY,4BAAA,yBACc,0BAAA,GACtB,0BAAA,IACA,mBAAA,CAAoB,eAAA,IACtB,sBAAA,CAAuB,eAAA"}
@@ -1,8 +0,0 @@
1
- import { PulumiPluginContext, PulumiPluginResolvedConfig } from "./plugin.mjs";
2
- import { Unstable_PluginContext } from "@powerlines/core/types/_internal";
3
-
4
- //#region src/types/_internal.d.ts
5
- type Unstable_PulumiPluginContext<TResolvedConfig extends PulumiPluginResolvedConfig = PulumiPluginResolvedConfig> = PulumiPluginContext<TResolvedConfig> & Unstable_PluginContext<TResolvedConfig>;
6
- //#endregion
7
- export { Unstable_PulumiPluginContext };
8
- //# sourceMappingURL=_internal.d.mts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"_internal.d.mts","names":[],"sources":["../../src/types/_internal.ts"],"mappings":";;;;KAqBY,4BAAA,yBACc,0BAAA,GACtB,0BAAA,IACA,mBAAA,CAAoB,eAAA,IACtB,sBAAA,CAAuB,eAAA"}
@@ -1 +0,0 @@
1
- export{};
File without changes
@@ -1,3 +0,0 @@
1
- import { PulumiPluginContext, PulumiPluginOptions, PulumiPluginResolvedConfig, PulumiPluginUserConfig } from "./plugin.cjs";
2
- import { DeployPulumiResult, PulumiOutputRecord } from "./pulumi.cjs";
3
- export { DeployPulumiResult, PulumiOutputRecord, PulumiPluginContext, PulumiPluginOptions, PulumiPluginResolvedConfig, PulumiPluginUserConfig };
@@ -1,3 +0,0 @@
1
- import { PulumiPluginContext, PulumiPluginOptions, PulumiPluginResolvedConfig, PulumiPluginUserConfig } from "./plugin.mjs";
2
- import { DeployPulumiResult, PulumiOutputRecord } from "./pulumi.mjs";
3
- export { DeployPulumiResult, PulumiOutputRecord, PulumiPluginContext, PulumiPluginOptions, PulumiPluginResolvedConfig, PulumiPluginUserConfig };
@@ -1 +0,0 @@
1
- export{};
File without changes
@@ -1,36 +0,0 @@
1
- import { PluginContext, ResolvedConfig, UserConfig } from "powerlines";
2
- import { InlineProgramArgs, LocalWorkspaceOptions, ProjectSettings, Stack, StackSettings } from "@pulumi/pulumi/automation/index.js";
3
-
4
- //#region src/types/plugin.d.ts
5
- interface PulumiPluginOptions extends Partial<InlineProgramArgs> {
6
- /**
7
- * Additional options for the Pulumi Workspace.
8
- */
9
- options?: LocalWorkspaceOptions;
10
- /**
11
- * Whether to destroy the stack during the `destroy` lifecycle phase.
12
- *
13
- * @defaultValue false
14
- */
15
- destroy?: boolean;
16
- /**
17
- * Additional stack settings.
18
- */
19
- stackSettings?: StackSettings;
20
- /**
21
- * Additional project settings.
22
- */
23
- projectSettings?: Partial<ProjectSettings>;
24
- }
25
- interface PulumiPluginUserConfig extends UserConfig {
26
- pulumi?: PulumiPluginOptions;
27
- }
28
- interface PulumiPluginResolvedConfig extends ResolvedConfig {
29
- pulumi: PulumiPluginOptions;
30
- }
31
- type PulumiPluginContext<TResolvedConfig extends PulumiPluginResolvedConfig = PulumiPluginResolvedConfig> = PluginContext<TResolvedConfig> & {
32
- pulumi: Stack;
33
- };
34
- //#endregion
35
- export { PulumiPluginContext, PulumiPluginOptions, PulumiPluginResolvedConfig, PulumiPluginUserConfig };
36
- //# sourceMappingURL=plugin.d.cts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"plugin.d.cts","names":[],"sources":["../../src/types/plugin.ts"],"mappings":";;;;UA2BiB,mBAAA,SAA4B,OAAA,CAAQ,iBAAA;;AAArD;;EAIE,OAAA,GAAU,qBAAA;EAJyC;;;;;EAWnD,OAAA;EAXkD;;;EAgBlD,aAAA,GAAgB,aAAA;EAZhB;;;EAiBA,eAAA,GAAkB,OAAA,CAAQ,eAAA;AAAA;AAAA,UAGX,sBAAA,SAA+B,UAAA;EAC9C,MAAA,GAAS,mBAAA;AAAA;AAAA,UAGM,0BAAA,SAAmC,cAAA;EAClD,MAAA,EAAQ,mBAAA;AAAA;AAAA,KAGE,mBAAA,yBACc,0BAAA,GACtB,0BAAA,IACA,aAAA,CAAc,eAAA;EAChB,MAAA,EAAQ,KAAA;AAAA"}
@@ -1,36 +0,0 @@
1
- import { InlineProgramArgs, LocalWorkspaceOptions, ProjectSettings, Stack, StackSettings } from "@pulumi/pulumi/automation/index.js";
2
- import { PluginContext, ResolvedConfig, UserConfig } from "powerlines";
3
-
4
- //#region src/types/plugin.d.ts
5
- interface PulumiPluginOptions extends Partial<InlineProgramArgs> {
6
- /**
7
- * Additional options for the Pulumi Workspace.
8
- */
9
- options?: LocalWorkspaceOptions;
10
- /**
11
- * Whether to destroy the stack during the `destroy` lifecycle phase.
12
- *
13
- * @defaultValue false
14
- */
15
- destroy?: boolean;
16
- /**
17
- * Additional stack settings.
18
- */
19
- stackSettings?: StackSettings;
20
- /**
21
- * Additional project settings.
22
- */
23
- projectSettings?: Partial<ProjectSettings>;
24
- }
25
- interface PulumiPluginUserConfig extends UserConfig {
26
- pulumi?: PulumiPluginOptions;
27
- }
28
- interface PulumiPluginResolvedConfig extends ResolvedConfig {
29
- pulumi: PulumiPluginOptions;
30
- }
31
- type PulumiPluginContext<TResolvedConfig extends PulumiPluginResolvedConfig = PulumiPluginResolvedConfig> = PluginContext<TResolvedConfig> & {
32
- pulumi: Stack;
33
- };
34
- //#endregion
35
- export { PulumiPluginContext, PulumiPluginOptions, PulumiPluginResolvedConfig, PulumiPluginUserConfig };
36
- //# sourceMappingURL=plugin.d.mts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"plugin.d.mts","names":[],"sources":["../../src/types/plugin.ts"],"mappings":";;;;UA2BiB,mBAAA,SAA4B,OAAA,CAAQ,iBAAA;;AAArD;;EAIE,OAAA,GAAU,qBAAA;EAJyC;;;;;EAWnD,OAAA;EAXkD;;;EAgBlD,aAAA,GAAgB,aAAA;EAZhB;;;EAiBA,eAAA,GAAkB,OAAA,CAAQ,eAAA;AAAA;AAAA,UAGX,sBAAA,SAA+B,UAAA;EAC9C,MAAA,GAAS,mBAAA;AAAA;AAAA,UAGM,0BAAA,SAAmC,cAAA;EAClD,MAAA,EAAQ,mBAAA;AAAA;AAAA,KAGE,mBAAA,yBACc,0BAAA,GACtB,0BAAA,IACA,aAAA,CAAc,eAAA;EAChB,MAAA,EAAQ,KAAA;AAAA"}
@@ -1 +0,0 @@
1
- export{};
File without changes
@@ -1,10 +0,0 @@
1
- import { Output } from "@pulumi/pulumi";
2
-
3
- //#region src/types/pulumi.d.ts
4
- interface PulumiOutputRecord<T = any> {
5
- [key: string]: Output<T> | PulumiOutputRecord<T> | PulumiOutputRecord<T>[];
6
- }
7
- type DeployPulumiResult = Record<string, any> | undefined | null | void;
8
- //#endregion
9
- export { DeployPulumiResult, PulumiOutputRecord };
10
- //# sourceMappingURL=pulumi.d.cts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"pulumi.d.cts","names":[],"sources":["../../src/types/pulumi.ts"],"mappings":";;;UAoBiB,kBAAA;EAAA,CACd,GAAA,WAAc,MAAA,CAAO,CAAA,IAAK,kBAAA,CAAmB,CAAA,IAAK,kBAAA,CAAmB,CAAA;AAAA;AAAA,KAG5D,kBAAA,GAAqB,MAAA"}
@@ -1,10 +0,0 @@
1
- import { Output } from "@pulumi/pulumi";
2
-
3
- //#region src/types/pulumi.d.ts
4
- interface PulumiOutputRecord<T = any> {
5
- [key: string]: Output<T> | PulumiOutputRecord<T> | PulumiOutputRecord<T>[];
6
- }
7
- type DeployPulumiResult = Record<string, any> | undefined | null | void;
8
- //#endregion
9
- export { DeployPulumiResult, PulumiOutputRecord };
10
- //# sourceMappingURL=pulumi.d.mts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"pulumi.d.mts","names":[],"sources":["../../src/types/pulumi.ts"],"mappings":";;;UAoBiB,kBAAA;EAAA,CACd,GAAA,WAAc,MAAA,CAAO,CAAA,IAAK,kBAAA,CAAmB,CAAA,IAAK,kBAAA,CAAmB,CAAA;AAAA;AAAA,KAG5D,kBAAA,GAAqB,MAAA"}
@@ -1 +0,0 @@
1
- export{};