@awsless/awsless 0.0.355 → 0.0.356

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 +1 -1
  2. package/package.json +7 -7
package/dist/bin.js CHANGED
@@ -10760,7 +10760,7 @@ import { hashElement } from "folder-hash";
10760
10760
  import { exec } from "promisify-child-process";
10761
10761
  var buildDockerImage = async (opts) => {
10762
10762
  const platform = opts.architecture === "arm64" ? "linux/arm64" : "linux/amd64";
10763
- await exec(`docker image rm ${opts.name}:latest`);
10763
+ await exec(`docker image -f rm ${opts.name}:latest 2> /dev/null || true`);
10764
10764
  const buildResponse = await exec(`docker buildx build --platform ${platform} -t ${opts.name}:latest .`, {
10765
10765
  cwd: opts.cwd
10766
10766
  });
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@awsless/awsless",
3
- "version": "0.0.355",
3
+ "version": "0.0.356",
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/iot": "^0.0.2",
32
31
  "@awsless/open-search": "^0.0.15",
33
- "@awsless/lambda": "^0.0.26",
34
32
  "@awsless/s3": "^0.0.18",
35
- "@awsless/redis": "^0.0.12",
36
33
  "@awsless/sns": "^0.0.7",
37
34
  "@awsless/sqs": "^0.0.7",
38
35
  "@awsless/ssm": "^0.0.7",
39
- "@awsless/validate": "^0.0.15",
40
- "@awsless/weak-cache": "^0.0.1"
36
+ "@awsless/weak-cache": "^0.0.1",
37
+ "@awsless/lambda": "^0.0.26",
38
+ "@awsless/redis": "^0.0.12",
39
+ "@awsless/iot": "^0.0.2",
40
+ "@awsless/validate": "^0.0.15"
41
41
  },
42
42
  "dependencies": {
43
43
  "@arcanyx/cidr-slicer": "^0.3.0",
@@ -108,8 +108,8 @@
108
108
  "zod": "^3.21.4",
109
109
  "zod-to-json-schema": "^3.22.3",
110
110
  "@awsless/code": "^0.0.10",
111
- "@awsless/formation": "^0.0.54",
112
111
  "@awsless/duration": "^0.0.1",
112
+ "@awsless/formation": "^0.0.55",
113
113
  "@awsless/graphql": "^0.0.9",
114
114
  "@awsless/size": "^0.0.1",
115
115
  "@awsless/ts-file-cache": "^0.0.9",