Skip to main content

bud upgrade

$ bud upgrade --help
Set bud.js version

━━━ Usage ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━

$ bud upgrade [version]

━━━ Options ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━

--basedir,--cwd #0 Set project base directory
--cache Utilize compiler's filesystem cache
--color Colorize output
--debug Enable debug mode
--dry Run in dry mode
--filter #0 Limit command to particular bud instances
--ignore-errors,--ignoreErrors Ignore errors
--input,-i,--@src,--src #0 Source directory (relative to project)
--log Enable logging
--mode #0 Compilation mode
--output,-o,--@dist,--dist #0 Distribution directory (relative to project)
--notify Enable notification (default on macOS, experimental on other platforms)
--publicPath #0 Public path to serve assets from
--silent,-s silence stdout
--storage #0 Storage directory (relative to project)
--use #0 Enable an extension
--verbose Log verbose output
--browserslist-update Check for browserslist db updates at regular intervals.
--pm #0 Package manager to use. One of: `npm`, `yarn-classic`, `pnpm` (experimental), or `yarn` (experimental)
--registry #0 custom registry

━━━ Details ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━

This command will upgrade your bud.js installation to the latest stable version.

It will upgrade any package that is prefixed with `@roots/` or `bud-`.

If a version is specified, the command will upgrade to that version.

If a private registry is specified, the command will upgrade through that
registry.

━━━ Examples ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━

Upgrade all bud dependencies to latest
$ bud upgrade

Upgrade all bud dependencies to version 6.15.2
$ bud upgrade 6.15.2

Upgrade all bud dependencies to version 6.15.2 using yarn v1
$ bud upgrade 6.15.2 --pm yarn-classic

Upgrade all bud dependencies to version 6.15.2 using npm and a custom registry
$ bud upgrade 6.15.2 --pm npm --registry http://localhost:4873