mutano 1.0.8 → 2.0.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.
Files changed (4) hide show
  1. package/README.md +679 -30
  2. package/dist/main.d.ts +70 -14
  3. package/dist/main.js +597 -143
  4. package/package.json +29 -27
package/package.json CHANGED
@@ -1,29 +1,31 @@
1
1
  {
2
- "name": "mutano",
3
- "type": "module",
4
- "version": "1.0.8",
5
- "description": "Converts Prisma/MySQL schemas to Zod interfaces",
6
- "author": "Alisson Cavalcante Agiani <thelinuxlich@gmail.com>",
7
- "license": "MIT",
8
- "repository": "git@github.com:thelinuxlich/mutano.git",
9
- "main": "dist/main.js",
10
- "types": "dist/main.d.ts",
11
- "files": ["dist"],
12
- "scripts": {
13
- "build": "esbuild src/main.ts --format=esm --platform=node --outfile=dist/main.js && tsc src/main.ts -d --emitDeclarationOnly --esModuleInterop --outDir dist",
14
- "test": "vitest run"
15
- },
16
- "dependencies": {
17
- "@mrleebo/prisma-ast": "^0.12.1",
18
- "camelcase": "^8.0.0",
19
- "fs-extra": "^11.1.1",
20
- "knex": "^3.0.1",
21
- "mysql2": "^3.6.3"
22
- },
23
- "devDependencies": {
24
- "@types/fs-extra": "^11.0.3",
25
- "esbuild": "^0.19.5",
26
- "typescript": "^5.2.2",
27
- "vitest": "^0.34.6"
28
- }
2
+ "name": "mutano",
3
+ "type": "module",
4
+ "version": "2.0.0",
5
+ "description": "Converts Prisma/MySQL/PostgreSQL/SQLite schemas to Zod/TS/Kysely interfaces",
6
+ "author": "Alisson Cavalcante Agiani <thelinuxlich@gmail.com>",
7
+ "license": "MIT",
8
+ "repository": "git@github.com:thelinuxlich/mutano.git",
9
+ "main": "dist/main.js",
10
+ "types": "dist/main.d.ts",
11
+ "files": ["dist"],
12
+ "scripts": {
13
+ "build": "esbuild src/main.ts --format=esm --platform=node --outfile=dist/main.js && tsc src/main.ts -d --emitDeclarationOnly --esModuleInterop --outDir dist",
14
+ "test": "vitest run"
15
+ },
16
+ "dependencies": {
17
+ "@mrleebo/prisma-ast": "^0.12.1",
18
+ "camelcase": "^8.0.0",
19
+ "fs-extra": "^11.3.0",
20
+ "knex": "^3.1.0",
21
+ "mysql2": "^3.14.1",
22
+ "pg": "^8.15.6",
23
+ "sqlite3": "^5.1.7"
24
+ },
25
+ "devDependencies": {
26
+ "@types/fs-extra": "^11.0.4",
27
+ "esbuild": "^0.25.3",
28
+ "typescript": "^5.8.3",
29
+ "vitest": "^3.1.2"
30
+ }
29
31
  }