@awsless/awsless 0.0.503 → 0.0.504

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
@@ -7113,6 +7113,9 @@ var del2 = (program2) => {
7113
7113
  return !!filters.find((f) => wildstring2.match(f, stack.name));
7114
7114
  }).map((s) => s.name);
7115
7115
  const formattedFilter = stackNames.map((i) => color.info(i)).join(color.dim(", "));
7116
+ if (filters.length > 0 && stackNames.length === 0) {
7117
+ throw new ExpectedError(`The stack filters provided didn't match.`);
7118
+ }
7116
7119
  debug("Stacks to delete", formattedFilter);
7117
7120
  if (!process.env.SKIP_PROMPT) {
7118
7121
  const deployAll = filters.length === 0;
@@ -7508,6 +7511,9 @@ var deploy = (program2) => {
7508
7511
  }).map((s) => s.name);
7509
7512
  const formattedFilter = stackNames.map((i) => color.info(i)).join(color.dim(", "));
7510
7513
  debug("Stacks to deploy", formattedFilter);
7514
+ if (filters.length > 0 && stackNames.length === 0) {
7515
+ throw new ExpectedError(`The stack filters provided didn't match.`);
7516
+ }
7511
7517
  if (!process.env.SKIP_PROMPT) {
7512
7518
  const deployAll = filters.length === 0;
7513
7519
  const deploySingle = filters.length === 1;
Binary file
Binary file
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@awsless/awsless",
3
- "version": "0.0.503",
3
+ "version": "0.0.504",
4
4
  "license": "MIT",
5
5
  "type": "module",
6
6
  "sideEffects": false,
@@ -33,20 +33,20 @@
33
33
  ]
34
34
  },
35
35
  "peerDependencies": {
36
- "@awsless/big-float": "^0.0.6",
37
36
  "@awsless/dynamodb": "^0.1.5",
38
- "@awsless/json": "^0.0.10",
39
37
  "@awsless/iot": "^0.0.3",
40
- "@awsless/lambda": "^0.0.33",
38
+ "@awsless/json": "^0.0.10",
41
39
  "@awsless/mqtt": "^0.0.2",
42
- "@awsless/redis": "^0.0.14",
40
+ "@awsless/lambda": "^0.0.33",
43
41
  "@awsless/open-search": "^0.0.17",
44
- "@awsless/sns": "^0.0.10",
45
42
  "@awsless/s3": "^0.0.21",
46
- "@awsless/validate": "^0.0.19",
47
- "@awsless/ssm": "^0.0.7",
43
+ "@awsless/redis": "^0.0.14",
48
44
  "@awsless/sqs": "^0.0.8",
49
- "@awsless/weak-cache": "^0.0.1"
45
+ "@awsless/ssm": "^0.0.7",
46
+ "@awsless/big-float": "^0.0.6",
47
+ "@awsless/validate": "^0.0.19",
48
+ "@awsless/weak-cache": "^0.0.1",
49
+ "@awsless/sns": "^0.0.10"
50
50
  },
51
51
  "dependencies": {
52
52
  "@arcanyx/cidr-slicer": "^0.3.0",
@@ -127,14 +127,14 @@
127
127
  "zip-a-folder": "^3.1.6",
128
128
  "zod": "^3.24.2",
129
129
  "zod-to-json-schema": "^3.24.3",
130
- "@awsless/formation": "^0.0.77",
130
+ "@awsless/big-float": "^0.0.6",
131
131
  "@awsless/duration": "^0.0.3",
132
- "@awsless/graphql": "^0.0.9",
132
+ "@awsless/formation": "^0.0.77",
133
133
  "@awsless/json": "^0.0.10",
134
- "@awsless/big-float": "^0.0.6",
135
134
  "@awsless/size": "^0.0.2",
136
- "@awsless/validate": "^0.0.19",
137
135
  "@awsless/ts-file-cache": "^0.0.12",
136
+ "@awsless/graphql": "^0.0.9",
137
+ "@awsless/validate": "^0.0.19",
138
138
  "@awsless/code": "^0.0.10"
139
139
  },
140
140
  "devDependencies": {