Skip to content

Commit da2c966

Browse files
authored
Merge pull request #466 from instantcommerce/refactor/rebranding
[refactor] rebranding
2 parents be3c0ce + 374eb1d commit da2c966

33 files changed

+110
-95
lines changed

LICENSE

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
MIT License
22

3-
Copyright (c) 2021 Story of AMS
3+
Copyright (c) 2021 Instant Commerce
44

55
Permission is hereby granted, free of charge, to any person obtaining a copy
66
of this software and associated documentation files (the "Software"), to deal

README.md

Lines changed: 11 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -1,20 +1,20 @@
11
<div align="center">
2-
<a aria-label="Story of AMS logo" href="https://storyofams.com/" target="_blank" align="center">
3-
<img src="https://avatars.githubusercontent.com/u/19343504" alt="Story of AMS" width="100">
2+
<a aria-label="Instant Commerce logo" href="https://instantcommerce.io/" target="_blank" align="center">
3+
<img src="https://avatars.githubusercontent.com/u/93975473" alt="Instant Commerce" width="100">
44
</a>
5-
<h1 align="center">@storyofams/next-api-decorators</h1>
5+
<h1 align="center">next-api-decorators</h1>
66
<p align="center">
7-
<a aria-label="releases" href="https://GitHub.com/storyofams/next-api-decorators/releases/" target="_blank">
8-
<img src="https://github.com/storyofams/next-api-decorators/workflows/Release/badge.svg">
7+
<a aria-label="releases" href="https://github.com/instantcommerce/next-api-decorators/releases/" target="_blank">
8+
<img src="https://github.com/instantcommerce/next-api-decorators/workflows/Release/badge.svg">
99
</a>
10-
<a aria-label="npm" href="https://www.npmjs.com/package/@storyofams/next-api-decorators" target="_blank">
11-
<img src="https://img.shields.io/npm/v/@storyofams/next-api-decorators">
10+
<a aria-label="npm" href="https://www.npmjs.com/package/next-api-decorators" target="_blank">
11+
<img src="https://img.shields.io/npm/v/next-api-decorators">
1212
</a>
13-
<a aria-label="codecov" href="https://codecov.io/gh/storyofams/next-api-decorators" target="_blank">
14-
<img src="https://codecov.io/gh/storyofams/next-api-decorators/branch/master/graph/badge.svg?token=ZV0YT4HU5H">
13+
<a aria-label="codecov" href="https://codecov.io/gh/instantcommerce/next-api-decorators" target="_blank">
14+
<img src="https://codecov.io/gh/instantcommerce/next-api-decorators/branch/master/graph/badge.svg?token=ZV0YT4HU5H">
1515
</a>
16-
<a aria-label="stars" href="https://github.com/storyofams/next-api-decorators/stargazers/" target="_blank">
17-
<img src="https://img.shields.io/github/stars/storyofams/next-api-decorators.svg?style=social&label=Star&maxAge=86400" />
16+
<a aria-label="stars" href="https://github.com/instantcommerce/next-api-decorators/stargazers/" target="_blank">
17+
<img src="https://img.shields.io/github/stars/instantcommerce/next-api-decorators.svg?style=social&label=Star&maxAge=86400" />
1818
</a>
1919
</p>
2020
</div>

examples/route-matching/README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
1-
# @storyofams/next-api-decorators/example
1+
# next-api-decorators/example
22

3-
Example usage of the `@storyofams/next-api-decorators` with Next.js
3+
Example usage of the `next-api-decorators` with Next.js
44

55
## Getting started
66

examples/route-matching/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99
"type-check": "tsc"
1010
},
1111
"dependencies": {
12-
"@storyofams/next-api-decorators": "../../dist",
12+
"next-api-decorators": "../../dist",
1313
"class-transformer": "^0.4.0",
1414
"class-validator": "^0.13.1",
1515
"next": "^12.1.0",

examples/route-matching/pages/api/postman.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ import {
44
Download,
55
DownloadFileResult,
66
createHandler,
7-
} from '@storyofams/next-api-decorators';
7+
} from 'next-api-decorators';
88

99
class Postman {
1010
private pathToFile = `${process.cwd()}/postman.json`;

examples/route-matching/pages/api/users/[[...params]].ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ import {
1212
ParseNumberPipe,
1313
DefaultValuePipe,
1414
NotFoundException,
15-
} from '@storyofams/next-api-decorators';
15+
} from 'next-api-decorators';
1616
import { User, sampleUserData } from '../../../data';
1717
import { CreateUserInput, UpdateUserInput } from '../../../dto';
1818

examples/route-matching/postman.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"info": {
3-
"name": "@storyofams/next-api-decorators/example",
3+
"name": "next-api-decorators/example",
44
"schema": "https://schema.getpostman.com/json/collection/v2.1.0/collection.json"
55
},
66
"item": [

examples/route-matching/yarn.lock

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -320,6 +320,9 @@
320320
minimatch "^3.0.4"
321321
strip-json-comments "^3.1.1"
322322

323+
"next-api-decorators@../../dist":
324+
version "0.0.0"
325+
323326
324327
version "1.6.22"
325328
resolved "https://registry.yarnpkg.com/@mdx-js/util/-/util-1.6.22.tgz#219dfd89ae5b97a8801f015323ffa4b62f45718b"
@@ -390,9 +393,6 @@
390393
resolved "https://registry.yarnpkg.com/@storyofams/eslint-config-ams/-/eslint-config-ams-1.1.3.tgz#ee6de44c89c6fabe401e6883f8b08ccc11fdc538"
391394
integrity sha512-iygvgZQIu8CicKYzXdHfEfrGXf23BeSeHrIDdj+zl0f85Al1lPINTC90y9xtQdbKKgw9iXrlmuiaJIjL1o1Y1w==
392395

393-
"@storyofams/next-api-decorators@../../dist":
394-
version "0.0.0"
395-
396396
"@types/json5@^0.0.29":
397397
version "0.0.29"
398398
resolved "https://registry.yarnpkg.com/@types/json5/-/json5-0.0.29.tgz#ee28707ae94e11d2b827bcbe5270bcea7f3e71ee"

examples/with-next-auth/README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
1-
# `@storyofams/next-api-decorators` example with `next-auth`
1+
# `next-api-decorators` example with `next-auth`
22

3-
Example usage of the `@storyofams/next-api-decorators` with `next-auth`. This example only covers logging in via Github, for more providers please refer to `next-auth` documentation [here](https://next-auth.js.org/configuration/providers).
3+
Example usage of the `next-api-decorators` with `next-auth`. This example only covers logging in via Github, for more providers please refer to `next-auth` documentation [here](https://next-auth.js.org/configuration/providers).
44

55
## Getting started
66

examples/with-next-auth/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99
"type-check": "tsc"
1010
},
1111
"dependencies": {
12-
"@storyofams/next-api-decorators": "../../dist",
12+
"next-api-decorators": "../../dist",
1313
"class-transformer": "^0.4.0",
1414
"class-validator": "^0.13.1",
1515
"next": "^12.1.0",

0 commit comments

Comments
 (0)