0.9.5 • Published 2 years ago

npm-package-deployer v0.9.5

Weekly downloads
462
License
BSD-3-Clause
Repository
github
Last release
2 years ago

:zap: Quick Start

Run npm install npm-package-deployer

:clap: Basic usage

Run deploy-pkg <package name> to deploy an automatic version locally. Here are available flags:

CLI argumentExplanation
--npm-access-tokenThe NPM access token. Required for NPM package deployments.
--npm-registryThe NPM registry. Default: registry.npmjs.org
--npm-scopeThe NPM scope. The scope of the NPM package. Default: ''
--github-access-tokenThe GitHub access token. Required for GitHub release deployments.
--github-ownerThe GitHub owner. Required for GitHub release deployments.
--github-repoThe GitHub repo. Required for GitHub release deployments.
--pretty-printPrinting data in a more "readable" format
--debugIf to print debug logs
--dry-runIf to release packages in a dry run

:fire: Integrate with GitHub actions

You can integrate with a GitHub action workflow using the 'package-deploy-bot' GitHub action:

deployment:
    runs-on: ubuntu-latest
    steps:
    - uses: actions/checkout@v2
    - name: Setting up the environment
      run: npm install
    - name: Deploying version
      uses: ./
      with:
        pkg_name: npm-package-deployer
        pkg_managers: '[github, npm]'
        npm_registry: registry.npmjs.org
        npm_access_token: ${{secrets.NPM_AUTH_TOKEN}}
        github_access_token: ${{secrets.G_AUTH_TOKEN}}
        dry_run: true
        debug: true
ParametersExplanation
package_managersA list of package deployments. i.e. 'github, npm'. Available options are github, npm.
pkg_nameThe name of the package.
npm_access_tokenThe NPM access token. Required for NPM package deployments.
npm_registryThe NPM registry. Default: registry.npmjs.org
npm_scopeThe NPM scope. The scope of the NPM package. Default: ''
github_access_tokenThe GitHub access token. Required for GitHub release deployments.
github_ownerThe GitHub owner. Required for GitHub release deployments.
github_repoThe GitHub repo. Required for GitHub release deployments.
pretty_printPrinting data in a more "readable" format
debugIf to print debug logs
dry_runIf to release packages in a dry run
0.9.4

3 years ago

0.9.5

2 years ago

0.8.9

3 years ago

0.8.8

3 years ago

0.9.0

3 years ago

0.9.2

3 years ago

0.9.1

3 years ago

0.9.3

3 years ago

0.8.5

3 years ago

0.8.4

3 years ago

0.8.7

3 years ago

0.8.6

3 years ago

0.8.1

3 years ago

0.8.3

3 years ago

0.8.2

3 years ago

0.7.4

3 years ago

0.7.9

3 years ago

0.7.6

3 years ago

0.7.5

3 years ago

0.7.8

3 years ago

0.7.7

3 years ago

0.8.0

3 years ago

0.6.7

3 years ago

0.6.6

3 years ago

0.6.9

3 years ago

0.6.8

3 years ago

0.7.2

3 years ago

0.7.1

3 years ago

0.7.3

3 years ago

0.7.0

3 years ago

0.6.5

3 years ago

0.6.4

3 years ago

0.5.8

3 years ago

0.5.9

3 years ago

0.6.3

3 years ago

0.6.2

3 years ago

0.6.1

3 years ago

0.6.0

3 years ago

0.5.6

3 years ago

0.5.7

3 years ago

0.5.4

3 years ago

0.5.3

3 years ago

0.5.5

3 years ago

0.5.2

3 years ago

0.5.1

3 years ago

0.4.9

3 years ago

0.4.8

3 years ago

0.5.0

3 years ago

0.4.7

3 years ago

0.4.6

3 years ago

0.3.9

3 years ago

0.4.5

3 years ago

0.4.4

3 years ago

0.3.8

3 years ago

0.3.7

3 years ago

0.4.1

3 years ago

0.4.0

3 years ago

0.4.3

3 years ago

0.4.2

3 years ago

0.3.6

3 years ago

0.3.5

3 years ago

0.3.4

3 years ago

0.3.3

3 years ago

0.3.2

3 years ago

0.3.1

3 years ago

0.3.0

3 years ago

0.2.9

4 years ago

0.2.8

4 years ago

0.2.7

4 years ago

0.2.6

4 years ago

0.2.5

4 years ago

0.2.1

4 years ago

0.2.0

4 years ago

0.1.8

4 years ago

0.1.9

4 years ago

0.2.3

4 years ago

0.2.2

4 years ago

0.2.4

4 years ago

0.1.7

4 years ago

0.1.6

4 years ago

0.1.5

4 years ago

0.1.4

4 years ago

0.1.3

4 years ago

0.1.2

4 years ago

0.1.1

4 years ago

0.1.0

4 years ago

0.0.9

4 years ago

0.0.8

4 years ago

0.0.7

4 years ago

0.0.5

4 years ago

0.0.6

4 years ago

0.0.3

4 years ago

0.0.2

4 years ago

0.0.4

4 years ago

0.0.1

4 years ago