Skip to content

Commit 69109e4

Browse files
authored
fix(js): resolve VerdaccioWarning on the "logs" configuration property (#28234)
fix(js): resolve VerdaccioWarning: The configuration property "logs" has been deprecated; Replaced with "log" Currently, the Verdaccio configuration generated by running `nx generate setup-verdaccio` contains the deprecated `logs` property. I have updated this property to `log`, thereby removing the VerdaccioWarning that is displayed when running `nx local-registry` <!-- Please make sure you have read the submission guidelines before posting an PR --> <!-- https://github.com/nrwl/nx/blob/master/CONTRIBUTING.md#-submitting-a-pr --> <!-- Please make sure that your commit message follows our format --> <!-- Example: `fix(nx): must begin with lowercase` --> <!-- If this is a particularly complex change or feature addition, you can request a dedicated Nx release for this pull request branch. Mention someone from the Nx team or the `@nrwl/nx-pipelines-reviewers` and they will confirm if the PR warrants its own release for testing purposes, and generate it for you if appropriate. --> ## Current Behavior Currently, the Verdaccio configuration generated by running `nx generate setup-verdaccio` includes the deprecated 'logs' property. When you run `nx local-registry` Verdaccio displays the following warning: <img width="1453" alt="image" src="https://github.com/user-attachments/assets/ccd95587-ec1b-458c-8717-8173a95c1e5d"> ## Expected Behavior Run `nx local-registry` without the warning after using the `setup-verdaccio` generator.
1 parent 2c0994a commit 69109e4

File tree

1 file changed

+1
-1
lines changed
  • packages/js/src/generators/setup-verdaccio/files

1 file changed

+1
-1
lines changed

packages/js/src/generators/setup-verdaccio/files/config.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ packages:
1919
proxy: npmjs
2020

2121
# log settings
22-
logs:
22+
log:
2323
type: stdout
2424
format: pretty
2525
level: warn

0 commit comments

Comments
 (0)