@awsless/awsless 0.0.160 → 0.0.162
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 +9 -7
- package/dist/features/cognito-client-secret/bundle.zip +0 -0
- package/dist/features/delete-bucket/bundle.zip +0 -0
- package/dist/features/delete-hosted-zone/bundle.zip +0 -0
- package/dist/features/global-exports/bundle.zip +0 -0
- package/dist/features/invalidate-cache/bundle.zip +0 -0
- package/dist/features/upload-bucket-asset/bundle.zip +0 -0
- package/package.json +2 -2
package/dist/bin.js
CHANGED
|
@@ -7308,6 +7308,7 @@ var assetBuilder = (app) => {
|
|
|
7308
7308
|
async read(fingerprint, files) {
|
|
7309
7309
|
const prev = await getFingerPrint();
|
|
7310
7310
|
if (prev !== fingerprint) {
|
|
7311
|
+
debug("Outdated fingerprint:", stack.name, asset.type, asset.id);
|
|
7311
7312
|
throw new TypeError(`Outdated fingerprint: ${fingerprint}`);
|
|
7312
7313
|
}
|
|
7313
7314
|
return Promise.all(
|
|
@@ -7864,7 +7865,13 @@ var runTaskGroup = (concurrency, tasks) => {
|
|
|
7864
7865
|
status2.set(text);
|
|
7865
7866
|
});
|
|
7866
7867
|
} catch (error) {
|
|
7868
|
+
debugError(error);
|
|
7867
7869
|
icon.set(style.error(symbol.error));
|
|
7870
|
+
if (error instanceof Error) {
|
|
7871
|
+
status2.set(error.message);
|
|
7872
|
+
} else {
|
|
7873
|
+
status2.set("Error");
|
|
7874
|
+
}
|
|
7868
7875
|
status2.update(style.error);
|
|
7869
7876
|
throw error;
|
|
7870
7877
|
} finally {
|
|
@@ -7970,6 +7977,7 @@ var assetPublisher = (config2, app) => {
|
|
|
7970
7977
|
async read(fingerprint, files) {
|
|
7971
7978
|
const prev = await readFile7(getFullPath("FINGER_PRINT"), "utf8");
|
|
7972
7979
|
if (prev !== fingerprint) {
|
|
7980
|
+
debug("Outdated fingerprint:", stack.name, asset.type, asset.id);
|
|
7973
7981
|
throw new TypeError(`Outdated fingerprint: ${fingerprint}`);
|
|
7974
7982
|
}
|
|
7975
7983
|
return Promise.all(
|
|
@@ -8381,13 +8389,7 @@ var deploy = (program2) => {
|
|
|
8381
8389
|
label: stack.name,
|
|
8382
8390
|
task: async (update) => {
|
|
8383
8391
|
update("deploying...");
|
|
8384
|
-
|
|
8385
|
-
await client.deploy(stack);
|
|
8386
|
-
} catch (error) {
|
|
8387
|
-
debugError(error);
|
|
8388
|
-
update("failed");
|
|
8389
|
-
throw error;
|
|
8390
|
-
}
|
|
8392
|
+
await client.deploy(stack);
|
|
8391
8393
|
update("deployed");
|
|
8392
8394
|
return "done";
|
|
8393
8395
|
}
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
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.162",
|
|
4
4
|
"license": "MIT",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"sideEffects": false,
|
|
@@ -31,10 +31,10 @@
|
|
|
31
31
|
"@awsless/lambda": "^0.0.18",
|
|
32
32
|
"@awsless/redis": "^0.0.10",
|
|
33
33
|
"@awsless/s3": "^0.0.10",
|
|
34
|
-
"@awsless/ssm": "^0.0.7",
|
|
35
34
|
"@awsless/sns": "^0.0.7",
|
|
36
35
|
"@awsless/sqs": "^0.0.7",
|
|
37
36
|
"@awsless/validate": "^0.0.13",
|
|
37
|
+
"@awsless/ssm": "^0.0.7",
|
|
38
38
|
"@awsless/weak-cache": "^0.0.1"
|
|
39
39
|
},
|
|
40
40
|
"dependencies": {
|