@gapi/gcli 1.8.129 → 1.8.130
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/README.md +1 -1
- package/package.json +2 -2
- package/release/index.js +55111 -65664
package/README.md
CHANGED
|
@@ -59,7 +59,7 @@ gcli lambda:get --name 'MY_LAMBDA_NAME'
|
|
|
59
59
|
### Create Lambda
|
|
60
60
|
|
|
61
61
|
```bash
|
|
62
|
-
gcli lambda:create --name pesho --route pesho --code 'module.exports = async (context) => ({ status: 200, body: "Hello,
|
|
62
|
+
gcli lambda:create --name pesho --route pesho --code 'module.exports = async (context) => ({ status: 200, body: "Hello, world!", headers: { "Access-Control-Allow-Origin": "https://graphql-server.com"}})'
|
|
63
63
|
```
|
|
64
64
|
|
|
65
65
|
##### Or from files
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@gapi/gcli",
|
|
3
|
-
"version": "1.8.
|
|
3
|
+
"version": "1.8.130",
|
|
4
4
|
"repository": {
|
|
5
5
|
"type": "git",
|
|
6
6
|
"url": "https://github.com/Stradivario/gapi.git"
|
|
@@ -14,7 +14,7 @@
|
|
|
14
14
|
"test": "jest",
|
|
15
15
|
"lint-fix": "npx eslint . --fix --ext .ts",
|
|
16
16
|
"build:release": "gapi build --single-executable && cp ./dist/gcli-linux ./release && cp ./dist/index.js ./release",
|
|
17
|
-
"build": "echo
|
|
17
|
+
"build": "echo BUILD"
|
|
18
18
|
},
|
|
19
19
|
"author": {
|
|
20
20
|
"name": "Kristian Tachev(Stradivario)",
|