1.1.3 • Published 6 years ago

workspace-versioner v1.1.3

Weekly downloads
1
License
MIT
Repository
-
Last release
6 years ago

Workspace Versioner

A poor man's lerna.

This tool will set the version field for all package.jsons in a yarn workspace to the same specified version. It will also take care of updating any cross references within the workspace to that same version as well. If no workspaces are found in the root package.json, it will just update the root package.json version field.

We run this on our build server to set the version number in our frontend workspace to the build-server generated version number.

Usage

First, install the package globally:

yarn global add workspace-versioner

Run the following command from your workspace root:

workspace-versioner 1.2.3

This will version all packages within the workspace to v1.2.3.

Contributing

Clone the repo and run yarn to install dependencies.

Linting

To run the linter:

yarn run lint

and to automatically fix fixable errors:

yarn run lint --fix
1.1.3

6 years ago

1.1.2

6 years ago

1.1.1

6 years ago

1.1.0

6 years ago

1.0.2

6 years ago

1.0.1

6 years ago

1.0.0

6 years ago