From f11ef462e90e0a8bae85aa03b6b8c27ab8f6b2b0 Mon Sep 17 00:00:00 2001 From: Zeeshan T Date: Mon, 26 Apr 2021 23:01:52 +0530 Subject: [PATCH] feat: upgrade node version from 10 to 12 --- .browserslistrc | 10 +++++----- .codesandbox/ci.json | 1 + netlify.toml | 2 +- packages/grid/data-grid/package.json | 2 +- packages/grid/x-grid-data-generator/package.json | 2 +- packages/grid/x-grid/package.json | 2 +- packages/x-license/package.json | 2 +- 7 files changed, 11 insertions(+), 10 deletions(-) diff --git a/.browserslistrc b/.browserslistrc index 58bcaf313ed59..b20bf9a997f2d 100644 --- a/.browserslistrc +++ b/.browserslistrc @@ -48,20 +48,20 @@ samsung 11.1-11.2 # snapshot of `npx browserslist "maintained node versions"` [node] -node 10.0 +node 12.0 # same as `node` [coverage] -node 10.0 +node 12.0 # same as `node` [development] -node 10.0 +node 12.0 # same as `node` [test] -node 10.0 +node 12.0 # same as `node` [benchmark] -node 10.0 +node 12.0 diff --git a/.codesandbox/ci.json b/.codesandbox/ci.json index 5b1f405df8d9c..44bf9ce2c9daa 100644 --- a/.codesandbox/ci.json +++ b/.codesandbox/ci.json @@ -1,5 +1,6 @@ { "buildCommand": "build:codesandbox", + "node": "12", "packages": [ "packages/x-license", "packages/grid/data-grid", diff --git a/netlify.toml b/netlify.toml index a263408840106..e1c41343dcab8 100644 --- a/netlify.toml +++ b/netlify.toml @@ -8,7 +8,7 @@ command = "yarn docs:build && yarn docs:export && yarn storybook:build && yarn storybook:export" [build.environment] - NODE_VERSION = "10" + NODE_VERSION = "12" NODE_OPTIONS = "--max_old_space_size=4096" # Not using `playwright` when building docs. PLAYWRIGHT_SKIP_BROWSER_DOWNLOAD = "1" diff --git a/packages/grid/data-grid/package.json b/packages/grid/data-grid/package.json index c807cb6e06ef1..60befb1067731 100644 --- a/packages/grid/data-grid/package.json +++ b/packages/grid/data-grid/package.json @@ -43,6 +43,6 @@ "/src/setupTests.js" ], "engines": { - "node": ">=10.0.0" + "node": ">=12.0.0" } } diff --git a/packages/grid/x-grid-data-generator/package.json b/packages/grid/x-grid-data-generator/package.json index 8215a20867603..279980a2576dc 100644 --- a/packages/grid/x-grid-data-generator/package.json +++ b/packages/grid/x-grid-data-generator/package.json @@ -43,6 +43,6 @@ "/src/setupTests.js" ], "engines": { - "node": ">=10.0.0" + "node": ">=12.0.0" } } diff --git a/packages/grid/x-grid/package.json b/packages/grid/x-grid/package.json index 474cf1eba9a93..3da8d3e181e52 100644 --- a/packages/grid/x-grid/package.json +++ b/packages/grid/x-grid/package.json @@ -44,6 +44,6 @@ "/src/setupTests.js" ], "engines": { - "node": ">=10.0.0" + "node": ">=12.0.0" } } diff --git a/packages/x-license/package.json b/packages/x-license/package.json index c29130c68344b..a34c72fbc7128 100644 --- a/packages/x-license/package.json +++ b/packages/x-license/package.json @@ -36,6 +36,6 @@ "/src/setupTests.js" ], "engines": { - "node": ">=10.0.0" + "node": ">=12.0.0" } }