absolute-version / commit-and-tag-version

Fork of the excellent standard-version. Automate versioning and CHANGELOG generation, with semver.org and conventionalcommits.org :trophy:
ISC License
385 stars 36 forks source link

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

Open helmturner opened 1 year ago

helmturner commented 1 year ago

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 😄