Removes support for the ignoreNpmrcFile config option.
BREAKING CHANGE: ignoreNpmrcFile is no longer supported. Use an empty string for config.npmrc instead.
Renames skipInstalls to artifactUpdateApproach and changes from boolean to enum.
BREAKING CHANGE: skipInstalls has been changed to artifactsUpdateApproach
Changes behavior so that patch updateType is not rewritten to minor by default.
Closes#2818
BREAKING CHANGE: patch updates are not considered updateType=minor by default.
Removes trustLevel and replaces it with 3 other options instead. No longer necessary to set anything additional is configuring `allowedPostUpgradeCommands`
BREAKING CHANGE: `trustLevel` is no longer supported and instead broken into `allowCustomCrateRegistries` , `allowScripts` , and `exposeAllEnv`.
Remove support for logLevel in config. Must be configured using LOG_LEVEL instead.
Closes#8291
BREAKING CHANGE: Configure LOG_LEVEL in env and not in config or CLI
* Add branch option for postUpgradeCommands
* Put the for loop back for async
* Fix tests & add documentation
* Change execution mode dependency to update
* Move postUpgradeCommand execution to seperate file
* Fix return time of upgradeTaskExecuter
* Fix test
* Finished new mode and added test
* Remove .only
* Remove defensive coding to make codecov happy
* Give inconfig a proper type
* Another missing type
* Fix typo in allowPostUpgradeCommandTemplating option description
Co-authored-by: Michael Kriese <michael.kriese@visualon.de>
* Move to 1 postUpgradeCommandExecutor call
* Appease the import order rule gods
* Refactor more
* Okay now it should be done
* Fix bug
* Import order rule
* Change import to a type import
* Also return artifacterrors
* Apply suggestions from code review
Co-authored-by: Michael Kriese <michael.kriese@visualon.de>
* Move checking if postUpgradeCommands can run
* remove unused import
* Fix prettier error
* Call getAdminConfig once
* Apply suggestions from code review
Co-authored-by: Michael Kriese <michael.kriese@visualon.de>
* Change type name to EnsurePrResult
* Update lib/workers/branch/index.spec.ts
Co-authored-by: Michael Kriese <michael.kriese@visualon.de>
* Apply suggestions from code review
Co-authored-by: Michael Kriese <michael.kriese@visualon.de>
* Fix enum imports
Co-authored-by: Carlin St Pierre <cstpierre@atlassian.com>
Co-authored-by: Michael Kriese <michael.kriese@visualon.de>