@awsless/cli 0.1.22 → 0.1.23

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 +9 -1
  2. package/package.json +15 -15
package/dist/bin.js CHANGED
@@ -143283,7 +143283,15 @@ ${entries2.join(`
143283
143283
  props.minify,
143284
143284
  handlers.map((h2) => [h2.external, h2.importAsString, h2.moduleSideEffects])
143285
143285
  ]));
143286
- hash3.update(workspace.lockfileHash);
143286
+ const root2 = workspace.packages[workspace.cwd];
143287
+ const runtimeDeps = Object.keys(root2?.dependencies ?? {}).filter((name) => name === "awsless" || name.startsWith("@awsless/")).toSorted();
143288
+ for (const name of runtimeDeps) {
143289
+ const dependency = root2.dependencies[name];
143290
+ if (dependency.type === "package") {
143291
+ hash3.update(name);
143292
+ hash3.update(dependency.treeHash);
143293
+ }
143294
+ }
143287
143295
  for (const item of hashes) {
143288
143296
  hash3.update(item);
143289
143297
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@awsless/cli",
3
- "version": "0.1.22",
3
+ "version": "0.1.23",
4
4
  "bugs": {
5
5
  "url": "https://github.com/awsless/awsless/issues"
6
6
  },
@@ -82,23 +82,23 @@
82
82
  "zod": "4.4.3",
83
83
  "@awsless/big-float": "^0.1.8",
84
84
  "@awsless/cloudwatch": "^0.0.2",
85
- "@awsless/duration": "^0.0.4",
86
- "@awsless/dynamodb": "^0.3.26",
87
85
  "@awsless/clui": "^0.0.10",
88
86
  "@awsless/dynamodb-server": "^0.1.11",
87
+ "@awsless/duration": "^0.0.4",
88
+ "@awsless/iot": "^0.0.6",
89
89
  "@awsless/json": "^0.0.12",
90
- "@awsless/open-search": "^0.0.29",
90
+ "@awsless/dynamodb": "^0.3.26",
91
91
  "@awsless/lambda": "^0.0.49",
92
+ "@awsless/open-search": "^0.0.29",
92
93
  "@awsless/redis": "^0.1.14",
93
94
  "@awsless/size": "^0.0.3",
95
+ "@awsless/s3": "^0.0.23",
94
96
  "@awsless/sns": "^0.0.12",
95
- "@awsless/iot": "^0.0.6",
96
97
  "@awsless/sqs": "^0.0.25",
97
- "@awsless/s3": "^0.0.23",
98
+ "@awsless/ts-file-cache": "^0.0.21",
99
+ "@awsless/weak-cache": "^0.0.2",
98
100
  "@awsless/validate": "^0.2.1",
99
- "@awsless/ts-file-cache": "^0.0.20",
100
- "awsless": "^0.1.5",
101
- "@awsless/weak-cache": "^0.0.2"
101
+ "awsless": "^0.1.5"
102
102
  },
103
103
  "peerDependencies": {
104
104
  "@aws-sdk/client-cloudfront-keyvaluestore": "3.1113.0",
@@ -117,15 +117,15 @@
117
117
  "@opensearch-project/opensearch": "3.6.0",
118
118
  "@awsless/big-float": "^0.1.8",
119
119
  "@awsless/dynamodb-server": "^0.1.11",
120
- "@awsless/dynamodb": "^0.3.26",
121
- "@awsless/duration": "^0.0.4",
122
120
  "@awsless/json": "^0.0.12",
121
+ "@awsless/ts-file-cache": "^0.0.21",
122
+ "@awsless/dynamodb": "^0.3.26",
123
123
  "@awsless/lambda": "^0.0.49",
124
- "@awsless/s3": "^0.0.23",
125
- "@awsless/ts-file-cache": "^0.0.20",
124
+ "@awsless/duration": "^0.0.4",
126
125
  "@awsless/validate": "^0.2.1",
127
- "awsless": "^0.1.5",
128
- "@awsless/weak-cache": "^0.0.2"
126
+ "@awsless/s3": "^0.0.23",
127
+ "@awsless/weak-cache": "^0.0.2",
128
+ "awsless": "^0.1.5"
129
129
  },
130
130
  "scripts": {
131
131
  "test": "pnpm typecheck && bun cli/build-handlers.ts && pnpm vitest",