File tree Expand file tree Collapse file tree 5 files changed +170
-571
lines changed Expand file tree Collapse file tree 5 files changed +170
-571
lines changed Original file line number Diff line number Diff line change 34
34
"devDependencies" : {
35
35
"@repo/eslint-config" : " workspace:*" ,
36
36
"@repo/typescript-config" : " workspace:*" ,
37
- "@testing-library/react" : " ^16.3.0" ,
38
37
"@types/node" : " ^24.3.0" ,
39
- "@types/react" : " ^19.1.12" ,
40
- "@types/react-dom" : " ^19.1.9" ,
41
- "@vitejs/plugin-react" : " ^5.0.2" ,
42
38
"@vitest/coverage-v8" : " ^3.2.4" ,
43
39
"esbuild-plugin-rdi" : " ^0.0.0" ,
44
- "esbuild-plugin-react18" : " 0.2.6" ,
45
- "esbuild-plugin-react18-css" : " ^0.0.4" ,
46
- "jsdom" : " ^26.1.0" ,
47
- "react" : " ^19.1.1" ,
48
- "react-dom" : " ^19.1.1" ,
40
+ "git-json-resolver" : " ^1.2.0" ,
49
41
"tsup" : " ^8.5.0" ,
50
42
"typescript" : " ^5.9.2" ,
51
43
"vite-tsconfig-paths" : " ^5.1.4" ,
52
44
"vitest" : " ^3.2.4"
53
45
},
54
- "dependencies" : {
55
- "r18gs" : " ^3.0.1"
56
- },
57
- "peerDependencies" : {
58
- "@types/react" : " >=16.8" ,
59
- "next" : " >=10" ,
60
- "react" : " >=16.8"
61
- },
62
- "peerDependenciesMeta" : {
63
- "next" : {
64
- "optional" : true
65
- }
66
- },
67
46
"funding" : [
68
47
{
69
48
"type" : " github" ,
90
69
" Developer Experience" ,
91
70
" DX" ,
92
71
" mayank1513"
93
- ]
72
+ ],
73
+ "peerDependencies" : {
74
+ "git-json-resolver" : " ^1.2.0"
75
+ }
94
76
}
Original file line number Diff line number Diff line change 1
1
import { defineConfig , type Options } from "tsup" ;
2
- import react18Plugin from "esbuild-plugin-react18" ;
3
- import cssPlugin from "esbuild-plugin-react18-css" ;
4
2
import { rdiPlugin } from "esbuild-plugin-rdi" ;
5
3
6
4
export default defineConfig (
@@ -13,11 +11,7 @@ export default defineConfig(
13
11
clean : ! options . watch ,
14
12
bundle : true ,
15
13
minify : ! options . watch ,
16
- esbuildPlugins : [
17
- react18Plugin ( { disableJSXRequireDedup : true } ) ,
18
- cssPlugin ( { generateScopedName : "[folder]__[local]" } ) ,
19
- rdiPlugin ( ) ,
20
- ] ,
14
+ esbuildPlugins : [ rdiPlugin ( ) ] ,
21
15
...options ,
22
16
} ) as Options ,
23
17
) ;
Original file line number Diff line number Diff line change 1
1
import { defineConfig } from "vitest/config" ;
2
- import react from "@vitejs/plugin-react" ;
3
2
import tsconfigPaths from "vite-tsconfig-paths" ;
4
3
5
4
// https://vitejs.dev/config/
6
5
export default defineConfig ( {
7
- plugins : [ react ( ) , tsconfigPaths ( ) ] ,
6
+ plugins : [ tsconfigPaths ( ) ] ,
8
7
test : {
9
- environment : "jsdom " ,
8
+ environment : "node " ,
10
9
globals : true ,
11
10
setupFiles : [ ] ,
12
11
coverage : {
You can’t perform that action at this time.
0 commit comments