@powerlines/plugin-pulumi 0.6.19 → 0.6.21
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/README.md +1 -1
- package/dist/plugin.cjs +3 -3
- package/dist/plugin.mjs +1 -1
- package/dist/types/plugin.d.mts +1 -1
- package/package.json +11 -11
- package/dist/_virtual/_rolldown/runtime.mjs +0 -3
package/README.md
CHANGED
|
@@ -27,7 +27,7 @@ This package is part of the <b>🔌 Powerlines</b> monorepo. Powerlines is the "
|
|
|
27
27
|
|
|
28
28
|
<h3 align="center">💻 Visit <a href="https://stormsoftware.com" target="_blank">stormsoftware.com</a> to stay up to date with this developer</h3><br />
|
|
29
29
|
|
|
30
|
-
[](https://stormsoftware.com/projects/powerlines) [](http://commitizen.github.io/cz-cli/)  
|
|
31
31
|
|
|
32
32
|
<!-- prettier-ignore-start -->
|
|
33
33
|
<!-- markdownlint-disable -->
|
package/dist/plugin.cjs
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
const require_runtime = require('./_virtual/_rolldown/runtime.cjs');
|
|
2
|
-
let
|
|
2
|
+
let _pulumi_pulumi_automation_index_js = require("@pulumi/pulumi/automation/index.js");
|
|
3
3
|
let _stryke_string_format_kebab_case = require("@stryke/string-format/kebab-case");
|
|
4
4
|
let defu = require("defu");
|
|
5
5
|
defu = require_runtime.__toESM(defu);
|
|
@@ -27,11 +27,11 @@ const plugin = (options = {}) => {
|
|
|
27
27
|
const organizationName = (0, _stryke_string_format_kebab_case.kebabCase)((0, powerlines_plugin_utils.getOrganizationName)(this));
|
|
28
28
|
const workspaceName = (0, _stryke_string_format_kebab_case.kebabCase)((0, powerlines_plugin_utils.getWorkspaceName)(this));
|
|
29
29
|
const projectName = (0, _stryke_string_format_kebab_case.kebabCase)(this.config.name);
|
|
30
|
-
this.config.pulumi.stackName ??= (0,
|
|
30
|
+
this.config.pulumi.stackName ??= (0, _pulumi_pulumi_automation_index_js.fullyQualifiedStackName)(organizationName || workspaceName || projectName, `${workspaceName && workspaceName !== organizationName && workspaceName !== projectName ? `${workspaceName}-` : ""}${projectName}`, this.config.mode);
|
|
31
31
|
},
|
|
32
32
|
async deploy() {
|
|
33
33
|
this.info(`Creating resources for Pulumi stack: ${this.config.pulumi.stackName}`);
|
|
34
|
-
this.pulumi ??= await
|
|
34
|
+
this.pulumi ??= await _pulumi_pulumi_automation_index_js.LocalWorkspace.createOrSelectStack({
|
|
35
35
|
...this.config.pulumi,
|
|
36
36
|
program: async () => {
|
|
37
37
|
this.debug("Executing Pulumi program to define infrastructure resources.");
|
package/dist/plugin.mjs
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { LocalWorkspace, fullyQualifiedStackName } from "@pulumi/pulumi/automation";
|
|
1
|
+
import { LocalWorkspace, fullyQualifiedStackName } from "@pulumi/pulumi/automation/index.js";
|
|
2
2
|
import { kebabCase } from "@stryke/string-format/kebab-case";
|
|
3
3
|
import defu from "defu";
|
|
4
4
|
import { getOrganizationName, getWorkspaceName } from "powerlines/plugin-utils";
|
package/dist/types/plugin.d.mts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { InlineProgramArgs, LocalWorkspaceOptions, ProjectSettings, Stack, StackSettings } from "@pulumi/pulumi/automation";
|
|
2
1
|
import { PluginContext, ResolvedConfig, UserConfig } from "powerlines";
|
|
2
|
+
import { InlineProgramArgs, LocalWorkspaceOptions, ProjectSettings, Stack, StackSettings } from "@pulumi/pulumi/automation";
|
|
3
3
|
|
|
4
4
|
//#region src/types/plugin.d.ts
|
|
5
5
|
interface PulumiPluginOptions extends Partial<InlineProgramArgs> {
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@powerlines/plugin-pulumi",
|
|
3
|
-
"version": "0.6.
|
|
3
|
+
"version": "0.6.21",
|
|
4
4
|
"private": false,
|
|
5
5
|
"description": "A Powerlines plugin to transform source code to be platform agnostic using pulumi.",
|
|
6
6
|
"keywords": ["pulumi", "powerlines", "storm-software", "powerlines-plugin"],
|
|
@@ -118,21 +118,21 @@
|
|
|
118
118
|
"typings": "dist/index.d.mts",
|
|
119
119
|
"files": ["dist/**/*"],
|
|
120
120
|
"dependencies": {
|
|
121
|
-
"@pulumi/pulumi": "^3.
|
|
122
|
-
"@stryke/fs": "^0.33.
|
|
123
|
-
"@stryke/helpers": "^0.10.
|
|
124
|
-
"@stryke/path": "^0.27.
|
|
125
|
-
"@stryke/string-format": "^0.17.
|
|
126
|
-
"@stryke/type-checks": "^0.
|
|
127
|
-
"@stryke/types": "^0.11.
|
|
121
|
+
"@pulumi/pulumi": "^3.228.0",
|
|
122
|
+
"@stryke/fs": "^0.33.64",
|
|
123
|
+
"@stryke/helpers": "^0.10.7",
|
|
124
|
+
"@stryke/path": "^0.27.3",
|
|
125
|
+
"@stryke/string-format": "^0.17.7",
|
|
126
|
+
"@stryke/type-checks": "^0.6.0",
|
|
127
|
+
"@stryke/types": "^0.11.2",
|
|
128
128
|
"defu": "^6.1.4",
|
|
129
|
-
"powerlines": "^0.42.
|
|
129
|
+
"powerlines": "^0.42.21",
|
|
130
130
|
"typescript": "^5.9.3"
|
|
131
131
|
},
|
|
132
132
|
"devDependencies": {
|
|
133
|
-
"@powerlines/plugin-plugin": "^0.12.
|
|
133
|
+
"@powerlines/plugin-plugin": "^0.12.331",
|
|
134
134
|
"@types/node": "^25.5.0"
|
|
135
135
|
},
|
|
136
136
|
"publishConfig": { "access": "public" },
|
|
137
|
-
"gitHead": "
|
|
137
|
+
"gitHead": "e4cf83423cc9df85f747265b04d051bdfd4d1156"
|
|
138
138
|
}
|