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

chore(common): look at precompiling ajv schemas in common/types #9640

Closed
Tracked by #9621
mcdurdin opened this issue Sep 28, 2023 · 0 comments · Fixed by #9691
Closed
Tracked by #9621

chore(common): look at precompiling ajv schemas in common/types #9640

mcdurdin opened this issue Sep 28, 2023 · 0 comments · Fixed by #9691

Comments

@mcdurdin
Copy link
Member

@mcdurdin mcdurdin added this to the A17S23 milestone Sep 28, 2023
mcdurdin added a commit that referenced this issue Oct 5, 2023
Fixes #9640.

This ended up being somewhat more fragile than originally anticipated.
For the `ajv` cli call to get the right versions, we needed to install
ajv as a dev dependency in the top-level package.json as well as at the
common/web/types level.

Ajv does not do all that well with ESM yet, either, so we use esbuild to
transform the compiled validators before building in typescript.
@mcdurdin mcdurdin linked a pull request Oct 6, 2023 that will close this issue
@mcdurdin mcdurdin closed this as completed Oct 6, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant