@awsless/awsless 0.0.330 → 0.0.331

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 -3
  2. package/package.json +10 -10
package/dist/bin.js CHANGED
@@ -3594,6 +3594,7 @@ var instanceFeature = defineFeature({
3594
3594
  const env = {
3595
3595
  APP: ctx.app.name,
3596
3596
  APP_ID: ctx.appId,
3597
+ STORE_POSTFIX: ctx.appId,
3597
3598
  STACK: ctx.stack.name
3598
3599
  };
3599
3600
  ctx.onEnv((name2, value) => {
@@ -4363,9 +4364,6 @@ var storeFeature = defineFeature({
4363
4364
  gen.addInterface("StoreResources", resources);
4364
4365
  await ctx.write("store.d.ts", gen, true);
4365
4366
  },
4366
- onApp(ctx) {
4367
- ctx.addEnv("STORE_POSTFIX", ctx.appId);
4368
- },
4369
4367
  onStack(ctx) {
4370
4368
  for (const [id, props] of Object.entries(ctx.stackConfig.stores ?? {})) {
4371
4369
  const group = new Node16(ctx.stack, "store", id);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@awsless/awsless",
3
- "version": "0.0.330",
3
+ "version": "0.0.331",
4
4
  "license": "MIT",
5
5
  "type": "module",
6
6
  "sideEffects": false,
@@ -29,15 +29,15 @@
29
29
  },
30
30
  "peerDependencies": {
31
31
  "@awsless/lambda": "^0.0.26",
32
- "@awsless/open-search": "^0.0.15",
32
+ "@awsless/redis": "^0.0.12",
33
33
  "@awsless/sns": "^0.0.7",
34
- "@awsless/s3": "^0.0.18",
35
- "@awsless/sqs": "^0.0.7",
34
+ "@awsless/open-search": "^0.0.15",
36
35
  "@awsless/ssm": "^0.0.7",
37
36
  "@awsless/iot": "^0.0.2",
38
- "@awsless/redis": "^0.0.12",
39
37
  "@awsless/validate": "^0.0.14",
40
- "@awsless/weak-cache": "^0.0.1"
38
+ "@awsless/s3": "^0.0.18",
39
+ "@awsless/weak-cache": "^0.0.1",
40
+ "@awsless/sqs": "^0.0.7"
41
41
  },
42
42
  "dependencies": {
43
43
  "@arcanyx/cidr-slicer": "^0.3.0",
@@ -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/duration": "^0.0.1",
111
- "@awsless/formation": "^0.0.48",
112
- "@awsless/graphql": "^0.0.9",
113
110
  "@awsless/size": "^0.0.1",
111
+ "@awsless/graphql": "^0.0.9",
112
+ "@awsless/duration": "^0.0.1",
113
+ "@awsless/ts-file-cache": "^0.0.1",
114
114
  "@awsless/validate": "^0.0.14",
115
- "@awsless/ts-file-cache": "^0.0.1"
115
+ "@awsless/formation": "^0.0.48"
116
116
  },
117
117
  "scripts": {
118
118
  "test": "pnpm code test",