Skip to content

Commit

Permalink
chore: bump @npmcli/config from 4.2.2 to 6.0.0 (#167)
Browse files Browse the repository at this point in the history
* chore: bump @npmcli/config from 4.2.2 to 6.0.0

Bumps [@npmcli/config](https://github.com/npm/config) from 4.2.2 to 6.0.0.
- [Release notes](https://github.com/npm/config/releases)
- [Changelog](https://github.com/npm/config/blob/main/CHANGELOG.md)
- [Commits](npm/config@v4.2.2...v6.0.0)

---
updated-dependencies:
- dependency-name: "@npmcli/config"
  dependency-type: direct:development
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>

* chore: call config.validate() after loading in tests

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Luke Karrys <luke@lukekarrys.com>
  • Loading branch information
dependabot[bot] and lukekarrys committed Oct 14, 2022
1 parent 99e3307 commit ea53243
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
2 changes: 1 addition & 1 deletion package.json
Expand Up @@ -28,7 +28,7 @@
"validate-npm-package-name": "^5.0.0"
},
"devDependencies": {
"@npmcli/config": "^4.0.1",
"@npmcli/config": "^6.0.0",
"@npmcli/eslint-config": "^4.0.0",
"@npmcli/template-oss": "4.5.1",
"tap": "^16.0.1"
Expand Down
3 changes: 3 additions & 0 deletions test/npm-defaults.js
Expand Up @@ -139,6 +139,7 @@ t.test('npm configuration values pulled from environment', async t => {
})

await conf.load()
conf.validate()

process.chdir(testdir)

Expand Down Expand Up @@ -178,6 +179,7 @@ init.version=${EXPECTED.version}`,
})

await conf.load()
conf.validate()

process.chdir(testdir)

Expand Down Expand Up @@ -217,6 +219,7 @@ init-version=${EXPECTED.version}`,
})

await conf.load()
conf.validate()

process.chdir(testdir)

Expand Down

0 comments on commit ea53243

Please sign in to comment.