@oclif/test 3.1.17 → 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.
Files changed (2) hide show
  1. package/lib/index.js +3 -2
  2. package/package.json +2 -2
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
- // eslint-disable-next-line unicorn/prefer-module
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,7 +1,7 @@
1
1
  {
2
2
  "name": "@oclif/test",
3
3
  "description": "test helpers for oclif components",
4
- "version": "3.1.17",
4
+ "version": "3.2.0",
5
5
  "author": "Salesforce",
6
6
  "bugs": "https://github.com/oclif/test/issues",
7
7
  "dependencies": {
@@ -15,7 +15,7 @@
15
15
  "@types/cli-progress": "^3.11.5",
16
16
  "@types/mocha": "^10",
17
17
  "@types/node": "^18",
18
- "commitlint": "^18.6.0",
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",