egg-core
Advanced tools
Comparing version 4.22.0 to 4.22.1
4.22.1 / 2022-01-28 | ||
================== | ||
**fixes** | ||
* [[`a9fc514`](http://github.com/eggjs/egg-core/commit/a9fc514f506a4f804099b60ea12c29351f373676)] - fix: plugin loader support pnpm (#239) (hyj1991 <<yeekwanvong@gmail.com>>) | ||
4.22.0 / 2022-01-07 | ||
@@ -3,0 +9,0 @@ ================== |
@@ -346,4 +346,10 @@ 'use strict'; | ||
lookupDirs.add(path.join(eggPath, 'node_modules')); | ||
} | ||
// should find the siblings directory of framework when using pnpm | ||
// should find the $cwd/node_modules when test the plugins under npm3 | ||
lookupDirs.add(path.join(process.cwd(), 'node_modules')); | ||
// should find the siblings directory of framework when using pnpm | ||
for (let i = this.eggPaths.length - 1; i >= 0; i--) { | ||
const eggPath = this.eggPaths[i]; | ||
// 'node_modules/.pnpm/yadan@2.0.0/node_modules/yadan/node_modules', | ||
@@ -356,5 +362,2 @@ // 'node_modules/.pnpm/yadan@2.0.0/node_modules', <- this is the sibling directory | ||
// should find the $cwd/node_modules when test the plugins under npm3 | ||
lookupDirs.add(path.join(process.cwd(), 'node_modules')); | ||
for (let dir of lookupDirs) { | ||
@@ -361,0 +364,0 @@ dir = path.join(dir, name); |
{ | ||
"name": "egg-core", | ||
"version": "4.22.0", | ||
"version": "4.22.1", | ||
"description": "A core Pluggable framework based on koa", | ||
@@ -5,0 +5,0 @@ "main": "index.js", |
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
133500
2974