https://github.com/opspec-pkgs/npm.pkg.set-version
sets the version of an npm package
https://github.com/opspec-pkgs/npm.pkg.set-version
npm
Last synced: 5 months ago
JSON representation
sets the version of an npm package
- Host: GitHub
- URL: https://github.com/opspec-pkgs/npm.pkg.set-version
- Owner: opspec-pkgs
- Created: 2017-06-30T17:34:03.000Z (almost 9 years ago)
- Default Branch: main
- Last Pushed: 2021-07-09T04:45:11.000Z (almost 5 years ago)
- Last Synced: 2023-06-01T10:55:29.871Z (about 3 years ago)
- Topics: npm
- Language: Shell
- Homepage:
- Size: 8.79 KB
- Stars: 0
- Watchers: 4
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGELOG.md
- Codeowners: CODEOWNERS
Awesome Lists containing this project
README
[](https://github.com/opspec-pkgs/npm.pkg.set-version/actions/workflows/build.yml)

# Problem statement
sets the version of an npm package
# Example usage
## Visualize
```shell
opctl ui github.com/opspec-pkgs/npm.pkg.set-version#1.1.0
```
## Run
```
opctl run github.com/opspec-pkgs/npm.pkg.set-version#1.1.0
```
## Compose
```yaml
op:
ref: github.com/opspec-pkgs/npm.pkg.set-version#1.1.0
inputs:
version: # 👈 required; provide a value
## uncomment to override defaults
# pkgDotJson: package.json
outputs:
pkgDotJson:
```
# Support
join us on
[](https://join.slack.com/t/opctl/shared_invite/zt-51zodvjn-Ul_UXfkhqYLWZPQTvNPp5w)
or
[open an issue](https://github.com/opspec-pkgs/npm.pkg.set-version/issues)
# Releases
releases are versioned according to
[](http://semver.org/spec/v2.0.0.html)
and [tagged](https://git-scm.com/book/en/v2/Git-Basics-Tagging); see
[CHANGELOG.md](CHANGELOG.md) for release notes
# Contributing
see
[project/CONTRIBUTING.md](https://github.com/opspec-pkgs/project/blob/main/CONTRIBUTING.md)