egg-ts-helper
Advanced tools
Comparing version 1.34.1 to 1.34.2
@@ -84,3 +84,3 @@ "use strict"; | ||
const egg = utils.requireFile(frameworkPath) || utils.requireFile(framework); | ||
if (!egg || !EggLoader) | ||
if (!egg || !egg.Application || !EggLoader) | ||
return; | ||
@@ -87,0 +87,0 @@ process.env.EGG_SERVER_ENV = 'local'; |
{ | ||
"name": "egg-ts-helper", | ||
"version": "1.34.1", | ||
"version": "1.34.2", | ||
"description": "egg typescript helper", | ||
@@ -23,3 +23,2 @@ "bin": { | ||
"build:w": "tsc -d -w", | ||
"release": "del dist && npm run build", | ||
"lint": "eslint . --ext .ts", | ||
@@ -29,3 +28,3 @@ "check": "npm run build && npm run lint", | ||
"test-local": "egg-bin test --ts", | ||
"prepublish": "npm run release", | ||
"prepublish": "del dist && npm run build", | ||
"cov": "egg-bin cov --ts", | ||
@@ -32,0 +31,0 @@ "ci": "npm run check && npm run cov" |
@@ -88,3 +88,3 @@ /** | ||
const egg = utils.requireFile(frameworkPath) || utils.requireFile(framework); | ||
if (!egg || !EggLoader) return; | ||
if (!egg || !egg.Application || !EggLoader) return; | ||
process.env.EGG_SERVER_ENV = 'local'; | ||
@@ -91,0 +91,0 @@ return new EggLoader({ |
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
203580