zcb 0.0.14 → 0.0.16

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (2) hide show
  1. package/README.md +2 -2
  2. package/package.json +1 -1
package/README.md CHANGED
@@ -5,7 +5,7 @@ Build configs with type safety from zod schema.
5
5
  [![npm version](https://badge.fury.io/js/zcb.svg)](https://badge.fury.io/js/zcb)
6
6
  [![License: MIT](https://img.shields.io/badge/License-MIT-yellow.svg)](LICENSE)
7
7
 
8
- Define a configuration schema with [`zod`](https://github.com/colinhacks/zod) and use the output of that in `zcb` to create a config builder with autocomplete and setter value autocomplete.
8
+ Define a configuration schema with [`zod`](https://github.com/colinhacks/zod) and use the output of that in `zcb` to create a config builder with method autocomplete and value type validation.
9
9
 
10
10
  Use our cli module to build and/or watch a config builder file and transform it into a literally typed config object.
11
11
 
@@ -330,7 +330,7 @@ Then use the autogenerated config to create a config reader that you can access
330
330
  import { createConfigParser, createConfigReader } from 'zcb';
331
331
  import builtConfig from './builtConfig.ts';
332
332
 
333
- export default () => createConfigReader(builtConfig);
333
+ export default createConfigReader(builtConfig);
334
334
  ```
335
335
 
336
336
  ### Use config reader
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "zcb",
3
3
  "description": "Build configs with type safety from zod schema.",
4
- "version": "0.0.14",
4
+ "version": "0.0.16",
5
5
  "author": "Dylan Aubrey",
6
6
  "license": "MIT",
7
7
  "homepage": "https://github.com/badbatch/zod-config-builder",