Skip to content

Commit c453271

Browse files
authored
Merge pull request #12 from ivandotv/changeset-release/main
Next release
2 parents daa0024 + c2015b7 commit c453271

File tree

5 files changed

+19
-10
lines changed

5 files changed

+19
-10
lines changed

.changeset/lazy-shirts-run.md

Lines changed: 0 additions & 7 deletions
This file was deleted.

example/CHANGELOG.md

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,14 @@
11
# example
22

3+
## 0.1.2
4+
5+
### Patch Changes
6+
7+
- Updated dependencies [daa0024]
8+
- nextjs-koa-api@2.0.0
9+
310
## 0.1.1
11+
412
### Patch Changes
513

614
- Updated dependencies [eb550ad]

example/package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "example",
3-
"version": "0.1.1",
3+
"version": "0.1.2",
44
"private": true,
55
"scripts": {
66
"dev": "next dev",
@@ -14,7 +14,7 @@
1414
"koa": "^2.13.4",
1515
"koa-body": "^5.0.0",
1616
"next": "12.1.6",
17-
"nextjs-koa-api": "^1.0.0",
17+
"nextjs-koa-api": "^2.0.0",
1818
"on-finished": "^2.4.1",
1919
"react": "18.1.0",
2020
"react-dom": "18.1.0"

lib/koa-api/CHANGELOG.md

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,13 @@
11
# nextjs-koa-api
22

3+
## 2.0.0
4+
5+
### Major Changes
6+
7+
- daa0024: Move `attachRouter` from `KoaApi` class to a special function.
8+
9+
I couldn not make the types work when trying to add the `attachRouter` to augmented `koa` typescript module.
10+
311
## 1.1.0
412

513
### Minor Changes

lib/koa-api/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "nextjs-koa-api",
3-
"version": "1.1.0",
3+
"version": "2.0.0",
44
"description": "Koa.js setup to be used with with Next.js api routes",
55
"keywords": [
66
"nextjs",

0 commit comments

Comments
 (0)