woodpecker_npm

package module
v1.2.1 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Apr 17, 2024 License: Apache-2.0 Imports: 1 Imported by: 0

README

ci

go mod version GoDoc goreportcard

GitHub license codecov GitHub latest SemVer tag) GitHub release)

for what

  • this project used to woodpecker-ci for npm publish

Contributing

Contributor Covenant GitHub contributors

We welcome community contributions to this project.

Please read Contributor Guide for more information on how to get started.

请阅读有关 贡献者指南 以获取更多如何入门的信息

Features

  • publish npm package by npm cli, so must install npm cli or under nodejs env
    • by default docker image node:20.11.1-alpine for env of nodejs
    • if you use local backend, must install npm and node at local
  • flag npm-registry to set custom npm registry, and support npm whoami check
  • support npm-token or npm-username and npm-password to publish
  • support npm-tag to publish, as latest
    • flag npm-force-tag true will check the prefix of the prerelase version by semver, when tag name not latest or next (v1.1+)
  • support npm-access to publish scoped package
  • support npm-folder to publish, which must containing package.json
  • flag npm-dry-run will not publish, but will run npm pack to generate tarball (v1.1+)
  • can skip npm whoami check by open npm-skip-whoami
  • can skip npm ssl verify by open npm-skip-verify-ssl
  • can fail on version conflict by open npm-fail-on-version-conflict
  • flag npm-rc-user-home-enable will enable .npmrc file at user home
  • more perfect test case coverage
  • more perfect benchmark case

usage

  • see doc

  • want dev this project, see doc

Documentation

Index

Constants

This section is empty.

Variables

View Source
var PackageJson string

Functions

This section is empty.

Types

This section is empty.

Directories

Path Synopsis
cmd
cli
internal

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL