@awsless/awsless 0.0.349 → 0.0.350

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.
Files changed (2) hide show
  1. package/dist/bin.js +2 -2
  2. package/package.json +9 -9
package/dist/bin.js CHANGED
@@ -10520,7 +10520,7 @@ var generateRecursiveFileHashes = async (workspace, file, source, allowedExtensi
10520
10520
  if (dependency.type === "package") {
10521
10521
  hashes.set(file, Buffer.from(`${file}:${dependency.version}`, "utf8"));
10522
10522
  } else {
10523
- const localPackage = workspace.packages[file];
10523
+ const localPackage = workspace.packages.find((p2) => p2.name === file);
10524
10524
  if (!localPackage) {
10525
10525
  throw new Error(`Can't find the local workspace package for: ${file}`);
10526
10526
  }
@@ -10547,7 +10547,7 @@ var mergeHashes = (hashes) => {
10547
10547
  return createHash("sha1").update(merge2).digest("hex");
10548
10548
  };
10549
10549
  var findDependency = (workspace, module, source) => {
10550
- const pkg = Object.values(workspace.packages).find((pkg2) => {
10550
+ const pkg = workspace.packages.find((pkg2) => {
10551
10551
  return source.startsWith(pkg2.path);
10552
10552
  });
10553
10553
  if (!pkg) {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@awsless/awsless",
3
- "version": "0.0.349",
3
+ "version": "0.0.350",
4
4
  "license": "MIT",
5
5
  "type": "module",
6
6
  "sideEffects": false,
@@ -29,13 +29,13 @@
29
29
  },
30
30
  "peerDependencies": {
31
31
  "@awsless/iot": "^0.0.2",
32
+ "@awsless/lambda": "^0.0.26",
32
33
  "@awsless/open-search": "^0.0.15",
33
- "@awsless/redis": "^0.0.12",
34
- "@awsless/s3": "^0.0.18",
35
34
  "@awsless/sns": "^0.0.7",
36
- "@awsless/lambda": "^0.0.26",
37
- "@awsless/sqs": "^0.0.7",
35
+ "@awsless/s3": "^0.0.18",
36
+ "@awsless/redis": "^0.0.12",
38
37
  "@awsless/ssm": "^0.0.7",
38
+ "@awsless/sqs": "^0.0.7",
39
39
  "@awsless/validate": "^0.0.15",
40
40
  "@awsless/weak-cache": "^0.0.1"
41
41
  },
@@ -109,11 +109,11 @@
109
109
  "zod-to-json-schema": "^3.22.3",
110
110
  "@awsless/code": "^0.0.10",
111
111
  "@awsless/duration": "^0.0.1",
112
- "@awsless/graphql": "^0.0.9",
112
+ "@awsless/formation": "^0.0.53",
113
113
  "@awsless/size": "^0.0.1",
114
- "@awsless/ts-file-cache": "^0.0.6",
115
- "@awsless/validate": "^0.0.15",
116
- "@awsless/formation": "^0.0.53"
114
+ "@awsless/graphql": "^0.0.9",
115
+ "@awsless/ts-file-cache": "^0.0.8",
116
+ "@awsless/validate": "^0.0.15"
117
117
  },
118
118
  "scripts": {
119
119
  "test": "pnpm code test",