Skip to content
Snippets Groups Projects
Unverified Commit 6506b392 authored by Rhys Arkins's avatar Rhys Arkins Committed by GitHub
Browse files

docs: fix lockFileMaintenance default value on website

parent 11c3ce76
No related branches found
No related tags found
No related merge requests found
...@@ -434,7 +434,7 @@ Configuration for lock file maintenance. ...@@ -434,7 +434,7 @@ Configuration for lock file maintenance.
| name | value | | name | value |
| ------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | | ------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| type | configuration object | | type | configuration object |
| default | {% raw %}{<br />&nbsp;&nbsp;"enabled": true,<br />&nbsp;&nbsp;"recreateClosed": true,<br />&nbsp;&nbsp;"branchName": "renovate/lock-files",<br />&nbsp;&nbsp;"commitMessage": "{{semanticPrefix}}Update lock file",<br />&nbsp;&nbsp;"prTitle": "{{semanticPrefix}}Lock file maintenance",<br />&nbsp;&nbsp;"prBody": "This PR regenerates lock files to keep them up-to-date.",<br />&nbsp;&nbsp;"schedule": ["before 5am on monday"]<br />}{% endraw %} | | default | {% raw %}{<br />&nbsp;&nbsp;"enabled": false,<br />&nbsp;&nbsp;"recreateClosed": true,<br />&nbsp;&nbsp;"schedule": ["before 5am on monday"]<br />}{% endraw %} |
By setting enabled=true, this means that the default behaviour is to "maintain" lock files for each `package.json` if they exist already. "Maintaining" a lock file means recreating it to get an up-to-date version and committing that. Supported lock files include `package-lock.json` (npm >= 5) and `yarn.lock` (yarn). By setting enabled=true, this means that the default behaviour is to "maintain" lock files for each `package.json` if they exist already. "Maintaining" a lock file means recreating it to get an up-to-date version and committing that. Supported lock files include `package-lock.json` (npm >= 5) and `yarn.lock` (yarn).
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment