Skip to content

Commit 0af738a

Browse files
committed
Add Babel plugin for nullish coalescing operator
1 parent d1e1d67 commit 0af738a

File tree

3 files changed

+640
-141
lines changed

3 files changed

+640
-141
lines changed

babel.config.json

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
11
{
2-
"presets": ["@babel/preset-env", "@babel/preset-typescript", "@babel/preset-react"]
2+
"presets": ["@babel/preset-env", "@babel/preset-typescript", "@babel/preset-react"],
3+
"plugins": ["@babel/plugin-proposal-nullish-coalescing-operator"]
34
}

package.json

Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "react-github-calendar",
3-
"version": "3.0.4",
3+
"version": "3.0.5",
44
"description": " A flexible React component to display a GitHub contributions graph",
55
"author": "Jonathan Gruber <[email protected]>",
66
"license": "MIT",
@@ -19,22 +19,22 @@
1919
"start": "rollup -c -w"
2020
},
2121
"dependencies": {
22+
"@babel/plugin-proposal-nullish-coalescing-operator": "^7.14.5",
2223
"date-fns": "^2.23.0",
2324
"react-activity-calendar": "^1.3.3",
2425
"tinycolor2": "^1.4.0"
2526
},
2627
"devDependencies": {
27-
"@babel/core": "^7.14.8",
28-
"@babel/preset-env": "^7.14.8",
28+
"@babel/core": "^7.15.0",
29+
"@babel/preset-env": "^7.15.0",
2930
"@babel/preset-react": "^7.10.1",
30-
"@babel/preset-typescript": "^7.10.1",
31-
"@types/jest": "^26.0.24",
32-
"@types/react": "^17.0.15",
31+
"@babel/preset-typescript": "^7.15.0",
32+
"@types/react": "^17.0.19",
3333
"@types/react-dom": "^17.0.9",
3434
"@types/react-tooltip": "^4.2.4",
3535
"@types/tinycolor2": "^1.4.3",
36-
"@typescript-eslint/eslint-plugin": "^4.28.5",
37-
"@typescript-eslint/parser": "^4.28.5",
36+
"@typescript-eslint/eslint-plugin": "^4.29.3",
37+
"@typescript-eslint/parser": "^4.29.3",
3838
"babel-eslint": "^10.1.0",
3939
"cross-env": "^7.0.2",
4040
"eslint": "^7.32.0",
@@ -45,14 +45,14 @@
4545
"react": "^17.0.2",
4646
"react-dom": "^17.0.2",
4747
"react-scripts": "^4.0.3",
48-
"rollup": "^2.55.1",
48+
"rollup": "^2.56.3",
4949
"rollup-plugin-babel": "^4.4.0",
5050
"rollup-plugin-commonjs": "^10.1.0",
5151
"rollup-plugin-copy": "^3.3.0",
5252
"rollup-plugin-filesize": "^9.0.1",
5353
"rollup-plugin-node-resolve": "^5.2.0",
5454
"rollup-plugin-peer-deps-external": "^2.2.2",
55-
"rollup-plugin-postcss": "^4.0.0",
55+
"rollup-plugin-postcss": "^4.0.1",
5656
"rollup-plugin-url": "^3.0.1",
5757
"typescript": "^4.3.5"
5858
},

0 commit comments

Comments
 (0)