1
0
Fork 0
Go to file
ssube 77b6f4cc74
feat(include): allow consumer to provide fs functions via include schema
BREAKING CHANGE: rather than use the `fs` functions (`existsSync`,
`readSync`, etc) to include files, this uses fields of the `includeSchema`.
To maintain the previous functionality, fields should be set as follows:

- `exists = existsSync`
- `read = readSync`
- `resolve = realpathSync`
2020-06-30 08:08:03 -05:00
.github feat: new project from template 2019-11-13 08:01:51 -06:00
config fix(build): add chunk for linked modules to fix cyclical imports, sort test modules into test chunk 2020-06-30 08:03:35 -05:00
docs/api feat(include): allow consumer to provide fs functions via include schema 2020-06-30 08:08:03 -05:00
scripts feat: new project from template 2019-11-13 08:01:51 -06:00
src feat(include): allow consumer to provide fs functions via include schema 2020-06-30 08:08:03 -05:00
test fix(test): cover app main and stream type 2020-03-31 17:47:10 -05:00
vendor/rollup-resources feat: new project from template 2019-11-13 08:01:51 -06:00
.codeclimate.yml feat: new project from template 2019-11-13 08:01:51 -06:00
.dockerignore feat: new project from template 2019-11-13 08:01:51 -06:00
.gitignore feat: new project from template 2019-11-13 08:01:51 -06:00
.gitlab-ci.yml lint(build): remove unused image stage 2020-03-30 08:48:33 -05:00
.npmignore feat: new project from template 2019-11-13 08:01:51 -06:00
.npmrc feat: new project from template 2019-11-13 08:01:51 -06:00
CHANGELOG.md chore(release): 0.2.0 2020-03-29 08:14:57 -05:00
Dockerfile.alpine feat: new project from template 2019-11-13 08:01:51 -06:00
Dockerfile.stretch feat: new project from template 2019-11-13 08:01:51 -06:00
LICENSE.md feat: new project from template 2019-11-13 08:01:51 -06:00
Makefile feat(build): bundle as ES module 2020-06-29 18:19:35 -05:00
README.md fix(docs): list tags in readme 2019-11-13 08:26:10 -06:00
package.json feat(build): bundle as ES module 2020-06-29 18:19:35 -05:00
renovate.json feat: new project from template 2019-11-13 08:01:51 -06:00
run.mk feat: new project from template 2019-11-13 08:01:51 -06:00
tsconfig.json feat: new project from template 2019-11-13 08:01:51 -06:00
yarn.lock feat(build): bundle as ES module 2020-06-29 18:19:35 -05:00

README.md

js-yaml-schema

This is an extension schema for js-yaml, adding custom tags for common config types.

Tags

  • !env: environment variables
  • !include: file include, parsed with the same schema
  • !regexp: regular expression, with flags
  • !stream: NodeJS stream, from process with name restrictions