build(deps-dev): use rollup plugins from the new official repo (#468)

This commit is contained in:
Yida 2019-11-19 22:02:46 +08:00 committed by Evan You
parent 825e231ccf
commit f87dbea1f8
3 changed files with 28 additions and 28 deletions

View File

@ -33,6 +33,9 @@
},
"devDependencies": {
"@microsoft/api-extractor": "^7.3.9",
"@rollup/plugin-alias": "^2.2.0",
"@rollup/plugin-json": "^4.0.0",
"@rollup/plugin-replace": "^2.2.1",
"@types/jest": "^24.0.21",
"brotli": "^1.3.2",
"chalk": "^2.4.2",
@ -44,9 +47,6 @@
"minimist": "^1.2.0",
"prettier": "~1.14.0",
"rollup": "^1.19.4",
"rollup-plugin-alias": "^2.0.0",
"rollup-plugin-json": "^4.0.0",
"rollup-plugin-replace": "^2.2.0",
"rollup-plugin-terser": "^5.1.1",
"rollup-plugin-typescript2": "^0.24.0",
"ts-jest": "^24.0.2",

View File

@ -1,9 +1,9 @@
import fs from 'fs'
import path from 'path'
import ts from 'rollup-plugin-typescript2'
import replace from 'rollup-plugin-replace'
import alias from 'rollup-plugin-alias'
import json from 'rollup-plugin-json'
import replace from '@rollup/plugin-replace'
import alias from '@rollup/plugin-alias'
import json from '@rollup/plugin-json'
import lernaJson from './lerna.json'
if (!process.env.TARGET) {

View File

@ -1162,6 +1162,28 @@
universal-user-agent "^3.0.0"
url-template "^2.0.8"
"@rollup/plugin-alias@^2.2.0":
version "2.2.0"
resolved "https://registry.npm.taobao.org/@rollup/plugin-alias/download/@rollup/plugin-alias-2.2.0.tgz#3ac52ece8b39583249884adb90fb316484389fe5"
integrity sha1-OsUuzos5WDJJiErbkPsxZIQ4n+U=
dependencies:
slash "^3.0.0"
"@rollup/plugin-json@^4.0.0":
version "4.0.0"
resolved "https://registry.npm.taobao.org/@rollup/plugin-json/download/@rollup/plugin-json-4.0.0.tgz#4462e83c7ad5544bef4a601a6e8450daedc4b69b"
integrity sha1-RGLoPHrVVEvvSmAaboRQ2u3Etps=
dependencies:
rollup-pluginutils "^2.5.0"
"@rollup/plugin-replace@^2.2.1":
version "2.2.1"
resolved "https://registry.npm.taobao.org/@rollup/plugin-replace/download/@rollup/plugin-replace-2.2.1.tgz#94af20cb3d70cccdcec991d1f97dd373936ec544"
integrity sha1-lK8gyz1wzM3OyZHR+X3Tc5NuxUQ=
dependencies:
magic-string "^0.25.2"
rollup-pluginutils "^2.6.0"
"@samverschueren/stream-to-observable@^0.3.0":
version "0.3.0"
resolved "https://registry.yarnpkg.com/@samverschueren/stream-to-observable/-/stream-to-observable-0.3.0.tgz#ecdf48d532c58ea477acfcab80348424f8d0662f"
@ -6319,28 +6341,6 @@ rimraf@^2.6.3:
dependencies:
glob "^7.1.3"
rollup-plugin-alias@^2.0.0:
version "2.2.0"
resolved "https://registry.yarnpkg.com/rollup-plugin-alias/-/rollup-plugin-alias-2.2.0.tgz#5004a2bc542a2eebb45b5a0fff8c6f540439decc"
integrity sha512-9ZK410qeFed4gGrHoojBpxLsHF74vPgsheGg9JRW5RbALAxqdvJbd357mSqWBqUrBfRVnZnNUXTZdYLxxQEA5A==
dependencies:
slash "^3.0.0"
rollup-plugin-json@^4.0.0:
version "4.0.0"
resolved "https://registry.yarnpkg.com/rollup-plugin-json/-/rollup-plugin-json-4.0.0.tgz#a18da0a4b30bf5ca1ee76ddb1422afbb84ae2b9e"
integrity sha512-hgb8N7Cgfw5SZAkb3jf0QXii6QX/FOkiIq2M7BAQIEydjHvTyxXHQiIzZaTFgx1GK0cRCHOCBHIyEkkLdWKxow==
dependencies:
rollup-pluginutils "^2.5.0"
rollup-plugin-replace@^2.2.0:
version "2.2.0"
resolved "https://registry.yarnpkg.com/rollup-plugin-replace/-/rollup-plugin-replace-2.2.0.tgz#f41ae5372e11e7a217cde349c8b5d5fd115e70e3"
integrity sha512-/5bxtUPkDHyBJAKketb4NfaeZjL5yLZdeUihSfbF2PQMz+rSTEb8ARKoOl3UBT4m7/X+QOXJo3sLTcq+yMMYTA==
dependencies:
magic-string "^0.25.2"
rollup-pluginutils "^2.6.0"
rollup-plugin-terser@^5.1.1:
version "5.1.2"
resolved "https://registry.yarnpkg.com/rollup-plugin-terser/-/rollup-plugin-terser-5.1.2.tgz#3e41256205cb75f196fc70d4634227d1002c255c"