0.5.7 • Published 2 months ago

@turbo-version/release v0.5.7

Weekly downloads
-
License
MIT
Repository
github
Last release
2 months ago

Turbo Version Release

Turbo Version Release is a command-line interface tool for publishing packages inside turbo repos to the npm registry with version validation. This tool validates whether a package version has already been published on the registry before attempting to publish it. If the version has not been published, it will be published to the registry, otherwise, a message will be displayed indicating that the package version has already been published.

Installation

You can install Turbo Version Release using npm:

npm install -g @turbo-version/release

Usage

@turbo-version/release provides a simple interface for publishing packages inside turbo repos to the npm registry:

turbo-release

This command will publish all packages inside the turbo repo to the npm registry with version validation. The tool will validate if the package version has already been published on the registry before attempting to publish it. If the version has not been published, it will be published to the registry, otherwise, a message will be displayed indicating that the package version has already been published.

Advanced

  • --skip or -s: Use this argument to skip publishing certain packages. You can provide a comma-separated list of package names to skip. For example, -s ui,docs will skip publishing the ui and docs packages.

  • --target or -t: Use this argument to specify the packages you want to publish. You can provide a comma-separated list of package names to publish. For example, -t ui,docs will only publish the ui and docs packages.

  • --client, -c Specify the package manager you want to use. Valid options are 'npm', 'pnpm', or 'yarn'. For example, to use yarn as your package manager, use the flag -c yarn. The default package manager is 'npm'.

Integration with turbo-version

@turbo-version/release can be used in conjunction with @turbo-version/turbo to manage monorepo versions. @turbo-version/turbo provides tools for managing monorepo versions, including bumping and releasing packages. You can use @turbo-version/release to publish the packages released by @turbo-version/turbo.

Configuration

@turbo-version/release can be configured via environment variables or via a configuration file.

Environment Variables

The following environment variables can be used to configure @turbo-version/release:

NPM_TOKEN - The npm authentication token for publishing packages. NPM_URL - The URL of the npm registry to publish to (default: https://registry.npmjs.org/).

Configuration File (.npmrc)

In order to publish a version on NPM, or a private registry, you need to configure a .npmrc file, providing all necessary information, like token, and repository_url.

We do that for you by using the env vars explained in the previous step.

Here is an example configuration file:

//.npmrc

registry: https://registry.npmjs.org/

License

@turbo-version/release is released under the MIT License.

0.5.7

2 months ago

0.5.6

2 months ago

0.5.5

2 months ago

0.5.4

2 months ago

0.5.3

2 months ago

0.5.2

5 months ago

0.5.1

5 months ago

0.5.0

6 months ago

0.3.0

12 months ago

0.4.1

12 months ago

0.2.3

12 months ago

0.4.0

12 months ago

0.4.2

12 months ago

0.2.4

12 months ago

0.2.2

1 year ago

0.2.1

1 year ago

0.2.0

1 year ago

0.1.12

1 year ago

0.1.11

1 year ago

0.1.10

1 year ago

0.1.9

1 year ago

0.1.8

1 year ago

0.1.7

1 year ago

0.1.6

1 year ago

0.1.5

1 year ago

0.1.4

1 year ago

0.1.3

1 year ago

0.1.2

1 year ago

0.1.1

1 year ago

0.1.0

1 year ago