solid-v2: switch fullstack templates from zod to valibot - #276
Merged
Conversation
|
Dependency limit exceeded — report not shown. This pull request scan exceeded the 10,000-dependency limit applied to this scan, so the results are incomplete and may be inaccurate. To avoid reporting false positives, Socket has not posted a report. Upgrade your plan to raise the dependency limit and get complete reports, or view the partial scan in the dashboard. Socket is always free for open source. If this is a non-commercial open source project, contact us to request a free Team account. |
birkskyum
approved these changes
Aug 17, 2026
Replace zod with valibot in the fullstack and fullstack-tanstack env schemas (the plugin reads Standard Schema, so only the example library changes). Both templates build and pass their test suites. Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
brenelz
force-pushed
the
solid-v2-valibot
branch
from
August 18, 2026 15:29
adbc157 to
70f23ac
Compare
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Switches the
solid-v2/fullstackandsolid-v2/fullstack-tanstacktemplates from zod to valibot:env.tsin both templates rewritten with valibot (v.pipe(v.string(), v.minLength(32))forSESSION_SECRET,v.optional(v.pipe(v.string(), v.minLength(1)), 'Solid App')forVITE_APP_NAME); the comment now lists zod/arktype as the alternativespackage.jsondeps:zod→valibot@^1.4.2, lockfiles regeneratedfullstack/README.mdupdated to name valibot in the Standard Schema paragraph and the server-bundle deps listThe env plugin consumes the Standard Schema interface, so only the example library changes — no plugin or config changes.
Verification
solid-env.d.tsregenerates with correct inferred types from valibot's Standard Schema outputCompanion docs PR: solidjs/solid-docs#1634
🤖 Generated with Claude Code