@oclif/test 3.1.16 → 3.2.0
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/index.js +3 -2
- package/package.json +5 -5
package/lib/index.js
CHANGED
|
@@ -18,8 +18,9 @@ function traverseFilePathUntil(filename, predicate) {
|
|
|
18
18
|
return current;
|
|
19
19
|
}
|
|
20
20
|
// Update to path.dirname(url.fileURLToPath(import.meta.url)) whenever we update tsconfig target to ES2020
|
|
21
|
-
|
|
22
|
-
load_config_1.loadConfig.root = traverseFilePathUntil(require.main?.path ?? module.path, (p) => !p.includes('node_modules'));
|
|
21
|
+
/* eslint-disable unicorn/prefer-module */
|
|
22
|
+
load_config_1.loadConfig.root = traverseFilePathUntil(require.main?.path ?? module.path, (p) => !(p.includes('node_modules') || p.includes('.pnpm') || p.includes('.yarn')));
|
|
23
|
+
/* eslint-enable unicorn/prefer-module */
|
|
23
24
|
exports.test = fancy_test_1.fancy
|
|
24
25
|
.register('loadConfig', load_config_1.loadConfig)
|
|
25
26
|
.register('command', command_1.command)
|
package/package.json
CHANGED
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@oclif/test",
|
|
3
3
|
"description": "test helpers for oclif components",
|
|
4
|
-
"version": "3.
|
|
4
|
+
"version": "3.2.0",
|
|
5
5
|
"author": "Salesforce",
|
|
6
6
|
"bugs": "https://github.com/oclif/test/issues",
|
|
7
7
|
"dependencies": {
|
|
8
|
-
"@oclif/core": "^3.19.
|
|
8
|
+
"@oclif/core": "^3.19.2",
|
|
9
9
|
"chai": "^4.4.1",
|
|
10
10
|
"fancy-test": "^3.0.10"
|
|
11
11
|
},
|
|
@@ -15,17 +15,17 @@
|
|
|
15
15
|
"@types/cli-progress": "^3.11.5",
|
|
16
16
|
"@types/mocha": "^10",
|
|
17
17
|
"@types/node": "^18",
|
|
18
|
-
"commitlint": "^18.6.
|
|
18
|
+
"commitlint": "^18.6.1",
|
|
19
19
|
"eslint": "^8.56.0",
|
|
20
20
|
"eslint-config-oclif": "^5.0.0",
|
|
21
21
|
"eslint-config-oclif-typescript": "^3.0.44",
|
|
22
22
|
"eslint-config-prettier": "^9.1.0",
|
|
23
23
|
"globby": "^11.0.1",
|
|
24
24
|
"husky": "^8.0.3",
|
|
25
|
-
"lint-staged": "^15.2.
|
|
25
|
+
"lint-staged": "^15.2.2",
|
|
26
26
|
"mocha": "^10",
|
|
27
27
|
"nock": "^13.5.1",
|
|
28
|
-
"prettier": "^3.2.
|
|
28
|
+
"prettier": "^3.2.5",
|
|
29
29
|
"shx": "^0.3.3",
|
|
30
30
|
"ts-node": "^10.9.2",
|
|
31
31
|
"typescript": "^5"
|