Skip to content

Commit

Permalink
chore: switch babel plugin
Browse files Browse the repository at this point in the history
  • Loading branch information
Caele committed Jan 12, 2023
1 parent 3648c9a commit f8df24f
Show file tree
Hide file tree
Showing 9 changed files with 18 additions and 18 deletions.
2 changes: 1 addition & 1 deletion apis/snapshooter/rollup.config.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
const path = require('path');
const babel = require('rollup-plugin-babel'); // eslint-disable-line
const babel = require('@rollup/plugin-babel'); // eslint-disable-line
const { terser } = require('rollup-plugin-terser'); // eslint-disable-line

const cwd = process.cwd();
Expand Down
2 changes: 1 addition & 1 deletion commands/build/lib/build.js
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ const fs = require('fs');
const extend = require('extend');
const yargs = require('yargs');
const rollup = require('rollup');
const babel = require('rollup-plugin-babel');
const babel = require('@rollup/plugin-babel');
const postcss = require('rollup-plugin-postcss');
const replace = require('@rollup/plugin-replace');
const sourcemaps = require('rollup-plugin-sourcemaps');
Expand Down
2 changes: 1 addition & 1 deletion commands/build/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,7 @@
"@babel/core": "7.20.12",
"@babel/plugin-transform-react-jsx": "7.20.7",
"@babel/preset-env": "7.20.2",
"@rollup/plugin-babel": "6.0.3",
"@rollup/plugin-commonjs": "23.0.7",
"@rollup/plugin-json": "6.0.0",
"@rollup/plugin-node-resolve": "15.0.1",
Expand All @@ -33,7 +34,6 @@
"extend": "3.0.2",
"postcss": "^8.4.21",
"rollup": "3.10.0",
"rollup-plugin-babel": "4.4.0",
"rollup-plugin-postcss": "4.0.2",
"rollup-plugin-sourcemaps": "0.6.3",
"rollup-plugin-terser": "7.0.2",
Expand Down
2 changes: 1 addition & 1 deletion commands/sense/lib/build-legacy.js
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ const rollup = require('rollup');
const { nodeResolve } = require('@rollup/plugin-node-resolve');
const common = require('@rollup/plugin-commonjs');
const replace = require('@rollup/plugin-replace');
const babel = require('rollup-plugin-babel');
const babel = require('@rollup/plugin-babel');
const { terser } = require('rollup-plugin-terser');

