@awsless/awsless 0.0.161 → 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 -9
- 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,7 +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:", asset.type, asset.id);
|
|
7311
|
+
debug("Outdated fingerprint:", stack.name, asset.type, asset.id);
|
|
7312
7312
|
throw new TypeError(`Outdated fingerprint: ${fingerprint}`);
|
|
7313
7313
|
}
|
|
7314
7314
|
return Promise.all(
|
|
@@ -7865,7 +7865,13 @@ var runTaskGroup = (concurrency, tasks) => {
|
|
|
7865
7865
|
status2.set(text);
|
|
7866
7866
|
});
|
|
7867
7867
|
} catch (error) {
|
|
7868
|
+
debugError(error);
|
|
7868
7869
|
icon.set(style.error(symbol.error));
|
|
7870
|
+
if (error instanceof Error) {
|
|
7871
|
+
status2.set(error.message);
|
|
7872
|
+
} else {
|
|
7873
|
+
status2.set("Error");
|
|
7874
|
+
}
|
|
7869
7875
|
status2.update(style.error);
|
|
7870
7876
|
throw error;
|
|
7871
7877
|
} finally {
|
|
@@ -7971,7 +7977,7 @@ var assetPublisher = (config2, app) => {
|
|
|
7971
7977
|
async read(fingerprint, files) {
|
|
7972
7978
|
const prev = await readFile7(getFullPath("FINGER_PRINT"), "utf8");
|
|
7973
7979
|
if (prev !== fingerprint) {
|
|
7974
|
-
debug("Outdated fingerprint:", asset.type, asset.id);
|
|
7980
|
+
debug("Outdated fingerprint:", stack.name, asset.type, asset.id);
|
|
7975
7981
|
throw new TypeError(`Outdated fingerprint: ${fingerprint}`);
|
|
7976
7982
|
}
|
|
7977
7983
|
return Promise.all(
|
|
@@ -8383,13 +8389,7 @@ var deploy = (program2) => {
|
|
|
8383
8389
|
label: stack.name,
|
|
8384
8390
|
task: async (update) => {
|
|
8385
8391
|
update("deploying...");
|
|
8386
|
-
|
|
8387
|
-
await client.deploy(stack);
|
|
8388
|
-
} catch (error) {
|
|
8389
|
-
debugError(error);
|
|
8390
|
-
update("failed");
|
|
8391
|
-
throw error;
|
|
8392
|
-
}
|
|
8392
|
+
await client.deploy(stack);
|
|
8393
8393
|
update("deployed");
|
|
8394
8394
|
return "done";
|
|
8395
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,
|
|
@@ -33,8 +33,8 @@
|
|
|
33
33
|
"@awsless/s3": "^0.0.10",
|
|
34
34
|
"@awsless/sns": "^0.0.7",
|
|
35
35
|
"@awsless/sqs": "^0.0.7",
|
|
36
|
-
"@awsless/ssm": "^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": {
|