Create @auto-it/schema package
- Dominant language
- TypeScript
- Stars
- 2.5k
- Forks
- 221
- PR merge metrics
- No merged PRs in 30d
Description
**Is your feature request related to a problem? Please describe.**
When trying to pull in the default config settings or some of the types for the config for `autobot` I've struggled with how intertwined some of the internals for auto are.
I'd like to split config types and defaults out into a separate package.
**Describe the solution you'd like**
A package called `@auto-it/schema` or `@auto-it/config-schema` or `@auto-it/config` (whatever works).
This package would consist primarily of two things:
1. Detailed ts definitions for the config
2. Any config defaults
**Describe alternatives you've considered**
**Additional context**
One of the big values of this approach is it ensures you're not pulling in any other dependency that auto may rely on but isn't needed specifically for this info. I'm running `autobot` in lambdas so every byte counts.
Try to faff with tree shaking but it was a bit non-trivial with the current architecture.
Contributor guide
No contributing guide indexed for this repository
Assessment
This issue has not been assessed yet.