@awsless/cli 0.0.6 → 0.0.8
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
|
@@ -7283,7 +7283,24 @@ await handler(payload)
|
|
|
7283
7283
|
target,
|
|
7284
7284
|
outfile: filePath
|
|
7285
7285
|
},
|
|
7286
|
-
target: "bun"
|
|
7286
|
+
target: "bun",
|
|
7287
|
+
loader: {
|
|
7288
|
+
".md": "text",
|
|
7289
|
+
".txt": "text",
|
|
7290
|
+
".html": "text",
|
|
7291
|
+
".css": "text",
|
|
7292
|
+
".yaml": "text",
|
|
7293
|
+
".yml": "text",
|
|
7294
|
+
".xml": "text",
|
|
7295
|
+
".csv": "text",
|
|
7296
|
+
".svg": "text",
|
|
7297
|
+
".png": "file",
|
|
7298
|
+
".jpg": "file",
|
|
7299
|
+
".jpeg": "file",
|
|
7300
|
+
".gif": "file",
|
|
7301
|
+
".webp": "file",
|
|
7302
|
+
".wasm": "file"
|
|
7303
|
+
}
|
|
7287
7304
|
});
|
|
7288
7305
|
} catch (error) {
|
|
7289
7306
|
throw new ExpectedError(
|
|
@@ -7745,6 +7762,8 @@ var jobFeature = defineFeature({
|
|
|
7745
7762
|
ctx.shared.set("job", "security-group-id", securityGroup.id);
|
|
7746
7763
|
},
|
|
7747
7764
|
onStack(ctx) {
|
|
7765
|
+
const jobs = Object.entries(ctx.stackConfig.jobs ?? {});
|
|
7766
|
+
if (jobs.length === 0) return;
|
|
7748
7767
|
const subnets = ctx.shared.get("vpc", "public-subnets");
|
|
7749
7768
|
ctx.addEnv(
|
|
7750
7769
|
"JOB_SUBNETS",
|
|
@@ -7755,8 +7774,6 @@ var jobFeature = defineFeature({
|
|
|
7755
7774
|
);
|
|
7756
7775
|
ctx.addEnv("JOB_SECURITY_GROUP", ctx.shared.get("job", "security-group-id"));
|
|
7757
7776
|
ctx.addEnv("JOB_PAYLOAD_BUCKET", ctx.shared.get("job", "bucket-name"));
|
|
7758
|
-
const jobs = Object.entries(ctx.stackConfig.jobs ?? {});
|
|
7759
|
-
if (jobs.length === 0) return;
|
|
7760
7777
|
for (const [id, props] of jobs) {
|
|
7761
7778
|
const group = new Group26(ctx.stack, "job", id);
|
|
7762
7779
|
createFargateJob(group, ctx, "job", id, props);
|
|
@@ -7821,7 +7838,24 @@ var buildExecutable = async (input, outputPath, architecture) => {
|
|
|
7821
7838
|
target,
|
|
7822
7839
|
outfile: filePath
|
|
7823
7840
|
},
|
|
7824
|
-
target: "bun"
|
|
7841
|
+
target: "bun",
|
|
7842
|
+
loader: {
|
|
7843
|
+
".md": "text",
|
|
7844
|
+
".txt": "text",
|
|
7845
|
+
".html": "text",
|
|
7846
|
+
".css": "text",
|
|
7847
|
+
".yaml": "text",
|
|
7848
|
+
".yml": "text",
|
|
7849
|
+
".xml": "text",
|
|
7850
|
+
".csv": "text",
|
|
7851
|
+
".svg": "text",
|
|
7852
|
+
".png": "file",
|
|
7853
|
+
".jpg": "file",
|
|
7854
|
+
".jpeg": "file",
|
|
7855
|
+
".gif": "file",
|
|
7856
|
+
".webp": "file",
|
|
7857
|
+
".wasm": "file"
|
|
7858
|
+
}
|
|
7825
7859
|
});
|
|
7826
7860
|
} catch (error) {
|
|
7827
7861
|
throw new ExpectedError(
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@awsless/cli",
|
|
3
|
-
"version": "0.0.
|
|
3
|
+
"version": "0.0.8",
|
|
4
4
|
"license": "MIT",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"sideEffects": false,
|
|
@@ -87,23 +87,23 @@
|
|
|
87
87
|
"zod": "^3.24.2",
|
|
88
88
|
"zod-to-json-schema": "^3.24.3",
|
|
89
89
|
"@awsless/big-float": "^0.1.6",
|
|
90
|
-
"@awsless/cloudwatch": "^0.0.1",
|
|
91
90
|
"@awsless/clui": "^0.0.8",
|
|
92
|
-
"@awsless/duration": "^0.0.4",
|
|
93
91
|
"@awsless/dynamodb": "^0.3.20",
|
|
92
|
+
"@awsless/cloudwatch": "^0.0.1",
|
|
93
|
+
"@awsless/duration": "^0.0.4",
|
|
94
94
|
"@awsless/iot": "^0.0.5",
|
|
95
95
|
"@awsless/json": "^0.0.11",
|
|
96
|
-
"@awsless/
|
|
96
|
+
"@awsless/lambda": "^0.0.42",
|
|
97
|
+
"@awsless/redis": "^0.0.16",
|
|
97
98
|
"@awsless/scheduler": "^0.0.4",
|
|
98
99
|
"@awsless/size": "^0.0.2",
|
|
99
|
-
"@awsless/lambda": "^0.0.42",
|
|
100
100
|
"@awsless/sns": "^0.0.10",
|
|
101
|
-
"@awsless/redis": "^0.0.16",
|
|
102
|
-
"@awsless/weak-cache": "^0.0.1",
|
|
103
|
-
"awsless": "^0.0.3",
|
|
104
|
-
"@awsless/ts-file-cache": "^0.0.12",
|
|
105
101
|
"@awsless/sqs": "^0.0.21",
|
|
106
|
-
"@awsless/
|
|
102
|
+
"@awsless/s3": "^0.0.21",
|
|
103
|
+
"@awsless/validate": "^0.1.7",
|
|
104
|
+
"@awsless/ts-file-cache": "^0.0.13",
|
|
105
|
+
"@awsless/weak-cache": "^0.0.1",
|
|
106
|
+
"awsless": "^0.0.3"
|
|
107
107
|
},
|
|
108
108
|
"devDependencies": {
|
|
109
109
|
"@hono/node-server": "1.19.9",
|