You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Keep the same folder structure, so this should live in Sources/Schemas in ValiSwift and be sure to add the Schemas folder to the Package.swift as well as the Types folder which is where some types the string schema import from in TypeScript.
targets: [
// Targets are the basic building blocks of a package, defining a module or a test suite.
// Targets can depend on other targets in this package and products from dependencies.
.target(
- name: "ValiSwift"),+ name: "ValiSwift",+ path: "Sources",+ sources: ["Schemas", "Types"]),
...
As a user of ValiSwift, I want a String schema for Valibot in Swift so that I can validate strings.
The text was updated successfully, but these errors were encountered: