Skip to content

Commit

Permalink
build(rollup): upgrade rollup from 1.x to 2.x (#1645)
Browse files Browse the repository at this point in the history
upgrade rollup and susequent dependencies from 1.x to 2.x
  • Loading branch information
AtofStryker authored Aug 18, 2020
1 parent 39be102 commit 8af56d2
Show file tree
Hide file tree
Showing 4 changed files with 151 additions and 138 deletions.
16 changes: 8 additions & 8 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -33,12 +33,12 @@
"flow-bin": "^0.131.0",
"lerna": "^3.20.2",
"markdown-it-include": "^1.0.0",
"rollup": "1",
"rollup-plugin-buble": "^0.19",
"rollup-plugin-commonjs": "10",
"rollup-plugin-flow-no-whitespace": "1",
"rollup-plugin-json": "4",
"rollup-plugin-node-resolve": "5",
"rollup": "^2.23.0",
"@rollup/plugin-buble": "^0.21.3",
"@rollup/plugin-commonjs": "^14.0.0",
"rollup-plugin-flow-no-whitespace": "^1.0.0",
"@rollup/plugin-json": "^4.1.0",
"@rollup/plugin-node-resolve": "^8.4.0",
"semver": "^6.3.0",
"typescript": "^3.9.7",
"vee-validate": "^2.1.3",
Expand Down Expand Up @@ -89,8 +89,8 @@
"lint-staged": "^9.5.0",
"prettier": "^1.16.0",
"puppeteer": "^5.2.1",
"rollup-plugin-delete": "^1.2.0",
"rollup-plugin-replace": "^2.2.0",
"rollup-plugin-delete": "^2.0.0",
"@rollup/plugin-replace": "^2.3.3",
"vue-jest": "^4.0.0-beta.3",
"vue-loader": "^15.9.3",
"vue-style-loader": "^4.1.2",
Expand Down
8 changes: 4 additions & 4 deletions packages/server-test-utils/scripts/build.js
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
const rollup = require('rollup').rollup
const flow = require('rollup-plugin-flow-no-whitespace')
const resolve = require('path').resolve
const buble = require('rollup-plugin-buble')
const nodeResolve = require('rollup-plugin-node-resolve')
const commonjs = require('rollup-plugin-commonjs')
const buble = require('@rollup/plugin-buble')
const nodeResolve = require('@rollup/plugin-node-resolve').nodeResolve
const commonjs = require('@rollup/plugin-commonjs')
const chalk = require('chalk')
const json = require('rollup-plugin-json')
const json = require('@rollup/plugin-json')

function success(text) {
console.log(chalk.green(`${text} ✔`))
Expand Down
10 changes: 5 additions & 5 deletions packages/test-utils/scripts/build.js
Original file line number Diff line number Diff line change
@@ -1,12 +1,12 @@
const rollup = require('rollup').rollup
const flow = require('rollup-plugin-flow-no-whitespace')
const resolve = require('path').resolve
const buble = require('rollup-plugin-buble')
const nodeResolve = require('rollup-plugin-node-resolve')
const commonjs = require('rollup-plugin-commonjs')
const buble = require('@rollup/plugin-buble')
const nodeResolve = require('@rollup/plugin-node-resolve').nodeResolve
const commonjs = require('@rollup/plugin-commonjs')
const chalk = require('chalk')
const json = require('rollup-plugin-json')
const replace = require('rollup-plugin-replace')
const json = require('@rollup/plugin-json')
const replace = require('@rollup/plugin-replace')
const del = require('rollup-plugin-delete')

function success(text) {
Expand Down
Loading

0 comments on commit 8af56d2

Please sign in to comment.