Skip to content

Commit 92aa54a

Browse files
committed
Meta tweaks
1 parent 571cba2 commit 92aa54a

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -61,7 +61,7 @@
6161
"p-memoize": "^7.1.1",
6262
"p-timeout": "^6.1.4",
6363
"path-exists": "^5.0.0",
64-
"pkg-dir": "^8.0.0",
64+
"package-directory": "^8.0.0",
6565
"read-package-up": "^11.0.0",
6666
"read-pkg": "^9.0.1",
6767
"rxjs": "^7.8.1",

test/config.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ const getFixture = fixture => path.resolve('test', 'fixtures', 'config', fixture
88
const getFixtures = fixtures => fixtures.map(fixture => getFixture(fixture));
99

1010
const getConfigsWhenGlobalBinaryIsUsed = async homeDirectory => {
11-
const pathsPackageDirectory = getFixtures(['pkg-dir', 'local1', 'local2', 'local3']);
11+
const pathsPackageDirectory = getFixtures(['package-directory', 'local1', 'local2', 'local3']);
1212

1313
const promises = pathsPackageDirectory.map(async pathPackageDirectory => {
1414
const getConfig = await esmock(testedModulePath, {
@@ -72,7 +72,7 @@ test('returns config from home directory when global binary is used and `.np-con
7272
);
7373

7474
test('returns config from package directory when local binary is used and `package.json` exists in package directory',
75-
useLocalBinary, 'pkg-dir', 'package.json',
75+
useLocalBinary, 'package-directory', 'package.json',
7676
);
7777

7878
test('returns config from package directory when local binary is used and `.np-config.json` exists in package directory',

0 commit comments

Comments
 (0)