@awsless/awsless 0.0.608 → 0.0.609
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/dist/bin.js
CHANGED
|
@@ -5127,6 +5127,7 @@ var siteFeature = defineFeature({
|
|
|
5127
5127
|
const credentials = await credentialProvider();
|
|
5128
5128
|
const cwd = join11(directories.root, dirname6(ctx.stackConfig.file));
|
|
5129
5129
|
const env = {
|
|
5130
|
+
...process.env,
|
|
5130
5131
|
// Pass the app config name
|
|
5131
5132
|
APP: ctx.appConfig.name,
|
|
5132
5133
|
// Basic AWS info
|
|
@@ -5140,11 +5141,20 @@ var siteFeature = defineFeature({
|
|
|
5140
5141
|
for (const name2 of props.build?.configs ?? []) {
|
|
5141
5142
|
env[`CONFIG_${constantCase10(name2)}`] = name2;
|
|
5142
5143
|
}
|
|
5144
|
+
for (const name2 of ctx.stackConfig.configs ?? []) {
|
|
5145
|
+
env[`CONFIG_${constantCase10(name2)}`] = name2;
|
|
5146
|
+
}
|
|
5143
5147
|
const instance = Bun.spawn(buildProps.command.split(" "), {
|
|
5144
5148
|
cwd,
|
|
5145
|
-
env
|
|
5149
|
+
env,
|
|
5150
|
+
stdout: "inherit",
|
|
5151
|
+
stderr: "inherit"
|
|
5146
5152
|
});
|
|
5147
5153
|
await instance.exited;
|
|
5154
|
+
if (instance.exitCode !== null && instance.exitCode > 0) {
|
|
5155
|
+
console.log(instance.stderr);
|
|
5156
|
+
throw new Error("Site build failed");
|
|
5157
|
+
}
|
|
5148
5158
|
await write("HASH", fingerprint);
|
|
5149
5159
|
return {
|
|
5150
5160
|
size: "n/a"
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@awsless/awsless",
|
|
3
|
-
"version": "0.0.
|
|
3
|
+
"version": "0.0.609",
|
|
4
4
|
"license": "MIT",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"sideEffects": false,
|
|
@@ -33,23 +33,23 @@
|
|
|
33
33
|
]
|
|
34
34
|
},
|
|
35
35
|
"peerDependencies": {
|
|
36
|
-
"@awsless/big-float": "^0.1.5",
|
|
37
36
|
"@awsless/cloudwatch": "^0.0.1",
|
|
37
|
+
"@awsless/big-float": "^0.1.5",
|
|
38
38
|
"@awsless/clui": "^0.0.8",
|
|
39
39
|
"@awsless/duration": "^0.0.4",
|
|
40
40
|
"@awsless/json": "^0.0.10",
|
|
41
|
-
"@awsless/dynamodb": "^0.3.8",
|
|
42
41
|
"@awsless/iot": "^0.0.3",
|
|
43
|
-
"@awsless/s3": "^0.0.21",
|
|
44
42
|
"@awsless/open-search": "^0.0.21",
|
|
45
43
|
"@awsless/redis": "^0.0.14",
|
|
46
|
-
"@awsless/validate": "^0.1.3",
|
|
47
44
|
"@awsless/lambda": "^0.0.35",
|
|
48
|
-
"@awsless/
|
|
49
|
-
"@awsless/
|
|
45
|
+
"@awsless/mqtt": "^0.0.2",
|
|
46
|
+
"@awsless/dynamodb": "^0.3.8",
|
|
47
|
+
"@awsless/s3": "^0.0.21",
|
|
50
48
|
"@awsless/sqs": "^0.0.16",
|
|
49
|
+
"@awsless/sns": "^0.0.10",
|
|
51
50
|
"@awsless/ssm": "^0.0.7",
|
|
52
|
-
"@awsless/
|
|
51
|
+
"@awsless/validate": "^0.1.3",
|
|
52
|
+
"@awsless/weak-cache": "^0.0.1"
|
|
53
53
|
},
|
|
54
54
|
"dependencies": {
|
|
55
55
|
"@arcanyx/cidr-slicer": "^0.3.0",
|
|
@@ -139,16 +139,16 @@
|
|
|
139
139
|
"zip-a-folder": "^3.1.6",
|
|
140
140
|
"zod": "^3.24.2",
|
|
141
141
|
"zod-to-json-schema": "^3.24.3",
|
|
142
|
-
"@awsless/cloudwatch": "^0.0.1",
|
|
143
|
-
"@awsless/duration": "^0.0.4",
|
|
144
|
-
"@awsless/graphql": "^0.0.9",
|
|
145
|
-
"@awsless/json": "^0.0.10",
|
|
146
142
|
"@awsless/big-float": "^0.1.5",
|
|
147
|
-
"@awsless/size": "^0.0.2",
|
|
148
|
-
"@awsless/validate": "^0.1.3",
|
|
149
143
|
"@awsless/clui": "^0.0.8",
|
|
144
|
+
"@awsless/duration": "^0.0.4",
|
|
145
|
+
"@awsless/cloudwatch": "^0.0.1",
|
|
146
|
+
"@awsless/json": "^0.0.10",
|
|
147
|
+
"@awsless/scheduler": "^0.0.4",
|
|
150
148
|
"@awsless/ts-file-cache": "^0.0.12",
|
|
151
|
-
"@awsless/
|
|
149
|
+
"@awsless/size": "^0.0.2",
|
|
150
|
+
"@awsless/graphql": "^0.0.9",
|
|
151
|
+
"@awsless/validate": "^0.1.3"
|
|
152
152
|
},
|
|
153
153
|
"devDependencies": {
|
|
154
154
|
"@hono/node-server": "1.19.9",
|