Skip to content

Commit 80c2858

Browse files
committed
clean up
1 parent 731c51a commit 80c2858

File tree

4 files changed

+1
-71
lines changed

4 files changed

+1
-71
lines changed

lib/package.json

Lines changed: 0 additions & 22 deletions
Original file line numberDiff line numberDiff line change
@@ -26,36 +26,14 @@
2626
"devDependencies": {
2727
"@repo/eslint-config": "workspace:*",
2828
"@repo/typescript-config": "workspace:*",
29-
"@testing-library/react": "^16.0.0",
3029
"@types/node": "^20.14.9",
31-
"@types/react": "^18.3.3",
32-
"@types/react-dom": "^18.3.0",
33-
"@vitejs/plugin-react": "^4.3.1",
3430
"@vitest/coverage-v8": "^1.6.0",
3531
"esbuild": "^0.21.5",
36-
"esbuild-plugin-rdi": "^0.0.0",
37-
"esbuild-plugin-react18": "0.2.4",
38-
"esbuild-plugin-react18-css": "^0.0.4",
39-
"react": "^18.3.1",
40-
"react-dom": "^18.3.1",
4132
"tsup": "^8.1.0",
4233
"typescript": "^5.5.2",
4334
"vite-tsconfig-paths": "^4.3.2",
4435
"vitest": "^1.6.0"
4536
},
46-
"dependencies": {
47-
"r18gs": "^1.1.3"
48-
},
49-
"peerDependencies": {
50-
"@types/react": "16.8 - 19",
51-
"next": "10 - 15",
52-
"react": "16.8 - 19"
53-
},
54-
"peerDependenciesMeta": {
55-
"next": {
56-
"optional": true
57-
}
58-
},
5937
"funding": [
6038
{
6139
"type": "github",

lib/tsup.config.ts

Lines changed: 0 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,4 @@
11
import { defineConfig, type Options } from "tsup";
2-
import react18Plugin from "esbuild-plugin-react18";
3-
import cssPlugin from "esbuild-plugin-react18-css";
4-
import { rdiPlugin } from "esbuild-plugin-rdi";
52

63
export default defineConfig(
74
(options: Options) =>
@@ -13,11 +10,6 @@ export default defineConfig(
1310
clean: !options.watch,
1411
bundle: true,
1512
minify: !options.watch,
16-
esbuildPlugins: [
17-
react18Plugin({ disableJSXRequireDedup: true }),
18-
cssPlugin({ generateScopedName: "[folder]__[local]" }),
19-
rdiPlugin(),
20-
],
2113
...options,
2214
}) as Options,
2315
);

lib/vitest.config.ts

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,9 @@
11
import { defineConfig } from "vitest/config";
2-
import react from "@vitejs/plugin-react";
32
import tsconfigPaths from "vite-tsconfig-paths";
43

54
// https://vitejs.dev/config/
65
export default defineConfig({
7-
plugins: [react(), tsconfigPaths()],
6+
plugins: [tsconfigPaths()],
87
test: {
98
environment: "node",
109
globals: true,

pnpm-lock.yaml

Lines changed: 0 additions & 39 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)