1
0
Fork 0
Commit Graph

13 Commits

Author SHA1 Message Date
ssube 25b5651ae9
feat(build): update eslint config, remove tslint plugins 2021-07-10 17:38:08 -05:00
ssube 800f6bb5b2
feat(schema): remove include type from default schema
BREAKING CHANGE: the include type requires a significant subset of
the synchronous fs API to be provided when creating a schema, even
if the include type is never used. Since the resolution must be
synchronous, the include type is limited to local fs and memory
access, and not very useful with network loading. It has been
removed from the default schema, but can be included by calling
`createIncludeSchema` instead.
2021-07-10 15:12:59 -05:00
ssube 5ef7e15c60
fix: selectively copy mutable schema options 2021-04-17 18:57:18 -05:00
ssube 05d5acfb1e
feat: add optional base schema to schema options 2021-04-17 18:56:33 -05:00
ssube 0f31cbeefd
update: api-extractor
Schema uses an imported type, fixed by
https://github.com/microsoft/rushstack/issues/1050
2021-03-27 19:33:56 -05:00
ssube 0e6880bc53
feat(include): add flag option to includes 2020-08-09 09:44:11 -05:00
ssube 6985a2343e
feat: switch to instantiated API, add `createSchema` entrypoint
BREAKING CHANGE: this allows multiple schemas to coexist, but requires
each schema to be created with a call to `createSchema`, taking a set
of options that includes the former `includeOptions` singleton.
2020-08-08 20:01:34 -05:00
ssube 1d07d7c3ed
feat: add join callback to include options
BREAKING CHANGE: usage of the include type now requires a join option
2020-08-04 00:14:13 -05:00
ssube 70a5fdab3c
lint: annotate exported types with release status 2020-08-01 10:57:05 -05:00
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
ssube 3361099729
fix(test): remove problematic invocation of main from index 2020-06-29 18:56:08 -05:00
ssube 859baa33f9
fix: refactor duplicate utils into js-utils, export symbols
BREAKING CHANGE: extract typed errors and use the equivalent
from js-utils
2020-03-29 08:13:57 -05:00
ssube 133880c9f8
feat(type): add env, include, regexp, and stream 2019-11-13 08:20:34 -06:00