functional composition
Go to file
Giles Bradshaw 5a96d9a970 chore(release): 1.0.1 2020-07-30 07:24:51 +01:00
.drone doc: fixed instructions for pre release hook 2020-07-30 07:24:27 +01:00
.gitignore initial commit 2020-07-30 07:05:03 +01:00
.versionrc.json initial commit 2020-07-30 07:05:03 +01:00
CHANGELOG.md chore(release): 1.0.1 2020-07-30 07:24:51 +01:00
LICENSE initial commit 2020-07-30 07:05:03 +01:00
README.md doc: updated read me and version in package.json 2020-07-30 07:20:29 +01:00
compose.libsonnet initial commit 2020-07-30 07:05:03 +01:00
package.json chore(release): 1.0.1 2020-07-30 07:24:51 +01:00
yarn.lock initial commit 2020-07-30 07:05:03 +01:00

README.md

@sigyl/jsonnet-compose

functional composition for 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

yarn release

prerelease

yarn release --prerelease alpha

release as

yarn release --release-as 1.0.0

dry run

yarn release --dry-run