@awsless/cli 0.1.21 → 0.1.23
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 +20 -6
- package/package.json +13 -13
package/dist/bin.js
CHANGED
|
@@ -143283,7 +143283,15 @@ ${entries2.join(`
|
|
|
143283
143283
|
props.minify,
|
|
143284
143284
|
handlers.map((h2) => [h2.external, h2.importAsString, h2.moduleSideEffects])
|
|
143285
143285
|
]));
|
|
143286
|
-
|
|
143286
|
+
const root2 = workspace.packages[workspace.cwd];
|
|
143287
|
+
const runtimeDeps = Object.keys(root2?.dependencies ?? {}).filter((name) => name === "awsless" || name.startsWith("@awsless/")).toSorted();
|
|
143288
|
+
for (const name of runtimeDeps) {
|
|
143289
|
+
const dependency = root2.dependencies[name];
|
|
143290
|
+
if (dependency.type === "package") {
|
|
143291
|
+
hash3.update(name);
|
|
143292
|
+
hash3.update(dependency.treeHash);
|
|
143293
|
+
}
|
|
143294
|
+
}
|
|
143287
143295
|
for (const item of hashes) {
|
|
143288
143296
|
hash3.update(item);
|
|
143289
143297
|
}
|
|
@@ -178649,19 +178657,25 @@ var startDev = async (props) => {
|
|
|
178649
178657
|
throw error52;
|
|
178650
178658
|
}
|
|
178651
178659
|
};
|
|
178652
|
-
const
|
|
178660
|
+
const report = createFailureReporter({
|
|
178653
178661
|
enabled: Boolean(appConfig.onFailure),
|
|
178654
178662
|
dispatch,
|
|
178655
178663
|
log: log2,
|
|
178656
|
-
onReport(
|
|
178664
|
+
onReport(report2) {
|
|
178657
178665
|
dev.events.emit("problems", {
|
|
178658
178666
|
date: Date.now(),
|
|
178659
|
-
kind:
|
|
178660
|
-
title:
|
|
178661
|
-
detail:
|
|
178667
|
+
kind: report2.kind,
|
|
178668
|
+
title: report2.routeKey ?? report2.queue?.name ?? "async invoke",
|
|
178669
|
+
detail: report2.error instanceof Error ? report2.error.message : String(report2.error)
|
|
178662
178670
|
});
|
|
178663
178671
|
}
|
|
178664
178672
|
});
|
|
178673
|
+
const reportFailure = (failure) => {
|
|
178674
|
+
if (stopping) {
|
|
178675
|
+
return;
|
|
178676
|
+
}
|
|
178677
|
+
report(failure);
|
|
178678
|
+
};
|
|
178665
178679
|
lambda.connect(dispatch, reportFailure);
|
|
178666
178680
|
await phase({ start: "Starting the local servers...", done: "Started the local servers" }, async (detail) => {
|
|
178667
178681
|
const timings = [];
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@awsless/cli",
|
|
3
|
-
"version": "0.1.
|
|
3
|
+
"version": "0.1.23",
|
|
4
4
|
"bugs": {
|
|
5
5
|
"url": "https://github.com/awsless/awsless/issues"
|
|
6
6
|
},
|
|
@@ -81,24 +81,24 @@
|
|
|
81
81
|
"wrap-ansi": "10.0.1",
|
|
82
82
|
"zod": "4.4.3",
|
|
83
83
|
"@awsless/big-float": "^0.1.8",
|
|
84
|
-
"@awsless/cloudwatch": "^0.0.
|
|
84
|
+
"@awsless/cloudwatch": "^0.0.2",
|
|
85
85
|
"@awsless/clui": "^0.0.10",
|
|
86
|
-
"@awsless/dynamodb": "^0.3.26",
|
|
87
86
|
"@awsless/dynamodb-server": "^0.1.11",
|
|
88
|
-
"@awsless/iot": "^0.0.5",
|
|
89
|
-
"@awsless/json": "^0.0.12",
|
|
90
87
|
"@awsless/duration": "^0.0.4",
|
|
88
|
+
"@awsless/iot": "^0.0.6",
|
|
89
|
+
"@awsless/json": "^0.0.12",
|
|
90
|
+
"@awsless/dynamodb": "^0.3.26",
|
|
91
|
+
"@awsless/lambda": "^0.0.49",
|
|
91
92
|
"@awsless/open-search": "^0.0.29",
|
|
92
93
|
"@awsless/redis": "^0.1.14",
|
|
93
|
-
"@awsless/s3": "^0.0.23",
|
|
94
94
|
"@awsless/size": "^0.0.3",
|
|
95
|
+
"@awsless/s3": "^0.0.23",
|
|
95
96
|
"@awsless/sns": "^0.0.12",
|
|
96
97
|
"@awsless/sqs": "^0.0.25",
|
|
97
|
-
"@awsless/ts-file-cache": "^0.0.
|
|
98
|
+
"@awsless/ts-file-cache": "^0.0.21",
|
|
98
99
|
"@awsless/weak-cache": "^0.0.2",
|
|
99
|
-
"awsless": "^0.1.5",
|
|
100
100
|
"@awsless/validate": "^0.2.1",
|
|
101
|
-
"
|
|
101
|
+
"awsless": "^0.1.5"
|
|
102
102
|
},
|
|
103
103
|
"peerDependencies": {
|
|
104
104
|
"@aws-sdk/client-cloudfront-keyvaluestore": "3.1113.0",
|
|
@@ -115,15 +115,15 @@
|
|
|
115
115
|
"@aws-sdk/credential-providers": "3.1113.0",
|
|
116
116
|
"@aws-sdk/lib-dynamodb": "3.1113.0",
|
|
117
117
|
"@opensearch-project/opensearch": "3.6.0",
|
|
118
|
-
"@awsless/dynamodb": "^0.3.26",
|
|
119
118
|
"@awsless/big-float": "^0.1.8",
|
|
120
119
|
"@awsless/dynamodb-server": "^0.1.11",
|
|
121
120
|
"@awsless/json": "^0.0.12",
|
|
122
|
-
"@awsless/
|
|
123
|
-
"@awsless/
|
|
121
|
+
"@awsless/ts-file-cache": "^0.0.21",
|
|
122
|
+
"@awsless/dynamodb": "^0.3.26",
|
|
124
123
|
"@awsless/lambda": "^0.0.49",
|
|
124
|
+
"@awsless/duration": "^0.0.4",
|
|
125
125
|
"@awsless/validate": "^0.2.1",
|
|
126
|
-
"@awsless/
|
|
126
|
+
"@awsless/s3": "^0.0.23",
|
|
127
127
|
"@awsless/weak-cache": "^0.0.2",
|
|
128
128
|
"awsless": "^0.1.5"
|
|
129
129
|
},
|