0.3.0 • Published 4 months ago
@itacademy/schemas v0.3.0
ITA Wiki Schemas
Package to share Zod schemas between back and front in the open source project ITA Wiki from ITAcademy - Barcelona Activa.
This packages follows strict SEMVER
This packages follows strict semver: https://semver.org/
Steps to add a new schema
- Go to packages/schemas
- Add new schema on a separate file, or fix an existing schema.
- Export it from from the index.ts if it is not exported yet.
- Run npm version patch, minor, or major according to SEMVER and your changes.
- Create a PR.
- When merged it will be published on npm.
- Go back to your project (front or back).
- update @itacademy/schemas package to the version you created.
- Use the new schemas.
Steps to use in development
- While developing you can use relative imports to your schemas.