Skip to content

Commit

Permalink
vite-plugin-dts
Browse files Browse the repository at this point in the history
  • Loading branch information
Szymon-dziewonski committed May 6, 2024
1 parent 8df1b39 commit 7ba20af
Show file tree
Hide file tree
Showing 9 changed files with 183 additions and 115 deletions.
3 changes: 2 additions & 1 deletion packages/config/tailwind/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@
},
"./*": "./*"
},
"type": "module",
"source": "index.ts",
"main": "dist/index.mjs",
"unpkg": "dist/index.umd.js",
Expand All @@ -31,7 +32,7 @@
"devDependencies": {
"typescript": "^5.4.5",
"vite": "^5.2.1",
"vite-plugin-dts": "^2.0.0-beta.1"
"vite-plugin-dts": "^3.9.1"
},
"dependencies": {
"@mertasan/tailwindcss-variables": "^2.5.2",
Expand Down
3 changes: 2 additions & 1 deletion packages/config/tailwind/tsconfig.json
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,8 @@
"target": "ESNext",
"module": "ESNext",
"baseUrl": ".",
"types": ["vite/client"]
"types": ["vite/client"],
"resolveJsonModule": true
},
"include": ["**/*.ts"],
"exclude": ["./dist/**/*"]
Expand Down
3 changes: 2 additions & 1 deletion packages/config/tests/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@
},
"./*": "./*"
},
"type": "module",
"source": "index.ts",
"main": "dist/index.mjs",
"unpkg": "dist/index.umd.js",
Expand All @@ -24,6 +25,6 @@
"devDependencies": {
"typescript": "^5.4.5",
"vite": "^5.2.1",
"vite-plugin-dts": "^2.0.0-beta.1"
"vite-plugin-dts": "^3.9.1"
}
}
2 changes: 1 addition & 1 deletion packages/sfui/frameworks/react/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@
"eslint": "^8.34.0",
"prettier": "^3.0.0",
"vite": "^5.2.1",
"vite-plugin-dts": "^2.0.0-beta.1",
"vite-plugin-dts": "^3.9.1",
"vite-tsconfig-paths": "^4.3.2"
},
"peerDependencies": {
Expand Down
3 changes: 2 additions & 1 deletion packages/sfui/frameworks/vue/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,7 @@
]
}
},
"type": "module",
"source": "index.ts",
"main": "dist/index.cjs.js",
"types": "dist/index.d.ts",
Expand Down Expand Up @@ -55,7 +56,7 @@
"eslint": "^8.34.0",
"prettier": "^3.0.0",
"vite": "^5.2.1",
"vite-plugin-dts": "^2.0.0-beta.1",
"vite-plugin-dts": "^3.9.1",
"vite-tsconfig-paths": "^4.3.2",
"vue-tsc": "^2.0.16"
},
Expand Down
3 changes: 2 additions & 1 deletion packages/sfui/shared/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@
},
"./*": "./*"
},
"type": "module",
"source": "index.ts",
"main": "dist/index.mjs",
"unpkg": "dist/index.umd.js",
Expand All @@ -25,7 +26,7 @@
"tabbable": "^6.1.1",
"typescript": "^5.4.5",
"vite": "^5.2.1",
"vite-plugin-dts": "^2.0.0-beta.1",
"vite-plugin-dts": "^3.9.1",
"vue-tsc": "^2.0.16"
},
"publishConfig": {
Expand Down
3 changes: 2 additions & 1 deletion packages/sfui/tw-plugin-peer-next/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -16,14 +16,15 @@
"main": "dist/index.mjs",
"unpkg": "dist/index.umd.js",
"types": "dist/index.d.ts",
"type": "module",
"scripts": {
"dev-only": "vite build --watch",
"build:peer-next": "vite build"
},
"devDependencies": {
"typescript": "^5.4.5",
"vite": "^5.2.1",
"vite-plugin-dts": "^2.0.0-beta.1"
"vite-plugin-dts": "^3.9.1"
},
"peerDependencies": {
"tailwindcss": ">=3.0.0 || >= 3.0.0-alpha.1"
Expand Down
3 changes: 2 additions & 1 deletion packages/sfui/typography/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -16,14 +16,15 @@
"main": "dist/index.mjs",
"unpkg": "dist/index.umd.js",
"types": "dist/index.d.ts",
"type": "module",
"scripts": {
"dev-only": "vite build --watch",
"build:typography": "vite build"
},
"devDependencies": {
"typescript": "^5.4.5",
"vite": "^5.2.1",
"vite-plugin-dts": "^2.0.0-beta.1"
"vite-plugin-dts": "^3.9.1"
},
"peerDependencies": {
"tailwindcss": ">=3.0.0 || >= 3.0.0-alpha.1"
Expand Down
Loading

0 comments on commit 7ba20af

Please sign in to comment.