schemashift-cli 0.3.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +31 -0
- package/dist/cli.js +810 -0
- package/dist/index.cjs +472 -0
- package/dist/index.d.cts +88 -0
- package/dist/index.d.ts +88 -0
- package/dist/index.js +432 -0
- package/package.json +67 -0
package/README.md
ADDED
|
@@ -0,0 +1,31 @@
|
|
|
1
|
+
# schemashift
|
|
2
|
+
|
|
3
|
+
TypeScript schema migration CLI. Convert between Zod, Yup, Joi, io-ts, and Valibot.
|
|
4
|
+
|
|
5
|
+
## Install
|
|
6
|
+
|
|
7
|
+
```bash
|
|
8
|
+
npm install -g schemashift-cli
|
|
9
|
+
```
|
|
10
|
+
|
|
11
|
+
## Usage
|
|
12
|
+
|
|
13
|
+
```bash
|
|
14
|
+
# Analyze schemas
|
|
15
|
+
schemashift analyze ./src
|
|
16
|
+
|
|
17
|
+
# Migrate Yup to Zod
|
|
18
|
+
schemashift migrate ./src --from yup --to zod
|
|
19
|
+
|
|
20
|
+
# Preview first (recommended)
|
|
21
|
+
schemashift migrate ./src --from yup --to zod --dry-run
|
|
22
|
+
```
|
|
23
|
+
|
|
24
|
+
## Links
|
|
25
|
+
|
|
26
|
+
- [Documentation](https://schemashift.qwady.app/docs)
|
|
27
|
+
- [Pricing](https://schemashift.qwady.app)
|
|
28
|
+
|
|
29
|
+
## License
|
|
30
|
+
|
|
31
|
+
MIT
|