0.4.0 • Published 1 year ago

@wurk/command-publish v0.4.0

Weekly downloads
-
License
ISC
Repository
github
Last release
1 year ago

Wurk Publish Command

Publish workspaces.

Getting Started

Install the command in your root workspace.

npm install --save-dev @wurk/command-publish

Run the command.

wurk publish

Options

  • --to-archive - Publish to local archive files.
  • --from-archive - Publish fro local archive files.
  • --tag - Tag for the published package (default: latest).
  • --otp - One-time password for publishing.
  • --remove-package-field <field> - Remove a field from the package.json file before publishing (supports dot notation).
  • --dry-run - No permanent changes on disk and no push to the registry.

Validation

A best attempt is made to ensure a published package will work the same way it does locally. This includes checking for uncommitted or untracked files, invalid or unpublished dependencies, and entry points in the package.json file that are not included in the published package.

Temporary package.json changes

The publication process makes temporary changes to package.json files. These changes are reset after publication, but may be left behind if the process is interrupted. The changes include adding a gitHead field, converting wildcard and workspace: dependencies to publishable ranges, and removing fields specified by the --remove-package-fields option.

0.1.7

1 year ago

0.4.0

1 year ago

0.1.6

1 year ago

0.1.5

1 year ago

0.1.4

1 year ago

0.1.2

1 year ago

0.1.1

1 year ago

0.1.3

1 year ago

0.1.0

1 year ago