@awsless/awsless 0.0.646 → 0.0.647
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
|
@@ -9016,7 +9016,21 @@ var del2 = (program2) => {
|
|
|
9016
9016
|
await layout("delete", async ({ appConfig, stackConfigs }) => {
|
|
9017
9017
|
if (appConfig.protect) {
|
|
9018
9018
|
log17.warning("Your app is protected against deletion.");
|
|
9019
|
-
|
|
9019
|
+
if (process.env.SKIP_PROMPT) {
|
|
9020
|
+
return "Disable the protect flag and try again.";
|
|
9021
|
+
} else {
|
|
9022
|
+
const confirmation = await prompt6.text({
|
|
9023
|
+
message: `Type ${color.error("delete")} to confirm deletion:`,
|
|
9024
|
+
validate(value) {
|
|
9025
|
+
if (value !== "delete") {
|
|
9026
|
+
return 'Please type "delete" to confirm.';
|
|
9027
|
+
}
|
|
9028
|
+
}
|
|
9029
|
+
});
|
|
9030
|
+
if (confirmation !== "delete") {
|
|
9031
|
+
throw new Cancelled();
|
|
9032
|
+
}
|
|
9033
|
+
}
|
|
9020
9034
|
}
|
|
9021
9035
|
const region = appConfig.region;
|
|
9022
9036
|
const profile = appConfig.profile;
|
|
@@ -11013,4 +11027,6 @@ program.on("option:no-cache", () => {
|
|
|
11013
11027
|
commands10.forEach((fn) => fn(program));
|
|
11014
11028
|
|
|
11015
11029
|
// src/bin.ts
|
|
11030
|
+
import stayAwake from "stay-awake";
|
|
11031
|
+
stayAwake.prevent();
|
|
11016
11032
|
program.parse(process.argv);
|
|
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.647",
|
|
4
4
|
"license": "MIT",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"sideEffects": false,
|
|
@@ -35,21 +35,21 @@
|
|
|
35
35
|
"peerDependencies": {
|
|
36
36
|
"@awsless/big-float": "^0.1.5",
|
|
37
37
|
"@awsless/cloudwatch": "^0.0.1",
|
|
38
|
-
"@awsless/dynamodb": "^0.3.18",
|
|
39
|
-
"@awsless/json": "^0.0.11",
|
|
40
38
|
"@awsless/duration": "^0.0.4",
|
|
41
|
-
"@awsless/
|
|
42
|
-
"@awsless/
|
|
43
|
-
"@awsless/
|
|
39
|
+
"@awsless/json": "^0.0.11",
|
|
40
|
+
"@awsless/dynamodb": "^0.3.18",
|
|
41
|
+
"@awsless/iot": "^0.0.3",
|
|
44
42
|
"@awsless/redis": "^0.0.14",
|
|
43
|
+
"@awsless/mqtt": "^0.0.2",
|
|
44
|
+
"@awsless/lambda": "^0.0.38",
|
|
45
|
+
"@awsless/clui": "^0.0.8",
|
|
45
46
|
"@awsless/s3": "^0.0.21",
|
|
47
|
+
"@awsless/sns": "^0.0.10",
|
|
46
48
|
"@awsless/ssm": "^0.0.7",
|
|
49
|
+
"@awsless/validate": "^0.1.5",
|
|
47
50
|
"@awsless/sqs": "^0.0.16",
|
|
48
51
|
"@awsless/open-search": "^0.0.21",
|
|
49
|
-
"@awsless/
|
|
50
|
-
"@awsless/weak-cache": "^0.0.1",
|
|
51
|
-
"@awsless/sns": "^0.0.10",
|
|
52
|
-
"@awsless/iot": "^0.0.3"
|
|
52
|
+
"@awsless/weak-cache": "^0.0.1"
|
|
53
53
|
},
|
|
54
54
|
"dependencies": {
|
|
55
55
|
"@aws-sdk/client-cloudformation": "^3.369.0",
|
|
@@ -103,6 +103,7 @@
|
|
|
103
103
|
"pretty-hrtime": "^1.0.3",
|
|
104
104
|
"rolldown": "1.0.0-rc.3",
|
|
105
105
|
"rollup-plugin-string-import": "1.2.6",
|
|
106
|
+
"stay-awake": "0.0.3",
|
|
106
107
|
"svgo": "^4.0.0",
|
|
107
108
|
"svgstore": "^3.0.1",
|
|
108
109
|
"type-fest": "^4.20.1",
|
|
@@ -115,12 +116,12 @@
|
|
|
115
116
|
"zod-to-json-schema": "^3.24.3",
|
|
116
117
|
"@awsless/big-float": "^0.1.5",
|
|
117
118
|
"@awsless/cloudwatch": "^0.0.1",
|
|
118
|
-
"@awsless/clui": "^0.0.8",
|
|
119
|
-
"@awsless/scheduler": "^0.0.4",
|
|
120
119
|
"@awsless/duration": "^0.0.4",
|
|
120
|
+
"@awsless/json": "^0.0.11",
|
|
121
|
+
"@awsless/scheduler": "^0.0.4",
|
|
121
122
|
"@awsless/size": "^0.0.2",
|
|
122
123
|
"@awsless/validate": "^0.1.5",
|
|
123
|
-
"@awsless/
|
|
124
|
+
"@awsless/clui": "^0.0.8",
|
|
124
125
|
"@awsless/ts-file-cache": "^0.0.12"
|
|
125
126
|
},
|
|
126
127
|
"devDependencies": {
|