Skip to content

Commit 9be0263

Browse files
committed
chore: update packages
1 parent abe8e55 commit 9be0263

File tree

2 files changed

+855
-293
lines changed

2 files changed

+855
-293
lines changed

lib/koa-api/package.json

Lines changed: 18 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -26,8 +26,7 @@
2626
"test:watch": "jest --watch",
2727
"test:ci": "jest --runInBand --ci --coverage --coverageDirectory=coverage",
2828
"build:prod": "cross-env NODE_ENV=production microbundle --tsconfig ./tsconfig.json --format modern,cjs --target node --output dist/prod/index.js",
29-
"build:dev": "cross-env NODE_ENV=development microbundle --define process.env.NODE_ENV=development --tsconfig ./tsconfig.json --target node --generateTypes false --format modern --output dist/dev/index.js",
30-
"build": "rm -rf ./dist && pnpm build:dev && pnpm build:prod",
29+
"build": "rm -rf ./dist && pnpm build:prod",
3130
"prepublishOnly": "pnpm build",
3231
"release": "pnpm run prepublishOnly && pnpm changeset publish"
3332
},
@@ -40,22 +39,33 @@
4039
},
4140
"homepage": "https://github.com/your-username/nextjs-koa-api#readme",
4241
"devDependencies": {
43-
"@types/jest": "^27.4.1",
44-
"@types/node": "^17.0.30",
45-
"@typescript-eslint/eslint-plugin": "^5.21.0",
46-
"@typescript-eslint/parser": "^5.21.0",
42+
"@types/jest": "^27.5.0",
43+
"@types/koa": "^2.13.4",
44+
"@types/koa__router": "^8.0.11",
45+
"@types/node": "^17.0.31",
46+
"@types/on-finished": "^2.3.1",
47+
"@types/supertest": "^2.0.12",
48+
"@typescript-eslint/eslint-plugin": "^5.22.0",
49+
"@typescript-eslint/parser": "^5.22.0",
4750
"cross-env": "^7.0.3",
48-
"eslint": "^8.14.0",
51+
"eslint": "^8.15.0",
4952
"eslint-config-prettier": "^8.5.0",
5053
"eslint-plugin-jest": "^26.1.5",
5154
"eslint-plugin-prettier": "^4.0.0",
5255
"eslint-plugin-promise": "^6.0.0",
5356
"eslint-plugin-tsdoc": "^0.2.16",
54-
"jest": "^28.0.3",
57+
"jest": "^28.1.0",
5558
"jest-mock-console": "^1.2.3",
5659
"jest-watch-typeahead": "^1.1.0",
5760
"microbundle": "^0.15.0",
61+
"next": "12.1.6",
5862
"shx": "^0.3.4",
63+
"supertest": "^6.2.3",
5964
"typescript": "^4.6.4"
65+
},
66+
"dependencies": {
67+
"@koa/router": "^10.1.1",
68+
"koa": "^2.13.4",
69+
"on-finished": "^2.4.1"
6070
}
6171
}

0 commit comments

Comments
 (0)