intuit / intuit/auto

Create @auto-it/schema package

Open
#449 3 comments 0 reactions 0 assignees View on GitHub
enhancement
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.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.