Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[feat]: provide intellisense for package.json configs #67

Open
helmturner opened this issue Apr 6, 2023 · 0 comments
Open

[feat]: provide intellisense for package.json configs #67

helmturner opened this issue Apr 6, 2023 · 0 comments

Comments

@helmturner
Copy link

This is more of a nice-to-have since the conversion to TypeScript will allow for using a strongly typed config file. For this, we would need to generate JSON schemas to represent the configuration options.

Within the month I'll be releasing a library, inspired by zod, which has a similar API but can also generate JSON schemas. This would kill two birds: we get strong validation for configuration options at run-time and can use the same validators to generate the JSON schema during CI (for static validation).

Basically, I'm just parking this thought as a reminder to myself 😄

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants