Replace npm version
with a custom implementation
#13488
Labels
package:dev
squad:platform
Issue to be handled by the Platform team.
type:task
This issue reports a chore (non-production change) and other types of "todos".
Milestone
Provide a description of the task
❓ Why
npm version
command.package.json
.npm
to8.5.5
to release packages using CKEditor 5 release tools.npm version
to avoid issues.💡 What
npm version
command is executed for each package that will be released.npm version
executes set of commands.preversion
,version
andpostversion
can be specified as npm scripts.bump version
task is a default behavior and cannot be modified.Let's drop the execution ofnpm version
. Instead, we implement custom flow of running npm scripts for the backward compatibility:Check if.preversion
exists. If so, execute its scriptUpdate a version in apackage.json
.Check ifversion
exists. If so, execute its script.Check ifpostversion
exists. If so, execute its script.npm version
and change the flow. First, we need to bump the package version, then, its dependencies.The text was updated successfully, but these errors were encountered: