0.1.16 • Published 3 years ago

@dxos/version-check v0.1.16

Weekly downloads
-
License
AGPL-3.0
Repository
github
Last release
3 years ago

version-check

Makes sure you only have a single version of a given dependency in a workspace.

Installation

Add it to your workspace root:

yarn add -DW @dxos/version-check

Usage

Checking

Run with no arguments to check if all dependencies share the same version specifier:

version-check

Use -f to automatically update all versions to the latest one out of them:

version-check -f

Checking installed node_modules

# Print the whole node_modules structure and check for any duplicates
version-check installed

Upgrading

Upgrades packages to their latest published version keeping package preid the same: so alpha packages will be upgraded to latest alpha and stable ones will still be stable.

You would still need to run yarn manually afterwards to update the lockfile.

# Upgrade all @dxos packages to their latest compatible version.
yarn version-check upgrade --scope @dxos

# Upgrade concrete package
yarn version-check upgrade --package @dxos

# Dry-run: only list the changes about to be taken.
yarn version-check upgrade --scope @dxos --dry-run

# Upgrade to specific preid
# NOTE: Beta & release packages won't be upgraded.
yarn version-check upgrade --scope @dxos --preid alpha

# Upgrade even beta & release packages to their latest alpha version
yarn version-check upgrade --scope @dxos --preid alpha --force
0.1.16

3 years ago

0.1.15

3 years ago

0.1.13

3 years ago

0.1.14

3 years ago

0.1.12

3 years ago

0.1.11

3 years ago

0.1.10

3 years ago

0.1.9

3 years ago

0.1.8

3 years ago

0.1.7

3 years ago

0.1.6

3 years ago

0.1.5

3 years ago