Skip to content

Commit e870ce8

Browse files
committed
chore(package): update build config
1 parent 6a84829 commit e870ce8

File tree

3 files changed

+11
-29
lines changed

3 files changed

+11
-29
lines changed

package.json

+1-2
Original file line numberDiff line numberDiff line change
@@ -30,14 +30,14 @@
3030
"@babel/plugin-proposal-class-properties": "^7.12.1",
3131
"@babel/preset-env": "^7.12.7",
3232
"@babel/preset-flow": "^7.12.1",
33+
"@rollup/plugin-babel": "^5.2.2",
3334
"@rollup/plugin-commonjs": "^17.0.0",
3435
"@semantic-release/changelog": "^5.0.1",
3536
"@semantic-release/commit-analyzer": "^8.0.1",
3637
"@semantic-release/git": "^9.0.0",
3738
"@semantic-release/github": "^7.2.0",
3839
"@semantic-release/npm": "^7.0.8",
3940
"@semantic-release/release-notes-generator": "^9.0.1",
40-
"babel-core": "^7.0.0-bridge.0",
4141
"babel-eslint": "^10.1.0",
4242
"babel-jest": "^26.6.3",
4343
"eslint": "^7.14.0",
@@ -53,7 +53,6 @@
5353
"markdownlint": "^0.22.0",
5454
"prettier": "^2.2.1",
5555
"rollup": "^2.34.0",
56-
"rollup-plugin-babel": "^4.4.0",
5756
"rollup-plugin-clear": "^2.0.7",
5857
"rollup-plugin-flow-entry": "^0.3.4",
5958
"semantic-release": "^17.3.0",

rollup.config.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
import commonjs from '@rollup/plugin-commonjs';
2-
import babel from 'rollup-plugin-babel';
2+
import babel from '@rollup/plugin-babel';
33
import flowEntry from 'rollup-plugin-flow-entry';
44
import clear from 'rollup-plugin-clear';
55

yarn.lock

+9-26
Original file line numberDiff line numberDiff line change
@@ -135,7 +135,7 @@
135135
dependencies:
136136
"@babel/types" "^7.12.7"
137137

138-
"@babel/helper-module-imports@^7.0.0", "@babel/helper-module-imports@^7.12.1", "@babel/helper-module-imports@^7.12.5":
138+
"@babel/helper-module-imports@^7.10.4", "@babel/helper-module-imports@^7.12.1", "@babel/helper-module-imports@^7.12.5":
139139
version "7.12.5"
140140
resolved "https://registry.yarnpkg.com/@babel/helper-module-imports/-/helper-module-imports-7.12.5.tgz#1bfc0229f794988f76ed0a4d4e90860850b54dfb"
141141
integrity sha512-SR713Ogqg6++uexFRORf/+nPXMmWIn80TALu0uaFb+iQIUoR7bOC7zBWyzBs5b3tBBJXuyD0cRu1F15GyzjOWA==
@@ -1254,6 +1254,14 @@
12541254
"@octokit/openapi-types" "^1.2.0"
12551255
"@types/node" ">= 8"
12561256

1257+
"@rollup/plugin-babel@^5.2.2":
1258+
version "5.2.2"
1259+
resolved "https://registry.yarnpkg.com/@rollup/plugin-babel/-/plugin-babel-5.2.2.tgz#e5623a01dd8e37e004ba87f2de218c611727d9b2"
1260+
integrity sha512-MjmH7GvFT4TW8xFdIeFS3wqIX646y5tACdxkTO+khbHvS3ZcVJL6vkAHLw2wqPmkhwCfWHoNsp15VYNwW6JEJA==
1261+
dependencies:
1262+
"@babel/helper-module-imports" "^7.10.4"
1263+
"@rollup/pluginutils" "^3.1.0"
1264+
12571265
"@rollup/plugin-commonjs@^17.0.0":
12581266
version "17.0.0"
12591267
resolved "https://registry.yarnpkg.com/@rollup/plugin-commonjs/-/plugin-commonjs-17.0.0.tgz#2ae2228354cf0fbba6cf9f06f30b2c66a974324c"
@@ -1874,11 +1882,6 @@ aws4@^1.8.0:
18741882
resolved "https://registry.yarnpkg.com/aws4/-/aws4-1.11.0.tgz#d61f46d83b2519250e2784daf5b09479a8b41c59"
18751883
integrity sha512-xh1Rl34h6Fi1DC2WWKfxUTVqRsNnr6LsKz2+hfwDxQJWmrx8+c7ylaqBMcHfl1U1r2dsifOvKX3LQuLNZ+XSvA==
18761884

