Skip to content
This repository was archived by the owner on Dec 15, 2025. It is now read-only.

Commit 8679583

Browse files
author
Fuss Florian (uid10804)
committed
v1.6.0
1 parent 4a7c7f6 commit 8679583

File tree

12 files changed

+85
-18
lines changed

12 files changed

+85
-18
lines changed

CHANGELOG.md

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,22 @@
33
All notable changes to this project will be documented in this file.
44
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
55

6+
# [1.6.0](https://github.com/pharindoko/json-serverless/compare/v1.5.52...v1.6.0) (2020-08-14)
7+
8+
9+
### Bug Fixes
10+
11+
* **server:** delete statement in body of graphql mutation does not delete the item ([43008f3](https://github.com/pharindoko/json-serverless/commit/43008f3e8f18cdc482932887141ffa4dfdae1551))
12+
13+
14+
### Features
15+
16+
* redesign and integrate authentication via apikey into the json-serverless-lib ([d6e3b43](https://github.com/pharindoko/json-serverless/commit/d6e3b433a5209526615897fd406165166a924e83))
17+
18+
19+
20+
21+
622
## [1.5.52](https://github.com/pharindoko/json-serverless/compare/v1.5.51...v1.5.52) (2020-08-10)
723

824

lerna.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,5 +4,5 @@
44
"packages/server",
55
"packages/template"
66
],
7-
"version": "1.5.52"
7+
"version": "1.6.0"
88
}

packages/cli/CHANGELOG.md

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,17 @@
33
All notable changes to this project will be documented in this file.
44
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
55

6+
# [1.6.0](https://github.com/pharindoko/json-serverless/compare/v1.5.52...v1.6.0) (2020-08-14)
7+
8+
9+
### Features
10+
11+
* redesign and integrate authentication via apikey into the json-serverless-lib ([d6e3b43](https://github.com/pharindoko/json-serverless/commit/d6e3b433a5209526615897fd406165166a924e83))
12+
13+
14+
15+
16+
617
## [1.5.52](https://github.com/pharindoko/json-serverless/compare/v1.5.51...v1.5.52) (2020-08-10)
718

819

packages/cli/README.md

Lines changed: 20 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ $ npm install -g json-serverless
1919
$ jsonsls COMMAND
2020
running command...
2121
$ jsonsls (-v|--version|version)
22-
json-serverless/1.5.52 linux-x64 node-v10.22.0
22+
json-serverless/1.6.0 darwin-x64 node-v14.2.0
2323
$ jsonsls --help [COMMAND]
2424
USAGE
2525
$ jsonsls COMMAND
@@ -31,7 +31,7 @@ USAGE
3131
* [`jsonsls create-stack FILE [STAGE]`](#jsonsls-create-stack-file-stage)
3232
* [`jsonsls help [COMMAND]`](#jsonsls-help-command)
3333
* [`jsonsls run FILE`](#jsonsls-run-file)
34-
* [`jsonsls update-stack`](#jsonsls-update-stack)
34+
* [`jsonsls update-stack [STAGE]`](#jsonsls-update-stack-stage)
3535
* [`jsonsls validate FILE`](#jsonsls-validate-file)
3636

3737
## `jsonsls create-stack FILE [STAGE]`
@@ -57,11 +57,14 @@ OPTIONS
5757
-s, --[no-]swagger enable or disable swagger interface support
5858
-y, --autoapprove skip interactive approval before deployment
5959
--apiRoute=apiRoute [default: /api] path to use for api route
60+
--apikey=apikey set a specific api key - if not set a random key will be generated
6061
--apispecRoute=apispecRoute [default: /api-spec] path for the swagger / open api specification
6162
--graphqlRoute=graphqlRoute [default: /graphql] path for the graphql interface
6263
--swaggeruiRoute=swaggeruiRoute [default: /ui] path for the swagger ui interface
6364
```
6465

66+
_See code: [lib/commands/create-stack.js](https://github.com/pharindoko/json-serverless/blob/v1.6.0/lib/commands/create-stack.js)_
67+
6568
## `jsonsls help [COMMAND]`
6669

6770
display help for jsonsls
@@ -77,7 +80,7 @@ OPTIONS
7780
--all see all commands in CLI
7881
```
7982

80-
_See code: [@oclif/plugin-help](https://github.com/oclif/plugin-help/blob/v3.2.0/src/commands/help.ts)_
83+
_See code: [@oclif/plugin-help](https://github.com/oclif/plugin-help/blob/v3.1.0/src/commands/help.ts)_
8184

8285
## `jsonsls run FILE`
8386

@@ -91,24 +94,30 @@ ARGUMENTS
9194
FILE path of JSON file
9295
9396
OPTIONS
94-
-e, --env=development|local [default: local] environment
97+
-a, --apikeyauth enable api key authentication to access api
9598
-h, --help show CLI help
9699
-l, --loglevel=info|debug [default: info] loglevel of outputs
97100
-r, --readonly set api to readonly (true) or writeable (false)
98101
-s, --[no-]swagger enable or disable swagger interface support
99102
--apiRoute=apiRoute [default: /api] path to use for api route
103+
--apikey=apikey set a specific api key - if not set a random key will be generated
100104
--apispecRoute=apispecRoute [default: /api-spec] path for the swagger / open api specification
101105
--graphqlRoute=graphqlRoute [default: /graphql] path for the graphql interface
102106
--swaggeruiRoute=swaggeruiRoute [default: /ui] path for the swagger ui interface
103107
```
104108

105-
## `jsonsls update-stack`
109+
_See code: [lib/commands/run.js](https://github.com/pharindoko/json-serverless/blob/v1.6.0/lib/commands/run.js)_
110+
111+
## `jsonsls update-stack [STAGE]`
106112

107113
update the stackfolder and update the stack in the cloud
108114

109115
```
110116
USAGE
111-
$ jsonsls update-stack
117+
$ jsonsls update-stack [STAGE]
118+
119+
ARGUMENTS
120+
STAGE [default: dev] stage name
112121
113122
OPTIONS
114123
-a, --apikeyauth require api key authentication to access api
@@ -118,11 +127,14 @@ OPTIONS
118127
-r, --readonly set api to readonly (true) or writeable (false)
119128
-s, --[no-]swagger enable or disable swagger interface support
120129
--apiRoute=apiRoute [default: /api] path to use for api route
130+
--apikey=apikey set a specific api key - if not set a random key will be generated
121131
--apispecRoute=apispecRoute [default: /api-spec] path for the swagger / open api specification
122132
--graphqlRoute=graphqlRoute [default: /graphql] path for the graphql interface
123133
--swaggeruiRoute=swaggeruiRoute [default: /ui] path for the swagger ui interface
124134
```
125135

136+
_See code: [lib/commands/update-stack.js](https://github.com/pharindoko/json-serverless/blob/v1.6.0/lib/commands/update-stack.js)_
137+
126138
## `jsonsls validate FILE`
127139

128140
describe the command here
@@ -138,4 +150,6 @@ OPTIONS
138150
-h, --help show CLI help
139151
-s, --[no-]swagger enable or disable swagger interface support
140152
```
153+
154+
_See code: [lib/commands/validate.js](https://github.com/pharindoko/json-serverless/blob/v1.6.0/lib/commands/validate.js)_
141155
<!-- commandsstop -->

packages/cli/package-lock.json

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

packages/cli/package.json

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{
22
"name": "json-serverless",
33
"description": "cli for json-serverless project",
4-
"version": "1.5.52",
4+
"version": "1.6.0",
55
"author": "pharindoko",
66
"bin": {
77
"jsonsls": "./bin/run"
@@ -24,8 +24,8 @@
2424
"figlet": "^1.5.0",
2525
"globby": "^11.0.0",
2626
"inquirer": "^7.3.2",
27-
"json-serverless-lib": "^1.5.52",
28-
"json-serverless-template": "^1.5.52",
27+
"json-serverless-lib": "^1.6.0",
28+
"json-serverless-template": "^1.6.0",
2929
"listr": "^0.14.3",
3030
"node-env-webpack-plugin": "1.1.0",
3131
"nodemon": "2.0.4",

packages/server/CHANGELOG.md

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,22 @@
33
All notable changes to this project will be documented in this file.
44
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
55

6+
# [1.6.0](https://github.com/pharindoko/json-serverless/compare/v1.5.52...v1.6.0) (2020-08-14)
7+
8+
9+
### Bug Fixes
10+
11+
* **server:** delete statement in body of graphql mutation does not delete the item ([43008f3](https://github.com/pharindoko/json-serverless/commit/43008f3e8f18cdc482932887141ffa4dfdae1551))
12+
13+
14+
### Features
15+
16+
* redesign and integrate authentication via apikey into the json-serverless-lib ([d6e3b43](https://github.com/pharindoko/json-serverless/commit/d6e3b433a5209526615897fd406165166a924e83))
17+
18+
19+
20+
21+
622
## [1.5.52](https://github.com/pharindoko/json-serverless/compare/v1.5.51...v1.5.52) (2020-08-10)
723

824
**Note:** Version bump only for package json-serverless-lib

packages/server/package-lock.json

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

packages/server/package.json

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "json-serverless-lib",
3-
"version": "1.5.52",
3+
"version": "1.6.0",
44
"description": "Transform a json file into an api",
55
"main": "lib/index.js",
66
"types": "lib/index.d.ts",
@@ -37,9 +37,8 @@
3737
"dotenv": "^8.2.0",
3838
"express": "^4.17.1",
3939
"express-graphql": "^0.11.0",
40-
"express-slash": "^2.0.1",
41-
"graphql": "^15.3.0",
4240
"express-list-endpoints": "^5.0.0",
41+
"express-slash": "^2.0.1",
4342
"graphql": "^15.3.0",
4443
"helmet": "^4.0.0",
4544
"json-server": "^0.16.1",

packages/template/CHANGELOG.md

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,17 @@
33
All notable changes to this project will be documented in this file.
44
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
55

6+
# [1.6.0](https://github.com/pharindoko/json-serverless/compare/v1.5.52...v1.6.0) (2020-08-14)
7+
8+
9+
### Features
10+
11+
* redesign and integrate authentication via apikey into the json-serverless-lib ([d6e3b43](https://github.com/pharindoko/json-serverless/commit/d6e3b433a5209526615897fd406165166a924e83))
12+
13+
14+
15+
16+
617
## [1.5.52](https://github.com/pharindoko/json-serverless/compare/v1.5.51...v1.5.52) (2020-08-10)
718

819
**Note:** Version bump only for package json-serverless-template

0 commit comments

Comments
 (0)