Skip to content
Merged
Show file tree
Hide file tree
Changes from 8 commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
98 changes: 49 additions & 49 deletions docs/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -17,22 +17,22 @@
"populate:demos": "tsx scripts/populatePickersDemos"
},
"dependencies": {
"@babel/core": "^7.27.4",
"@babel/runtime": "^7.27.4",
"@babel/core": "catalog:",
"@babel/runtime": "catalog:",
"@babel/runtime-corejs2": "^7.27.4",
"@docsearch/react": "^3.9.0",
"@emotion/cache": "^11.14.0",
"@emotion/react": "^11.14.0",
"@emotion/cache": "catalog:",
"@emotion/react": "catalog:",
"@emotion/server": "^11.11.0",
"@emotion/styled": "^11.14.0",
"@emotion/styled": "catalog:",
"@mui/docs": "7.1.0",
"@mui/icons-material": "^7.1.1",
"@mui/icons-material": "catalog:",
"@mui/joy": "^5.0.0-beta.52",
"@mui/lab": "^7.0.0-beta.13",
"@mui/material": "^7.1.1",
"@mui/material": "catalog:",
"@mui/material-nextjs": "^7.1.1",
"@mui/system": "^7.1.1",
"@mui/utils": "^7.1.1",
"@mui/system": "catalog:",
"@mui/utils": "catalog:",
"@mui/x-charts": "workspace:*",
"@mui/x-charts-pro": "workspace:*",
"@mui/x-charts-vendor": "workspace:*",
Expand All @@ -45,80 +45,80 @@
"@mui/x-scheduler": "workspace:*",
"@mui/x-tree-view": "workspace:*",
"@mui/x-tree-view-pro": "workspace:*",
"@react-spring/web": "^10.0.1",
"@react-spring/web": "catalog:",
"@tanstack/query-core": "^5.79.0",
"@tanstack/react-query": "^5.79.0",
"ast-types": "^0.14.2",
"autoprefixer": "^10.4.21",
"babel-plugin-module-resolver": "^5.0.2",
"babel-plugin-optimize-clsx": "^2.6.2",
"autoprefixer": "catalog:",
"babel-plugin-module-resolver": "catalog:",
"babel-plugin-optimize-clsx": "catalog:",
"babel-plugin-preval": "^5.1.0",
"babel-plugin-react-remove-properties": "^0.3.0",
"babel-plugin-transform-react-remove-prop-types": "^0.4.24",
"chance": "^1.1.13",
"babel-plugin-react-remove-properties": "catalog:",
"babel-plugin-transform-react-remove-prop-types": "catalog:",
"chance": "catalog:",
"clean-css": "^5.3.3",
"clipboard-copy": "^4.0.1",
"clsx": "^2.1.1",
"clsx": "catalog:",
"core-js": "^2.6.12",
"cross-env": "^7.0.3",
"cross-env": "catalog:",
"d3-scale-chromatic": "^3.1.0",
"date-fns": "^4.1.0",
"date-fns-jalali": "^4.1.0-0",
"dayjs": "^1.11.13",
"date-fns": "catalog:",
"date-fns-jalali": "catalog:",
"dayjs": "catalog:",
"doctrine": "^3.0.0",
"exceljs": "^4.4.0",
"exceljs": "catalog:",
"fg-loadcss": "^3.1.0",
"jscodeshift": "17.1.2",
"lodash": "^4.17.21",
"luxon": "^3.6.1",
"jscodeshift": "catalog:",
"lodash": "catalog:",
"luxon": "catalog:",
"lz-string": "^1.5.0",
"markdown-to-jsx": "^7.7.6",
"moment": "^2.30.1",
"moment-hijri": "^3.0.0",
"moment-jalaali": "^0.10.4",
"moment-timezone": "^0.6.0",
"moment": "catalog:",
"moment-hijri": "catalog:",
"moment-jalaali": "catalog:",
"moment-timezone": "catalog:",
"next": "^15.3.3",
"nprogress": "^0.2.0",
"postcss": "^8.5.4",
"prop-types": "^15.8.1",
"react": "19.0.0",
"prop-types": "catalog:",
"react": "catalog:",
"react-docgen": "^5.4.3",
"react-dom": "19.0.0",
"react-dom": "catalog:",
"react-hook-form": "^7.56.4",
"react-router": "^7.6.1",
"react-router": "catalog:",
"react-runner": "^1.0.5",
"react-simple-code-editor": "^0.14.1",
"recast": "^0.23.9",
"rifm": "0.12.1",
"rimraf": "^6.0.1",
"rimraf": "catalog:",
"rxjs": "^7.8.2",
"styled-components": "^6.1.18",
"stylis": "^4.3.6",
"stylis-plugin-rtl": "^2.1.1",
"webpack-bundle-analyzer": "^4.10.2"
"stylis": "catalog:",
"stylis-plugin-rtl": "catalog:",
"webpack-bundle-analyzer": "catalog:"
},
"devDependencies": {
"@babel/plugin-transform-react-constant-elements": "^7.27.1",
"@babel/preset-typescript": "^7.27.1",
"@babel/plugin-transform-react-constant-elements": "catalog:",
"@babel/preset-typescript": "catalog:",
"@mui/internal-docs-utils": "^2.0.1",
"@mui/internal-scripts": "^2.0.8",
"@types/chai": "^5.2.2",
"@types/chance": "^1.1.6",
"@types/d3-scale": "^4.0.9",
"@types/chai": "catalog:",
"@types/chance": "catalog:",
"@types/d3-scale": "catalog:",
"@types/d3-scale-chromatic": "^3.1.0",
"@types/doctrine": "^0.0.9",
"@types/fg-loadcss": "^3.1.3",
"@types/gtag.js": "^0.0.20",
"@types/lodash": "^4.17.17",
"@types/luxon": "^3.6.2",
"@types/moment-hijri": "^2.1.4",
"@types/moment-jalaali": "^0.7.9",
"@types/lodash": "catalog:",
"@types/luxon": "catalog:",
"@types/moment-hijri": "catalog:",
"@types/moment-jalaali": "catalog:",
"@types/nprogress": "^0.2.3",
"@types/prop-types": "^15.7.14",
"@types/react-dom": "19.0.4",
"@types/prop-types": "catalog:",
"@types/react-dom": "catalog:",
"@types/stylis": "^4.2.7",
"@types/webpack-bundle-analyzer": "^4.7.0",
"gm": "^1.25.1",
"serve": "^14.2.4"
"serve": "catalog:"
}
}
78 changes: 39 additions & 39 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -68,71 +68,71 @@
"@actions/github": "^6.0.1",
"@argos-ci/core": "^3.2.0",
"@babel/cli": "^7.27.2",
"@babel/core": "^7.27.4",
"@babel/core": "catalog:",
"@babel/plugin-transform-class-properties": "^7.27.1",
"@babel/plugin-transform-object-rest-spread": "^7.27.3",
"@babel/plugin-transform-private-methods": "^7.27.1",
"@babel/plugin-transform-private-property-in-object": "^7.27.1",
"@babel/plugin-transform-react-constant-elements": "^7.27.1",
"@babel/plugin-transform-runtime": "^7.27.4",
"@babel/plugin-transform-react-constant-elements": "catalog:",
"@babel/plugin-transform-runtime": "catalog:",
"@babel/preset-env": "^7.27.2",
"@babel/preset-react": "^7.27.1",
"@babel/preset-typescript": "^7.27.1",
"@babel/preset-typescript": "catalog:",
"@babel/register": "^7.27.1",
"@babel/traverse": "^7.27.4",
"@babel/traverse": "catalog:",
"@babel/types": "^7.27.3",
"@emotion/cache": "^11.14.0",
"@emotion/react": "^11.14.0",
"@emotion/styled": "^11.14.0",
"@mui/icons-material": "^7.1.1",
"@emotion/cache": "catalog:",
"@emotion/react": "catalog:",
"@emotion/styled": "catalog:",
"@mui/icons-material": "catalog:",
"@mui/internal-babel-plugin-display-name": "^1.0.0",
"@mui/internal-babel-plugin-resolve-imports": "^2.0.3",
"@mui/internal-bundle-size-checker": "^1.0.4",
"@mui/internal-markdown": "^2.0.6",
"@mui/internal-test-utils": "^2.0.9",
"@mui/material": "^7.1.1",
"@mui/internal-test-utils": "catalog:",
"@mui/material": "catalog:",
"@mui/monorepo": "github:mui/material-ui#8cd3aa5849fe8fc2dd98eccc75366fae364d15f8",
"@mui/utils": "^7.1.1",
"@mui/utils": "catalog:",
"@next/eslint-plugin-next": "15.3.3",
"@octokit/plugin-retry": "^8.0.1",
"@octokit/rest": "^22.0.0",
"@playwright/test": "^1.52.0",
"@playwright/test": "catalog:",
"@types/babel__core": "^7.20.5",
"@types/babel__traverse": "^7.20.7",
"@types/chai": "^5.2.2",
"@types/chai": "catalog:",
"@types/chai-dom": "^1.11.3",
"@types/fs-extra": "^11.0.4",
"@types/karma": "^6.3.9",
"@types/lodash": "^4.17.17",
"@types/karma": "catalog:",
"@types/lodash": "catalog:",
"@types/mocha": "^10.0.10",
"@types/node": "^22.15.29",
"@types/react": "19.0.12",
"@types/react-dom": "19.0.4",
"@types/react": "catalog:",
"@types/react-dom": "catalog:",
"@types/requestidlecallback": "^0.3.7",
"@types/sinon": "^17.0.4",
"@types/yargs": "^17.0.33",
"@typescript-eslint/eslint-plugin": "^8.33.1",
"@typescript-eslint/parser": "^8.33.1",
"@vitejs/plugin-react": "^4.5.1",
"@typescript-eslint/parser": "catalog:",
"@vitejs/plugin-react": "catalog:",
"@vitest/browser": "^3.2.2",
"@vitest/coverage-v8": "^3.2.2",
"@vvago/vale": "^3.11.2",
"autoprefixer": "^10.4.21",
"autoprefixer": "catalog:",
"axe-core": "4.10.3",
"babel-loader": "^10.0.0",
"babel-plugin-module-resolver": "^5.0.2",
"babel-plugin-optimize-clsx": "^2.6.2",
"babel-plugin-react-remove-properties": "^0.3.0",
"babel-plugin-module-resolver": "catalog:",
"babel-plugin-optimize-clsx": "catalog:",
"babel-plugin-react-remove-properties": "catalog:",
"babel-plugin-search-and-replace": "^1.1.1",
"babel-plugin-transform-inline-environment-variables": "^0.4.4",
"babel-plugin-transform-react-remove-prop-types": "^0.4.24",
"babel-plugin-transform-react-remove-prop-types": "catalog:",
"babel-plugin-transform-replace-expressions": "^0.2.0",
"chai": "^5.2.0",
"chai": "catalog:",
"chai-dom": "^1.12.1",
"compression-webpack-plugin": "^11.1.0",
"concurrently": "^9.1.2",
"cpy-cli": "^5.0.0",
"cross-env": "^7.0.3",
"cross-env": "catalog:",
"danger": "^13.0.4",
"date-fns-jalali-v2": "npm:[email protected]",
"date-fns-v2": "npm:[email protected]",
Expand All @@ -153,7 +153,7 @@
"eslint-plugin-react-compiler": "19.0.0-beta-ebf51a3-20250411",
"eslint-plugin-react-hooks": "^5.2.0",
"eslint-plugin-testing-library": "^7.4.0",
"fast-glob": "^3.3.3",
"fast-glob": "catalog:",
"format-util": "^1.0.5",
"fs-extra": "^11.3.0",
"glob-gitignore": "^1.0.15",
Expand All @@ -170,37 +170,37 @@
"karma-sourcemap-loader": "^0.4.0",
"karma-webpack": "^5.0.1",
"lerna": "^8.2.2",
"lodash": "^4.17.21",
"lodash": "catalog:",
"magic-string": "^0.30.17",
"markdownlint-cli2": "^0.18.1",
"mocha": "^11.5.0",
"moment": "^2.30.1",
"moment-timezone": "^0.6.0",
"moment": "catalog:",
"moment-timezone": "catalog:",
"null-loader": "^4.0.1",
"nyc": "^17.1.0",
"prettier": "^3.5.3",
"pretty-quick": "^4.1.1",
"process": "^0.11.10",
"react": "19.0.0",
"react-dom": "19.0.0",
"react": "catalog:",
"react-dom": "catalog:",
"remark": "^15.0.1",
"rimraf": "^6.0.1",
"serve": "^14.2.4",
"rimraf": "catalog:",
"serve": "catalog:",
"sinon": "^20.0.0",
"stream-browserify": "^3.0.0",
"string-replace-loader": "^3.1.0",
"terser-webpack-plugin": "^5.3.14",
"tsx": "^4.19.4",
"tsx": "catalog:",
"typescript": "^5.8.3",
"unist-util-visit": "^5.0.0",
"util": "^0.12.5",
"vite": "^6.3.5",
"vitest": "3.2.2",
"vitest": "catalog:",
"vitest-fail-on-console": "^0.7.1",
"webpack": "^5.99.9",
"webpack-bundle-analyzer": "^4.10.2",
"webpack-bundle-analyzer": "catalog:",
"webpack-cli": "^6.0.1",
"yargs": "^18.0.0"
"yargs": "catalog:"
},
"resolutions": {},
"packageManager": "[email protected]",
Expand Down
2 changes: 1 addition & 1 deletion packages/eslint-plugin-material-ui/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
"main": "src/index.js",
"devDependencies": {
"@types/eslint": "^9.6.1",
"@typescript-eslint/parser": "^8.33.1",
"@typescript-eslint/parser": "catalog:",
"@typescript-eslint/rule-tester": "^8.33.1",
"@typescript-eslint/utils": "^8.33.1"
},
Expand Down
22 changes: 11 additions & 11 deletions packages/x-charts-pro/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -38,14 +38,14 @@
"directory": "packages/x-charts-pro"
},
"dependencies": {
"@babel/runtime": "^7.27.4",
"@mui/utils": "^7.1.1",
"@babel/runtime": "catalog:",
"@mui/utils": "catalog:",
"@mui/x-charts": "workspace:*",
"@mui/x-charts-vendor": "workspace:*",
"@mui/x-internals": "workspace:*",
"@mui/x-license": "workspace:*",
"clsx": "^2.1.1",
"prop-types": "^15.8.1"
"clsx": "catalog:",
"prop-types": "catalog:"
},
"peerDependencies": {
"@emotion/react": "^11.9.0",
Expand All @@ -67,14 +67,14 @@
"rasterizehtml": "^1.3.1"
},
"devDependencies": {
"@mui/material": "^7.1.1",
"@mui/system": "^7.1.1",
"@types/prop-types": "^15.7.14",
"csstype": "^3.1.3",
"@mui/material": "catalog:",
"@mui/system": "catalog:",
"@types/prop-types": "catalog:",
"csstype": "catalog:",
"rasterizehtml": "^1.3.1",
"react": "19.0.0",
"react-dom": "19.0.0",
"rimraf": "^6.0.1"
"react": "catalog:",
"react-dom": "catalog:",
"rimraf": "catalog:"
},
"engines": {
"node": ">=14.0.0"
Expand Down
6 changes: 5 additions & 1 deletion packages/x-charts-pro/src/tests/materialVersion.test.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -2,4 +2,8 @@ import materialPackageJson from '@mui/material/package.json';
import { checkMaterialVersion } from 'test/utils/checkMaterialVersion';
import packageJson from '../../package.json';

checkMaterialVersion({ packageJson, materialPackageJson });
checkMaterialVersion({
packageJson,
materialPackageJson,
testFilePath: import.meta.url,
});
7 changes: 6 additions & 1 deletion packages/x-charts-vendor/.babelrc.js
Original file line number Diff line number Diff line change
Expand Up @@ -7,15 +7,20 @@
*/
const path = require('path');
const fs = require('fs');
const { execSync } = require('child_process');

const packageJsonPath = path.resolve('./package.json');
const packageJson = JSON.parse(fs.readFileSync(packageJsonPath, { encoding: 'utf8' }));
const babelRuntimeVersion = packageJson.dependencies['@babel/runtime'];
let babelRuntimeVersion = packageJson.dependencies['@babel/runtime'];

if (!babelRuntimeVersion) {
throw new Error(
'package.json needs to have a dependency on `@babel/runtime` when building with `@babel/plugin-transform-runtime`.',
);
} else if (babelRuntimeVersion === 'catalog:') {
const listedBabelRuntime = execSync('pnpm list "@babel/runtime" --json');
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Babel was unhappy with the catalog: version. 🙈 😆

const jsonListedDependencies = JSON.parse(listedBabelRuntime);
babelRuntimeVersion = jsonListedDependencies[0].dependencies['@babel/runtime'].version;
}

module.exports = function getBabelConfig(api) {
Expand Down
Loading