Skip to content

Commit e681d35

Browse files
chore: 🤖 dependency updates
1 parent 96fa128 commit e681d35

File tree

4 files changed

+215
-190
lines changed

4 files changed

+215
-190
lines changed

.github/workflows/nodejs.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ jobs:
77
runs-on: ubuntu-latest
88
strategy:
99
matrix:
10-
node: ["10"]
10+
node: ["16"]
1111
name: Node ${{ matrix.node }}
1212
steps:
1313
- uses: actions/checkout@v1

package.json

+11-11
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "react-gbus",
3-
"version": "1.1.2",
3+
"version": "1.1.3",
44
"description": "ultra lightweight global event bus hook for react",
55
"author": "harshzalavadiya",
66
"license": "MIT",
@@ -17,24 +17,24 @@
1717
"start": "rollup -c -w"
1818
},
1919
"dependencies": {
20-
"mitt": "^2.1.0"
20+
"mitt": "^3.0.0"
2121
},
2222
"peerDependencies": {
2323
"react": "^16.12.0",
2424
"react-dom": "^16.12.0"
2525
},
2626
"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",
3333
"rollup-plugin-commonjs": "^10.1.0",
3434
"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"
3838
},
3939
"files": [
4040
"dist"

rollup.config.js

+6-9
Original file line numberDiff line numberDiff line change
@@ -13,23 +13,20 @@ export default {
1313
file: pkg.main,
1414
format: "cjs",
1515
exports: "named",
16-
sourcemap: true
16+
sourcemap: true,
1717
},
1818
{
1919
file: pkg.module,
2020
format: "es",
2121
exports: "named",
22-
sourcemap: true
23-
}
22+
sourcemap: true,
23+
},
2424
],
2525
plugins: [
2626
external(),
2727
url(),
2828
resolve(),
29-
typescript({
30-
rollupCommonJSResolveHack: true,
31-
clean: true
32-
}),
33-
commonjs()
34-
]
29+
typescript({ clean: true }),
30+
commonjs(),
31+
],
3532
};

0 commit comments

Comments
 (0)