Skip to content

Commit cfc1e76

Browse files
SKaltjaredpalmer
authored andcommitted
upgraded rollup-plugin-'s to @rollup/plugin-'s. (#411)
Specifically, rollup-plugin-node-resolve and rollup-plugin-commonjs.
1 parent 35fa947 commit cfc1e76

3 files changed

Lines changed: 41 additions & 27 deletions

File tree

package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,9 @@
4444
"@babel/plugin-transform-runtime": "^7.6.0",
4545
"@babel/polyfill": "^7.4.4",
4646
"@babel/preset-env": "^7.4.4",
47+
"@rollup/plugin-commonjs": "^11.0.0",
4748
"@rollup/plugin-json": "^4.0.0",
49+
"@rollup/plugin-node-resolve": "^6.0.0",
4850
"@rollup/plugin-replace": "^2.2.1",
4951
"@types/rimraf": "^2.0.2",
5052
"@types/shelljs": "^0.8.5",
@@ -89,8 +91,6 @@
8991
"rimraf": "^3.0.0",
9092
"rollup": "^1.27.8",
9193
"rollup-plugin-babel": "^4.3.2",
92-
"rollup-plugin-commonjs": "^10.0.0",
93-
"rollup-plugin-node-resolve": "^5.0.0",
9494
"rollup-plugin-sourcemaps": "^0.4.2",
9595
"rollup-plugin-terser": "^5.1.2",
9696
"rollup-plugin-typescript2": "^0.25.3",

src/createRollupConfig.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,10 +4,10 @@ import { RollupOptions } from 'rollup';
44
import { terser } from 'rollup-plugin-terser';
55
import { DEFAULT_EXTENSIONS } from '@babel/core';
66
// import babel from 'rollup-plugin-babel';
7-
import commonjs from 'rollup-plugin-commonjs';
7+
import commonjs from '@rollup/plugin-commonjs';
88
import json from '@rollup/plugin-json';
99
import replace from '@rollup/plugin-replace';
10-
import resolve from 'rollup-plugin-node-resolve';
10+
import resolve from '@rollup/plugin-node-resolve';
1111
import sourceMaps from 'rollup-plugin-sourcemaps';
1212
import typescript from 'rollup-plugin-typescript2';
1313
import { extractErrors } from './errors/extractErrors';

yarn.lock

Lines changed: 37 additions & 23 deletions
Original file line numberDiff line numberDiff line change
@@ -889,13 +889,35 @@
889889
"@types/istanbul-reports" "^1.1.1"
890890
"@types/yargs" "^13.0.0"
891891

892+
"@rollup/plugin-commonjs@^11.0.0":
893+
version "11.0.0"
894+
resolved "https://registry.yarnpkg.com/@rollup/plugin-commonjs/-/plugin-commonjs-11.0.0.tgz#a6675e56094ac9c797c19a3986378289396a9dd5"
895+
integrity sha512-jnm//T5ZWOZ6zmJ61fReSCBOif+Ax8dHVoVggA+d2NA7T4qCWgQ3KYr+zN2faGEYLpe1wa03IzvhR+sqVLxUWg==
896+
dependencies:
897+
"@rollup/pluginutils" "^3.0.0"
898+
estree-walker "^0.6.1"
899+
is-reference "^1.1.2"
900+
magic-string "^0.25.2"
901+
resolve "^1.11.0"
902+
892903
"@rollup/plugin-json@^4.0.0":
893904
version "4.0.0"
894905
resolved "https://registry.yarnpkg.com/@rollup/plugin-json/-/plugin-json-4.0.0.tgz#4462e83c7ad5544bef4a601a6e8450daedc4b69b"
895906
integrity sha512-Z65CtEVWv40+ri4CvmswyhtuUtki9yP5p0UJN/GyCKKyU4jRuDS9CG0ZuV7/XuS7zGkoajyE7E4XBEaC4GW62A==
896907
dependencies:
897908
rollup-pluginutils "^2.5.0"
898909

910+
"@rollup/plugin-node-resolve@^6.0.0":
911+
version "6.0.0"
912+
resolved "https://registry.yarnpkg.com/@rollup/plugin-node-resolve/-/plugin-node-resolve-6.0.0.tgz#f351e29b45c007c17df4e28a0efd0d1f5662f59b"
913+
integrity sha512-GqWz1CfXOsqpeVMcoM315+O7zMxpRsmhWyhJoxLFHVSp9S64/u02i7len/FnbTNbmgYs+sZyilasijH8UiuboQ==
914+
dependencies:
915+
"@rollup/pluginutils" "^3.0.0"
916+
"@types/resolve" "0.0.8"
917+
builtin-modules "^3.1.0"
918+
is-module "^1.0.0"
919+
resolve "^1.11.1"
920+
899921
"@rollup/plugin-replace@^2.2.1":
900922
version "2.2.1"
901923
resolved "https://registry.yarnpkg.com/@rollup/plugin-replace/-/plugin-replace-2.2.1.tgz#94af20cb3d70cccdcec991d1f97dd373936ec544"
@@ -904,6 +926,13 @@
904926
magic-string "^0.25.2"
905927
rollup-pluginutils "^2.6.0"
906928

929+
"@rollup/pluginutils@^3.0.0":
930+
version "3.0.1"
931+
resolved "https://registry.yarnpkg.com/@rollup/pluginutils/-/pluginutils-3.0.1.tgz#6923a24c4a0db2917e5c77b1ed7d6721ac7fe58e"
932+
integrity sha512-PmNurkecagFimv7ZdKCVOfQuqKDPkrcpLFxRBcQ00LYr4HAjJwhCFxBiY2Xoletll2htTIiXBg6g0Yg21h2M3w==
933+
dependencies:
934+
estree-walker "^0.6.1"
935+
907936
"@textlint/ast-node-types@^4.0.3":
908937
version "4.2.5"
909938
resolved "https://registry.yarnpkg.com/@textlint/ast-node-types/-/ast-node-types-4.2.5.tgz#ae13981bc8711c98313a6ac1c361194d6bf2d39b"
@@ -5560,13 +5589,20 @@ [email protected]:
55605589
dependencies:
55615590
path-parse "^1.0.6"
55625591

5563-
[email protected], resolve@^1.1.6, resolve@^1.10.0, resolve@^1.11.0, resolve@^1.11.1, resolve@^1.12.0, resolve@^1.13.1, resolve@^1.3.2, resolve@^1.5.0, resolve@^1.8.1:
5592+
[email protected], resolve@^1.1.6, resolve@^1.10.0, resolve@^1.11.0, resolve@^1.12.0, resolve@^1.13.1, resolve@^1.3.2, resolve@^1.5.0, resolve@^1.8.1:
55645593
version "1.13.1"
55655594
resolved "https://registry.yarnpkg.com/resolve/-/resolve-1.13.1.tgz#be0aa4c06acd53083505abb35f4d66932ab35d16"
55665595
integrity sha512-CxqObCX8K8YtAhOBRg+lrcdn+LK+WYOS8tSjqSFbjtrI5PnS63QPhZl4+yKfrU9tdsbMu9Anr/amegT87M9Z6w==
55675596
dependencies:
55685597
path-parse "^1.0.6"
55695598

5599+
resolve@^1.11.1:
5600+
version "1.14.1"
5601+
resolved "https://registry.yarnpkg.com/resolve/-/resolve-1.14.1.tgz#9e018c540fcf0c427d678b9931cbf45e984bcaff"
5602+
integrity sha512-fn5Wobh4cxbLzuHaE+nphztHy43/b++4M6SsGFC2gB8uYwf0C8LcarfCz1un7UTW8OFQg9iNjZ4xpcFVGebDPg==
5603+
dependencies:
5604+
path-parse "^1.0.6"
5605+
55705606
restore-cursor@^2.0.0:
55715607
version "2.0.0"
55725608
resolved "https://registry.yarnpkg.com/restore-cursor/-/restore-cursor-2.0.0.tgz#9f7ee287f82fd326d4fd162923d62129eee0dfaf"
@@ -5617,28 +5653,6 @@ rollup-plugin-babel@^4.3.2:
56175653
"@babel/helper-module-imports" "^7.0.0"
56185654
rollup-pluginutils "^2.8.1"
56195655

5620-
rollup-plugin-commonjs@^10.0.0:
5621-
version "10.1.0"
5622-
resolved "https://registry.yarnpkg.com/rollup-plugin-commonjs/-/rollup-plugin-commonjs-10.1.0.tgz#417af3b54503878e084d127adf4d1caf8beb86fb"
5623-
integrity sha512-jlXbjZSQg8EIeAAvepNwhJj++qJWNJw1Cl0YnOqKtP5Djx+fFGkp3WRh+W0ASCaFG5w1jhmzDxgu3SJuVxPF4Q==
5624-
dependencies:
5625-
estree-walker "^0.6.1"
5626-
is-reference "^1.1.2"
5627-
magic-string "^0.25.2"
5628-
resolve "^1.11.0"
5629-
rollup-pluginutils "^2.8.1"
5630-
5631-
rollup-plugin-node-resolve@^5.0.0:
5632-
version "5.2.0"
5633-
resolved "https://registry.yarnpkg.com/rollup-plugin-node-resolve/-/rollup-plugin-node-resolve-5.2.0.tgz#730f93d10ed202473b1fb54a5997a7db8c6d8523"
5634-
integrity sha512-jUlyaDXts7TW2CqQ4GaO5VJ4PwwaV8VUGA7+km3n6k6xtOEacf61u0VXwN80phY/evMcaS+9eIeJ9MOyDxt5Zw==
5635-
dependencies:
5636-
"@types/resolve" "0.0.8"
5637-
builtin-modules "^3.1.0"
5638-
is-module "^1.0.0"
5639-
resolve "^1.11.1"
5640-
rollup-pluginutils "^2.8.1"
5641-
56425656
rollup-plugin-sourcemaps@^0.4.2:
56435657
version "0.4.2"
56445658
resolved "https://registry.yarnpkg.com/rollup-plugin-sourcemaps/-/rollup-plugin-sourcemaps-0.4.2.tgz#62125aa94087aadf7b83ef4dfaf629b473135e87"

0 commit comments

Comments
 (0)