File tree 4 files changed +215
-190
lines changed
4 files changed +215
-190
lines changed Original file line number Diff line number Diff line change 7
7
runs-on : ubuntu-latest
8
8
strategy :
9
9
matrix :
10
- node : ["10 "]
10
+ node : ["16 "]
11
11
name : Node ${{ matrix.node }}
12
12
steps :
13
13
- uses : actions/checkout@v1
Original file line number Diff line number Diff line change 1
1
{
2
2
"name" : " react-gbus" ,
3
- "version" : " 1.1.2 " ,
3
+ "version" : " 1.1.3 " ,
4
4
"description" : " ultra lightweight global event bus hook for react" ,
5
5
"author" : " harshzalavadiya" ,
6
6
"license" : " MIT" ,
17
17
"start" : " rollup -c -w"
18
18
},
19
19
"dependencies" : {
20
- "mitt" : " ^2.1 .0"
20
+ "mitt" : " ^3.0 .0"
21
21
},
22
22
"peerDependencies" : {
23
23
"react" : " ^16.12.0" ,
24
24
"react-dom" : " ^16.12.0"
25
25
},
26
26
"devDependencies" : {
27
- "@rollup/plugin-url" : " ^5 .0.1 " ,
28
- "@types/react" : " ^16.9.17 " ,
29
- "@types/react-dom" : " ^16.9.4 " ,
30
- "react" : " ^16.4.1 " ,
31
- "react-dom" : " ^16.4.1 " ,
32
- "rollup" : " ^2.18.0 " ,
27
+ "@rollup/plugin-url" : " ^7 .0.0 " ,
28
+ "@types/react" : " ^18.0.21 " ,
29
+ "@types/react-dom" : " ^18.0.6 " ,
30
+ "react" : " ^18.2.0 " ,
31
+ "react-dom" : " ^18.2.0 " ,
32
+ "rollup" : " ^2.79.1 " ,
33
33
"rollup-plugin-commonjs" : " ^10.1.0" ,
34
34
"rollup-plugin-node-resolve" : " ^5.2.0" ,
35
- "rollup-plugin-peer-deps-external" : " ^2.2.0 " ,
36
- "rollup-plugin-typescript2" : " ^0.27.0 " ,
37
- "typescript" : " ^4.0.2 "
35
+ "rollup-plugin-peer-deps-external" : " ^2.2.4 " ,
36
+ "rollup-plugin-typescript2" : " ^0.34.1 " ,
37
+ "typescript" : " ^4.8.4 "
38
38
},
39
39
"files" : [
40
40
" dist"
Original file line number Diff line number Diff line change @@ -13,23 +13,20 @@ export default {
13
13
file : pkg . main ,
14
14
format : "cjs" ,
15
15
exports : "named" ,
16
- sourcemap : true
16
+ sourcemap : true ,
17
17
} ,
18
18
{
19
19
file : pkg . module ,
20
20
format : "es" ,
21
21
exports : "named" ,
22
- sourcemap : true
23
- }
22
+ sourcemap : true ,
23
+ } ,
24
24
] ,
25
25
plugins : [
26
26
external ( ) ,
27
27
url ( ) ,
28
28
resolve ( ) ,
29
- typescript ( {
30
- rollupCommonJSResolveHack : true ,
31
- clean : true
32
- } ) ,
33
- commonjs ( )
34
- ]
29
+ typescript ( { clean : true } ) ,
30
+ commonjs ( ) ,
31
+ ] ,
35
32
} ;
You can’t perform that action at this time.
0 commit comments