@awsless/awsless 0.0.52 → 0.0.53

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 +3 -1
  2. package/package.json +3 -3
package/dist/bin.js CHANGED
@@ -850,7 +850,9 @@ var rollupBundle = ({ format: format2 = "esm", minify = true, handler = "default
850
850
  if (item.type !== "chunk") {
851
851
  continue;
852
852
  }
853
- const name = item.isEntry ? format2 === "esm" ? "index.mjs" : "index.js" : item.fileName;
853
+ const base = item.isEntry ? "index" : item.name;
854
+ const ext = format2 === "esm" ? "mjs" : "js";
855
+ const name = `${base}.${ext}`;
854
856
  const code = Buffer.from(item.code, "utf8");
855
857
  const map = item.map ? Buffer.from(item.map.toString(), "utf8") : void 0;
856
858
  hash.update(code);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@awsless/awsless",
3
- "version": "0.0.52",
3
+ "version": "0.0.53",
4
4
  "license": "MIT",
5
5
  "type": "module",
6
6
  "repository": {
@@ -25,8 +25,8 @@
25
25
  "peerDependencies": {
26
26
  "@awsless/lambda": "^0.0.6",
27
27
  "@awsless/sns": "^0.0.6",
28
- "@awsless/ssm": "^0.0.7",
29
- "@awsless/sqs": "^0.0.6"
28
+ "@awsless/sqs": "^0.0.6",
29
+ "@awsless/ssm": "^0.0.7"
30
30
  },
31
31
  "dependencies": {
32
32
  "@aws-sdk/client-cloudformation": "^3.369.0",