@awsless/awsless 0.0.334 → 0.0.336

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 -11
  2. package/package.json +7 -7
package/dist/bin.js CHANGED
@@ -1532,16 +1532,8 @@ var readConfigWithStage = async (file, stage) => {
1532
1532
  debug("Load env file:", color.info(stageFile));
1533
1533
  const stageConfig = await readConfig(stageFile);
1534
1534
  return merge(config2, stageConfig, {
1535
- arrayMerge: (target, source) => {
1536
- const destination = target.slice();
1537
- source.forEach((item, index) => {
1538
- if (typeof destination[index] === "undefined") {
1539
- destination[index] = item;
1540
- } else if (target.indexOf(item) === -1) {
1541
- destination.push(item);
1542
- }
1543
- });
1544
- return destination;
1535
+ arrayMerge: (_, source) => {
1536
+ return source;
1545
1537
  }
1546
1538
  });
1547
1539
  };
@@ -2266,7 +2258,7 @@ var createLambdaFunction = (group, ctx, ns, id, local2) => {
2266
2258
  const version = await generateFileHash(props.file, {
2267
2259
  packageVersions
2268
2260
  });
2269
- return build3(version + "-v1", async (write) => {
2261
+ return build3(version, async (write) => {
2270
2262
  const bundle = await bundleTypeScript({
2271
2263
  file: props.file,
2272
2264
  external: props.build.external,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@awsless/awsless",
3
- "version": "0.0.334",
3
+ "version": "0.0.336",
4
4
  "license": "MIT",
5
5
  "type": "module",
6
6
  "sideEffects": false,
@@ -28,14 +28,14 @@
28
28
  }
29
29
  },
30
30
  "peerDependencies": {
31
+ "@awsless/lambda": "^0.0.26",
31
32
  "@awsless/open-search": "^0.0.15",
32
33
  "@awsless/redis": "^0.0.12",
33
- "@awsless/sqs": "^0.0.7",
34
34
  "@awsless/sns": "^0.0.7",
35
- "@awsless/lambda": "^0.0.26",
36
35
  "@awsless/ssm": "^0.0.7",
37
- "@awsless/iot": "^0.0.2",
36
+ "@awsless/sqs": "^0.0.7",
38
37
  "@awsless/s3": "^0.0.18",
38
+ "@awsless/iot": "^0.0.2",
39
39
  "@awsless/validate": "^0.0.15",
40
40
  "@awsless/weak-cache": "^0.0.1"
41
41
  },
@@ -107,12 +107,12 @@
107
107
  "zod": "^3.21.4",
108
108
  "zod-to-json-schema": "^3.22.3",
109
109
  "@awsless/code": "^0.0.10",
110
+ "@awsless/graphql": "^0.0.9",
110
111
  "@awsless/duration": "^0.0.1",
111
112
  "@awsless/formation": "^0.0.48",
112
- "@awsless/size": "^0.0.1",
113
- "@awsless/graphql": "^0.0.9",
113
+ "@awsless/ts-file-cache": "^0.0.1",
114
114
  "@awsless/validate": "^0.0.15",
115
- "@awsless/ts-file-cache": "^0.0.1"
115
+ "@awsless/size": "^0.0.1"
116
116
  },
117
117
  "scripts": {
118
118
  "test": "pnpm code test",