@oclif/core 3.0.0-beta.23 → 3.0.0-beta.25
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/lib/config/config.js +2 -1
- package/package.json +2 -1
package/lib/config/config.js
CHANGED
|
@@ -132,7 +132,8 @@ class Config {
|
|
|
132
132
|
}
|
|
133
133
|
// eslint-disable-next-line complexity
|
|
134
134
|
async load() {
|
|
135
|
-
settings_1.settings.performanceEnabled =
|
|
135
|
+
settings_1.settings.performanceEnabled =
|
|
136
|
+
(settings_1.settings.performanceEnabled === undefined ? this.options.enablePerf : settings_1.settings.performanceEnabled) ?? false;
|
|
136
137
|
const marker = performance_1.Performance.mark(performance_1.OCLIF_MARKER_OWNER, 'config.load');
|
|
137
138
|
this.pluginLoader = new plugin_loader_1.default({ root: this.options.root, plugins: this.options.plugins });
|
|
138
139
|
Config._rootPlugin = await this.pluginLoader.loadRoot();
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@oclif/core",
|
|
3
3
|
"description": "base library for oclif CLIs",
|
|
4
|
-
"version": "3.0.0-beta.
|
|
4
|
+
"version": "3.0.0-beta.25",
|
|
5
5
|
"author": "Salesforce",
|
|
6
6
|
"bugs": "https://github.com/oclif/core/issues",
|
|
7
7
|
"dependencies": {
|
|
@@ -112,6 +112,7 @@
|
|
|
112
112
|
"lint": "eslint . --ext .ts",
|
|
113
113
|
"posttest": "yarn lint && yarn test:circular-deps",
|
|
114
114
|
"prepack": "yarn run build",
|
|
115
|
+
"prepare": "husky install",
|
|
115
116
|
"pretest": "yarn build && tsc -p test --noEmit --skipLibCheck",
|
|
116
117
|
"test:circular-deps": "madge lib/ -c",
|
|
117
118
|
"test:e2e": "mocha --forbid-only \"test/**/*.e2e.ts\" --parallel --timeout 1200000",
|