functional composition
Go to file
Giles Bradshaw 3a0ee95e59 chore(release): 1.0.2 2020-07-30 09:03:12 +01:00
.drone ci: added npm publish step 2020-07-30 09:02:45 +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.2 2020-07-30 09:03:12 +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.2 2020-07-30 09:03:12 +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