async function build(argv) {
Expand Down
2 changes: 1 addition & 1 deletion commands/sense/lib/build.js
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ const fs = require('fs-extra');
const rollup = require('rollup');
const { nodeResolve } = require('@rollup/plugin-node-resolve');
const common = require('@rollup/plugin-commonjs');
const babel = require('rollup-plugin-babel');
const babel = require('@rollup/plugin-babel');
const { terser } = require('rollup-plugin-terser');

async function build(argv) {
Expand Down
2 changes: 1 addition & 1 deletion commands/sense/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -31,14 +31,14 @@
"@babel/core": "7.20.12",
"@babel/preset-env": "7.20.2",
"@nebula.js/stardust": "^3.1.0-alpha.3",
"@rollup/plugin-babel": "6.0.3",
"@rollup/plugin-commonjs": "23.0.7",
"@rollup/plugin-node-resolve": "15.0.1",
"@rollup/plugin-replace": "5.0.2",
"extend": "3.0.2",
"fs-extra": "11.1.0",
"node-event-emitter": "0.0.1",
"rollup": "3.10.0",
"rollup-plugin-babel": "4.4.0",
"rollup-plugin-terser": "7.0.2",
"yargs": "17.6.2"
}
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -47,6 +47,7 @@
"@babel/preset-react": "7.18.6",
"@commitlint/cli": "17.4.1",
"@commitlint/config-conventional": "17.4.0",
"@rollup/plugin-babel": "6.0.3",
"@rollup/plugin-commonjs": "23.0.7",
"@rollup/plugin-json": "6.0.0",
"@rollup/plugin-node-resolve": "15.0.1",
Expand Down Expand Up @@ -96,7 +97,6 @@
"puppeteer": "19.5.2",
"qix-faker": "0.3.0",
"rollup": "3.10.0",
"rollup-plugin-babel": "4.4.0",
"rollup-plugin-dependency-flow": "0.3.0",
"rollup-plugin-sass": "1.12.17",
"rollup-plugin-terser": "7.0.2",
Expand Down
2 changes: 1 addition & 1 deletion rollup.config.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
const path = require('path');
const babel = require('rollup-plugin-babel');
const babel = require('@rollup/plugin-babel');
const commonjs = require('@rollup/plugin-commonjs');
const json = require('@rollup/plugin-json');
const { nodeResolve } = require('@rollup/plugin-node-resolve');
Expand Down
20 changes: 10 additions & 10 deletions yarn.lock
Original file line number Diff line number Diff line change
Expand Up @@ -672,7 +672,7 @@
dependencies:
"@babel/types" "^7.18.9"

"@babel/helper-module-imports@^7.0.0", "@babel/helper-module-imports@^7.12.13", "@babel/helper-module-imports@^7.16.7":
"@babel/helper-module-imports@^7.12.13", "@babel/helper-module-imports@^7.16.7":
version "7.16.7"
resolved "https://registry.yarnpkg.com/@babel/helper-module-imports/-/helper-module-imports-7.16.7.tgz#25612a8091a999704461c8a222d0efec5d091437"
integrity sha512-LVtS6TqjJHFc+nYeITRo6VLXve70xmq7wPhWTqDJusJEgGmkAACWwMiTNrvfoQo6hEhFwAIixNkvB0jPXDL8Wg==
Expand Down Expand Up @@ -5163,6 +5163,14 @@
resolved "https://registry.yarnpkg.com/@remix-run/router/-/router-1.2.1.tgz#812edd4104a15a493dda1ccac0b352270d7a188c"
integrity sha512-XiY0IsyHR+DXYS5vBxpoBe/8veTeoRpMHP+vDosLZxL5bnpetzI0igkxkLZS235ldLzyfkxF+2divEwWHP3vMQ==

"@rollup/plugin-babel@6.0.3":
version "6.0.3"
resolved "https://registry.yarnpkg.com/@rollup/plugin-babel/-/plugin-babel-6.0.3.tgz#07ccde15de278c581673034ad6accdb4a153dfeb"
integrity sha512-fKImZKppa1A/gX73eg4JGo+8kQr/q1HBQaCGKECZ0v4YBBv3lFqi14+7xyApECzvkLTHCifx+7ntcrvtBIRcpg==
dependencies:
"@babel/helper-module-imports" "^7.18.6"
"@rollup/pluginutils" "^5.0.1"

"@rollup/plugin-commonjs@23.0.7":
version "23.0.7"
resolved "https://registry.yarnpkg.com/@rollup/plugin-commonjs/-/plugin-commonjs-23.0.7.tgz#7d26d879caa54283086de1974b66f512ef60abdc"
Expand Down Expand Up @@ -19270,14 +19278,6 @@ ripemd160@^2.0.0, ripemd160@^2.0.1:
hash-base "^3.0.0"
inherits "^2.0.1"

rollup-plugin-babel@4.4.0:
version "4.4.0"
resolved "https://registry.yarnpkg.com/rollup-plugin-babel/-/rollup-plugin-babel-4.4.0.tgz#d15bd259466a9d1accbdb2fe2fff17c52d030acb"
integrity sha512-Lek/TYp1+7g7I+uMfJnnSJ7YWoD58ajo6Oarhlex7lvUce+RCKRuGRSgztDO3/MF/PuGKmUL5iTHKf208UNszw==
dependencies:
"@babel/helper-module-imports" "^7.0.0"
rollup-pluginutils "^2.8.1"

rollup-plugin-dependency-flow@0.3.0:
version "0.3.0"
resolved "https://registry.yarnpkg.com/rollup-plugin-dependency-flow/-/rollup-plugin-dependency-flow-0.3.0.tgz#9208799190eb29ecb09482289011d2b9ecb714e7"
Expand Down Expand Up @@ -19331,7 +19331,7 @@ rollup-plugin-terser@7.0.2:
serialize-javascript "^4.0.0"
terser "^5.0.0"

rollup-pluginutils@^2.8.1, rollup-pluginutils@^2.8.2:
rollup-pluginutils@^2.8.2:
version "2.8.2"
resolved "https://registry.yarnpkg.com/rollup-pluginutils/-/rollup-pluginutils-2.8.2.tgz#72f2af0748b592364dbd3389e600e5a9444a351e"
integrity sha512-EEp9NhnUkwY8aif6bxgovPHMoMoNr2FulJziTndpt5H9RdwC47GSGuII9XxpSdzVGM0GWrNPHV6ie1LTNJPaLQ==
Expand Down

0 comments on commit f8df24f

Please sign in to comment.