File tree Expand file tree Collapse file tree 3 files changed +17
-4
lines changed Expand file tree Collapse file tree 3 files changed +17
-4
lines changed Original file line number Diff line number Diff line change 3131 "@bull-board/api" : " 6.6.1" ,
3232 "@bull-board/ui" : " 6.6.1" ,
3333 "@koa/bodyparser" : " ^5.1.1" ,
34+ "@ladjs/koa-views" : " ^9.0.0" ,
3435 "ejs" : " ^3.1.10" ,
3536 "koa" : " ^2.15.3" ,
3637 "koa-mount" : " ^4.0.0" ,
3738 "koa-router" : " ^13.0.1" ,
38- "koa-static" : " ^5.0.0" ,
39- "koa-views" : " ^8.1.0"
39+ "koa-static" : " ^5.0.0"
4040 },
4141 "devDependencies" : {
4242 "@types/co-body" : " ^6.1.3" ,
Original file line number Diff line number Diff line change @@ -12,7 +12,7 @@ import mount from 'koa-mount';
1212import Router from 'koa-router' ;
1313import { bodyParser } from '@koa/bodyparser' ;
1414import serve from 'koa-static' ;
15- import views from 'koa-views' ;
15+ import views from '@ladjs/ koa-views' ;
1616import path from 'path' ;
1717
1818export class KoaAdapter implements IServerAdapter {
Original file line number Diff line number Diff line change 14191419 resolved "https://registry.yarnpkg.com/@ladjs/consolidate/-/consolidate-1.0.1.tgz#95740c59b1c5b46e9894d14295347de381cef610"
14201420 integrity sha512-LhB1s4u6mggtyetHvi0hCPmxVMR8cF5Rhs/M/AY4afOeFe2W3cWUbnHXEjKx4T2HG7WwpDmMua+RHhyRqYzz4A==
14211421
1422+ "@ladjs/koa-views@^9.0.0":
1423+ version "9.0.0"
1424+ resolved "https://registry.yarnpkg.com/@ladjs/koa-views/-/koa-views-9.0.0.tgz#22db62988e5040102da94b73133a7f97b381c02a"
1425+ integrity sha512-/nzUN3HhB7SIxrE4c2MXCLARXMwgoy7xJogyX8lNJo4VBxM6dVQ47iZWjOoHxTBKGFNAv2OTQ0rWI7HYpiv8kg==
1426+ dependencies:
1427+ "@ladjs/consolidate" "^1.0.1"
1428+ debug "^4.3.4"
1429+ get-paths "0.0.7"
1430+ koa-send "^5.0.1"
1431+ mz "^2.7.0"
1432+ pretty "^2.0.0"
1433+ resolve-path "^1.4.0"
1434+
1422143514231436 version "4.0.0"
14241437 resolved "https://registry.yarnpkg.com/@lerna/add/-/add-4.0.0.tgz#c36f57d132502a57b9e7058d1548b7a565ef183f"
@@ -8904,7 +8917,7 @@ koa-static@^5.0.0:
89048917 debug "^3.1.0"
89058918 koa-send "^5.0.0"
89068919
8907- koa-views@*, koa-views@^8.1.0 :
8920+ koa-views@*:
89088921 version "8.1.0"
89098922 resolved "https://registry.yarnpkg.com/koa-views/-/koa-views-8.1.0.tgz#d06d88140863b0fc35094b81d89558bb0077ce47"
89108923 integrity sha512-sIkZeplf7YKg1+OjYuzxU5zQvzbfdwFKzD8XNLKFHRMFZXWBTW+S/WQwQ32fzZiJp1lPxz0QlzNJkkGu0NVIdg==
You can’t perform that action at this time.
0 commit comments