-
-
Notifications
You must be signed in to change notification settings - Fork 20
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
de4d230
commit afbc37b
Showing
11 changed files
with
1,060 additions
and
1,281 deletions.
There are no files selected for viewing
This file was deleted.
Oops, something went wrong.
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
{ | ||
"root": true, | ||
"extends": "@sachinraja" | ||
} |
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,23 +1,15 @@ | ||
{ | ||
"incremental": true, | ||
"indentWidth": 2, | ||
"typescript": { | ||
"quoteStyle": "preferSingle", | ||
"semiColons": "asi" | ||
}, | ||
"prettier": { | ||
"singleQuote": true, | ||
"associations": [ | ||
"**/*.yaml", | ||
"**/*.json5" | ||
] | ||
}, | ||
"includes": ["**/*.{ts,tsx,js,jsx,cjs,mjs,json,json5,md,yaml}"], | ||
"excludes": ["**/node_modules", "pnpm-lock.yaml", "dist"], | ||
"plugins": [ | ||
"https://plugins.dprint.dev/typescript-0.68.0.wasm", | ||
"https://plugins.dprint.dev/json-0.15.1.wasm", | ||
"https://plugins.dprint.dev/markdown-0.13.1.wasm", | ||
"https://plugins.dprint.dev/prettier-0.7.0.json@4e846f43b32981258cef5095b3d732522947592e090ef52333801f9d6e8adb33" | ||
] | ||
"incremental": true, | ||
"useTabs": true, | ||
"typescript": { | ||
"quoteStyle": "preferSingle", | ||
"semiColons": "asi" | ||
}, | ||
"includes": ["**/*.{ts,tsx,js,jsx,cjs,mjs,json,json5,md,yaml}"], | ||
"excludes": ["**/node_modules", "pnpm-lock.yaml", "dist"], | ||
"plugins": [ | ||
"https://plugins.dprint.dev/typescript-0.78.0.wasm", | ||
"https://plugins.dprint.dev/json-0.16.0.wasm", | ||
"https://plugins.dprint.dev/markdown-0.14.1.wasm" | ||
] | ||
} |
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,84 +1,74 @@ | ||
{ | ||
"name": "zod-to-ts", | ||
"version": "1.1.1", | ||
"type": "module", | ||
"description": "generate TypeScript types from your Zod schema", | ||
"repository": { | ||
"type": "git", | ||
"url": "https://github.com/sachinraja/zod-to-ts.git" | ||
}, | ||
"homepage": "https://github.com/sachinraja/zod-to-ts#readme", | ||
"bugs": { | ||
"url": "https://github.com/sachinraja/zod-to-ts/issues" | ||
}, | ||
"main": "dist/index.cjs", | ||
"exports": { | ||
"./package.json": "./package.json", | ||
".": { | ||
"import": "./dist/index.js", | ||
"default": "./dist/index.cjs" | ||
} | ||
}, | ||
"types": "dist/index.d.ts", | ||
"files": [ | ||
"dist" | ||
], | ||
"keywords": [ | ||
"zod", | ||
"typescript", | ||
"generator" | ||
], | ||
"scripts": { | ||
"build": "pnpm clean && tsup", | ||
"watch": "tsup --watch --no-dts", | ||
"clean": "rimraf dist", | ||
"format": "dprint fmt", | ||
"lint": "run-p lint:*", | ||
"lint:format": "dprint check", | ||
"lint:types": "tsc", | ||
"lint:js": "eslint .", | ||
"prepare": "husky install", | ||
"prepublishOnly": "pnpm build", | ||
"test": "vitest", | ||
"example": "tsx test/example.ts" | ||
}, | ||
"peerDependencies": { | ||
"typescript": "^4", | ||
"zod": "^3" | ||
}, | ||
"devDependencies": { | ||
"@types/node": "18.11.3", | ||
"@typescript-eslint/eslint-plugin": "5.40.1", | ||
"@typescript-eslint/parser": "5.40.1", | ||
"dprint": "0.32.1", | ||
"eslint": "8.26.0", | ||
"eslint-config-prettier": "8.5.0", | ||
"husky": "8.0.1", | ||
"lint-staged": "13.0.3", | ||
"npm-run-all": "4.1.5", | ||
"rimraf": "3.0.2", | ||
"tsup": "6.3.0", | ||
"tsx": "3.10.4", | ||
"typescript": "4.8.4", | ||
"vite": "3.1.8", | ||
"vitest": "0.24.3", | ||
"zod": "3.19.1" | ||
}, | ||
"sideEffects": false, | ||
"lint-staged": { | ||
"*.{js,ts,md,json,yaml}": "dprint fmt" | ||
}, | ||
"tsup": { | ||
"entryPoints": [ | ||
"src/index.ts" | ||
], | ||
"format": [ | ||
"esm", | ||
"cjs" | ||
], | ||
"dts": { | ||
"resolve": true | ||
}, | ||
"splitting": true | ||
} | ||
"name": "zod-to-ts", | ||
"version": "1.1.1", | ||
"type": "module", | ||
"description": "generate TypeScript types from your Zod schema", | ||
"repository": { | ||
"type": "git", | ||
"url": "https://github.com/sachinraja/zod-to-ts.git" | ||
}, | ||
"homepage": "https://github.com/sachinraja/zod-to-ts#readme", | ||
"bugs": { | ||
"url": "https://github.com/sachinraja/zod-to-ts/issues" | ||
}, | ||
"main": "dist/index.cjs", | ||
"exports": { | ||
"./package.json": "./package.json", | ||
".": { | ||
"import": "./dist/index.js", | ||
"default": "./dist/index.cjs" | ||
} | ||
}, | ||
"types": "dist/index.d.ts", | ||
"files": [ | ||
"dist" | ||
], | ||
"keywords": [ | ||
"zod", | ||
"typescript", | ||
"generator" | ||
], | ||
"scripts": { | ||
"build": "tsup", | ||
"watch": "tsup --watch --no-dts", | ||
"format": "dprint fmt", | ||
"lint": "run-p lint:*", | ||
"lint:format": "dprint check", | ||
"lint:types": "tsc", | ||
"lint:js": "eslint .", | ||
"prepublishOnly": "pnpm build", | ||
"test": "vitest", | ||
"example": "tsx test/example.ts" | ||
}, | ||
"peerDependencies": { | ||
"typescript": "^4.9.4", | ||
"zod": "^3" | ||
}, | ||
"devDependencies": { | ||
"@sachinraja/eslint-config": "0.2.0", | ||
"@types/node": "18.11.18", | ||
"dprint": "0.34.1", | ||
"eslint": "8.30.0", | ||
"tsup": "6.5.0", | ||
"tsx": "3.12.1", | ||
"typescript": "4.9.4", | ||
"vite": "4.0.3", | ||
"vitest": "0.26.2", | ||
"zod": "3.20.2" | ||
}, | ||
"sideEffects": false, | ||
"tsup": { | ||
"entry": [ | ||
"src/index.ts" | ||
], | ||
"format": [ | ||
"esm", | ||
"cjs" | ||
], | ||
"dts": { | ||
"resolve": true | ||
}, | ||
"splitting": true, | ||
"clean": true | ||
} | ||
} |
Oops, something went wrong.