File tree 6 files changed +48
-23
lines changed
6 files changed +48
-23
lines changed Original file line number Diff line number Diff line change 140
140
.yarn /unplugged
141
141
.yarn /build-state.yml
142
142
.yarn /install-state.gz
143
- .pnp. *
143
+ .pnp. *
144
+
145
+ # Debug Helpers
146
+ log.sh
147
+ log.out
Original file line number Diff line number Diff line change @@ -20,7 +20,6 @@ import {
20
20
Plugin ,
21
21
PluginOption ,
22
22
defineConfig ,
23
- searchForWorkspaceRoot ,
24
23
} from 'vite' ;
25
24
26
25
const plugins : [ Plugin | PluginOption ] = [ react ( ) ] ;
@@ -45,13 +44,15 @@ export default defineConfig({
45
44
'react' ,
46
45
'react-dom' ,
47
46
'@matrix-widget-toolkit/react' ,
47
+ '@matrix-widget-toolkit/mui' ,
48
+ '@matrix-widget-toolkit/api' ,
48
49
'react-redux' ,
49
50
'@mui/material' ,
50
51
] ,
51
52
} ,
52
53
server : {
53
54
fs : {
54
- allow : [ searchForWorkspaceRoot ( process . cwd ( ) ) ] ,
55
+ allow : [ '..' ] ,
55
56
} ,
56
57
} ,
57
58
plugins,
Original file line number Diff line number Diff line change 5
5
"author" : " Nordeck IT + Consulting GmbH" ,
6
6
"license" : " Apache-2.0" ,
7
7
"source" : " ./src/index.ts" ,
8
- "module" : " ./src/index.ts" ,
9
8
"types" : " ./src/index.ts" ,
9
+ "exports" : {
10
+ "import" : " ./src/index.ts" ,
11
+ "require" : " ./src/index.ts"
12
+ },
10
13
"type" : " module" ,
11
14
"devDependencies" : {
12
15
"@rollup/plugin-commonjs" : " ^26.0.1" ,
40
43
"directory" : " packages/api"
41
44
},
42
45
"publishConfig" : {
43
- "main" : " ./build/cjs/index.js" ,
44
- "module" : " ./build/esm/index.js" ,
45
- "types" : " ./build/index.d.ts"
46
+ "types" : " ./build/index.d.ts" ,
47
+ "exports" : {
48
+ "import" : " ./build/esm/index.js" ,
49
+ "require" : " ./build/cjs/index.js"
50
+ }
46
51
},
47
52
"files" : [
48
53
" build"
52
57
" widget" ,
53
58
" matrix-widget-api"
54
59
]
55
- }
60
+ }
Original file line number Diff line number Diff line change 5
5
"author" : " Nordeck IT + Consulting GmbH" ,
6
6
"license" : " Apache-2.0" ,
7
7
"source" : " ./src/index.ts" ,
8
- "module" : " ./src/index.ts" ,
9
8
"types" : " ./src/index.ts" ,
9
+ "exports" : {
10
+ "import" : " ./src/index.ts" ,
11
+ "require" : " ./src/index.ts"
12
+ },
10
13
"type" : " module" ,
11
14
"devDependencies" : {
12
15
"@testing-library/jest-dom" : " ^6.5.0" ,
62
65
"directory" : " packages/mui"
63
66
},
64
67
"publishConfig" : {
65
- "main" : " ./build/cjs/index.js" ,
66
- "module" : " ./build/esm/index.js" ,
67
- "types" : " ./build/index.d.ts"
68
+ "types" : " ./build/index.d.ts" ,
69
+ "exports" : {
70
+ "import" : " ./build/esm/index.js" ,
71
+ "require" : " ./build/cjs/index.js"
72
+ }
68
73
},
69
74
"files" : [
70
75
" build"
74
79
" widget" ,
75
80
" matrix-widget-api"
76
81
]
77
- }
82
+ }
Original file line number Diff line number Diff line change 5
5
"author" : " Nordeck IT + Consulting GmbH" ,
6
6
"license" : " Apache-2.0" ,
7
7
"source" : " ./src/index.ts" ,
8
- "module" : " ./src/index.ts" ,
9
8
"types" : " ./src/index.ts" ,
9
+ "exports" : {
10
+ "import" : " ./src/index.ts" ,
11
+ "require" : " ./src/index.ts"
12
+ },
10
13
"type" : " module" ,
11
14
"devDependencies" : {
12
15
"@testing-library/jest-dom" : " ^6.5.0" ,
44
47
"directory" : " packages/react"
45
48
},
46
49
"publishConfig" : {
47
- "main" : " ./build/cjs/index.js" ,
48
- "module" : " ./build/esm/index.js" ,
49
- "types" : " ./build/index.d.ts"
50
+ "types" : " ./build/index.d.ts" ,
51
+ "exports" : {
52
+ "import" : " ./build/esm/index.js" ,
53
+ "require" : " ./build/cjs/index.js"
54
+ }
50
55
},
51
56
"files" : [
52
57
" build"
56
61
" widget" ,
57
62
" matrix-widget-api"
58
63
]
59
- }
64
+ }
Original file line number Diff line number Diff line change 5
5
"author" : " Nordeck IT + Consulting GmbH" ,
6
6
"license" : " Apache-2.0" ,
7
7
"source" : " ./src/index.ts" ,
8
- "module" : " ./src/index.ts" ,
9
8
"types" : " ./src/index.ts" ,
9
+ "exports" : {
10
+ "import" : " ./src/index.ts" ,
11
+ "require" : " ./src/index.ts"
12
+ },
10
13
"type" : " module" ,
11
14
"devDependencies" : {
12
15
"@types/lodash" : " ^4.17.7" ,
40
43
"directory" : " packages/testing"
41
44
},
42
45
"publishConfig" : {
43
- "main" : " ./build/cjs/index.js" ,
44
- "module" : " ./build/esm/index.js" ,
45
- "types" : " ./build/index.d.ts"
46
+ "types" : " ./build/index.d.ts" ,
47
+ "exports" : {
48
+ "import" : " ./build/esm/index.js" ,
49
+ "require" : " ./build/cjs/index.js"
50
+ }
46
51
},
47
52
"files" : [
48
53
" build"
52
57
" widget" ,
53
58
" matrix-widget-api"
54
59
]
55
- }
60
+ }
You can’t perform that action at this time.
0 commit comments