functional composition
Go to file
Giles Bradshaw 47a907d1d9 chore(release): 0.0.2 2020-07-30 07:16:53 +01:00
.drone initial commit 2020-07-30 07:05:03 +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): 0.0.2 2020-07-30 07:16:53 +01:00
LICENSE initial commit 2020-07-30 07:05:03 +01:00
README.md fix: updated read me 2020-07-30 07:15:43 +01:00
compose.libsonnet initial commit 2020-07-30 07:05:03 +01:00
package.json chore(release): 0.0.2 2020-07-30 07:16:53 +01:00
yarn.lock initial commit 2020-07-30 07:05:03 +01:00

README.md

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