@powerlines/plugin-pulumi 0.2.37 → 0.2.38

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.
Files changed (40) hide show
  1. package/dist/_virtual/rolldown_runtime.cjs +1 -0
  2. package/dist/index.cjs +1 -1
  3. package/dist/index.d.cts +2 -2
  4. package/dist/index.d.mts +3 -2
  5. package/dist/index.mjs +1 -1
  6. package/dist/powerlines/src/plugin-utils/context-helpers.cjs +1 -0
  7. package/dist/powerlines/src/plugin-utils/context-helpers.mjs +1 -0
  8. package/dist/powerlines/src/types/build.d.cts +139 -0
  9. package/dist/powerlines/src/types/build.d.mts +139 -0
  10. package/dist/powerlines/src/types/commands.d.cts +8 -0
  11. package/dist/powerlines/src/types/commands.d.mts +8 -0
  12. package/dist/powerlines/src/types/config.d.cts +345 -0
  13. package/dist/powerlines/src/types/config.d.mts +345 -0
  14. package/dist/powerlines/src/types/context.d.cts +347 -0
  15. package/dist/powerlines/src/types/context.d.mts +347 -0
  16. package/dist/powerlines/src/types/fs.d.cts +458 -0
  17. package/dist/powerlines/src/types/fs.d.mts +458 -0
  18. package/dist/powerlines/src/types/plugin.d.cts +232 -0
  19. package/dist/powerlines/src/types/plugin.d.mts +232 -0
  20. package/dist/powerlines/src/types/resolved.d.cts +81 -0
  21. package/dist/powerlines/src/types/resolved.d.mts +81 -0
  22. package/dist/powerlines/src/types/tsconfig.d.cts +69 -0
  23. package/dist/powerlines/src/types/tsconfig.d.mts +69 -0
  24. package/dist/types/index.cjs +0 -1
  25. package/dist/types/index.d.cts +1 -2
  26. package/dist/types/index.d.mts +1 -2
  27. package/dist/types/index.mjs +1 -1
  28. package/dist/types/plugin.cjs +0 -1
  29. package/dist/types/plugin.d.cts +82 -1
  30. package/dist/types/plugin.d.mts +82 -1
  31. package/dist/types/plugin.mjs +1 -1
  32. package/package.json +10 -10
  33. package/dist/index-BgAdqTbb.d.mts +0 -1
  34. package/dist/index-CEgs-Dz2.d.cts +0 -1
  35. package/dist/plugin-Bvn-he2n.mjs +0 -1
  36. package/dist/plugin-DHXHjv16.cjs +0 -0
  37. package/dist/plugin-DPuI9QiN.d.mts +0 -1714
  38. package/dist/plugin-ak_lsAjw.d.cts +0 -1714
  39. package/dist/types-B7VYa_Pp.mjs +0 -1
  40. package/dist/types-DHkg7xmX.cjs +0 -0
@@ -1,2 +1,83 @@
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-DPuI9QiN.mjs";
1
+ import { DeployConfig, UserConfig } from "../powerlines/src/types/config.mjs";
2
+ import { ResolvedConfig } from "../powerlines/src/types/resolved.mjs";
3
+ import { PluginContext } from "../powerlines/src/types/context.mjs";
4
+ import { LocalWorkspaceOptions, PulumiFn, Stack, StackSettings } from "@pulumi/pulumi/automation";
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
2
83
  export { PulumiPluginBaseOptions, PulumiPluginContext, PulumiPluginCreateStackInlineOptions, PulumiPluginCreateStackLocalOptions, PulumiPluginCreateStackOptions, PulumiPluginDeployConfig, PulumiPluginExistingStackOptions, PulumiPluginOptions, PulumiPluginResolvedConfig, PulumiPluginResolvedOptions, PulumiPluginUserConfig, __ΩPulumiPluginBaseOptions, __ΩPulumiPluginContext, __ΩPulumiPluginCreateStackInlineOptions, __ΩPulumiPluginCreateStackLocalOptions, __ΩPulumiPluginCreateStackOptions, __ΩPulumiPluginDeployConfig, __ΩPulumiPluginExistingStackOptions, __ΩPulumiPluginOptions, __ΩPulumiPluginResolvedConfig, __ΩPulumiPluginResolvedOptions, __ΩPulumiPluginUserConfig };
@@ -1 +1 @@
1
- import"../plugin-Bvn-he2n.mjs";export{};
1
+ export{};
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@powerlines/plugin-pulumi",
3
- "version": "0.2.37",
3
+ "version": "0.2.38",
4
4
  "type": "module",
5
5
  "description": "A Powerlines plugin to transform source code to be platform agnostic using pulumi.",
6
6
  "repository": {
@@ -117,21 +117,21 @@
117
117
  "files": ["dist/**/*"],
118
118
  "keywords": ["pulumi", "powerlines", "storm-software", "powerlines-plugin"],
119
119
  "dependencies": {
120
- "@stryke/type-checks": "^0.4.4",
121
- "@stryke/path": "^0.22.0",
122
- "@stryke/fs": "^0.33.9",
123
- "@stryke/helpers": "^0.9.15",
124
- "@stryke/types": "^0.10.13",
125
- "@stryke/string-format": "^0.12.13",
120
+ "@stryke/type-checks": "^0.5.9",
121
+ "@stryke/path": "^0.22.11",
122
+ "@stryke/fs": "^0.33.20",
123
+ "@stryke/helpers": "^0.9.26",
124
+ "@stryke/types": "^0.10.23",
125
+ "@stryke/string-format": "^0.12.24",
126
126
  "@pulumi/pulumi": "^3.210.0",
127
127
  "defu": "^6.1.4",
128
- "powerlines": "^0.30.9",
128
+ "powerlines": "^0.30.10",
129
129
  "typescript": "^5.9.3"
130
130
  },
131
131
  "devDependencies": {
132
- "@powerlines/nx": "^0.10.58",
132
+ "@powerlines/nx": "^0.10.59",
133
133
  "@types/node": "^24.10.1"
134
134
  },
135
135
  "publishConfig": { "access": "public" },
136
- "gitHead": "00fa339177561d404892937d2c24fe2a5b3df4e7"
136
+ "gitHead": "1fa17406f69248e0a35ca56c09b1f4589e4d49d7"
137
137
  }
@@ -1 +0,0 @@
1
- export { };
@@ -1 +0,0 @@
1
- export { };
@@ -1 +0,0 @@
1
- export{};
File without changes