@oclif/core 1.13.4 → 1.13.5
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +7 -0
- package/lib/config/config.js +12 -10
- package/package.json +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -2,6 +2,13 @@
|
|
|
2
2
|
|
|
3
3
|
All notable changes to this project will be documented in this file. See [standard-version](https://github.com/conventional-changelog/standard-version) for commit guidelines.
|
|
4
4
|
|
|
5
|
+
### [1.13.5](https://github.com/oclif/core/compare/v1.13.4...v1.13.5) (2022-08-08)
|
|
6
|
+
|
|
7
|
+
|
|
8
|
+
### Bug Fixes
|
|
9
|
+
|
|
10
|
+
* skip loadDevPlugins ([#459](https://github.com/oclif/core/issues/459)) ([21c948c](https://github.com/oclif/core/commit/21c948cd41b08b3aad4df5c3439d33e235f6979e))
|
|
11
|
+
|
|
5
12
|
### [1.13.4](https://github.com/oclif/core/compare/v1.13.3...v1.13.4) (2022-08-08)
|
|
6
13
|
|
|
7
14
|
|
package/lib/config/config.js
CHANGED
|
@@ -150,16 +150,18 @@ class Config {
|
|
|
150
150
|
}
|
|
151
151
|
}
|
|
152
152
|
async loadDevPlugins() {
|
|
153
|
-
|
|
154
|
-
|
|
155
|
-
|
|
156
|
-
|
|
157
|
-
|
|
158
|
-
|
|
159
|
-
|
|
160
|
-
|
|
161
|
-
|
|
162
|
-
|
|
153
|
+
if (this.options.devPlugins !== false) {
|
|
154
|
+
// do not load oclif.devPlugins in production
|
|
155
|
+
if (this.isProd)
|
|
156
|
+
return;
|
|
157
|
+
try {
|
|
158
|
+
const devPlugins = this.pjson.oclif.devPlugins;
|
|
159
|
+
if (devPlugins)
|
|
160
|
+
await this.loadPlugins(this.root, 'dev', devPlugins);
|
|
161
|
+
}
|
|
162
|
+
catch (error) {
|
|
163
|
+
process.emitWarning(error);
|
|
164
|
+
}
|
|
163
165
|
}
|
|
164
166
|
}
|
|
165
167
|
async loadUserPlugins() {
|