From 3bcf815c935ac58622914233c19ac4ad2a950765 Mon Sep 17 00:00:00 2001 From: Flavien Raynaud Date: Mon, 20 Nov 2023 11:21:44 +1000 Subject: [PATCH] Release v1.13.0 (#2159) ## Description, Motivation and Context Create release v1.13.0, following the instructions https://github.com/airtasker/spot/wiki/Releasing-Spot --- README.md | 35 +++++++++++++++++++++++------------ package.json | 2 +- 2 files changed, 24 insertions(+), 13 deletions(-) diff --git a/README.md b/README.md index 60870721e..f7c178c76 100644 --- a/README.md +++ b/README.md @@ -169,7 +169,7 @@ EXAMPLE $ spot checksum api.ts ``` -_See code: [build/cli/src/commands/checksum.js](https://github.com/airtasker/spot/blob/v1.12.0/build/cli/src/commands/checksum.js)_ +_See code: [build/cli/src/commands/checksum.js](https://github.com/airtasker/spot/blob/v1.13.0/build/cli/src/commands/checksum.js)_ ## `spot docs SPOT_CONTRACT` @@ -190,7 +190,7 @@ EXAMPLE $ spot docs api.ts ``` -_See code: [build/cli/src/commands/docs.js](https://github.com/airtasker/spot/blob/v1.12.0/build/cli/src/commands/docs.js)_ +_See code: [build/cli/src/commands/docs.js](https://github.com/airtasker/spot/blob/v1.13.0/build/cli/src/commands/docs.js)_ ## `spot generate` @@ -211,7 +211,7 @@ EXAMPLE $ spot generate --contract api.ts --language yaml --generator openapi3 --out output/ ``` -_See code: [build/cli/src/commands/generate.js](https://github.com/airtasker/spot/blob/v1.12.0/build/cli/src/commands/generate.js)_ +_See code: [build/cli/src/commands/generate.js](https://github.com/airtasker/spot/blob/v1.13.0/build/cli/src/commands/generate.js)_ ## `spot help [COMMAND]` @@ -228,7 +228,7 @@ OPTIONS --all see all commands in CLI ``` -_See code: [@oclif/plugin-help](https://github.com/oclif/plugin-help/blob/v3.2.3/src/commands/help.ts)_ +_See code: [@oclif/plugin-help](https://github.com/oclif/plugin-help/blob/v3.3.1/src/commands/help.ts)_ ## `spot init` @@ -249,7 +249,7 @@ EXAMPLE - package.json ``` -_See code: [build/cli/src/commands/init.js](https://github.com/airtasker/spot/blob/v1.12.0/build/cli/src/commands/init.js)_ +_See code: [build/cli/src/commands/init.js](https://github.com/airtasker/spot/blob/v1.13.0/build/cli/src/commands/init.js)_ ## `spot lint SPOT_CONTRACT` @@ -263,13 +263,24 @@ ARGUMENTS SPOT_CONTRACT path to Spot contract OPTIONS - -h, --help show CLI help - -EXAMPLE + -h, --help show CLI help + --has-discriminator=(error|warn|off) Setting for has-discriminator + --has-request-payload=(error|warn|off) Setting for has-request-payload + --has-response=(error|warn|off) Setting for has-response + --has-response-payload=(error|warn|off) Setting for has-response-payload + --no-inline-objects-within-unions=(error|warn|off) Setting for no-inline-objects-within-unions + --no-nullable-arrays=(error|warn|off) Setting for no-nullable-arrays + --no-nullable-fields-within-request-bodies=(error|warn|off) Setting for no-nullable-fields-within-request-bodies + --no-omittable-fields-within-response-bodies=(error|warn|off) Setting for no-omittable-fields-within-response-bodies + --no-trailing-forward-slash=(error|warn|off) Setting for no-trailing-forward-slash + +EXAMPLES $ spot lint api.ts + $ spot lint --has-descriminator=error + $ spot lint --no-nullable-arrays=off ``` -_See code: [build/cli/src/commands/lint.js](https://github.com/airtasker/spot/blob/v1.12.0/build/cli/src/commands/lint.js)_ +_See code: [build/cli/src/commands/lint.js](https://github.com/airtasker/spot/blob/v1.13.0/build/cli/src/commands/lint.js)_ ## `spot mock SPOT_CONTRACT` @@ -300,7 +311,7 @@ EXAMPLE $ spot mock api.ts ``` -_See code: [build/cli/src/commands/mock.js](https://github.com/airtasker/spot/blob/v1.12.0/build/cli/src/commands/mock.js)_ +_See code: [build/cli/src/commands/mock.js](https://github.com/airtasker/spot/blob/v1.13.0/build/cli/src/commands/mock.js)_ ## `spot validate SPOT_CONTRACT` @@ -320,7 +331,7 @@ EXAMPLE $ spot validate api.ts ``` -_See code: [build/cli/src/commands/validate.js](https://github.com/airtasker/spot/blob/v1.12.0/build/cli/src/commands/validate.js)_ +_See code: [build/cli/src/commands/validate.js](https://github.com/airtasker/spot/blob/v1.13.0/build/cli/src/commands/validate.js)_ ## `spot validation-server SPOT_CONTRACT` @@ -341,5 +352,5 @@ EXAMPLE $ spot validation-server api.ts ``` -_See code: [build/cli/src/commands/validation-server.js](https://github.com/airtasker/spot/blob/v1.12.0/build/cli/src/commands/validation-server.js)_ +_See code: [build/cli/src/commands/validation-server.js](https://github.com/airtasker/spot/blob/v1.13.0/build/cli/src/commands/validation-server.js)_ diff --git a/package.json b/package.json index 5498a7f51..27c472cd7 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "@airtasker/spot", - "version": "1.12.0", + "version": "1.13.0", "author": "Francois Wouts, Leslie Fung", "bin": { "spot": "./bin/run"