@awsless/awsless 0.0.417 → 0.0.418

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
@@ -15209,6 +15209,7 @@ var dev = (program2) => {
15209
15209
  // src/cli/command/resource/list.ts
15210
15210
  import { log as log11 } from "@clack/prompts";
15211
15211
  import chalk7 from "chalk";
15212
+ import wildstring5 from "wildstring";
15212
15213
  var list3 = (program2) => {
15213
15214
  program2.command("list").argument("[stacks...]", "Optionally filter stack resources to list").description(`List all defined resources`).action(async (filters) => {
15214
15215
  await layout("resource list", async ({ appConfig, stackConfigs }) => {
@@ -15222,8 +15223,11 @@ var list3 = (program2) => {
15222
15223
  }).replaceAll(":", color.dim(":"));
15223
15224
  };
15224
15225
  for (const stack of app.stacks) {
15225
- if (filters.length > 0 && !filters.includes(stack.name)) {
15226
- continue;
15226
+ if (filters.length > 0) {
15227
+ const found = filters.find((f) => wildstring5.match(f, stack.name));
15228
+ if (!found) {
15229
+ continue;
15230
+ }
15227
15231
  }
15228
15232
  log11.step(chalk7.magenta(stack.name));
15229
15233
  line("");
Binary file
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@awsless/awsless",
3
- "version": "0.0.417",
3
+ "version": "0.0.418",
4
4
  "license": "MIT",
5
5
  "type": "module",
6
6
  "sideEffects": false,
@@ -28,16 +28,16 @@
28
28
  }
29
29
  },
30
30
  "peerDependencies": {
31
- "@awsless/json": "^0.0.6",
32
31
  "@awsless/iot": "^0.0.2",
32
+ "@awsless/json": "^0.0.6",
33
33
  "@awsless/lambda": "^0.0.30",
34
- "@awsless/s3": "^0.0.18",
35
34
  "@awsless/open-search": "^0.0.15",
36
35
  "@awsless/redis": "^0.0.13",
37
- "@awsless/ssm": "^0.0.7",
38
36
  "@awsless/sns": "^0.0.9",
39
- "@awsless/sqs": "^0.0.7",
37
+ "@awsless/s3": "^0.0.18",
40
38
  "@awsless/validate": "^0.0.16",
39
+ "@awsless/ssm": "^0.0.7",
40
+ "@awsless/sqs": "^0.0.7",
41
41
  "@awsless/weak-cache": "^0.0.1",
42
42
  "@awsless/mqtt": "^0.0.2"
43
43
  },
@@ -117,12 +117,12 @@
117
117
  "zod-to-json-schema": "^3.22.3",
118
118
  "@awsless/code": "^0.0.10",
119
119
  "@awsless/duration": "^0.0.1",
120
+ "@awsless/graphql": "^0.0.9",
121
+ "@awsless/size": "^0.0.1",
120
122
  "@awsless/formation": "^0.0.57",
121
123
  "@awsless/json": "^0.0.6",
122
124
  "@awsless/validate": "^0.0.16",
123
- "@awsless/ts-file-cache": "^0.0.10",
124
- "@awsless/size": "^0.0.1",
125
- "@awsless/graphql": "^0.0.9"
125
+ "@awsless/ts-file-cache": "^0.0.10"
126
126
  },
127
127
  "devDependencies": {
128
128
  "@node-rs/bcrypt": "^1.10.5"