From d38a4387641e8001e37d39cabd377747ffa7df05 Mon Sep 17 00:00:00 2001 From: Nathan Bierema Date: Sun, 29 Aug 2021 23:25:48 +0000 Subject: [PATCH] chore(*): clean up babel configs (#816) --- extension/.babelrc | 3 +-- packages/d3-state-visualizer/.babelrc | 3 +-- packages/d3tooltip/.babelrc | 3 +-- packages/devui/.babelrc | 3 +-- packages/map2tree/.babelrc | 3 +-- packages/react-base16-styling/.babelrc | 3 +-- packages/react-dock/.babelrc | 5 +---- packages/react-json-tree/.babelrc | 3 +-- packages/react-json-tree/examples/.babelrc | 3 +-- packages/redux-devtools-app/.babelrc | 3 +-- packages/redux-devtools-chart-monitor/.babelrc | 3 +-- packages/redux-devtools-dock-monitor/.babelrc | 3 +-- packages/redux-devtools-inspector-monitor-test-tab/.babelrc | 5 +---- packages/redux-devtools-inspector-monitor-trace-tab/.babelrc | 2 +- packages/redux-devtools-inspector-monitor/.babelrc | 5 +---- packages/redux-devtools-instrument/.babelrc | 3 +-- packages/redux-devtools-log-monitor/.babelrc | 3 +-- packages/redux-devtools-rtk-query-monitor/.babelrc | 3 +-- packages/redux-devtools-rtk-query-monitor/demo/.babelrc | 5 +---- packages/redux-devtools-serialize/.babelrc | 3 +-- packages/redux-devtools-slider-monitor/.babelrc | 3 +-- .../redux-devtools-slider-monitor/examples/todomvc/.babelrc | 5 +---- packages/redux-devtools-utils/.babelrc | 3 +-- packages/redux-devtools/.babelrc | 3 +-- packages/redux-devtools/examples/counter/.babelrc | 5 +---- packages/redux-devtools/examples/todomvc/.babelrc | 5 +---- 26 files changed, 26 insertions(+), 65 deletions(-) diff --git a/extension/.babelrc b/extension/.babelrc index 0d42ef44..202d425a 100644 --- a/extension/.babelrc +++ b/extension/.babelrc @@ -3,6 +3,5 @@ "@babel/preset-env", "@babel/preset-react", "@babel/preset-typescript" - ], - "plugins": ["@babel/plugin-proposal-class-properties"] + ] } diff --git a/packages/d3-state-visualizer/.babelrc b/packages/d3-state-visualizer/.babelrc index 5259cd24..3313ff9e 100644 --- a/packages/d3-state-visualizer/.babelrc +++ b/packages/d3-state-visualizer/.babelrc @@ -1,4 +1,3 @@ { - "presets": ["@babel/preset-env", "@babel/preset-typescript"], - "plugins": ["@babel/plugin-proposal-class-properties"] + "presets": ["@babel/preset-env", "@babel/preset-typescript"] } diff --git a/packages/d3tooltip/.babelrc b/packages/d3tooltip/.babelrc index 5259cd24..3313ff9e 100644 --- a/packages/d3tooltip/.babelrc +++ b/packages/d3tooltip/.babelrc @@ -1,4 +1,3 @@ { - "presets": ["@babel/preset-env", "@babel/preset-typescript"], - "plugins": ["@babel/plugin-proposal-class-properties"] + "presets": ["@babel/preset-env", "@babel/preset-typescript"] } diff --git a/packages/devui/.babelrc b/packages/devui/.babelrc index 0d42ef44..202d425a 100755 --- a/packages/devui/.babelrc +++ b/packages/devui/.babelrc @@ -3,6 +3,5 @@ "@babel/preset-env", "@babel/preset-react", "@babel/preset-typescript" - ], - "plugins": ["@babel/plugin-proposal-class-properties"] + ] } diff --git a/packages/map2tree/.babelrc b/packages/map2tree/.babelrc index 5259cd24..3313ff9e 100755 --- a/packages/map2tree/.babelrc +++ b/packages/map2tree/.babelrc @@ -1,4 +1,3 @@ { - "presets": ["@babel/preset-env", "@babel/preset-typescript"], - "plugins": ["@babel/plugin-proposal-class-properties"] + "presets": ["@babel/preset-env", "@babel/preset-typescript"] } diff --git a/packages/react-base16-styling/.babelrc b/packages/react-base16-styling/.babelrc index 5259cd24..3313ff9e 100644 --- a/packages/react-base16-styling/.babelrc +++ b/packages/react-base16-styling/.babelrc @@ -1,4 +1,3 @@ { - "presets": ["@babel/preset-env", "@babel/preset-typescript"], - "plugins": ["@babel/plugin-proposal-class-properties"] + "presets": ["@babel/preset-env", "@babel/preset-typescript"] } diff --git a/packages/react-dock/.babelrc b/packages/react-dock/.babelrc index a01c7adc..ed30a6fd 100644 --- a/packages/react-dock/.babelrc +++ b/packages/react-dock/.babelrc @@ -4,8 +4,5 @@ "@babel/preset-react", "@babel/preset-typescript" ], - "plugins": [ - "@babel/plugin-proposal-class-properties", - "react-hot-loader/babel" - ] + "plugins": ["react-hot-loader/babel"] } diff --git a/packages/react-json-tree/.babelrc b/packages/react-json-tree/.babelrc index 0d42ef44..202d425a 100644 --- a/packages/react-json-tree/.babelrc +++ b/packages/react-json-tree/.babelrc @@ -3,6 +3,5 @@ "@babel/preset-env", "@babel/preset-react", "@babel/preset-typescript" - ], - "plugins": ["@babel/plugin-proposal-class-properties"] + ] } diff --git a/packages/react-json-tree/examples/.babelrc b/packages/react-json-tree/examples/.babelrc index 0d42ef44..202d425a 100644 --- a/packages/react-json-tree/examples/.babelrc +++ b/packages/react-json-tree/examples/.babelrc @@ -3,6 +3,5 @@ "@babel/preset-env", "@babel/preset-react", "@babel/preset-typescript" - ], - "plugins": ["@babel/plugin-proposal-class-properties"] + ] } diff --git a/packages/redux-devtools-app/.babelrc b/packages/redux-devtools-app/.babelrc index 0d42ef44..202d425a 100644 --- a/packages/redux-devtools-app/.babelrc +++ b/packages/redux-devtools-app/.babelrc @@ -3,6 +3,5 @@ "@babel/preset-env", "@babel/preset-react", "@babel/preset-typescript" - ], - "plugins": ["@babel/plugin-proposal-class-properties"] + ] } diff --git a/packages/redux-devtools-chart-monitor/.babelrc b/packages/redux-devtools-chart-monitor/.babelrc index 0d42ef44..202d425a 100644 --- a/packages/redux-devtools-chart-monitor/.babelrc +++ b/packages/redux-devtools-chart-monitor/.babelrc @@ -3,6 +3,5 @@ "@babel/preset-env", "@babel/preset-react", "@babel/preset-typescript" - ], - "plugins": ["@babel/plugin-proposal-class-properties"] + ] } diff --git a/packages/redux-devtools-dock-monitor/.babelrc b/packages/redux-devtools-dock-monitor/.babelrc index 0d42ef44..202d425a 100644 --- a/packages/redux-devtools-dock-monitor/.babelrc +++ b/packages/redux-devtools-dock-monitor/.babelrc @@ -3,6 +3,5 @@ "@babel/preset-env", "@babel/preset-react", "@babel/preset-typescript" - ], - "plugins": ["@babel/plugin-proposal-class-properties"] + ] } diff --git a/packages/redux-devtools-inspector-monitor-test-tab/.babelrc b/packages/redux-devtools-inspector-monitor-test-tab/.babelrc index 7a337702..d6bf93bd 100644 --- a/packages/redux-devtools-inspector-monitor-test-tab/.babelrc +++ b/packages/redux-devtools-inspector-monitor-test-tab/.babelrc @@ -4,8 +4,5 @@ "@babel/preset-react", "@babel/preset-typescript" ], - "plugins": [ - "@babel/plugin-proposal-class-properties", - "@babel/plugin-transform-runtime" - ] + "plugins": ["@babel/plugin-transform-runtime"] } diff --git a/packages/redux-devtools-inspector-monitor-trace-tab/.babelrc b/packages/redux-devtools-inspector-monitor-trace-tab/.babelrc index 0d42ef44..d6bf93bd 100644 --- a/packages/redux-devtools-inspector-monitor-trace-tab/.babelrc +++ b/packages/redux-devtools-inspector-monitor-trace-tab/.babelrc @@ -4,5 +4,5 @@ "@babel/preset-react", "@babel/preset-typescript" ], - "plugins": ["@babel/plugin-proposal-class-properties"] + "plugins": ["@babel/plugin-transform-runtime"] } diff --git a/packages/redux-devtools-inspector-monitor/.babelrc b/packages/redux-devtools-inspector-monitor/.babelrc index 7a337702..d6bf93bd 100644 --- a/packages/redux-devtools-inspector-monitor/.babelrc +++ b/packages/redux-devtools-inspector-monitor/.babelrc @@ -4,8 +4,5 @@ "@babel/preset-react", "@babel/preset-typescript" ], - "plugins": [ - "@babel/plugin-proposal-class-properties", - "@babel/plugin-transform-runtime" - ] + "plugins": ["@babel/plugin-transform-runtime"] } diff --git a/packages/redux-devtools-instrument/.babelrc b/packages/redux-devtools-instrument/.babelrc index 5259cd24..3313ff9e 100644 --- a/packages/redux-devtools-instrument/.babelrc +++ b/packages/redux-devtools-instrument/.babelrc @@ -1,4 +1,3 @@ { - "presets": ["@babel/preset-env", "@babel/preset-typescript"], - "plugins": ["@babel/plugin-proposal-class-properties"] + "presets": ["@babel/preset-env", "@babel/preset-typescript"] } diff --git a/packages/redux-devtools-log-monitor/.babelrc b/packages/redux-devtools-log-monitor/.babelrc index 0d42ef44..202d425a 100644 --- a/packages/redux-devtools-log-monitor/.babelrc +++ b/packages/redux-devtools-log-monitor/.babelrc @@ -3,6 +3,5 @@ "@babel/preset-env", "@babel/preset-react", "@babel/preset-typescript" - ], - "plugins": ["@babel/plugin-proposal-class-properties"] + ] } diff --git a/packages/redux-devtools-rtk-query-monitor/.babelrc b/packages/redux-devtools-rtk-query-monitor/.babelrc index 0d42ef44..202d425a 100644 --- a/packages/redux-devtools-rtk-query-monitor/.babelrc +++ b/packages/redux-devtools-rtk-query-monitor/.babelrc @@ -3,6 +3,5 @@ "@babel/preset-env", "@babel/preset-react", "@babel/preset-typescript" - ], - "plugins": ["@babel/plugin-proposal-class-properties"] + ] } diff --git a/packages/redux-devtools-rtk-query-monitor/demo/.babelrc b/packages/redux-devtools-rtk-query-monitor/demo/.babelrc index 7a337702..d6bf93bd 100644 --- a/packages/redux-devtools-rtk-query-monitor/demo/.babelrc +++ b/packages/redux-devtools-rtk-query-monitor/demo/.babelrc @@ -4,8 +4,5 @@ "@babel/preset-react", "@babel/preset-typescript" ], - "plugins": [ - "@babel/plugin-proposal-class-properties", - "@babel/plugin-transform-runtime" - ] + "plugins": ["@babel/plugin-transform-runtime"] } diff --git a/packages/redux-devtools-serialize/.babelrc b/packages/redux-devtools-serialize/.babelrc index 5259cd24..3313ff9e 100644 --- a/packages/redux-devtools-serialize/.babelrc +++ b/packages/redux-devtools-serialize/.babelrc @@ -1,4 +1,3 @@ { - "presets": ["@babel/preset-env", "@babel/preset-typescript"], - "plugins": ["@babel/plugin-proposal-class-properties"] + "presets": ["@babel/preset-env", "@babel/preset-typescript"] } diff --git a/packages/redux-devtools-slider-monitor/.babelrc b/packages/redux-devtools-slider-monitor/.babelrc index 0d42ef44..202d425a 100644 --- a/packages/redux-devtools-slider-monitor/.babelrc +++ b/packages/redux-devtools-slider-monitor/.babelrc @@ -3,6 +3,5 @@ "@babel/preset-env", "@babel/preset-react", "@babel/preset-typescript" - ], - "plugins": ["@babel/plugin-proposal-class-properties"] + ] } diff --git a/packages/redux-devtools-slider-monitor/examples/todomvc/.babelrc b/packages/redux-devtools-slider-monitor/examples/todomvc/.babelrc index a01c7adc..ed30a6fd 100644 --- a/packages/redux-devtools-slider-monitor/examples/todomvc/.babelrc +++ b/packages/redux-devtools-slider-monitor/examples/todomvc/.babelrc @@ -4,8 +4,5 @@ "@babel/preset-react", "@babel/preset-typescript" ], - "plugins": [ - "@babel/plugin-proposal-class-properties", - "react-hot-loader/babel" - ] + "plugins": ["react-hot-loader/babel"] } diff --git a/packages/redux-devtools-utils/.babelrc b/packages/redux-devtools-utils/.babelrc index 0d42ef44..202d425a 100644 --- a/packages/redux-devtools-utils/.babelrc +++ b/packages/redux-devtools-utils/.babelrc @@ -3,6 +3,5 @@ "@babel/preset-env", "@babel/preset-react", "@babel/preset-typescript" - ], - "plugins": ["@babel/plugin-proposal-class-properties"] + ] } diff --git a/packages/redux-devtools/.babelrc b/packages/redux-devtools/.babelrc index 0d42ef44..202d425a 100644 --- a/packages/redux-devtools/.babelrc +++ b/packages/redux-devtools/.babelrc @@ -3,6 +3,5 @@ "@babel/preset-env", "@babel/preset-react", "@babel/preset-typescript" - ], - "plugins": ["@babel/plugin-proposal-class-properties"] + ] } diff --git a/packages/redux-devtools/examples/counter/.babelrc b/packages/redux-devtools/examples/counter/.babelrc index a01c7adc..ed30a6fd 100644 --- a/packages/redux-devtools/examples/counter/.babelrc +++ b/packages/redux-devtools/examples/counter/.babelrc @@ -4,8 +4,5 @@ "@babel/preset-react", "@babel/preset-typescript" ], - "plugins": [ - "@babel/plugin-proposal-class-properties", - "react-hot-loader/babel" - ] + "plugins": ["react-hot-loader/babel"] } diff --git a/packages/redux-devtools/examples/todomvc/.babelrc b/packages/redux-devtools/examples/todomvc/.babelrc index a01c7adc..ed30a6fd 100644 --- a/packages/redux-devtools/examples/todomvc/.babelrc +++ b/packages/redux-devtools/examples/todomvc/.babelrc @@ -4,8 +4,5 @@ "@babel/preset-react", "@babel/preset-typescript" ], - "plugins": [ - "@babel/plugin-proposal-class-properties", - "react-hot-loader/babel" - ] + "plugins": ["react-hot-loader/babel"] }