egg-core
Advanced tools
Comparing version 4.29.0 to 4.30.0
import KoaApplication = require('koa'); | ||
import { Logger, EggConsoleLogger } from 'egg-logger'; | ||
import depd = require('depd'); | ||
import { Logger } from 'egg-logger'; | ||
@@ -5,0 +5,0 @@ type EggType = 'application' | 'agent'; |
@@ -34,2 +34,6 @@ 'use strict'; | ||
options.baseDir = options.baseDir || process.cwd(); | ||
// auto require('tsconfig-paths/register') on typescript app | ||
if (process.env.EGG_TYPESCRIPT === 'true') { | ||
require('tsconfig-paths').register({ cwd: options.baseDir }); | ||
} | ||
options.type = options.type || 'application'; | ||
@@ -36,0 +40,0 @@ |
@@ -17,3 +17,2 @@ 'use strict'; | ||
class EggLoader { | ||
@@ -20,0 +19,0 @@ |
{ | ||
"name": "egg-core", | ||
"version": "4.29.0", | ||
"version": "4.30.0", | ||
"description": "A core Pluggable framework based on koa", | ||
"main": "index.js", | ||
"types": "index.d.ts", | ||
"files": [ | ||
"index.js", | ||
"lib", | ||
"index.d.ts" | ||
], | ||
"scripts": { | ||
"autod": "autod", | ||
"lint": "eslint .", | ||
"test": "npm run lint -- --fix && egg-bin test", | ||
"test": "npm run lint -- --fix && npm run test-local", | ||
"test-local": "egg-bin test", | ||
"cov": "egg-bin cov", | ||
"pkgfiles": "egg-bin pkgfiles", | ||
"ci": "egg-bin pkgfiles --check && npm run lint && npm run cov", | ||
"ci": "npm run lint && npm run cov", | ||
"contributor": "git-contributor" | ||
@@ -34,16 +37,6 @@ }, | ||
}, | ||
"ci": { | ||
"type": "github", | ||
"version": "8, 10, 12, 14, 16, 18", | ||
"afterScript": "after_success:\n - npminstall codecov && codecov --disable=gcov", | ||
"license": { | ||
"year": 2016 | ||
} | ||
}, | ||
"devDependencies": { | ||
"autod": "^3.1.0", | ||
"await-event": "^2.1.0", | ||
"coffee": "^5.2.1", | ||
"egg-bin": "^4.13.0", | ||
"egg-ci": "^1.12.0", | ||
"egg-bin": "^4.20.0", | ||
"egg-utils": "^2.4.1", | ||
@@ -81,9 +74,5 @@ "eslint": "^5.16.0", | ||
"ready-callback": "^2.1.0", | ||
"tsconfig-paths": "^4.1.1", | ||
"utility": "^1.16.1" | ||
}, | ||
"files": [ | ||
"index.js", | ||
"lib", | ||
"index.d.ts" | ||
] | ||
} | ||
} |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
17
3018
111840
18
23
25
+ Addedtsconfig-paths@^4.1.1
+ Addedjson5@2.2.3(transitive)
+ Addedstrip-bom@3.0.0(transitive)
+ Addedtsconfig-paths@4.2.0(transitive)