jsonnet-compose/README.md

39 lines
464 B
Markdown

# compose
functional composition for jsonnet
```jsonnet
local compose = import 'node_modules/jsonnet-compose/compose.libsonnet';
compose([
function(x) x+1,
function(x) x+2,
])(1)
```
use https://www.conventionalcommits.org/en/v1.0.0/ to control releases.
to release
```shell
yarn release
```
prerelease
```shell
yarn release --prerelease alpha
```
release as
```shell
yarn release --release-as 1.0.0
```
dry run
```shell
yarn release --dry-run
```