Skip to content

Commit

Permalink
update deps
Browse files Browse the repository at this point in the history
  • Loading branch information
sachinraja committed Dec 30, 2022
1 parent de4d230 commit afbc37b
Show file tree
Hide file tree
Showing 11 changed files with 1,060 additions and 1,281 deletions.
26 changes: 0 additions & 26 deletions .eslintrc.cjs

This file was deleted.

4 changes: 4 additions & 0 deletions .eslintrc.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
{
"root": true,
"extends": "@sachinraja"
}
1 change: 0 additions & 1 deletion .husky/.gitignore

This file was deleted.

4 changes: 0 additions & 4 deletions .husky/pre-commit

This file was deleted.

34 changes: 13 additions & 21 deletions dprint.json
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"
]
}
154 changes: 72 additions & 82 deletions package.json
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
}
}
Loading

0 comments on commit afbc37b

Please sign in to comment.