@awsless/awsless 0.0.646 → 0.0.648

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
@@ -4281,7 +4281,10 @@ var domainFeature = defineFeature({
4281
4281
  }
4282
4282
  ctx.addGlobalPermission({
4283
4283
  actions: ["ses:*"],
4284
- resources: [`arn:aws:ses:${ctx.appConfig.region}:${ctx.accountId}:identity/*`]
4284
+ resources: [
4285
+ // `arn:aws:ses:${ctx.appConfig.region}:${ctx.accountId}:identity/*`,
4286
+ "*"
4287
+ ]
4285
4288
  });
4286
4289
  }
4287
4290
  });
@@ -9016,7 +9019,21 @@ var del2 = (program2) => {
9016
9019
  await layout("delete", async ({ appConfig, stackConfigs }) => {
9017
9020
  if (appConfig.protect) {
9018
9021
  log17.warning("Your app is protected against deletion.");
9019
- return "Disable the protect flag and try again.";
9022
+ if (process.env.SKIP_PROMPT) {
9023
+ return "Disable the protect flag and try again.";
9024
+ } else {
9025
+ const confirmation = await prompt6.text({
9026
+ message: `Type ${color.error("delete")} to confirm deletion:`,
9027
+ validate(value) {
9028
+ if (value !== "delete") {
9029
+ return 'Please type "delete" to confirm.';
9030
+ }
9031
+ }
9032
+ });
9033
+ if (confirmation !== "delete") {
9034
+ throw new Cancelled();
9035
+ }
9036
+ }
9020
9037
  }
9021
9038
  const region = appConfig.region;
9022
9039
  const profile = appConfig.profile;
@@ -11013,4 +11030,6 @@ program.on("option:no-cache", () => {
11013
11030
  commands10.forEach((fn) => fn(program));
11014
11031
 
11015
11032
  // src/bin.ts
11033
+ import stayAwake from "stay-awake";
11034
+ stayAwake.prevent();
11016
11035
  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.646",
3
+ "version": "0.0.648",
4
4
  "license": "MIT",
5
5
  "type": "module",
6
6
  "sideEffects": false,
@@ -34,22 +34,22 @@
34
34
  },
35
35
  "peerDependencies": {
36
36
  "@awsless/big-float": "^0.1.5",
37
+ "@awsless/clui": "^0.0.8",
38
+ "@awsless/duration": "^0.0.4",
39
+ "@awsless/iot": "^0.0.3",
37
40
  "@awsless/cloudwatch": "^0.0.1",
38
41
  "@awsless/dynamodb": "^0.3.18",
39
- "@awsless/json": "^0.0.11",
40
- "@awsless/duration": "^0.0.4",
41
- "@awsless/lambda": "^0.0.37",
42
- "@awsless/clui": "^0.0.8",
43
42
  "@awsless/mqtt": "^0.0.2",
44
- "@awsless/redis": "^0.0.14",
43
+ "@awsless/json": "^0.0.11",
44
+ "@awsless/open-search": "^0.0.21",
45
45
  "@awsless/s3": "^0.0.21",
46
+ "@awsless/redis": "^0.0.14",
46
47
  "@awsless/ssm": "^0.0.7",
47
48
  "@awsless/sqs": "^0.0.16",
48
- "@awsless/open-search": "^0.0.21",
49
+ "@awsless/lambda": "^0.0.39",
49
50
  "@awsless/validate": "^0.1.5",
50
51
  "@awsless/weak-cache": "^0.0.1",
51
- "@awsless/sns": "^0.0.10",
52
- "@awsless/iot": "^0.0.3"
52
+ "@awsless/sns": "^0.0.10"
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",
@@ -113,15 +114,15 @@
113
114
  "zip-a-folder": "^3.1.6",
114
115
  "zod": "^3.24.2",
115
116
  "zod-to-json-schema": "^3.24.3",
116
- "@awsless/big-float": "^0.1.5",
117
117
  "@awsless/cloudwatch": "^0.0.1",
118
- "@awsless/clui": "^0.0.8",
119
- "@awsless/scheduler": "^0.0.4",
120
118
  "@awsless/duration": "^0.0.4",
121
- "@awsless/size": "^0.0.2",
122
- "@awsless/validate": "^0.1.5",
119
+ "@awsless/scheduler": "^0.0.4",
123
120
  "@awsless/json": "^0.0.11",
124
- "@awsless/ts-file-cache": "^0.0.12"
121
+ "@awsless/clui": "^0.0.8",
122
+ "@awsless/ts-file-cache": "^0.0.12",
123
+ "@awsless/big-float": "^0.1.5",
124
+ "@awsless/size": "^0.0.2",
125
+ "@awsless/validate": "^0.1.5"
125
126
  },
126
127
  "devDependencies": {
127
128
  "@hono/node-server": "1.19.9",