next.js
refactor: rewrite config schema in zod
#56383
Merged

refactor: rewrite config schema in zod #56383

kodiakhq merged 20 commits into vercel:canary from SukkaW:replace-ajv-with-zod
SukkaW
SukkaW refactor: rewrite config schema in zod
06fe2e3c
SukkaW chore: pre-compile zod
0270a07a
SukkaW refactor: remove the usage of @segment/ajv-human-errors
70b169fc
SukkaW refactor: remove the usage of ajv
aca6c80b
SukkaW refactor: reduce z.any()
da3ed3d5
SukkaW refactor: use z.safeParse to validate errors
4e3464a8
ijjk ijjk added type: next
ijjk
ijjk
feedthejim
huozhi
huozhi commented on 2023-10-04
SukkaW refactor: normalize zod error messages
68c07039
SukkaW chore: update the zod to the latest
af5bb95e
SukkaW fix: zod error normalization & schema
3dbf50db
SukkaW test: update config validation case
2732ea5f
SukkaW fix: update NextConfig type to reflect real behavior
566df560
SukkaW test: update config validation case
d949147f
SukkaW test: update case
25b3f54d
SukkaW SukkaW marked this pull request as ready for review 2 years ago
SukkaW SukkaW requested a review from timneutkens timneutkens 2 years ago
SukkaW SukkaW requested a review from ijjk ijjk 2 years ago
SukkaW SukkaW requested a review from shuding shuding 2 years ago
SukkaW SukkaW requested a review from styfle styfle 2 years ago
SukkaW SukkaW requested a review from ztanner ztanner 2 years ago
SukkaW SukkaW requested a review 2 years ago
SukkaW SukkaW requested a review 2 years ago
SukkaW SukkaW requested a review 2 years ago
SukkaW SukkaW requested a review from feedthejim feedthejim 2 years ago
SukkaW SukkaW requested a review from wyattjoh wyattjoh 2 years ago
SukkaW SukkaW removed review request 2 years ago
SukkaW SukkaW requested a review from manovotny manovotny 2 years ago
SukkaW SukkaW requested a review from Nutlope Nutlope 2 years ago
ghost
SukkaW SukkaW changed the title [WIP] refactor: rewrite config schema in zod refactor: rewrite config schema in zod 2 years ago
SukkaW fix(schema): a few options are actually nullable
d9196995
SukkaW fix: make eslint happy & solve type resolution issue
48b7e1de
huozhi
huozhi commented on 2023-10-04
huozhi
huozhi dismissed these changes on 2023-10-04
huozhi huozhi dismissed their stale review 2 years ago
prod tests failing
huozhi
huozhi commented on 2023-10-04
SukkaW Merge branch 'canary' into replace-ajv-with-zod
6490cb26
SukkaW fix: type resolution
f70caa24
SukkaW SukkaW requested a review from huozhi huozhi 2 years ago
SukkaW fix: prevent bundling of ZodError type
a0f14d34
SukkaW SukkaW force pushed to a0f14d34 2 years ago
huozhi
huozhi approved these changes on 2023-10-05
huozhi Merge branch 'canary' into replace-ajv-with-zod
eb93faf6
kodiakhq[bot] Merge branch 'canary' into replace-ajv-with-zod
9b5406fe
kodiakhq kodiakhq merged d21025cc into canary 2 years ago
styfle styfle added hacktoberfest-accepted
SukkaW SukkaW deleted the replace-ajv-with-zod branch 2 years ago
github-actions github-actions added locked
github-actions github-actions locked as resolved and limited conversation to collaborators 2 years ago

Login to write a write a comment.

Login via GitHub

Assignees
No one assigned
Labels
Milestone