<config-name>.config.ts
inside your configuration
directory and this file will be compiled to JSON after build. You can create multiple files, this is useful for separating environments or
different parts of the application.
Continuing our example, here are the values for the model defined above:
npx @typeconf/typeconf build configs
to produce JSON file which you can read in your app, either with
Typeconf SDK with type validation or just as a plain JSON.
Here’s the JSON from our example:
npm run build
.
npx link@latest <path/to/package>
to add a symlink to local version of the package.
Where can I see more examples
Check out the examples in the repository.
Or check out playground, you can try out the examples without installing it locally.