From 4ba0af3b4170fa1f3703c0601befd836b86323f6 Mon Sep 17 00:00:00 2001 From: Chris Perkins Date: Thu, 2 Jul 2020 07:55:03 -0600 Subject: [PATCH] Replace airtasker/spot with stediinc/spot everywhere --- README.md | 40 +++++++++---------- cli/src/commands/init.ts | 4 +- .../checksum/__spec-examples__/contract.ts | 2 +- .../contract-with-reference-types.ts | 2 +- .../__spec-examples__/minimal-contract.ts | 2 +- ...-param-and-comma-serialization-strategy.ts | 2 +- .../contract-with-array-query-param.ts | 2 +- .../contract-with-delete-endpoint.ts | 2 +- .../contract-with-get-endpoint.ts | 2 +- .../contract-with-object-query-param.ts | 2 +- .../contract-with-patch-endpoint.ts | 2 +- .../contract-with-path-params.ts | 2 +- .../contract-with-post-endpoint.ts | 2 +- .../contract-with-put-endpoint.ts | 2 +- .../contract-with-query-params.ts | 2 +- .../contract-with-request-headers.ts | 2 +- .../contract-with-response-headers.ts | 2 +- .../contract-with-security-header.ts | 2 +- ...act-with-specific-and-default-responses.ts | 2 +- .../__spec-examples__/minimal-contract.ts | 2 +- .../__spec-examples__/versioned-contract.ts | 2 +- ...-param-and-comma-serialization-strategy.ts | 2 +- .../contract-with-array-query-param.ts | 2 +- .../contract-with-delete-endpoint.ts | 2 +- .../contract-with-get-endpoint.ts | 2 +- .../contract-with-object-query-param.ts | 2 +- .../contract-with-patch-endpoint.ts | 2 +- .../contract-with-path-params.ts | 2 +- .../contract-with-post-endpoint.ts | 2 +- .../contract-with-put-endpoint.ts | 2 +- .../contract-with-query-params.ts | 2 +- .../contract-with-request-headers.ts | 2 +- .../contract-with-response-headers.ts | 2 +- .../contract-with-security-header.ts | 2 +- ...act-with-specific-and-default-responses.ts | 2 +- .../__spec-examples__/minimal-contract.ts | 2 +- .../__spec-examples__/versioned-contract.ts | 2 +- lib/src/linting/README.MD | 2 +- ...with-union-violations-in-each-component.ts | 2 +- ...omogeneous-primitive-type-or-null-union.ts | 2 +- .../object-union-with-discriminator.ts | 2 +- .../object-union-with-no-discriminator.ts | 2 +- .../single-type-or-null-union.ts | 2 +- .../patch-endpoint-with-query-parameters.ts | 2 +- ...patch-endpoint-without-query-parameters.ts | 2 +- .../post-endpoint-with-query-parameters.ts | 2 +- .../post-endpoint-without-query-parameters.ts | 2 +- .../put-endpoint-with-query-parameters.ts | 2 +- .../put-endpoint-without-query-parameters.ts | 2 +- .../delete-endpoint-with-request-body.ts | 2 +- .../delete-endpoint-without-request-body.ts | 2 +- .../get-endpoint-with-request-body.ts | 2 +- .../get-endpoint-without-request-body.ts | 2 +- .../patch-endpoint-with-request-body.ts | 2 +- .../patch-endpoint-without-request-body.ts | 2 +- .../post-endpoint-with-request-body.ts | 2 +- .../post-endpoint-without-request-body.ts | 2 +- .../put-endpoint-with-request-body.ts | 2 +- .../put-endpoint-without-request-body.ts | 2 +- .../endpoint-default-response-without-body.ts | 2 +- ...pecific-and-default-responses-with-body.ts | 2 +- ...endpoint-specific-response-without-body.ts | 2 +- .../endpoint-with-default-response.ts | 2 +- .../endpoint-with-no-responses.ts | 2 +- .../endpoint-with-specific-response.ts | 2 +- ...-in-each-query-param-and-body-component.ts | 2 +- .../inline-object-or-null-union.ts | 2 +- .../inline-objects-in-union.ts | 2 +- .../referenced-objects-in-union.ts | 2 +- ...e-violations-in-each-nullable-component.ts | 2 +- .../no-nullable-arrays/non-nullable-array.ts | 2 +- .../no-nullable-arrays/nullable-array.ts | 2 +- .../non-nullable-field-in-request-body.ts | 2 +- .../nullable-field-in-request-body.ts | 2 +- .../no-omittable-field-in-response-body.ts | 2 +- .../omittable-field-in-response-body.ts | 2 +- .../request-as-array.ts | 2 +- .../request-as-object.ts | 2 +- .../request-with-primitives.ts | 2 +- lib/src/parser.ts | 2 +- lib/src/parsers/__spec-examples__/body.ts | 2 +- lib/src/parsers/__spec-examples__/config.ts | 2 +- .../contracts/contract-dependency.ts | 2 +- .../__spec-examples__/contracts/contract.ts | 2 +- ...icate-endpoint-name-contract-dependency.ts | 2 +- .../duplicate-endpoint-name-contract.ts | 2 +- .../contracts/empty-api-name-contract.ts | 2 +- .../contracts/illegal-api-name-contract.ts | 2 +- .../contracts/minimal-contract.ts | 2 +- .../__spec-examples__/default-response.ts | 2 +- lib/src/parsers/__spec-examples__/endpoint.ts | 2 +- lib/src/parsers/__spec-examples__/headers.ts | 2 +- .../parsers/__spec-examples__/path-params.ts | 2 +- .../parsers/__spec-examples__/query-params.ts | 2 +- lib/src/parsers/__spec-examples__/request.ts | 2 +- lib/src/parsers/__spec-examples__/response.ts | 2 +- .../__spec-examples__/security-header.ts | 2 +- lib/src/parsers/__spec-examples__/types.ts | 2 +- lib/src/parsers/type-parser.ts | 2 +- lib/src/spec-helpers/helper.ts | 4 +- .../contract/contract-endpoint.ts | 2 +- .../__spec-examples__/contract/contract.ts | 2 +- .../contract/contract-endpoint.ts | 2 +- .../__spec-examples__/contract/contract.ts | 2 +- package.json | 4 +- tsconfig.json | 2 +- 106 files changed, 128 insertions(+), 128 deletions(-) diff --git a/README.md b/README.md index 9b6b53ab9..fb0de5c32 100644 --- a/README.md +++ b/README.md @@ -9,7 +9,7 @@ You don't need to use TypeScript in your codebase to benefit from using Spot. Example of an API definition file `api.ts` which defines a single `POST` endpoint to create a user: ```typescript -import { api, endpoint, request, response, body } from "@airtasker/spot"; +import { api, endpoint, request, response, body } from "@stediinc/spot"; @api({ name: "My API" @@ -42,22 +42,22 @@ interface CreateUserResponse { ## Getting Started -Get started with writing Spot contracts - [Spot Guide](https://github.com/airtasker/spot/wiki/Spot-Guide) +Get started with writing Spot contracts - [Spot Guide](https://github.com/stediinc/spot/wiki/Spot-Guide) -For all available syntax, see [Spot Syntax](https://github.com/airtasker/spot/wiki/Spot-Syntax) +For all available syntax, see [Spot Syntax](https://github.com/stediinc/spot/wiki/Spot-Syntax) ### Installation -With [yarn](https://yarnpkg.com/en/docs/usage) installed and initialized add `@airtasker/spot` to your project: +With [yarn](https://yarnpkg.com/en/docs/usage) installed and initialized add `@stediinc/spot` to your project: ```sh -yarn add @airtasker/spot +yarn add @stediinc/spot ``` You can pass the definition above to a generator by simply running: ```sh -npx @airtasker/spot generate --contract api.ts +npx @stediinc/spot generate --contract api.ts ``` # Why we built Spot @@ -87,10 +87,10 @@ Depending on what you're trying to achieve (testing, documentation, client code We built Spot with this in mind. Instead of having to juggle various API format converters, Spot can generate every major API document format. This is why we called it "Single Point Of Truth". [![oclif](https://img.shields.io/badge/cli-oclif-brightgreen.svg)](https://oclif.io) -[![Version](https://img.shields.io/npm/v/@airtasker/spot.svg)](https://npmjs.org/package/@airtasker/spot) -[![CircleCI](https://circleci.com/gh/airtasker/spot/tree/master.svg?style=shield)](https://circleci.com/gh/airtasker/spot/tree/master) -[![Downloads/week](https://img.shields.io/npm/dw/@airtasker/spot.svg)](https://npmjs.org/package/@airtasker/spot) -[![License](https://img.shields.io/npm/l/@airtasker/spot.svg)](https://github.com/airtasker/spot/blob/master/package.json) +[![Version](https://img.shields.io/npm/v/@stediinc/spot.svg)](https://npmjs.org/package/@stediinc/spot) +[![CircleCI](https://circleci.com/gh/stediinc/spot/tree/master.svg?style=shield)](https://circleci.com/gh/stediinc/spot/tree/master) +[![Downloads/week](https://img.shields.io/npm/dw/@stediinc/spot.svg)](https://npmjs.org/package/@stediinc/spot) +[![License](https://img.shields.io/npm/l/@stediinc/spot.svg)](https://github.com/stediinc/spot/blob/master/package.json) * [Spot](#spot) @@ -104,13 +104,13 @@ We built Spot with this in mind. Instead of having to juggle various API format To get started and set up an API declaration in the current directory, run: ``` -npx @airtasker/spot init +npx @stediinc/spot init ``` You can then run a generator with: ``` -npx @airtasker/spot generate --contract api.ts +npx @stediinc/spot generate --contract api.ts ``` # Commands @@ -144,7 +144,7 @@ EXAMPLE $ spot checksum api.ts ``` -_See code: [build/cli/src/commands/checksum.js](https://github.com/airtasker/spot/blob/v1.1.2/build/cli/src/commands/checksum.js)_ +_See code: [build/cli/src/commands/checksum.js](https://github.com/stediinc/spot/blob/v1.1.2/build/cli/src/commands/checksum.js)_ ## `spot docs SPOT_CONTRACT` @@ -165,7 +165,7 @@ EXAMPLE $ spot docs api.ts ``` -_See code: [build/cli/src/commands/docs.js](https://github.com/airtasker/spot/blob/v1.1.2/build/cli/src/commands/docs.js)_ +_See code: [build/cli/src/commands/docs.js](https://github.com/stediinc/spot/blob/v1.1.2/build/cli/src/commands/docs.js)_ ## `spot generate` @@ -186,7 +186,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.1.2/build/cli/src/commands/generate.js)_ +_See code: [build/cli/src/commands/generate.js](https://github.com/stediinc/spot/blob/v1.1.2/build/cli/src/commands/generate.js)_ ## `spot help [COMMAND]` @@ -224,7 +224,7 @@ EXAMPLE - package.json ``` -_See code: [build/cli/src/commands/init.js](https://github.com/airtasker/spot/blob/v1.1.2/build/cli/src/commands/init.js)_ +_See code: [build/cli/src/commands/init.js](https://github.com/stediinc/spot/blob/v1.1.2/build/cli/src/commands/init.js)_ ## `spot lint SPOT_CONTRACT` @@ -244,7 +244,7 @@ EXAMPLE $ spot lint api.ts ``` -_See code: [build/cli/src/commands/lint.js](https://github.com/airtasker/spot/blob/v1.1.2/build/cli/src/commands/lint.js)_ +_See code: [build/cli/src/commands/lint.js](https://github.com/stediinc/spot/blob/v1.1.2/build/cli/src/commands/lint.js)_ ## `spot mock SPOT_CONTRACT` @@ -269,7 +269,7 @@ EXAMPLE $ spot mock api.ts ``` -_See code: [build/cli/src/commands/mock.js](https://github.com/airtasker/spot/blob/v1.1.2/build/cli/src/commands/mock.js)_ +_See code: [build/cli/src/commands/mock.js](https://github.com/stediinc/spot/blob/v1.1.2/build/cli/src/commands/mock.js)_ ## `spot validate SPOT_CONTRACT` @@ -289,7 +289,7 @@ EXAMPLE $ spot validate api.ts ``` -_See code: [build/cli/src/commands/validate.js](https://github.com/airtasker/spot/blob/v1.1.2/build/cli/src/commands/validate.js)_ +_See code: [build/cli/src/commands/validate.js](https://github.com/stediinc/spot/blob/v1.1.2/build/cli/src/commands/validate.js)_ ## `spot validation-server SPOT_CONTRACT` @@ -310,5 +310,5 @@ EXAMPLE $ spot validation-server api.ts ``` -_See code: [build/cli/src/commands/validation-server.js](https://github.com/airtasker/spot/blob/v1.1.2/build/cli/src/commands/validation-server.js)_ +_See code: [build/cli/src/commands/validation-server.js](https://github.com/stediinc/spot/blob/v1.1.2/build/cli/src/commands/validation-server.js)_ diff --git a/cli/src/commands/init.ts b/cli/src/commands/init.ts index a3921c90b..dbcea6ff4 100644 --- a/cli/src/commands/init.ts +++ b/cli/src/commands/init.ts @@ -26,7 +26,7 @@ Generated the following files: outputFile( ".", "api.ts", - `import { api, body, endpoint, request, response, String } from "@airtasker/spot"; + `import { api, body, endpoint, request, response, String } from "@stediinc/spot"; @api({ name: "my-api" }) class Api {} @@ -78,7 +78,7 @@ interface CreateUserResponse { false ); outputFile(".", "package.json", JSON.stringify({}, null, 2), false); - execSync(`yarn add @airtasker/spot`, { + execSync(`yarn add @stediinc/spot`, { stdio: "inherit" }); } diff --git a/lib/src/checksum/__spec-examples__/contract.ts b/lib/src/checksum/__spec-examples__/contract.ts index bab5db6cb..07f47e0db 100644 --- a/lib/src/checksum/__spec-examples__/contract.ts +++ b/lib/src/checksum/__spec-examples__/contract.ts @@ -1,4 +1,4 @@ -import { api, body, endpoint, response, String } from "@airtasker/spot"; +import { api, body, endpoint, response, String } from "@stediinc/spot"; @api({ name: "contract" }) class Contract {} diff --git a/lib/src/generators/json-schema/__spec-examples__/contract-with-reference-types.ts b/lib/src/generators/json-schema/__spec-examples__/contract-with-reference-types.ts index 61aec979a..d1d2b861b 100644 --- a/lib/src/generators/json-schema/__spec-examples__/contract-with-reference-types.ts +++ b/lib/src/generators/json-schema/__spec-examples__/contract-with-reference-types.ts @@ -1,4 +1,4 @@ -import { api, body, endpoint, response, String } from "@airtasker/spot"; +import { api, body, endpoint, response, String } from "@stediinc/spot"; @api({ name: "contract" }) class Contract {} diff --git a/lib/src/generators/json-schema/__spec-examples__/minimal-contract.ts b/lib/src/generators/json-schema/__spec-examples__/minimal-contract.ts index 478cd4a62..703566201 100644 --- a/lib/src/generators/json-schema/__spec-examples__/minimal-contract.ts +++ b/lib/src/generators/json-schema/__spec-examples__/minimal-contract.ts @@ -1,4 +1,4 @@ -import { api } from "@airtasker/spot"; +import { api } from "@stediinc/spot"; @api({ name: "contract" }) class Contract {} diff --git a/lib/src/generators/openapi2/__spec-examples__/contract-with-array-query-param-and-comma-serialization-strategy.ts b/lib/src/generators/openapi2/__spec-examples__/contract-with-array-query-param-and-comma-serialization-strategy.ts index 42ef58c76..e0671dfbe 100644 --- a/lib/src/generators/openapi2/__spec-examples__/contract-with-array-query-param-and-comma-serialization-strategy.ts +++ b/lib/src/generators/openapi2/__spec-examples__/contract-with-array-query-param-and-comma-serialization-strategy.ts @@ -7,7 +7,7 @@ import { request, response, String -} from "@airtasker/spot"; +} from "@stediinc/spot"; @config({ paramSerializationStrategy: { diff --git a/lib/src/generators/openapi2/__spec-examples__/contract-with-array-query-param.ts b/lib/src/generators/openapi2/__spec-examples__/contract-with-array-query-param.ts index 25ef0aad5..cc500f55c 100644 --- a/lib/src/generators/openapi2/__spec-examples__/contract-with-array-query-param.ts +++ b/lib/src/generators/openapi2/__spec-examples__/contract-with-array-query-param.ts @@ -6,7 +6,7 @@ import { request, response, String -} from "@airtasker/spot"; +} from "@stediinc/spot"; @api({ name: "contract" }) class Contract {} diff --git a/lib/src/generators/openapi2/__spec-examples__/contract-with-delete-endpoint.ts b/lib/src/generators/openapi2/__spec-examples__/contract-with-delete-endpoint.ts index 5a3bcd1ad..2f9b257d5 100644 --- a/lib/src/generators/openapi2/__spec-examples__/contract-with-delete-endpoint.ts +++ b/lib/src/generators/openapi2/__spec-examples__/contract-with-delete-endpoint.ts @@ -5,7 +5,7 @@ import { request, response, String -} from "@airtasker/spot"; +} from "@stediinc/spot"; @api({ name: "contract" }) class Contract {} diff --git a/lib/src/generators/openapi2/__spec-examples__/contract-with-get-endpoint.ts b/lib/src/generators/openapi2/__spec-examples__/contract-with-get-endpoint.ts index 2d7ff64f9..382ccaa78 100644 --- a/lib/src/generators/openapi2/__spec-examples__/contract-with-get-endpoint.ts +++ b/lib/src/generators/openapi2/__spec-examples__/contract-with-get-endpoint.ts @@ -1,4 +1,4 @@ -import { api, body, endpoint, response, String } from "@airtasker/spot"; +import { api, body, endpoint, response, String } from "@stediinc/spot"; @api({ name: "contract" }) class Contract {} diff --git a/lib/src/generators/openapi2/__spec-examples__/contract-with-object-query-param.ts b/lib/src/generators/openapi2/__spec-examples__/contract-with-object-query-param.ts index 980838c3d..a92cf95b3 100644 --- a/lib/src/generators/openapi2/__spec-examples__/contract-with-object-query-param.ts +++ b/lib/src/generators/openapi2/__spec-examples__/contract-with-object-query-param.ts @@ -7,7 +7,7 @@ import { request, response, String -} from "@airtasker/spot"; +} from "@stediinc/spot"; @api({ name: "contract" }) class Contract {} diff --git a/lib/src/generators/openapi2/__spec-examples__/contract-with-patch-endpoint.ts b/lib/src/generators/openapi2/__spec-examples__/contract-with-patch-endpoint.ts index 494ef78b8..bf81efe67 100644 --- a/lib/src/generators/openapi2/__spec-examples__/contract-with-patch-endpoint.ts +++ b/lib/src/generators/openapi2/__spec-examples__/contract-with-patch-endpoint.ts @@ -6,7 +6,7 @@ import { request, response, String -} from "@airtasker/spot"; +} from "@stediinc/spot"; @api({ name: "contract" }) class Contract {} diff --git a/lib/src/generators/openapi2/__spec-examples__/contract-with-path-params.ts b/lib/src/generators/openapi2/__spec-examples__/contract-with-path-params.ts index db7eea2f2..8c0520a2a 100644 --- a/lib/src/generators/openapi2/__spec-examples__/contract-with-path-params.ts +++ b/lib/src/generators/openapi2/__spec-examples__/contract-with-path-params.ts @@ -6,7 +6,7 @@ import { request, response, String -} from "@airtasker/spot"; +} from "@stediinc/spot"; @api({ name: "contract" }) class Contract {} diff --git a/lib/src/generators/openapi2/__spec-examples__/contract-with-post-endpoint.ts b/lib/src/generators/openapi2/__spec-examples__/contract-with-post-endpoint.ts index af299a4a1..b3de163ec 100644 --- a/lib/src/generators/openapi2/__spec-examples__/contract-with-post-endpoint.ts +++ b/lib/src/generators/openapi2/__spec-examples__/contract-with-post-endpoint.ts @@ -5,7 +5,7 @@ import { request, response, String -} from "@airtasker/spot"; +} from "@stediinc/spot"; @api({ name: "contract" }) class Contract {} diff --git a/lib/src/generators/openapi2/__spec-examples__/contract-with-put-endpoint.ts b/lib/src/generators/openapi2/__spec-examples__/contract-with-put-endpoint.ts index accd233ed..8c2dfb290 100644 --- a/lib/src/generators/openapi2/__spec-examples__/contract-with-put-endpoint.ts +++ b/lib/src/generators/openapi2/__spec-examples__/contract-with-put-endpoint.ts @@ -6,7 +6,7 @@ import { request, response, String -} from "@airtasker/spot"; +} from "@stediinc/spot"; @api({ name: "contract" }) class Contract {} diff --git a/lib/src/generators/openapi2/__spec-examples__/contract-with-query-params.ts b/lib/src/generators/openapi2/__spec-examples__/contract-with-query-params.ts index eeb2182cb..e32f345ac 100644 --- a/lib/src/generators/openapi2/__spec-examples__/contract-with-query-params.ts +++ b/lib/src/generators/openapi2/__spec-examples__/contract-with-query-params.ts @@ -6,7 +6,7 @@ import { request, response, String -} from "@airtasker/spot"; +} from "@stediinc/spot"; @api({ name: "contract" }) class Contract {} diff --git a/lib/src/generators/openapi2/__spec-examples__/contract-with-request-headers.ts b/lib/src/generators/openapi2/__spec-examples__/contract-with-request-headers.ts index 22258392f..41a6cf744 100644 --- a/lib/src/generators/openapi2/__spec-examples__/contract-with-request-headers.ts +++ b/lib/src/generators/openapi2/__spec-examples__/contract-with-request-headers.ts @@ -6,7 +6,7 @@ import { request, response, String -} from "@airtasker/spot"; +} from "@stediinc/spot"; @api({ name: "contract" }) class Contract {} diff --git a/lib/src/generators/openapi2/__spec-examples__/contract-with-response-headers.ts b/lib/src/generators/openapi2/__spec-examples__/contract-with-response-headers.ts index 683831448..54b5815bc 100644 --- a/lib/src/generators/openapi2/__spec-examples__/contract-with-response-headers.ts +++ b/lib/src/generators/openapi2/__spec-examples__/contract-with-response-headers.ts @@ -6,7 +6,7 @@ import { request, response, String -} from "@airtasker/spot"; +} from "@stediinc/spot"; @api({ name: "contract" }) class Contract {} diff --git a/lib/src/generators/openapi2/__spec-examples__/contract-with-security-header.ts b/lib/src/generators/openapi2/__spec-examples__/contract-with-security-header.ts index 2ce3c182b..02136ab69 100644 --- a/lib/src/generators/openapi2/__spec-examples__/contract-with-security-header.ts +++ b/lib/src/generators/openapi2/__spec-examples__/contract-with-security-header.ts @@ -5,7 +5,7 @@ import { response, securityHeader, String -} from "@airtasker/spot"; +} from "@stediinc/spot"; @api({ name: "contract" }) class Contract { diff --git a/lib/src/generators/openapi2/__spec-examples__/contract-with-specific-and-default-responses.ts b/lib/src/generators/openapi2/__spec-examples__/contract-with-specific-and-default-responses.ts index 01914a304..43ffbbacc 100644 --- a/lib/src/generators/openapi2/__spec-examples__/contract-with-specific-and-default-responses.ts +++ b/lib/src/generators/openapi2/__spec-examples__/contract-with-specific-and-default-responses.ts @@ -7,7 +7,7 @@ import { request, response, String -} from "@airtasker/spot"; +} from "@stediinc/spot"; @api({ name: "contract" }) class Contract {} diff --git a/lib/src/generators/openapi2/__spec-examples__/minimal-contract.ts b/lib/src/generators/openapi2/__spec-examples__/minimal-contract.ts index 478cd4a62..703566201 100644 --- a/lib/src/generators/openapi2/__spec-examples__/minimal-contract.ts +++ b/lib/src/generators/openapi2/__spec-examples__/minimal-contract.ts @@ -1,4 +1,4 @@ -import { api } from "@airtasker/spot"; +import { api } from "@stediinc/spot"; @api({ name: "contract" }) class Contract {} diff --git a/lib/src/generators/openapi2/__spec-examples__/versioned-contract.ts b/lib/src/generators/openapi2/__spec-examples__/versioned-contract.ts index e810d5197..dfe269758 100644 --- a/lib/src/generators/openapi2/__spec-examples__/versioned-contract.ts +++ b/lib/src/generators/openapi2/__spec-examples__/versioned-contract.ts @@ -1,4 +1,4 @@ -import { api } from "@airtasker/spot"; +import { api } from "@stediinc/spot"; @api({ name: "versioned-contract", version: "0.1.0" }) class Contract {} diff --git a/lib/src/generators/openapi3/__spec-examples__/contract-with-array-query-param-and-comma-serialization-strategy.ts b/lib/src/generators/openapi3/__spec-examples__/contract-with-array-query-param-and-comma-serialization-strategy.ts index 42ef58c76..e0671dfbe 100644 --- a/lib/src/generators/openapi3/__spec-examples__/contract-with-array-query-param-and-comma-serialization-strategy.ts +++ b/lib/src/generators/openapi3/__spec-examples__/contract-with-array-query-param-and-comma-serialization-strategy.ts @@ -7,7 +7,7 @@ import { request, response, String -} from "@airtasker/spot"; +} from "@stediinc/spot"; @config({ paramSerializationStrategy: { diff --git a/lib/src/generators/openapi3/__spec-examples__/contract-with-array-query-param.ts b/lib/src/generators/openapi3/__spec-examples__/contract-with-array-query-param.ts index 25ef0aad5..cc500f55c 100644 --- a/lib/src/generators/openapi3/__spec-examples__/contract-with-array-query-param.ts +++ b/lib/src/generators/openapi3/__spec-examples__/contract-with-array-query-param.ts @@ -6,7 +6,7 @@ import { request, response, String -} from "@airtasker/spot"; +} from "@stediinc/spot"; @api({ name: "contract" }) class Contract {} diff --git a/lib/src/generators/openapi3/__spec-examples__/contract-with-delete-endpoint.ts b/lib/src/generators/openapi3/__spec-examples__/contract-with-delete-endpoint.ts index 5a3bcd1ad..2f9b257d5 100644 --- a/lib/src/generators/openapi3/__spec-examples__/contract-with-delete-endpoint.ts +++ b/lib/src/generators/openapi3/__spec-examples__/contract-with-delete-endpoint.ts @@ -5,7 +5,7 @@ import { request, response, String -} from "@airtasker/spot"; +} from "@stediinc/spot"; @api({ name: "contract" }) class Contract {} diff --git a/lib/src/generators/openapi3/__spec-examples__/contract-with-get-endpoint.ts b/lib/src/generators/openapi3/__spec-examples__/contract-with-get-endpoint.ts index 2d7ff64f9..382ccaa78 100644 --- a/lib/src/generators/openapi3/__spec-examples__/contract-with-get-endpoint.ts +++ b/lib/src/generators/openapi3/__spec-examples__/contract-with-get-endpoint.ts @@ -1,4 +1,4 @@ -import { api, body, endpoint, response, String } from "@airtasker/spot"; +import { api, body, endpoint, response, String } from "@stediinc/spot"; @api({ name: "contract" }) class Contract {} diff --git a/lib/src/generators/openapi3/__spec-examples__/contract-with-object-query-param.ts b/lib/src/generators/openapi3/__spec-examples__/contract-with-object-query-param.ts index 980838c3d..a92cf95b3 100644 --- a/lib/src/generators/openapi3/__spec-examples__/contract-with-object-query-param.ts +++ b/lib/src/generators/openapi3/__spec-examples__/contract-with-object-query-param.ts @@ -7,7 +7,7 @@ import { request, response, String -} from "@airtasker/spot"; +} from "@stediinc/spot"; @api({ name: "contract" }) class Contract {} diff --git a/lib/src/generators/openapi3/__spec-examples__/contract-with-patch-endpoint.ts b/lib/src/generators/openapi3/__spec-examples__/contract-with-patch-endpoint.ts index 494ef78b8..bf81efe67 100644 --- a/lib/src/generators/openapi3/__spec-examples__/contract-with-patch-endpoint.ts +++ b/lib/src/generators/openapi3/__spec-examples__/contract-with-patch-endpoint.ts @@ -6,7 +6,7 @@ import { request, response, String -} from "@airtasker/spot"; +} from "@stediinc/spot"; @api({ name: "contract" }) class Contract {} diff --git a/lib/src/generators/openapi3/__spec-examples__/contract-with-path-params.ts b/lib/src/generators/openapi3/__spec-examples__/contract-with-path-params.ts index db7eea2f2..8c0520a2a 100644 --- a/lib/src/generators/openapi3/__spec-examples__/contract-with-path-params.ts +++ b/lib/src/generators/openapi3/__spec-examples__/contract-with-path-params.ts @@ -6,7 +6,7 @@ import { request, response, String -} from "@airtasker/spot"; +} from "@stediinc/spot"; @api({ name: "contract" }) class Contract {} diff --git a/lib/src/generators/openapi3/__spec-examples__/contract-with-post-endpoint.ts b/lib/src/generators/openapi3/__spec-examples__/contract-with-post-endpoint.ts index af299a4a1..b3de163ec 100644 --- a/lib/src/generators/openapi3/__spec-examples__/contract-with-post-endpoint.ts +++ b/lib/src/generators/openapi3/__spec-examples__/contract-with-post-endpoint.ts @@ -5,7 +5,7 @@ import { request, response, String -} from "@airtasker/spot"; +} from "@stediinc/spot"; @api({ name: "contract" }) class Contract {} diff --git a/lib/src/generators/openapi3/__spec-examples__/contract-with-put-endpoint.ts b/lib/src/generators/openapi3/__spec-examples__/contract-with-put-endpoint.ts index accd233ed..8c2dfb290 100644 --- a/lib/src/generators/openapi3/__spec-examples__/contract-with-put-endpoint.ts +++ b/lib/src/generators/openapi3/__spec-examples__/contract-with-put-endpoint.ts @@ -6,7 +6,7 @@ import { request, response, String -} from "@airtasker/spot"; +} from "@stediinc/spot"; @api({ name: "contract" }) class Contract {} diff --git a/lib/src/generators/openapi3/__spec-examples__/contract-with-query-params.ts b/lib/src/generators/openapi3/__spec-examples__/contract-with-query-params.ts index eeb2182cb..e32f345ac 100644 --- a/lib/src/generators/openapi3/__spec-examples__/contract-with-query-params.ts +++ b/lib/src/generators/openapi3/__spec-examples__/contract-with-query-params.ts @@ -6,7 +6,7 @@ import { request, response, String -} from "@airtasker/spot"; +} from "@stediinc/spot"; @api({ name: "contract" }) class Contract {} diff --git a/lib/src/generators/openapi3/__spec-examples__/contract-with-request-headers.ts b/lib/src/generators/openapi3/__spec-examples__/contract-with-request-headers.ts index 22258392f..41a6cf744 100644 --- a/lib/src/generators/openapi3/__spec-examples__/contract-with-request-headers.ts +++ b/lib/src/generators/openapi3/__spec-examples__/contract-with-request-headers.ts @@ -6,7 +6,7 @@ import { request, response, String -} from "@airtasker/spot"; +} from "@stediinc/spot"; @api({ name: "contract" }) class Contract {} diff --git a/lib/src/generators/openapi3/__spec-examples__/contract-with-response-headers.ts b/lib/src/generators/openapi3/__spec-examples__/contract-with-response-headers.ts index 683831448..54b5815bc 100644 --- a/lib/src/generators/openapi3/__spec-examples__/contract-with-response-headers.ts +++ b/lib/src/generators/openapi3/__spec-examples__/contract-with-response-headers.ts @@ -6,7 +6,7 @@ import { request, response, String -} from "@airtasker/spot"; +} from "@stediinc/spot"; @api({ name: "contract" }) class Contract {} diff --git a/lib/src/generators/openapi3/__spec-examples__/contract-with-security-header.ts b/lib/src/generators/openapi3/__spec-examples__/contract-with-security-header.ts index 2ce3c182b..02136ab69 100644 --- a/lib/src/generators/openapi3/__spec-examples__/contract-with-security-header.ts +++ b/lib/src/generators/openapi3/__spec-examples__/contract-with-security-header.ts @@ -5,7 +5,7 @@ import { response, securityHeader, String -} from "@airtasker/spot"; +} from "@stediinc/spot"; @api({ name: "contract" }) class Contract { diff --git a/lib/src/generators/openapi3/__spec-examples__/contract-with-specific-and-default-responses.ts b/lib/src/generators/openapi3/__spec-examples__/contract-with-specific-and-default-responses.ts index 01914a304..43ffbbacc 100644 --- a/lib/src/generators/openapi3/__spec-examples__/contract-with-specific-and-default-responses.ts +++ b/lib/src/generators/openapi3/__spec-examples__/contract-with-specific-and-default-responses.ts @@ -7,7 +7,7 @@ import { request, response, String -} from "@airtasker/spot"; +} from "@stediinc/spot"; @api({ name: "contract" }) class Contract {} diff --git a/lib/src/generators/openapi3/__spec-examples__/minimal-contract.ts b/lib/src/generators/openapi3/__spec-examples__/minimal-contract.ts index 478cd4a62..703566201 100644 --- a/lib/src/generators/openapi3/__spec-examples__/minimal-contract.ts +++ b/lib/src/generators/openapi3/__spec-examples__/minimal-contract.ts @@ -1,4 +1,4 @@ -import { api } from "@airtasker/spot"; +import { api } from "@stediinc/spot"; @api({ name: "contract" }) class Contract {} diff --git a/lib/src/generators/openapi3/__spec-examples__/versioned-contract.ts b/lib/src/generators/openapi3/__spec-examples__/versioned-contract.ts index e810d5197..dfe269758 100644 --- a/lib/src/generators/openapi3/__spec-examples__/versioned-contract.ts +++ b/lib/src/generators/openapi3/__spec-examples__/versioned-contract.ts @@ -1,4 +1,4 @@ -import { api } from "@airtasker/spot"; +import { api } from "@stediinc/spot"; @api({ name: "versioned-contract", version: "0.1.0" }) class Contract {} diff --git a/lib/src/linting/README.MD b/lib/src/linting/README.MD index b1a832b03..fe93e0b94 100644 --- a/lib/src/linting/README.MD +++ b/lib/src/linting/README.MD @@ -125,7 +125,7 @@ In every test case, we create an example contract representing the scenarios: ```typescript // lib/src/linting/rules/__spec-examples__/your-new-linting-rule-name/your-scenario.ts -import { api, body, defaultResponse, endpoint, String } from "@airtasker/spot"; +import { api, body, defaultResponse, endpoint, String } from "@stediinc/spot"; @api({ name: "contract" }) class Contract {} diff --git a/lib/src/linting/rules/__spec-examples__/has-discriminator/contract-with-union-violations-in-each-component.ts b/lib/src/linting/rules/__spec-examples__/has-discriminator/contract-with-union-violations-in-each-component.ts index 54c05640d..b10ede434 100644 --- a/lib/src/linting/rules/__spec-examples__/has-discriminator/contract-with-union-violations-in-each-component.ts +++ b/lib/src/linting/rules/__spec-examples__/has-discriminator/contract-with-union-violations-in-each-component.ts @@ -10,7 +10,7 @@ import { request, response, String -} from "@airtasker/spot"; +} from "@stediinc/spot"; @api({ name: "contract" }) class Contract {} diff --git a/lib/src/linting/rules/__spec-examples__/has-discriminator/multiple-homogeneous-primitive-type-or-null-union.ts b/lib/src/linting/rules/__spec-examples__/has-discriminator/multiple-homogeneous-primitive-type-or-null-union.ts index 3197c27bb..271a3ca50 100644 --- a/lib/src/linting/rules/__spec-examples__/has-discriminator/multiple-homogeneous-primitive-type-or-null-union.ts +++ b/lib/src/linting/rules/__spec-examples__/has-discriminator/multiple-homogeneous-primitive-type-or-null-union.ts @@ -1,4 +1,4 @@ -import { api, body, endpoint, response } from "@airtasker/spot"; +import { api, body, endpoint, response } from "@stediinc/spot"; @api({ name: "contract" }) class Contract {} diff --git a/lib/src/linting/rules/__spec-examples__/has-discriminator/object-union-with-discriminator.ts b/lib/src/linting/rules/__spec-examples__/has-discriminator/object-union-with-discriminator.ts index 21561d937..fe21ccad5 100644 --- a/lib/src/linting/rules/__spec-examples__/has-discriminator/object-union-with-discriminator.ts +++ b/lib/src/linting/rules/__spec-examples__/has-discriminator/object-union-with-discriminator.ts @@ -1,4 +1,4 @@ -import { api, body, endpoint, response, String } from "@airtasker/spot"; +import { api, body, endpoint, response, String } from "@stediinc/spot"; @api({ name: "contract" }) class Contract {} diff --git a/lib/src/linting/rules/__spec-examples__/has-discriminator/object-union-with-no-discriminator.ts b/lib/src/linting/rules/__spec-examples__/has-discriminator/object-union-with-no-discriminator.ts index 8c8e65616..36b2668ff 100644 --- a/lib/src/linting/rules/__spec-examples__/has-discriminator/object-union-with-no-discriminator.ts +++ b/lib/src/linting/rules/__spec-examples__/has-discriminator/object-union-with-no-discriminator.ts @@ -1,4 +1,4 @@ -import { api, body, endpoint, response, String } from "@airtasker/spot"; +import { api, body, endpoint, response, String } from "@stediinc/spot"; @api({ name: "contract" }) class Contract {} diff --git a/lib/src/linting/rules/__spec-examples__/has-discriminator/single-type-or-null-union.ts b/lib/src/linting/rules/__spec-examples__/has-discriminator/single-type-or-null-union.ts index bab5db6cb..07f47e0db 100644 --- a/lib/src/linting/rules/__spec-examples__/has-discriminator/single-type-or-null-union.ts +++ b/lib/src/linting/rules/__spec-examples__/has-discriminator/single-type-or-null-union.ts @@ -1,4 +1,4 @@ -import { api, body, endpoint, response, String } from "@airtasker/spot"; +import { api, body, endpoint, response, String } from "@stediinc/spot"; @api({ name: "contract" }) class Contract {} diff --git a/lib/src/linting/rules/__spec-examples__/has-query-parameters/patch-endpoint-with-query-parameters.ts b/lib/src/linting/rules/__spec-examples__/has-query-parameters/patch-endpoint-with-query-parameters.ts index b2821dfb9..d1c778278 100644 --- a/lib/src/linting/rules/__spec-examples__/has-query-parameters/patch-endpoint-with-query-parameters.ts +++ b/lib/src/linting/rules/__spec-examples__/has-query-parameters/patch-endpoint-with-query-parameters.ts @@ -7,7 +7,7 @@ import { request, response, String -} from "@airtasker/spot"; +} from "@stediinc/spot"; @api({ name: "contract" }) class Contract {} diff --git a/lib/src/linting/rules/__spec-examples__/has-query-parameters/patch-endpoint-without-query-parameters.ts b/lib/src/linting/rules/__spec-examples__/has-query-parameters/patch-endpoint-without-query-parameters.ts index 7fdab5045..7acdfffb0 100644 --- a/lib/src/linting/rules/__spec-examples__/has-query-parameters/patch-endpoint-without-query-parameters.ts +++ b/lib/src/linting/rules/__spec-examples__/has-query-parameters/patch-endpoint-without-query-parameters.ts @@ -5,7 +5,7 @@ import { request, response, String -} from "@airtasker/spot"; +} from "@stediinc/spot"; @api({ name: "contract" }) class Contract {} diff --git a/lib/src/linting/rules/__spec-examples__/has-query-parameters/post-endpoint-with-query-parameters.ts b/lib/src/linting/rules/__spec-examples__/has-query-parameters/post-endpoint-with-query-parameters.ts index 721bff9b9..e5872c3a7 100644 --- a/lib/src/linting/rules/__spec-examples__/has-query-parameters/post-endpoint-with-query-parameters.ts +++ b/lib/src/linting/rules/__spec-examples__/has-query-parameters/post-endpoint-with-query-parameters.ts @@ -7,7 +7,7 @@ import { request, response, String -} from "@airtasker/spot"; +} from "@stediinc/spot"; @api({ name: "contract" }) class Contract {} diff --git a/lib/src/linting/rules/__spec-examples__/has-query-parameters/post-endpoint-without-query-parameters.ts b/lib/src/linting/rules/__spec-examples__/has-query-parameters/post-endpoint-without-query-parameters.ts index 70f49f8bb..4296e767f 100644 --- a/lib/src/linting/rules/__spec-examples__/has-query-parameters/post-endpoint-without-query-parameters.ts +++ b/lib/src/linting/rules/__spec-examples__/has-query-parameters/post-endpoint-without-query-parameters.ts @@ -5,7 +5,7 @@ import { request, response, String -} from "@airtasker/spot"; +} from "@stediinc/spot"; @api({ name: "contract" }) class Contract {} diff --git a/lib/src/linting/rules/__spec-examples__/has-query-parameters/put-endpoint-with-query-parameters.ts b/lib/src/linting/rules/__spec-examples__/has-query-parameters/put-endpoint-with-query-parameters.ts index 91a47ef5a..2d77df0a1 100644 --- a/lib/src/linting/rules/__spec-examples__/has-query-parameters/put-endpoint-with-query-parameters.ts +++ b/lib/src/linting/rules/__spec-examples__/has-query-parameters/put-endpoint-with-query-parameters.ts @@ -7,7 +7,7 @@ import { request, response, String -} from "@airtasker/spot"; +} from "@stediinc/spot"; @api({ name: "contract" }) class Contract {} diff --git a/lib/src/linting/rules/__spec-examples__/has-query-parameters/put-endpoint-without-query-parameters.ts b/lib/src/linting/rules/__spec-examples__/has-query-parameters/put-endpoint-without-query-parameters.ts index 647f4dc30..9f916bf76 100644 --- a/lib/src/linting/rules/__spec-examples__/has-query-parameters/put-endpoint-without-query-parameters.ts +++ b/lib/src/linting/rules/__spec-examples__/has-query-parameters/put-endpoint-without-query-parameters.ts @@ -5,7 +5,7 @@ import { request, response, String -} from "@airtasker/spot"; +} from "@stediinc/spot"; @api({ name: "contract" }) class Contract {} diff --git a/lib/src/linting/rules/__spec-examples__/has-request-payload/delete-endpoint-with-request-body.ts b/lib/src/linting/rules/__spec-examples__/has-request-payload/delete-endpoint-with-request-body.ts index 9fb484f7e..cef0c7885 100644 --- a/lib/src/linting/rules/__spec-examples__/has-request-payload/delete-endpoint-with-request-body.ts +++ b/lib/src/linting/rules/__spec-examples__/has-request-payload/delete-endpoint-with-request-body.ts @@ -6,7 +6,7 @@ import { request, response, String -} from "@airtasker/spot"; +} from "@stediinc/spot"; @api({ name: "contract" }) class Contract {} diff --git a/lib/src/linting/rules/__spec-examples__/has-request-payload/delete-endpoint-without-request-body.ts b/lib/src/linting/rules/__spec-examples__/has-request-payload/delete-endpoint-without-request-body.ts index ebe8e6466..fc9cb9c5f 100644 --- a/lib/src/linting/rules/__spec-examples__/has-request-payload/delete-endpoint-without-request-body.ts +++ b/lib/src/linting/rules/__spec-examples__/has-request-payload/delete-endpoint-without-request-body.ts @@ -6,7 +6,7 @@ import { request, response, String -} from "@airtasker/spot"; +} from "@stediinc/spot"; @api({ name: "contract" }) class Contract {} diff --git a/lib/src/linting/rules/__spec-examples__/has-request-payload/get-endpoint-with-request-body.ts b/lib/src/linting/rules/__spec-examples__/has-request-payload/get-endpoint-with-request-body.ts index 4adeba868..4d92768ed 100644 --- a/lib/src/linting/rules/__spec-examples__/has-request-payload/get-endpoint-with-request-body.ts +++ b/lib/src/linting/rules/__spec-examples__/has-request-payload/get-endpoint-with-request-body.ts @@ -5,7 +5,7 @@ import { request, response, String -} from "@airtasker/spot"; +} from "@stediinc/spot"; @api({ name: "contract" }) class Contract {} diff --git a/lib/src/linting/rules/__spec-examples__/has-request-payload/get-endpoint-without-request-body.ts b/lib/src/linting/rules/__spec-examples__/has-request-payload/get-endpoint-without-request-body.ts index 0ea674d37..38d1af4a7 100644 --- a/lib/src/linting/rules/__spec-examples__/has-request-payload/get-endpoint-without-request-body.ts +++ b/lib/src/linting/rules/__spec-examples__/has-request-payload/get-endpoint-without-request-body.ts @@ -5,7 +5,7 @@ import { request, response, String -} from "@airtasker/spot"; +} from "@stediinc/spot"; @api({ name: "contract" }) class Contract {} diff --git a/lib/src/linting/rules/__spec-examples__/has-request-payload/patch-endpoint-with-request-body.ts b/lib/src/linting/rules/__spec-examples__/has-request-payload/patch-endpoint-with-request-body.ts index e5f786e2c..52beef3ec 100644 --- a/lib/src/linting/rules/__spec-examples__/has-request-payload/patch-endpoint-with-request-body.ts +++ b/lib/src/linting/rules/__spec-examples__/has-request-payload/patch-endpoint-with-request-body.ts @@ -6,7 +6,7 @@ import { request, response, String -} from "@airtasker/spot"; +} from "@stediinc/spot"; @api({ name: "contract" }) class Contract {} diff --git a/lib/src/linting/rules/__spec-examples__/has-request-payload/patch-endpoint-without-request-body.ts b/lib/src/linting/rules/__spec-examples__/has-request-payload/patch-endpoint-without-request-body.ts index 7805def13..77818c5ff 100644 --- a/lib/src/linting/rules/__spec-examples__/has-request-payload/patch-endpoint-without-request-body.ts +++ b/lib/src/linting/rules/__spec-examples__/has-request-payload/patch-endpoint-without-request-body.ts @@ -6,7 +6,7 @@ import { request, response, String -} from "@airtasker/spot"; +} from "@stediinc/spot"; @api({ name: "contract" }) class Contract {} diff --git a/lib/src/linting/rules/__spec-examples__/has-request-payload/post-endpoint-with-request-body.ts b/lib/src/linting/rules/__spec-examples__/has-request-payload/post-endpoint-with-request-body.ts index a03f22086..941fc03fc 100644 --- a/lib/src/linting/rules/__spec-examples__/has-request-payload/post-endpoint-with-request-body.ts +++ b/lib/src/linting/rules/__spec-examples__/has-request-payload/post-endpoint-with-request-body.ts @@ -5,7 +5,7 @@ import { request, response, String -} from "@airtasker/spot"; +} from "@stediinc/spot"; @api({ name: "contract" }) class Contract {} diff --git a/lib/src/linting/rules/__spec-examples__/has-request-payload/post-endpoint-without-request-body.ts b/lib/src/linting/rules/__spec-examples__/has-request-payload/post-endpoint-without-request-body.ts index 21196b18c..50543a719 100644 --- a/lib/src/linting/rules/__spec-examples__/has-request-payload/post-endpoint-without-request-body.ts +++ b/lib/src/linting/rules/__spec-examples__/has-request-payload/post-endpoint-without-request-body.ts @@ -5,7 +5,7 @@ import { request, response, String -} from "@airtasker/spot"; +} from "@stediinc/spot"; @api({ name: "contract" }) class Contract {} diff --git a/lib/src/linting/rules/__spec-examples__/has-request-payload/put-endpoint-with-request-body.ts b/lib/src/linting/rules/__spec-examples__/has-request-payload/put-endpoint-with-request-body.ts index 97c7e8243..03cf07cec 100644 --- a/lib/src/linting/rules/__spec-examples__/has-request-payload/put-endpoint-with-request-body.ts +++ b/lib/src/linting/rules/__spec-examples__/has-request-payload/put-endpoint-with-request-body.ts @@ -6,7 +6,7 @@ import { request, response, String -} from "@airtasker/spot"; +} from "@stediinc/spot"; @api({ name: "contract" }) class Contract {} diff --git a/lib/src/linting/rules/__spec-examples__/has-request-payload/put-endpoint-without-request-body.ts b/lib/src/linting/rules/__spec-examples__/has-request-payload/put-endpoint-without-request-body.ts index 7d0223b8e..80680656d 100644 --- a/lib/src/linting/rules/__spec-examples__/has-request-payload/put-endpoint-without-request-body.ts +++ b/lib/src/linting/rules/__spec-examples__/has-request-payload/put-endpoint-without-request-body.ts @@ -6,7 +6,7 @@ import { request, response, String -} from "@airtasker/spot"; +} from "@stediinc/spot"; @api({ name: "contract" }) class Contract {} diff --git a/lib/src/linting/rules/__spec-examples__/has-response-payload/endpoint-default-response-without-body.ts b/lib/src/linting/rules/__spec-examples__/has-response-payload/endpoint-default-response-without-body.ts index 8c6fa6868..02dac51b7 100644 --- a/lib/src/linting/rules/__spec-examples__/has-response-payload/endpoint-default-response-without-body.ts +++ b/lib/src/linting/rules/__spec-examples__/has-response-payload/endpoint-default-response-without-body.ts @@ -1,4 +1,4 @@ -import { api, defaultResponse, endpoint } from "@airtasker/spot"; +import { api, defaultResponse, endpoint } from "@stediinc/spot"; @api({ name: "contract" }) class Contract {} diff --git a/lib/src/linting/rules/__spec-examples__/has-response-payload/endpoint-specific-and-default-responses-with-body.ts b/lib/src/linting/rules/__spec-examples__/has-response-payload/endpoint-specific-and-default-responses-with-body.ts index 42f8ffe19..bd5eb4cbd 100644 --- a/lib/src/linting/rules/__spec-examples__/has-response-payload/endpoint-specific-and-default-responses-with-body.ts +++ b/lib/src/linting/rules/__spec-examples__/has-response-payload/endpoint-specific-and-default-responses-with-body.ts @@ -5,7 +5,7 @@ import { endpoint, response, String -} from "@airtasker/spot"; +} from "@stediinc/spot"; @api({ name: "contract" }) class Contract {} diff --git a/lib/src/linting/rules/__spec-examples__/has-response-payload/endpoint-specific-response-without-body.ts b/lib/src/linting/rules/__spec-examples__/has-response-payload/endpoint-specific-response-without-body.ts index 328df989f..1f0dfc27e 100644 --- a/lib/src/linting/rules/__spec-examples__/has-response-payload/endpoint-specific-response-without-body.ts +++ b/lib/src/linting/rules/__spec-examples__/has-response-payload/endpoint-specific-response-without-body.ts @@ -1,4 +1,4 @@ -import { api, endpoint, response } from "@airtasker/spot"; +import { api, endpoint, response } from "@stediinc/spot"; @api({ name: "contract" }) class Contract {} diff --git a/lib/src/linting/rules/__spec-examples__/has-response/endpoint-with-default-response.ts b/lib/src/linting/rules/__spec-examples__/has-response/endpoint-with-default-response.ts index f5b27ee62..4f316439a 100644 --- a/lib/src/linting/rules/__spec-examples__/has-response/endpoint-with-default-response.ts +++ b/lib/src/linting/rules/__spec-examples__/has-response/endpoint-with-default-response.ts @@ -1,4 +1,4 @@ -import { api, body, defaultResponse, endpoint, String } from "@airtasker/spot"; +import { api, body, defaultResponse, endpoint, String } from "@stediinc/spot"; @api({ name: "contract" }) class Contract {} diff --git a/lib/src/linting/rules/__spec-examples__/has-response/endpoint-with-no-responses.ts b/lib/src/linting/rules/__spec-examples__/has-response/endpoint-with-no-responses.ts index 48e6e1c72..243d1a78f 100644 --- a/lib/src/linting/rules/__spec-examples__/has-response/endpoint-with-no-responses.ts +++ b/lib/src/linting/rules/__spec-examples__/has-response/endpoint-with-no-responses.ts @@ -1,4 +1,4 @@ -import { api, endpoint } from "@airtasker/spot"; +import { api, endpoint } from "@stediinc/spot"; @api({ name: "contract" }) class Contract {} diff --git a/lib/src/linting/rules/__spec-examples__/has-response/endpoint-with-specific-response.ts b/lib/src/linting/rules/__spec-examples__/has-response/endpoint-with-specific-response.ts index 9c13768f2..12ddd3da4 100644 --- a/lib/src/linting/rules/__spec-examples__/has-response/endpoint-with-specific-response.ts +++ b/lib/src/linting/rules/__spec-examples__/has-response/endpoint-with-specific-response.ts @@ -1,4 +1,4 @@ -import { api, body, endpoint, response, String } from "@airtasker/spot"; +import { api, body, endpoint, response, String } from "@stediinc/spot"; @api({ name: "contract" }) class Contract {} diff --git a/lib/src/linting/rules/__spec-examples__/no-inline-objects-within-unions/contract-inline-object-union-violations-in-each-query-param-and-body-component.ts b/lib/src/linting/rules/__spec-examples__/no-inline-objects-within-unions/contract-inline-object-union-violations-in-each-query-param-and-body-component.ts index 7c6640ce3..cf2bd413f 100644 --- a/lib/src/linting/rules/__spec-examples__/no-inline-objects-within-unions/contract-inline-object-union-violations-in-each-query-param-and-body-component.ts +++ b/lib/src/linting/rules/__spec-examples__/no-inline-objects-within-unions/contract-inline-object-union-violations-in-each-query-param-and-body-component.ts @@ -7,7 +7,7 @@ import { request, response, String -} from "@airtasker/spot"; +} from "@stediinc/spot"; @api({ name: "contract" }) class Contract {} diff --git a/lib/src/linting/rules/__spec-examples__/no-inline-objects-within-unions/inline-object-or-null-union.ts b/lib/src/linting/rules/__spec-examples__/no-inline-objects-within-unions/inline-object-or-null-union.ts index 60ec6bce6..b5b3cb5c0 100644 --- a/lib/src/linting/rules/__spec-examples__/no-inline-objects-within-unions/inline-object-or-null-union.ts +++ b/lib/src/linting/rules/__spec-examples__/no-inline-objects-within-unions/inline-object-or-null-union.ts @@ -1,4 +1,4 @@ -import { api, body, endpoint, response, String } from "@airtasker/spot"; +import { api, body, endpoint, response, String } from "@stediinc/spot"; @api({ name: "contract" }) class Contract {} diff --git a/lib/src/linting/rules/__spec-examples__/no-inline-objects-within-unions/inline-objects-in-union.ts b/lib/src/linting/rules/__spec-examples__/no-inline-objects-within-unions/inline-objects-in-union.ts index ca9ebf844..191dc28f1 100644 --- a/lib/src/linting/rules/__spec-examples__/no-inline-objects-within-unions/inline-objects-in-union.ts +++ b/lib/src/linting/rules/__spec-examples__/no-inline-objects-within-unions/inline-objects-in-union.ts @@ -1,4 +1,4 @@ -import { api, body, endpoint, response, String } from "@airtasker/spot"; +import { api, body, endpoint, response, String } from "@stediinc/spot"; @api({ name: "contract" }) class Contract {} diff --git a/lib/src/linting/rules/__spec-examples__/no-inline-objects-within-unions/referenced-objects-in-union.ts b/lib/src/linting/rules/__spec-examples__/no-inline-objects-within-unions/referenced-objects-in-union.ts index 6d5a24f9e..f8c263809 100644 --- a/lib/src/linting/rules/__spec-examples__/no-inline-objects-within-unions/referenced-objects-in-union.ts +++ b/lib/src/linting/rules/__spec-examples__/no-inline-objects-within-unions/referenced-objects-in-union.ts @@ -1,4 +1,4 @@ -import { api, body, endpoint, response, String } from "@airtasker/spot"; +import { api, body, endpoint, response, String } from "@stediinc/spot"; @api({ name: "contract" }) class Contract {} diff --git a/lib/src/linting/rules/__spec-examples__/no-nullable-arrays/contract-with-nullable-violations-in-each-nullable-component.ts b/lib/src/linting/rules/__spec-examples__/no-nullable-arrays/contract-with-nullable-violations-in-each-nullable-component.ts index 3cc5682eb..5be1393ba 100644 --- a/lib/src/linting/rules/__spec-examples__/no-nullable-arrays/contract-with-nullable-violations-in-each-nullable-component.ts +++ b/lib/src/linting/rules/__spec-examples__/no-nullable-arrays/contract-with-nullable-violations-in-each-nullable-component.ts @@ -6,7 +6,7 @@ import { request, response, String -} from "@airtasker/spot"; +} from "@stediinc/spot"; @api({ name: "contract" }) class Contract {} diff --git a/lib/src/linting/rules/__spec-examples__/no-nullable-arrays/non-nullable-array.ts b/lib/src/linting/rules/__spec-examples__/no-nullable-arrays/non-nullable-array.ts index 5fd24126a..cca306777 100644 --- a/lib/src/linting/rules/__spec-examples__/no-nullable-arrays/non-nullable-array.ts +++ b/lib/src/linting/rules/__spec-examples__/no-nullable-arrays/non-nullable-array.ts @@ -1,4 +1,4 @@ -import { api, body, endpoint, response, String } from "@airtasker/spot"; +import { api, body, endpoint, response, String } from "@stediinc/spot"; @api({ name: "contract" }) class Contract {} diff --git a/lib/src/linting/rules/__spec-examples__/no-nullable-arrays/nullable-array.ts b/lib/src/linting/rules/__spec-examples__/no-nullable-arrays/nullable-array.ts index 36fb2009c..d3972b642 100644 --- a/lib/src/linting/rules/__spec-examples__/no-nullable-arrays/nullable-array.ts +++ b/lib/src/linting/rules/__spec-examples__/no-nullable-arrays/nullable-array.ts @@ -1,4 +1,4 @@ -import { api, body, endpoint, response, String } from "@airtasker/spot"; +import { api, body, endpoint, response, String } from "@stediinc/spot"; @api({ name: "contract" }) class Contract {} diff --git a/lib/src/linting/rules/__spec-examples__/no-nullable-fields-within-request-bodies/non-nullable-field-in-request-body.ts b/lib/src/linting/rules/__spec-examples__/no-nullable-fields-within-request-bodies/non-nullable-field-in-request-body.ts index 92b18c6f6..b2cd164a0 100644 --- a/lib/src/linting/rules/__spec-examples__/no-nullable-fields-within-request-bodies/non-nullable-field-in-request-body.ts +++ b/lib/src/linting/rules/__spec-examples__/no-nullable-fields-within-request-bodies/non-nullable-field-in-request-body.ts @@ -6,7 +6,7 @@ import { request, response, String -} from "@airtasker/spot"; +} from "@stediinc/spot"; @api({ name: "contract" }) class Contract {} diff --git a/lib/src/linting/rules/__spec-examples__/no-nullable-fields-within-request-bodies/nullable-field-in-request-body.ts b/lib/src/linting/rules/__spec-examples__/no-nullable-fields-within-request-bodies/nullable-field-in-request-body.ts index 7965bcd7a..6235b63ca 100644 --- a/lib/src/linting/rules/__spec-examples__/no-nullable-fields-within-request-bodies/nullable-field-in-request-body.ts +++ b/lib/src/linting/rules/__spec-examples__/no-nullable-fields-within-request-bodies/nullable-field-in-request-body.ts @@ -6,7 +6,7 @@ import { request, response, String -} from "@airtasker/spot"; +} from "@stediinc/spot"; @api({ name: "contract" }) class Contract {} diff --git a/lib/src/linting/rules/__spec-examples__/no-omittable-fields-within-response-bodies/no-omittable-field-in-response-body.ts b/lib/src/linting/rules/__spec-examples__/no-omittable-fields-within-response-bodies/no-omittable-field-in-response-body.ts index 84bb4dbf6..e976c5d9d 100644 --- a/lib/src/linting/rules/__spec-examples__/no-omittable-fields-within-response-bodies/no-omittable-field-in-response-body.ts +++ b/lib/src/linting/rules/__spec-examples__/no-omittable-fields-within-response-bodies/no-omittable-field-in-response-body.ts @@ -6,7 +6,7 @@ import { request, response, String -} from "@airtasker/spot"; +} from "@stediinc/spot"; @api({ name: "contract" }) class Contract {} diff --git a/lib/src/linting/rules/__spec-examples__/no-omittable-fields-within-response-bodies/omittable-field-in-response-body.ts b/lib/src/linting/rules/__spec-examples__/no-omittable-fields-within-response-bodies/omittable-field-in-response-body.ts index 13c3ed9ab..1abaa4bf5 100644 --- a/lib/src/linting/rules/__spec-examples__/no-omittable-fields-within-response-bodies/omittable-field-in-response-body.ts +++ b/lib/src/linting/rules/__spec-examples__/no-omittable-fields-within-response-bodies/omittable-field-in-response-body.ts @@ -6,7 +6,7 @@ import { request, response, String -} from "@airtasker/spot"; +} from "@stediinc/spot"; @api({ name: "contract" }) class Contract {} diff --git a/lib/src/linting/rules/__spec-examples__/no-primitives-in-request/request-as-array.ts b/lib/src/linting/rules/__spec-examples__/no-primitives-in-request/request-as-array.ts index 636b27fee..3724d7968 100644 --- a/lib/src/linting/rules/__spec-examples__/no-primitives-in-request/request-as-array.ts +++ b/lib/src/linting/rules/__spec-examples__/no-primitives-in-request/request-as-array.ts @@ -1,4 +1,4 @@ -import { api, body, request, endpoint } from "@airtasker/spot"; +import { api, body, request, endpoint } from "@stediinc/spot"; @api({ name: "contract" }) class Contract {} diff --git a/lib/src/linting/rules/__spec-examples__/no-primitives-in-request/request-as-object.ts b/lib/src/linting/rules/__spec-examples__/no-primitives-in-request/request-as-object.ts index bf695ada4..ecc1ac3c8 100644 --- a/lib/src/linting/rules/__spec-examples__/no-primitives-in-request/request-as-object.ts +++ b/lib/src/linting/rules/__spec-examples__/no-primitives-in-request/request-as-object.ts @@ -1,4 +1,4 @@ -import { api, body, request, endpoint, String } from "@airtasker/spot"; +import { api, body, request, endpoint, String } from "@stediinc/spot"; @api({ name: "contract" }) class Contract {} diff --git a/lib/src/linting/rules/__spec-examples__/no-primitives-in-request/request-with-primitives.ts b/lib/src/linting/rules/__spec-examples__/no-primitives-in-request/request-with-primitives.ts index 7c742c7b5..d14949949 100644 --- a/lib/src/linting/rules/__spec-examples__/no-primitives-in-request/request-with-primitives.ts +++ b/lib/src/linting/rules/__spec-examples__/no-primitives-in-request/request-with-primitives.ts @@ -1,4 +1,4 @@ -import { api, body, request, endpoint } from "@airtasker/spot"; +import { api, body, request, endpoint } from "@stediinc/spot"; @api({ name: "contract" }) class Contract {} diff --git a/lib/src/parser.ts b/lib/src/parser.ts index c8edff21c..5d82f7380 100644 --- a/lib/src/parser.ts +++ b/lib/src/parser.ts @@ -41,7 +41,7 @@ function createProject(): Project { experimentalDecorators: true, baseUrl: "./", paths: { - "@airtasker/spot": [path.join(__dirname, "../lib")] + "@stediinc/spot": [path.join(__dirname, "../lib")] } }; diff --git a/lib/src/parsers/__spec-examples__/body.ts b/lib/src/parsers/__spec-examples__/body.ts index 975c770cf..9a60dbe23 100644 --- a/lib/src/parsers/__spec-examples__/body.ts +++ b/lib/src/parsers/__spec-examples__/body.ts @@ -1,4 +1,4 @@ -import { body } from "@airtasker/spot"; +import { body } from "@stediinc/spot"; class BodyClass { bodyMethod( diff --git a/lib/src/parsers/__spec-examples__/config.ts b/lib/src/parsers/__spec-examples__/config.ts index 965f27351..e33157099 100644 --- a/lib/src/parsers/__spec-examples__/config.ts +++ b/lib/src/parsers/__spec-examples__/config.ts @@ -1,4 +1,4 @@ -import { config } from "@airtasker/spot"; +import { config } from "@stediinc/spot"; class NotConfigClass {} diff --git a/lib/src/parsers/__spec-examples__/contracts/contract-dependency.ts b/lib/src/parsers/__spec-examples__/contracts/contract-dependency.ts index 82177c45f..8a915c414 100644 --- a/lib/src/parsers/__spec-examples__/contracts/contract-dependency.ts +++ b/lib/src/parsers/__spec-examples__/contracts/contract-dependency.ts @@ -4,7 +4,7 @@ import { endpoint, request, response -} from "@airtasker/spot"; +} from "@stediinc/spot"; import { DefaultBody, SuccessBody } from "./contract"; @endpoint({ method: "POST", path: "/path" }) diff --git a/lib/src/parsers/__spec-examples__/contracts/contract.ts b/lib/src/parsers/__spec-examples__/contracts/contract.ts index db6fc41a8..224dd5ecc 100644 --- a/lib/src/parsers/__spec-examples__/contracts/contract.ts +++ b/lib/src/parsers/__spec-examples__/contracts/contract.ts @@ -11,7 +11,7 @@ import { response, securityHeader, String -} from "@airtasker/spot"; +} from "@stediinc/spot"; import "./contract-dependency"; /** contract description */ diff --git a/lib/src/parsers/__spec-examples__/contracts/duplicate-endpoint-name-contract-dependency.ts b/lib/src/parsers/__spec-examples__/contracts/duplicate-endpoint-name-contract-dependency.ts index 2130a054d..04ba6f015 100644 --- a/lib/src/parsers/__spec-examples__/contracts/duplicate-endpoint-name-contract-dependency.ts +++ b/lib/src/parsers/__spec-examples__/contracts/duplicate-endpoint-name-contract-dependency.ts @@ -1,4 +1,4 @@ -import { endpoint } from "@airtasker/spot"; +import { endpoint } from "@stediinc/spot"; @endpoint({ method: "GET", path: "/anotherpath" }) class GetEndpoint {} diff --git a/lib/src/parsers/__spec-examples__/contracts/duplicate-endpoint-name-contract.ts b/lib/src/parsers/__spec-examples__/contracts/duplicate-endpoint-name-contract.ts index 52ce2a731..e38163337 100644 --- a/lib/src/parsers/__spec-examples__/contracts/duplicate-endpoint-name-contract.ts +++ b/lib/src/parsers/__spec-examples__/contracts/duplicate-endpoint-name-contract.ts @@ -1,4 +1,4 @@ -import { api, endpoint } from "@airtasker/spot"; +import { api, endpoint } from "@stediinc/spot"; import "./duplicate-endpoint-name-contract-dependency"; /** contract description */ diff --git a/lib/src/parsers/__spec-examples__/contracts/empty-api-name-contract.ts b/lib/src/parsers/__spec-examples__/contracts/empty-api-name-contract.ts index 5646f0ee5..12d1c69aa 100644 --- a/lib/src/parsers/__spec-examples__/contracts/empty-api-name-contract.ts +++ b/lib/src/parsers/__spec-examples__/contracts/empty-api-name-contract.ts @@ -1,4 +1,4 @@ -import { api } from "@airtasker/spot"; +import { api } from "@stediinc/spot"; @api({ name: " " }) class Contract {} diff --git a/lib/src/parsers/__spec-examples__/contracts/illegal-api-name-contract.ts b/lib/src/parsers/__spec-examples__/contracts/illegal-api-name-contract.ts index e0d822248..7bba51f13 100644 --- a/lib/src/parsers/__spec-examples__/contracts/illegal-api-name-contract.ts +++ b/lib/src/parsers/__spec-examples__/contracts/illegal-api-name-contract.ts @@ -1,4 +1,4 @@ -import { api } from "@airtasker/spot"; +import { api } from "@stediinc/spot"; @api({ name: "contract$!%" }) class Contract {} diff --git a/lib/src/parsers/__spec-examples__/contracts/minimal-contract.ts b/lib/src/parsers/__spec-examples__/contracts/minimal-contract.ts index 478cd4a62..703566201 100644 --- a/lib/src/parsers/__spec-examples__/contracts/minimal-contract.ts +++ b/lib/src/parsers/__spec-examples__/contracts/minimal-contract.ts @@ -1,4 +1,4 @@ -import { api } from "@airtasker/spot"; +import { api } from "@stediinc/spot"; @api({ name: "contract" }) class Contract {} diff --git a/lib/src/parsers/__spec-examples__/default-response.ts b/lib/src/parsers/__spec-examples__/default-response.ts index efcb9604b..b488221b2 100644 --- a/lib/src/parsers/__spec-examples__/default-response.ts +++ b/lib/src/parsers/__spec-examples__/default-response.ts @@ -1,4 +1,4 @@ -import { body, defaultResponse, headers } from "@airtasker/spot"; +import { body, defaultResponse, headers } from "@stediinc/spot"; class DefaultResponseClass { notDefaultResponse() {} diff --git a/lib/src/parsers/__spec-examples__/endpoint.ts b/lib/src/parsers/__spec-examples__/endpoint.ts index 15e215f72..f02a8e499 100644 --- a/lib/src/parsers/__spec-examples__/endpoint.ts +++ b/lib/src/parsers/__spec-examples__/endpoint.ts @@ -8,7 +8,7 @@ import { queryParams, request, response -} from "@airtasker/spot"; +} from "@stediinc/spot"; class NotEndpointClass {} diff --git a/lib/src/parsers/__spec-examples__/headers.ts b/lib/src/parsers/__spec-examples__/headers.ts index 01856008c..396e85421 100644 --- a/lib/src/parsers/__spec-examples__/headers.ts +++ b/lib/src/parsers/__spec-examples__/headers.ts @@ -1,4 +1,4 @@ -import { headers, Int64 } from "@airtasker/spot"; +import { headers, Int64 } from "@stediinc/spot"; class HeadersClass { headersMethod( diff --git a/lib/src/parsers/__spec-examples__/path-params.ts b/lib/src/parsers/__spec-examples__/path-params.ts index b7ed28306..d6c777be5 100644 --- a/lib/src/parsers/__spec-examples__/path-params.ts +++ b/lib/src/parsers/__spec-examples__/path-params.ts @@ -1,4 +1,4 @@ -import { pathParams } from "@airtasker/spot"; +import { pathParams } from "@stediinc/spot"; class PathParamsClass { pathParamsMethod( diff --git a/lib/src/parsers/__spec-examples__/query-params.ts b/lib/src/parsers/__spec-examples__/query-params.ts index 821011136..6b810954c 100644 --- a/lib/src/parsers/__spec-examples__/query-params.ts +++ b/lib/src/parsers/__spec-examples__/query-params.ts @@ -1,4 +1,4 @@ -import { queryParams } from "@airtasker/spot"; +import { queryParams } from "@stediinc/spot"; class QueryParamsClass { queryParamsMethod( diff --git a/lib/src/parsers/__spec-examples__/request.ts b/lib/src/parsers/__spec-examples__/request.ts index 10bb40ba5..0164b0238 100644 --- a/lib/src/parsers/__spec-examples__/request.ts +++ b/lib/src/parsers/__spec-examples__/request.ts @@ -4,7 +4,7 @@ import { pathParams, queryParams, request -} from "@airtasker/spot"; +} from "@stediinc/spot"; class RequestClass { notRequest() {} diff --git a/lib/src/parsers/__spec-examples__/response.ts b/lib/src/parsers/__spec-examples__/response.ts index 5b09f65e8..50a50ec92 100644 --- a/lib/src/parsers/__spec-examples__/response.ts +++ b/lib/src/parsers/__spec-examples__/response.ts @@ -1,4 +1,4 @@ -import { body, headers, response } from "@airtasker/spot"; +import { body, headers, response } from "@stediinc/spot"; class ResponseClass { notResponse() {} diff --git a/lib/src/parsers/__spec-examples__/security-header.ts b/lib/src/parsers/__spec-examples__/security-header.ts index 600706734..73f7b15e6 100644 --- a/lib/src/parsers/__spec-examples__/security-header.ts +++ b/lib/src/parsers/__spec-examples__/security-header.ts @@ -1,4 +1,4 @@ -import { securityHeader } from "@airtasker/spot"; +import { securityHeader } from "@stediinc/spot"; class SecurityHeaderClass { "not-security-header": string; diff --git a/lib/src/parsers/__spec-examples__/types.ts b/lib/src/parsers/__spec-examples__/types.ts index cbbb9871e..3e7f2d708 100644 --- a/lib/src/parsers/__spec-examples__/types.ts +++ b/lib/src/parsers/__spec-examples__/types.ts @@ -8,7 +8,7 @@ import { Integer, Number, String -} from "@airtasker/spot"; +} from "@stediinc/spot"; interface TypeInterface { null: null; diff --git a/lib/src/parsers/type-parser.ts b/lib/src/parsers/type-parser.ts index 27bdbaf94..002f97786 100644 --- a/lib/src/parsers/type-parser.ts +++ b/lib/src/parsers/type-parser.ts @@ -619,7 +619,7 @@ function getTargetDeclarationFromTypeReference( const errorMsg = `${location}#${line}: expected exactly one declaration for ${typeName}`; if (typeName === "String") { throw new Error( - `${errorMsg}\nDid you forget to import String? => import { String } from "@airtasker/spot"` + `${errorMsg}\nDid you forget to import String? => import { String } from "@stediinc/spot"` ); } else { const locations = declarations.map(decl => ({ diff --git a/lib/src/spec-helpers/helper.ts b/lib/src/spec-helpers/helper.ts index e4487eb73..d6d3026c8 100644 --- a/lib/src/spec-helpers/helper.ts +++ b/lib/src/spec-helpers/helper.ts @@ -34,7 +34,7 @@ interface FileDetail { } /** - * Create an AST project with the `@airtasker/spot` depedency loaded. + * Create an AST project with the `@stediinc/spot` depedency loaded. */ export function createProject(): Project { return new Project({ @@ -54,7 +54,7 @@ export function createProject(): Project { experimentalDecorators: true, baseUrl: "./", paths: { - "@airtasker/spot": ["./lib/src/lib"] + "@stediinc/spot": ["./lib/src/lib"] } } }); diff --git a/lib/src/validation-server/__spec-examples__/contract/contract-endpoint.ts b/lib/src/validation-server/__spec-examples__/contract/contract-endpoint.ts index abcb51063..309503635 100644 --- a/lib/src/validation-server/__spec-examples__/contract/contract-endpoint.ts +++ b/lib/src/validation-server/__spec-examples__/contract/contract-endpoint.ts @@ -7,7 +7,7 @@ import { request, response, String -} from "@airtasker/spot"; +} from "@stediinc/spot"; import { ErrorBody, UserBody } from "./models"; /** Retrieves a user in a company */ diff --git a/lib/src/validation-server/__spec-examples__/contract/contract.ts b/lib/src/validation-server/__spec-examples__/contract/contract.ts index 46bd9a631..b9d186a36 100644 --- a/lib/src/validation-server/__spec-examples__/contract/contract.ts +++ b/lib/src/validation-server/__spec-examples__/contract/contract.ts @@ -13,7 +13,7 @@ import { response, securityHeader, String -} from "@airtasker/spot"; +} from "@stediinc/spot"; import "./contract-endpoint"; import { Address, CompanyBody, ErrorBody, UserBody, UserQuery } from "./models"; diff --git a/lib/src/validation-server/verifications/__spec-examples__/contract/contract-endpoint.ts b/lib/src/validation-server/verifications/__spec-examples__/contract/contract-endpoint.ts index abcb51063..309503635 100644 --- a/lib/src/validation-server/verifications/__spec-examples__/contract/contract-endpoint.ts +++ b/lib/src/validation-server/verifications/__spec-examples__/contract/contract-endpoint.ts @@ -7,7 +7,7 @@ import { request, response, String -} from "@airtasker/spot"; +} from "@stediinc/spot"; import { ErrorBody, UserBody } from "./models"; /** Retrieves a user in a company */ diff --git a/lib/src/validation-server/verifications/__spec-examples__/contract/contract.ts b/lib/src/validation-server/verifications/__spec-examples__/contract/contract.ts index 46bd9a631..b9d186a36 100644 --- a/lib/src/validation-server/verifications/__spec-examples__/contract/contract.ts +++ b/lib/src/validation-server/verifications/__spec-examples__/contract/contract.ts @@ -13,7 +13,7 @@ import { response, securityHeader, String -} from "@airtasker/spot"; +} from "@stediinc/spot"; import "./contract-endpoint"; import { Address, CompanyBody, ErrorBody, UserBody, UserQuery } from "./models"; diff --git a/package.json b/package.json index e58107a3f..5a2aa4aab 100644 --- a/package.json +++ b/package.json @@ -5,7 +5,7 @@ "bin": { "spot": "./bin/run" }, - "bugs": "https://github.com/airtasker/spot/issues", + "bugs": "https://github.com/stediinc/spot/issues", "dependencies": { "@oclif/command": "^1.6.1", "@oclif/config": "^1.15.1", @@ -74,7 +74,7 @@ ], "main": "index.js", "types": "index.d.ts", - "homepage": "https://github.com/airtasker/spot", + "homepage": "https://github.com/stediinc/spot", "license": "MIT", "oclif": { "commands": "./build/cli/src/commands", diff --git a/tsconfig.json b/tsconfig.json index 65a2d8b41..107a53a6d 100644 --- a/tsconfig.json +++ b/tsconfig.json @@ -39,7 +39,7 @@ "moduleResolution": "node" /* Specify module resolution strategy: 'node' (Node.js) or 'classic' (TypeScript pre-1.6). */, "baseUrl": "./" /* Base directory to resolve non-absolute module names. */, "paths": { - "@airtasker/spot": ["./lib/src/lib"] + "@stediinc/spot": ["./lib/src/lib"] } /* A series of entries which re-map imports to lookup locations relative to the 'baseUrl'. */, // "rootDirs": [], /* List of root folders whose combined content represents the structure of the project at runtime. */ // "typeRoots": [], /* List of folders to include type definitions from. */