@awsless/awsless 0.0.352 → 0.0.353
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 +3 -3
- package/package.json +9 -9
package/dist/bin.js
CHANGED
|
@@ -14323,7 +14323,7 @@ import { unwrap as unwrap3 } from "@awsless/formation";
|
|
|
14323
14323
|
import { note as note3 } from "@clack/prompts";
|
|
14324
14324
|
import { spawn } from "child_process";
|
|
14325
14325
|
var bind = (program2) => {
|
|
14326
|
-
program2.command("bind").argument("<command...>", "The command to execute").option("--configs <string...>", "List of config values that will be accessable").description(`Bind your site environment variables to a command`).action(async (commands7) => {
|
|
14326
|
+
program2.command("bind").argument("<command...>", "The command to execute").option("--configs <string...>", "List of config values that will be accessable", []).description(`Bind your site environment variables to a command`).action(async (commands7, opts) => {
|
|
14327
14327
|
await layout("bind", async ({ appConfig, stackConfigs }) => {
|
|
14328
14328
|
const region = appConfig.region;
|
|
14329
14329
|
const credentials = getCredentials(appConfig.profile);
|
|
@@ -14351,8 +14351,8 @@ var bind = (program2) => {
|
|
|
14351
14351
|
...process.env,
|
|
14352
14352
|
// Pass the site bind env vars
|
|
14353
14353
|
...env,
|
|
14354
|
-
// Pass in
|
|
14355
|
-
CONFIG:
|
|
14354
|
+
// Pass in the config values to load
|
|
14355
|
+
CONFIG: opts.configs.join(","),
|
|
14356
14356
|
// Basic info
|
|
14357
14357
|
AWS_REGION: appConfig.region,
|
|
14358
14358
|
AWS_ACCOUNT_ID: accountId,
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@awsless/awsless",
|
|
3
|
-
"version": "0.0.
|
|
3
|
+
"version": "0.0.353",
|
|
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/open-search": "^0.0.15",
|
|
31
32
|
"@awsless/iot": "^0.0.2",
|
|
32
33
|
"@awsless/lambda": "^0.0.26",
|
|
33
|
-
"@awsless/open-search": "^0.0.15",
|
|
34
|
-
"@awsless/redis": "^0.0.12",
|
|
35
34
|
"@awsless/s3": "^0.0.18",
|
|
35
|
+
"@awsless/redis": "^0.0.12",
|
|
36
36
|
"@awsless/sns": "^0.0.7",
|
|
37
37
|
"@awsless/sqs": "^0.0.7",
|
|
38
|
-
"@awsless/ssm": "^0.0.7",
|
|
39
38
|
"@awsless/validate": "^0.0.15",
|
|
40
|
-
"@awsless/weak-cache": "^0.0.1"
|
|
39
|
+
"@awsless/weak-cache": "^0.0.1",
|
|
40
|
+
"@awsless/ssm": "^0.0.7"
|
|
41
41
|
},
|
|
42
42
|
"dependencies": {
|
|
43
43
|
"@arcanyx/cidr-slicer": "^0.3.0",
|
|
@@ -107,13 +107,13 @@
|
|
|
107
107
|
"zip-a-folder": "^3.1.6",
|
|
108
108
|
"zod": "^3.21.4",
|
|
109
109
|
"zod-to-json-schema": "^3.22.3",
|
|
110
|
-
"@awsless/code": "^0.0.10",
|
|
111
|
-
"@awsless/duration": "^0.0.1",
|
|
112
110
|
"@awsless/formation": "^0.0.53",
|
|
113
111
|
"@awsless/graphql": "^0.0.9",
|
|
114
|
-
"@awsless/
|
|
112
|
+
"@awsless/duration": "^0.0.1",
|
|
113
|
+
"@awsless/validate": "^0.0.15",
|
|
115
114
|
"@awsless/ts-file-cache": "^0.0.9",
|
|
116
|
-
"@awsless/
|
|
115
|
+
"@awsless/code": "^0.0.10",
|
|
116
|
+
"@awsless/size": "^0.0.1"
|
|
117
117
|
},
|
|
118
118
|
"scripts": {
|
|
119
119
|
"test": "pnpm code test",
|