File tree Expand file tree Collapse file tree 3 files changed +303
-261
lines changed
Expand file tree Collapse file tree 3 files changed +303
-261
lines changed Original file line number Diff line number Diff line change 11{
22 "name" : " @micro-app/plugin-koa" ,
3- "version" : " 0.0.1 " ,
3+ "version" : " 0.0.2 " ,
44 "description" : " [Plugin] koa adapter plugin." ,
55 "main" : " src/index.js" ,
66 "publishConfig" : {
5151 ]
5252 },
5353 "peerDependencies" : {
54- "@micro-app/cli" : " ^0.3.16 "
54+ "@micro-app/cli" : " ^0.4.0 "
5555 },
5656 "devDependencies" : {
57- "@micro-app/cli" : " ^0.3.16 " ,
58- "@micro-app/plugin-deploy" : " ^0.0.7 " ,
57+ "@micro-app/cli" : " ^0.4.0 " ,
58+ "@micro-app/plugin-deploy" : " ^0.0.8 " ,
5959 "@types/jest" : " ^24.9.1" ,
6060 "eslint-config-2o3t" : " ^2.0.1" ,
6161 "husky" : " ^3.1.0" ,
6262 "jest" : " ^24.9.0" ,
6363 "lint-staged" : " ^9.5.0"
6464 },
6565 "dependencies" : {
66- "koa" : " ^2.11.0 " ,
67- "koa-convert" : " ^1.2 .0" ,
66+ "koa" : " ^2.13.1 " ,
67+ "koa-convert" : " ^2.0 .0" ,
6868 "koa-logger" : " ^3.2.1" ,
6969 "koa-onerror" : " ^4.1.0" ,
7070 "koa-router" : " ^10.0.0" ,
7171 "koa2-swagger-ui" : " ^5.0.5" ,
7272 "moment" : " ^2.29.1" ,
7373 "portfinder" : " ^1.0.28" ,
74- "swagger-jsdoc" : " 3"
74+ "swagger-jsdoc" : " 3.7.0 "
7575 }
7676}
Original file line number Diff line number Diff line change @@ -12,9 +12,10 @@ describe('koa serve', () => {
1212 link : path . join ( __dirname , '../src/index.js' ) ,
1313 } ) ;
1414
15- it ( 'serve' , ( ) => {
16- // const result = await service.run('serve');
17- console . info ( 'OK' ) ;
15+ it ( 'serve' , async ( ) => {
16+ const result = await service . run ( 'serve' ) ;
17+ console . info ( 'OK' , result ) ;
18+ process . exit ( ) ;
1819 } , 1000 ) ;
1920
2021} ) ;
You can’t perform that action at this time.
0 commit comments