Skip to content

Releases: konanc-config/konanc-config

v5.3.1

Choose a tag to compare

@jwerle jwerle released this 14 Nov 17:59

HI 🤙,

This release includes support for adding a prefix (node_modules/) to configs given at the command line, if they exist. This release also includes support for resolving relative path libraries if prefixed with ./

5.3.1 (2018-11-14)

Bug Fixes

  • index.js: Fix missing '()' in 'catch' statement (d4fc295)

5.3.0 (2018-11-14)

Features

  • index.js: Use prefix with name as fallback for top level loads (a513054)

v5.1.1

Choose a tag to compare

@jwerle jwerle released this 07 Nov 16:03

HI 🤙 ,

This release cleans up code (with a big fix in how dependencies are merged in conf files).

v5.0.1

Choose a tag to compare

@jwerle jwerle released this 07 Nov 14:13

HI 🤙 ,

This release is a quick patch to handle variable declarations that are strings found in package.kc files like library and require. When a config files requires another, the configurations are merged into a single object, duplicate values removed. This was not handled correctly when variables were strings. This patch fixes that.

5.0.1 (2018-11-07)

Bug Fixes

  • index.js: Convert string to single item array to fix merging (5a7d90e)

v5.0.0

Choose a tag to compare

@jwerle jwerle released this 07 Nov 13:54

HI 🤙 ,

This release adds first class support for a file called package.kc, if found in a directory, it will be used as konanc-config config file. This makes it easier for config file writers to simply write the following simplified package.kc file:

repo = "@datkt" # will automatically resolve node_modules/@datkt
require[] = "pretty-hash" # will find node_modules/@datkt/pretty-hash/package.kc
require[] = "bytes-from" # will find node_modules/@datkt/bytes-from/package.kc
require[] = "crypto" # will find node_modules/@datkt/crypto/package.kc

More on this as we develop these further. Below is a brief from our changelog!

5.0.0 (2018-11-07)

Features

  • bin/konanc-config: Support repo path prefix from cli (f453fbd)
  • index.js: Support 'package.kc' and prefix from supplied 'env' (bbbec15)

v4.1.0

Choose a tag to compare

@jwerle jwerle released this 06 Nov 14:55

HI 🤙 ,

This release introduces an applied prefix to repo variables giving first class support to node_modules/. This prefix allows for defining a repo = "@datkt/crypto" to be prefixed with node_modules/@datkt/crypto allow library resolution in node_modules to be intuitive and simple.

v4.0.0

Choose a tag to compare

@jwerle jwerle released this 05 Nov 23:48

HI 🤙 ,

This release includes a fix for path resolution for repo paths in .kc file. This allows repos to specified loosely (ie node_modules/@datkt) and resolve a fully qualified path using find-up [1] so things like

repo = node_modules/@datkt
library[] = sodium/sodium
library[] = tape/tape

just work (for now 🤷‍♂️)

1 - https://github.com/sindresorhus/find-up

v3.2.0

Choose a tag to compare

@jwerle jwerle released this 05 Nov 22:38

HI 🤙 ,

This release introduces pre-compiled binaries made possible with pkg for Linux, Windows, and macOS.

~werle

1 - https://github.com/zeit/pkg