@awsless/awsless 0.0.450 → 0.0.453

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.
package/dist/bin.js CHANGED
@@ -38,7 +38,6 @@ import { confirm, isCancel, log } from "@clack/prompts";
38
38
  // src/util/workspace.ts
39
39
  import {
40
40
  DynamoLockBackend,
41
- enableDebug,
42
41
  S3StateBackend,
43
42
  Terraform,
44
43
  WorkSpace
@@ -124,7 +123,6 @@ var createWorkSpace = async (props) => {
124
123
  const terraform = new Terraform({
125
124
  providerLocation: join2(homedir(), `.awsless/providers`)
126
125
  });
127
- enableDebug();
128
126
  const aws = await terraform.install("hashicorp", "aws", "5.94.1");
129
127
  const workspace = new WorkSpace({
130
128
  providers: [
@@ -5177,8 +5175,13 @@ var layerFeature = defineFeature({
5177
5175
  compatibleArchitectures: props.architecture ? [props.architecture] : void 0,
5178
5176
  compatibleRuntimes: props.runtimes,
5179
5177
  s3Bucket: code.bucket,
5180
- s3Key: code.key,
5181
5178
  s3ObjectVersion: code.versionId,
5179
+ s3Key: code.key.pipe((name) => {
5180
+ if (name.startsWith("/")) {
5181
+ return name.substring(1);
5182
+ }
5183
+ return name;
5184
+ }),
5182
5185
  sourceCodeHash: $hash(props.file)
5183
5186
  },
5184
5187
  {
Binary file
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@awsless/awsless",
3
- "version": "0.0.450",
3
+ "version": "0.0.453",
4
4
  "license": "MIT",
5
5
  "type": "module",
6
6
  "sideEffects": false,
@@ -28,19 +28,19 @@
28
28
  }
29
29
  },
30
30
  "peerDependencies": {
31
- "@awsless/json": "^0.0.8",
32
31
  "@awsless/dynamodb": "^0.1.5",
33
- "@awsless/mqtt": "^0.0.2",
32
+ "@awsless/iot": "^0.0.3",
33
+ "@awsless/json": "^0.0.8",
34
34
  "@awsless/lambda": "^0.0.31",
35
+ "@awsless/mqtt": "^0.0.2",
35
36
  "@awsless/open-search": "^0.0.17",
36
- "@awsless/iot": "^0.0.3",
37
- "@awsless/redis": "^0.0.13",
38
37
  "@awsless/sns": "^0.0.10",
38
+ "@awsless/redis": "^0.0.13",
39
39
  "@awsless/s3": "^0.0.20",
40
- "@awsless/ssm": "^0.0.7",
41
40
  "@awsless/sqs": "^0.0.8",
42
- "@awsless/weak-cache": "^0.0.1",
43
- "@awsless/validate": "^0.0.19"
41
+ "@awsless/ssm": "^0.0.7",
42
+ "@awsless/validate": "^0.0.19",
43
+ "@awsless/weak-cache": "^0.0.1"
44
44
  },
45
45
  "dependencies": {
46
46
  "@arcanyx/cidr-slicer": "^0.3.0",
@@ -116,14 +116,14 @@
116
116
  "zip-a-folder": "^3.1.6",
117
117
  "zod": "^3.24.2",
118
118
  "zod-to-json-schema": "^3.24.3",
119
+ "@awsless/code": "^0.0.10",
119
120
  "@awsless/duration": "^0.0.3",
120
- "@awsless/graphql": "^0.0.9",
121
- "@awsless/json": "^0.0.8",
122
- "@awsless/size": "^0.0.2",
123
121
  "@awsless/formation": "^0.0.68",
122
+ "@awsless/graphql": "^0.0.9",
124
123
  "@awsless/ts-file-cache": "^0.0.12",
125
- "@awsless/code": "^0.0.10",
126
- "@awsless/validate": "^0.0.19"
124
+ "@awsless/json": "^0.0.8",
125
+ "@awsless/validate": "^0.0.19",
126
+ "@awsless/size": "^0.0.2"
127
127
  },
128
128
  "devDependencies": {
129
129
  "@node-rs/bcrypt": "^1.10.5"