Skip to content
This repository has been archived by the owner on Aug 6, 2022. It is now read-only.

Commit

Permalink
Replace airtasker/spot with stediinc/spot everywhere
Browse files Browse the repository at this point in the history
  • Loading branch information
Chris Perkins committed Jul 2, 2020
1 parent 361e165 commit 4ba0af3
Show file tree
Hide file tree
Showing 106 changed files with 128 additions and 128 deletions.
40 changes: 20 additions & 20 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand Down Expand Up @@ -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
Expand Down Expand Up @@ -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)

<!-- toc -->
* [Spot](#spot)
Expand All @@ -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
Expand Down Expand Up @@ -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`

Expand All @@ -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`

Expand All @@ -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]`

Expand Down Expand Up @@ -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`

Expand All @@ -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`

Expand All @@ -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`

Expand All @@ -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`

Expand All @@ -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)_
<!-- commandsstop -->
4 changes: 2 additions & 2 deletions cli/src/commands/init.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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 {}
Expand Down Expand Up @@ -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"
});
}
Expand Down
2 changes: 1 addition & 1 deletion lib/src/checksum/__spec-examples__/contract.ts
Original file line number Diff line number Diff line change
@@ -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 {}
Expand Down
Original file line number Diff line number Diff line change
@@ -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 {}
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import { api } from "@airtasker/spot";
import { api } from "@stediinc/spot";

@api({ name: "contract" })
class Contract {}
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ import {
request,
response,
String
} from "@airtasker/spot";
} from "@stediinc/spot";

@config({
paramSerializationStrategy: {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ import {
request,
response,
String
} from "@airtasker/spot";
} from "@stediinc/spot";

@api({ name: "contract" })
class Contract {}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ import {
request,
response,
String
} from "@airtasker/spot";
} from "@stediinc/spot";

@api({ name: "contract" })
class Contract {}
Expand Down
Original file line number Diff line number Diff line change
@@ -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 {}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ import {
request,
response,
String
} from "@airtasker/spot";
} from "@stediinc/spot";

@api({ name: "contract" })
class Contract {}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ import {
request,
response,
String
} from "@airtasker/spot";
} from "@stediinc/spot";

@api({ name: "contract" })
class Contract {}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ import {
request,
response,
String
} from "@airtasker/spot";
} from "@stediinc/spot";

@api({ name: "contract" })
class Contract {}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ import {
request,
response,
String
} from "@airtasker/spot";
} from "@stediinc/spot";

@api({ name: "contract" })
class Contract {}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ import {
request,
response,
String
} from "@airtasker/spot";
} from "@stediinc/spot";

@api({ name: "contract" })
class Contract {}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ import {
request,
response,
String
} from "@airtasker/spot";
} from "@stediinc/spot";

@api({ name: "contract" })
class Contract {}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ import {
request,
response,
String
} from "@airtasker/spot";
} from "@stediinc/spot";

@api({ name: "contract" })
class Contract {}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ import {
request,
response,
String
} from "@airtasker/spot";
} from "@stediinc/spot";

@api({ name: "contract" })
class Contract {}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ import {
response,
securityHeader,
String
} from "@airtasker/spot";
} from "@stediinc/spot";

@api({ name: "contract" })
class Contract {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ import {
request,
response,
String
} from "@airtasker/spot";
} from "@stediinc/spot";

@api({ name: "contract" })
class Contract {}
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import { api } from "@airtasker/spot";
import { api } from "@stediinc/spot";

@api({ name: "contract" })
class Contract {}
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import { api } from "@airtasker/spot";
import { api } from "@stediinc/spot";

@api({ name: "versioned-contract", version: "0.1.0" })
class Contract {}
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ import {
request,
response,
String
} from "@airtasker/spot";
} from "@stediinc/spot";

@config({
paramSerializationStrategy: {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ import {
request,
response,
String
} from "@airtasker/spot";
} from "@stediinc/spot";

@api({ name: "contract" })
class Contract {}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ import {
request,
response,
String
} from "@airtasker/spot";
} from "@stediinc/spot";

@api({ name: "contract" })
class Contract {}
Expand Down
Original file line number Diff line number Diff line change
@@ -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 {}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ import {
request,
response,
String
} from "@airtasker/spot";
} from "@stediinc/spot";

@api({ name: "contract" })
class Contract {}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ import {
request,
response,
String
} from "@airtasker/spot";
} from "@stediinc/spot";

@api({ name: "contract" })
class Contract {}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ import {
request,
response,
String
} from "@airtasker/spot";
} from "@stediinc/spot";

@api({ name: "contract" })
class Contract {}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ import {
request,
response,
String
} from "@airtasker/spot";
} from "@stediinc/spot";

@api({ name: "contract" })
class Contract {}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ import {
request,
response,
String
} from "@airtasker/spot";
} from "@stediinc/spot";

@api({ name: "contract" })
class Contract {}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ import {
request,
response,
String
} from "@airtasker/spot";
} from "@stediinc/spot";

@api({ name: "contract" })
class Contract {}
Expand Down
Loading

0 comments on commit 4ba0af3

Please sign in to comment.