1877-
babel-core@^7.0.0-bridge.0:
1878-
version "7.0.0-bridge.0"
1879-
resolved "https://registry.yarnpkg.com/babel-core/-/babel-core-7.0.0-bridge.0.tgz#95a492ddd90f9b4e9a4a1da14eb335b87b634ece"
1880-
integrity sha512-poPX9mZH/5CSanm50Q+1toVci6pv5KSRv/5TWCwtzQS5XEwn40BcCrgIeMFWP9CKKIniKXNxoIOnOq4VVlGXhg==
1881-
18821885
babel-eslint@^10.1.0:
18831886
version "10.1.0"
18841887
resolved "https://registry.yarnpkg.com/babel-eslint/-/babel-eslint-10.1.0.tgz#6968e568a910b78fb3779cdd8b6ac2f479943232"
@@ -3341,11 +3344,6 @@ estraverse@^5.1.0, estraverse@^5.2.0:
33413344
resolved "https://registry.yarnpkg.com/estraverse/-/estraverse-5.2.0.tgz#307df42547e6cc7324d3cf03c155d5cdb8c53880"
33423345
integrity sha512-BxbNGGNm0RyRYvUdHpIwv9IWzeM9XClbOxwoATuFdOE7ZE6wHL+HQ5T8hoPM+zHvmKzzsEqhgy0GrQ5X13afiQ==
33433346

3344-
estree-walker@^0.6.1:
3345-
version "0.6.1"
3346-
resolved "https://registry.yarnpkg.com/estree-walker/-/estree-walker-0.6.1.tgz#53049143f40c6eb918b23671d1fe3219f3a1b362"
3347-
integrity sha512-SqmZANLWS0mnatqbSfRP5g8OXZC12Fgg1IwNtLsyHDzJizORW4khDfjPqJZsemPWBB2uqykUah5YpQ6epsqC/w==
3348-
33493347
estree-walker@^1.0.1:
33503348
version "1.0.1"
33513349
resolved "https://registry.yarnpkg.com/estree-walker/-/estree-walker-1.0.1.tgz#31bc5d612c96b704106b477e6dd5d8aa138cb700"
@@ -7478,14 +7476,6 @@ rimraf@^3.0.0, rimraf@^3.0.2:
74787476
dependencies:
74797477
glob "^7.1.3"
74807478

7481-
rollup-plugin-babel@^4.4.0:
7482-
version "4.4.0"
7483-
resolved "https://registry.yarnpkg.com/rollup-plugin-babel/-/rollup-plugin-babel-4.4.0.tgz#d15bd259466a9d1accbdb2fe2fff17c52d030acb"
7484-
integrity sha512-Lek/TYp1+7g7I+uMfJnnSJ7YWoD58ajo6Oarhlex7lvUce+RCKRuGRSgztDO3/MF/PuGKmUL5iTHKf208UNszw==
7485-
dependencies:
7486-
"@babel/helper-module-imports" "^7.0.0"
7487-
rollup-pluginutils "^2.8.1"
7488-
74897479
rollup-plugin-clear@^2.0.7:
74907480
version "2.0.7"
74917481
resolved "https://registry.yarnpkg.com/rollup-plugin-clear/-/rollup-plugin-clear-2.0.7.tgz#27a191bccb3964246ca2aad427e8798cbe87c9b1"
@@ -7498,13 +7488,6 @@ rollup-plugin-flow-entry@^0.3.4:
74987488
resolved "https://registry.yarnpkg.com/rollup-plugin-flow-entry/-/rollup-plugin-flow-entry-0.3.4.tgz#a7fcc334b7094889e60fa57224b0a1006882d15d"
74997489
integrity sha512-fYCgSB4y+gMJbJTpsIqR65mPhmLh6rH9CQx3lN9SQ6bQzyMXGuYu2GEIT/SeSOeZAgkAyyi8EnFykcaKH+sZtw==
75007490

7501-
rollup-pluginutils@^2.8.1:
7502-
version "2.8.2"
7503-
resolved "https://registry.yarnpkg.com/rollup-pluginutils/-/rollup-pluginutils-2.8.2.tgz#72f2af0748b592364dbd3389e600e5a9444a351e"
7504-
integrity sha512-EEp9NhnUkwY8aif6bxgovPHMoMoNr2FulJziTndpt5H9RdwC47GSGuII9XxpSdzVGM0GWrNPHV6ie1LTNJPaLQ==
7505-
dependencies:
7506-
estree-walker "^0.6.1"
7507-
75087491
rollup@^2.34.0:
75097492
version "2.34.0"
75107493
resolved "https://registry.yarnpkg.com/rollup/-/rollup-2.34.0.tgz#ecc7f1d4ce2cb88bb51bec2f56b984f3c35b8271"

0 commit comments

Comments
 (0)