Skip to content

Commit

Permalink
Upgrade vega dependency (5.22.15.23.0). (#152541) (#152700)
Browse files Browse the repository at this point in the history
  • Loading branch information
azasypkin authored Mar 6, 2023
1 parent ec690bc commit 0bf0a40
Show file tree
Hide file tree
Showing 5 changed files with 296 additions and 283 deletions.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -921,7 +921,7 @@
"usng.js": "^0.4.5",
"utility-types": "^3.10.0",
"uuid": "9.0.0",
"vega": "^5.22.1",
"vega": "^5.23.0",
"vega-interpreter": "^1.0.4",
"vega-lite": "^5.5.0",
"vega-schema-url-parser": "^2.2.0",
Expand Down
2 changes: 1 addition & 1 deletion packages/kbn-optimizer/src/worker/webpack.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -91,7 +91,7 @@ export function getWebpackConfig(
// already bundled with all its necessary dependencies
noParse: [
/[\/\\]node_modules[\/\\]lodash[\/\\]index\.js$/,
/[\/\\]node_modules[\/\\]vega[\/\\]build[\/\\]vega\.js$/,
/[\/\\]node_modules[\/\\]vega[\/\\]build-es5[\/\\]vega\.js$/,
],

rules: [
Expand Down
5 changes: 5 additions & 0 deletions packages/kbn-storybook/src/webpack.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -75,6 +75,10 @@ export default ({ config: storybookConfig }: { config: Configuration }) => {
},
externals,
module: {
// no parse rules for a few known large packages which have no require() statements
// or which have require() statements that should be ignored because the file is
// already bundled with all its necessary dependencies
noParse: [/[\/\\]node_modules[\/\\]vega[\/\\]build-es5[\/\\]vega\.js$/],
rules: [
{
test: /\.(html|md|txt|tmpl)$/,
Expand Down Expand Up @@ -128,6 +132,7 @@ export default ({ config: storybookConfig }: { config: Configuration }) => {
alias: {
core_app_image_assets: resolve(REPO_ROOT, 'src/core/public/styles/core_app/images'),
core_styles: resolve(REPO_ROOT, 'src/core/public/index.scss'),
vega: resolve(REPO_ROOT, 'node_modules/vega/build-es5/vega.js'),
},
},
stats,
Expand Down

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading

0 comments on commit 0bf0a40

Please sign in to comment.