@webiny/pulumi 6.4.4-beta.4 → 6.4.4-beta.6
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/createPulumiApp.js +6 -6
- package/package.json +4 -4
package/createPulumiApp.js
CHANGED
|
@@ -2,7 +2,7 @@ import { findUpSync } from "find-up";
|
|
|
2
2
|
import path from "path";
|
|
3
3
|
import cloneDeep from "lodash/cloneDeep.js";
|
|
4
4
|
import { getProjectSdk } from "@webiny/project";
|
|
5
|
-
import * as
|
|
5
|
+
import * as __rspack_external__pulumi_pulumi_f3e773ed from "@pulumi/pulumi";
|
|
6
6
|
function createPulumiApp(params) {
|
|
7
7
|
let projectRootPath = findUpSync("webiny.config.tsx");
|
|
8
8
|
if (projectRootPath) projectRootPath = path.dirname(projectRootPath).replace(/\\/g, "/");
|
|
@@ -75,7 +75,7 @@ function createPulumiApp(params) {
|
|
|
75
75
|
config: createPulumiAppResourceConfigProxy(config),
|
|
76
76
|
opts,
|
|
77
77
|
meta,
|
|
78
|
-
output:
|
|
78
|
+
output: __rspack_external__pulumi_pulumi_f3e773ed.output(promise)
|
|
79
79
|
};
|
|
80
80
|
return resource;
|
|
81
81
|
},
|
|
@@ -83,7 +83,7 @@ function createPulumiApp(params) {
|
|
|
83
83
|
const promise = getter();
|
|
84
84
|
const resource = {
|
|
85
85
|
name,
|
|
86
|
-
output:
|
|
86
|
+
output: __rspack_external__pulumi_pulumi_f3e773ed.output(promise)
|
|
87
87
|
};
|
|
88
88
|
return resource;
|
|
89
89
|
},
|
|
@@ -111,7 +111,7 @@ function createPulumiApp(params) {
|
|
|
111
111
|
resolve(await handler());
|
|
112
112
|
});
|
|
113
113
|
});
|
|
114
|
-
return
|
|
114
|
+
return __rspack_external__pulumi_pulumi_f3e773ed.output(promise);
|
|
115
115
|
},
|
|
116
116
|
getParam (param) {
|
|
117
117
|
if ("function" == typeof param) return param(app);
|
|
@@ -129,9 +129,9 @@ function createPulumiAppResourceConfigProxy(obj) {
|
|
|
129
129
|
if ("function" == typeof value) {
|
|
130
130
|
const modifier = value;
|
|
131
131
|
const currentValue = target[key];
|
|
132
|
-
const newValue =
|
|
132
|
+
const newValue = __rspack_external__pulumi_pulumi_f3e773ed.output(currentValue).apply((v)=>{
|
|
133
133
|
const newValue = modifier(v);
|
|
134
|
-
return
|
|
134
|
+
return __rspack_external__pulumi_pulumi_f3e773ed.output(newValue);
|
|
135
135
|
});
|
|
136
136
|
target[key] = newValue;
|
|
137
137
|
} else target[key] = value;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@webiny/pulumi",
|
|
3
|
-
"version": "6.4.4-beta.
|
|
3
|
+
"version": "6.4.4-beta.6",
|
|
4
4
|
"type": "module",
|
|
5
5
|
"exports": {
|
|
6
6
|
".": "./index.js",
|
|
@@ -17,14 +17,14 @@
|
|
|
17
17
|
"access": "public"
|
|
18
18
|
},
|
|
19
19
|
"dependencies": {
|
|
20
|
-
"@pulumi/pulumi": "^3.
|
|
21
|
-
"@webiny/project": "6.4.4-beta.
|
|
20
|
+
"@pulumi/pulumi": "^3.251.0",
|
|
21
|
+
"@webiny/project": "6.4.4-beta.6",
|
|
22
22
|
"find-up": "8.0.0",
|
|
23
23
|
"lodash": "4.18.1"
|
|
24
24
|
},
|
|
25
25
|
"devDependencies": {
|
|
26
26
|
"@types/lodash": "4.17.24",
|
|
27
|
-
"@webiny/build-tools": "6.4.4-beta.
|
|
27
|
+
"@webiny/build-tools": "6.4.4-beta.6",
|
|
28
28
|
"rimraf": "6.1.3",
|
|
29
29
|
"typescript": "6.0.3"
|
|
30
30
|
},
|