Commit 3f6a2c29 by Jack Westbrook Committed by GitHub

Chore: bump grafana-ui rollup dependencies (#29315)

* chore(grafana-ui): bump rollup dependencies

* update yarn lock

Co-authored-by: Torkel Ödegaard <torkel@grafana.com>
Co-authored-by: Drone <drone@grafana.com>
parent 61d6dcf9
...@@ -74,9 +74,9 @@ ...@@ -74,9 +74,9 @@
"uplot": "1.4.6" "uplot": "1.4.6"
}, },
"devDependencies": { "devDependencies": {
"@rollup/plugin-commonjs": "11.0.2", "@rollup/plugin-commonjs": "16.0.0",
"@rollup/plugin-image": "2.0.4", "@rollup/plugin-image": "2.0.5",
"@rollup/plugin-node-resolve": "7.1.1", "@rollup/plugin-node-resolve": "10.0.0",
"@storybook/addon-essentials": "6.1.2", "@storybook/addon-essentials": "6.1.2",
"@storybook/addon-controls": "6.1.2", "@storybook/addon-controls": "6.1.2",
"@storybook/addon-knobs": "6.1.2", "@storybook/addon-knobs": "6.1.2",
...@@ -102,11 +102,11 @@ ...@@ -102,11 +102,11 @@
"react-docgen-typescript-loader": "3.7.2", "react-docgen-typescript-loader": "3.7.2",
"react-test-renderer": "16.13.1", "react-test-renderer": "16.13.1",
"react-is": "16.8.0", "react-is": "16.8.0",
"rollup": "2.0.6", "rollup": "2.33.3",
"rollup-plugin-sourcemaps": "0.5.0", "rollup-plugin-sourcemaps": "0.6.3",
"rollup-plugin-terser": "5.3.0", "rollup-plugin-terser": "7.0.2",
"rollup-plugin-typescript2": "0.26.0", "rollup-plugin-typescript2": "0.29.0",
"rollup-plugin-visualizer": "3.3.1", "rollup-plugin-visualizer": "4.2.0",
"storybook-dark-mode": "1.0.3", "storybook-dark-mode": "1.0.3",
"ts-loader": "8.0.11", "ts-loader": "8.0.11",
"typescript": "4.0.2", "typescript": "4.0.2",
......
import resolve from '@rollup/plugin-node-resolve'; import resolve from '@rollup/plugin-node-resolve';
import commonjs from '@rollup/plugin-commonjs'; import commonjs from '@rollup/plugin-commonjs';
import image from '@rollup/plugin-image'; import image from '@rollup/plugin-image';
// import sourceMaps from 'rollup-plugin-sourcemaps';
import { terser } from 'rollup-plugin-terser'; import { terser } from 'rollup-plugin-terser';
const pkg = require('./package.json'); const pkg = require('./package.json');
...@@ -42,51 +41,8 @@ const buildCjsPackage = ({ env }) => { ...@@ -42,51 +41,8 @@ const buildCjsPackage = ({ env }) => {
include: /node_modules/, include: /node_modules/,
// When 'rollup-plugin-commonjs' fails to properly convert the CommonJS modules to ES6 one has to manually name the exports // When 'rollup-plugin-commonjs' fails to properly convert the CommonJS modules to ES6 one has to manually name the exports
// https://github.com/rollup/rollup-plugin-commonjs#custom-named-exports // https://github.com/rollup/rollup-plugin-commonjs#custom-named-exports
namedExports: {
'node_modules/lodash/lodash.js': [
'flatten',
'find',
'upperFirst',
'debounce',
'isNil',
'isNumber',
'flattenDeep',
'map',
'chunk',
'sortBy',
'uniqueId',
'zip',
'omit',
'isString',
'isEmpty',
'toLower',
],
'../../node_modules/react-color/lib/components/common': ['Saturation', 'Hue', 'Alpha'],
'../../node_modules/immutable/dist/immutable.js': [
'Record',
'Set',
'Map',
'List',
'OrderedSet',
'is',
'Stack',
],
'node_modules/immutable/dist/immutable.js': ['Record', 'Set', 'Map', 'List', 'OrderedSet', 'is', 'Stack'],
'../../node_modules/esrever/esrever.js': ['reverse'],
'../../node_modules/react-table/index.js': [
'useTable',
'useSortBy',
'useBlockLayout',
'Cell',
'useResizeColumns',
'useAbsoluteLayout',
'useFilters',
],
'../../node_modules/react-is/index.js': ['isMemo'],
},
}), }),
resolve(), resolve(),
// sourceMaps(),
image(), image(),
env === 'production' && terser(), env === 'production' && terser(),
], ],
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment