Skip to content

Commit

Permalink
[8.7] Upgrade vega dependency (5.22.15.23.0). (#152541) (#15…
Browse files Browse the repository at this point in the history
…2700) (#152724)

# Backport

This will backport the following commits from `main` to `8.7`:
- [Upgrade `vega` dependency (`5.22.1` → `5.23.0`). (#152541)
(#152700)](#152700)

<!--- Backport version: 8.9.7 -->

### Questions ?
Please refer to the [Backport tool
documentation](https://github.com/sqren/backport)

<!--BACKPORT [{"author":{"name":"Aleh
Zasypkin","email":"[email protected]"},"sourceCommit":{"committedDate":"2023-03-06T15:00:26Z","message":"Upgrade
`vega` dependency (`5.22.1` → `5.23.0`). (#152541)
(#152700)","sha":"0bf0a40b90223c7fb42fde04ea021ee9ef8594fe","branchLabelMapping":{"^v8.8.0$":"main","^v(\\d+).(\\d+).\\d+$":"$1.$2"}},"sourcePullRequest":{"labels":["chore","release_note:skip","backport:all-open","ci:build-storybooks","ci:cloud-deploy","v8.8.0"],"number":152700,"url":"https://github.com/elastic/kibana/pull/152700","mergeCommit":{"message":"Upgrade
`vega` dependency (`5.22.1` → `5.23.0`). (#152541)
(#152700)","sha":"0bf0a40b90223c7fb42fde04ea021ee9ef8594fe"}},"sourceBranch":"main","suggestedTargetBranches":[],"targetPullRequestStates":[{"branch":"main","label":"v8.8.0","labelRegex":"^v8.8.0$","isSourceBranch":true,"state":"MERGED","url":"https://github.com/elastic/kibana/pull/152700","number":152700,"mergeCommit":{"message":"Upgrade
`vega` dependency (`5.22.1` → `5.23.0`). (#152541)
(#152700)","sha":"0bf0a40b90223c7fb42fde04ea021ee9ef8594fe"}}]}]
BACKPORT-->

Co-authored-by: Aleh Zasypkin <[email protected]>
  • Loading branch information
kibanamachine and azasypkin authored Mar 6, 2023
1 parent 7310b5d commit bf9e017
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 @@ -642,7 +642,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 @@ -100,7 +100,7 @@ export function getWebpackConfig(bundle: Bundle, bundleRefs: BundleRefs, worker:
// 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'),
},
symlinks: false,
},
Expand Down

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

Loading

0 comments on commit bf9e017

Please sign in to comment.