-
Notifications
You must be signed in to change notification settings - Fork 26.6k
Closed as not planned
Labels
P4A relatively minor issue that is not relevant to core functionsA relatively minor issue that is not relevant to core functionsarea: docsRelated to the documentationRelated to the documentation
Milestone
Description
Description
Often companies want to be able to have an evergreen environment with up-to-date dependencies to be able to fix issues and vulnerability ideally automatically by running update autonomous or at least providing automatic pull requests for such updates.
One very common tool for such update is renovate.
To help users setting up such tools, the angular docs should describe the steps needed/the commands to be executed to target such goal.
have a look at the related renovate issue/PR:
renovatebot/renovate#4256
renovatebot/renovate#7632
General steps:
- update and bundle all angular-related dependencies in the package.json/ lockfile
- install the dependencies
- execute migrations afterwards
Example using renovate:
{
"postUpgradeTasks": {
"commands": [
"npm ci --ignore-scripts",
"npx ng update {{{depName}}} --from={{{fromVersion}}} --to={{{toVersion}}} --migrateOnly --allowDirty --force"
],
"fileFilters": ["**/**"]
}
}
What is the affected URL?
Please provide the steps to reproduce the issue
No response
Please provide the expected behavior vs the actual behavior you encountered
Evergreen updates execution process using automation tools is described
Please provide a screenshot if possible
No response
Please provide the exception or error you saw
No response
Is this a browser-specific issue? If so, please specify the device, browser, and version.
No response
Metadata
Metadata
Assignees
Labels
P4A relatively minor issue that is not relevant to core functionsA relatively minor issue that is not relevant to core functionsarea: docsRelated to the documentationRelated to the documentation