1.2.2 • Published 2 years ago
@yzfu/bumpx v1.2.2
bumpx
bump specified version of multiple packages
Feature:
- Based on bumpp, new --select option
- Use
-s(--select)to manually select the specified package for upgrade - Disable
push(opt-out by --no-push, etc.) by default - Always use the version of package.json in the root directory as the latest version number
Details:
- By default, only the
package.jsonversion number of the project is updated. - If the files attribute is added to the configuration file
bumpx.config.ts, all packages offileswill be updated. - If a
workspacesis configured, the packages in theworkspaceswill be upgraded first. - If
-s (--select)is configured, you will be informed before step 2 or 4 whether to select some packages to upgrade. - Supports
npm,yarn,pnpmworkspaces
Execution order:
script command > bumpx.config.ts > workspaces > root
Use
npm install @yzfu/bumpx --save-devScript command
npx bumpx -sconfiguration file
Add a configuration file bumpx.config.ts in the project root directory, the file may not match
See other parameters bumpp
import { defineConfig } from '@yzfu/bumpx'
export default defineConfig({
select: true,
// other options see https://github.com/antfu/bumpp#changes-in-this-fork
})