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 31
31
"@bull-board/api" : " 6.6.1" ,
32
32
"@bull-board/ui" : " 6.6.1" ,
33
33
"@koa/bodyparser" : " ^5.1.1" ,
34
+ "@ladjs/koa-views" : " ^9.0.0" ,
34
35
"ejs" : " ^3.1.10" ,
35
36
"koa" : " ^2.15.3" ,
36
37
"koa-mount" : " ^4.0.0" ,
37
38
"koa-router" : " ^13.0.1" ,
38
- "koa-static" : " ^5.0.0" ,
39
- "koa-views" : " ^8.1.0"
39
+ "koa-static" : " ^5.0.0"
40
40
},
41
41
"devDependencies" : {
42
42
"@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';
12
12
import Router from 'koa-router' ;
13
13
import { bodyParser } from '@koa/bodyparser' ;
14
14
import serve from 'koa-static' ;
15
- import views from 'koa-views' ;
15
+ import views from '@ladjs/ koa-views' ;
16
16
import path from 'path' ;
17
17
18
18
export class KoaAdapter implements IServerAdapter {
Original file line number Diff line number Diff line change 1419
1419
resolved "https://registry.yarnpkg.com/@ladjs/consolidate/-/consolidate-1.0.1.tgz#95740c59b1c5b46e9894d14295347de381cef610"
1420
1420
integrity sha512-LhB1s4u6mggtyetHvi0hCPmxVMR8cF5Rhs/M/AY4afOeFe2W3cWUbnHXEjKx4T2HG7WwpDmMua+RHhyRqYzz4A==
1421
1421
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
+
1422
1435
"@lerna/add@4.0.0":
1423
1436
version "4.0.0"
1424
1437
resolved "https://registry.yarnpkg.com/@lerna/add/-/add-4.0.0.tgz#c36f57d132502a57b9e7058d1548b7a565ef183f"
@@ -8904,7 +8917,7 @@ koa-static@^5.0.0:
8904
8917
debug "^3.1.0"
8905
8918
koa-send "^5.0.0"
8906
8919
8907
- koa-views@*, koa-views@^8.1.0 :
8920
+ koa-views@*:
8908
8921
version "8.1.0"
8909
8922
resolved "https://registry.yarnpkg.com/koa-views/-/koa-views-8.1.0.tgz#d06d88140863b0fc35094b81d89558bb0077ce47"
8910
8923
integrity sha512-sIkZeplf7YKg1+OjYuzxU5zQvzbfdwFKzD8XNLKFHRMFZXWBTW+S/WQwQ32fzZiJp1lPxz0QlzNJkkGu0NVIdg==
You can’t perform that action at this time.
0 commit comments