File tree Expand file tree Collapse file tree 5 files changed +3288
-2407
lines changed
Expand file tree Collapse file tree 5 files changed +3288
-2407
lines changed Original file line number Diff line number Diff line change 11import * as path from 'path' ;
22import * as fs from 'fs' ;
33import * as url from 'url' ;
4+ import * as semver from 'semver' ;
45import { createRequire } from 'module' ;
56import { BundleAnalyzerPlugin } from 'webpack-bundle-analyzer' ;
67import { withDeploymentConfig } from '@mui/internal-docs-infra/withDocsInfra' ;
@@ -80,6 +81,7 @@ export default withDeploymentConfig({
8081 env : {
8182 // docs-infra
8283 LIB_VERSION : pkg . version ,
84+ SEARCH_INDEX : `material-ui-v${ semver . major ( pkg . version ) } ` ,
8385 SOURCE_CODE_REPO ,
8486 SOURCE_GITHUB_BRANCH ,
8587 GITHUB_TEMPLATE_DOCS_FEEDBACK : '6.docs-feedback.yml' ,
Original file line number Diff line number Diff line change 9494 "rifm" : " 0.12.1" ,
9595 "rimraf" : " catalog:" ,
9696 "rxjs" : " ^7.8.2" ,
97+ "semver" : " 7.7.3" ,
9798 "styled-components" : " ^6.1.19" ,
9899 "stylis" : " catalog:" ,
99100 "webpack-bundle-analyzer" : " ^5.1.1"
114115 "@types/nprogress" : " 0.2.3" ,
115116 "@types/prop-types" : " catalog:" ,
116117 "@types/react-dom" : " catalog:" ,
118+ "@types/semver" : " catalog:" ,
117119 "@types/stylis" : " 4.2.7" ,
118120 "@types/webpack-bundle-analyzer" : " 4.7.0" ,
119121 "gm" : " 1.25.1" ,
Original file line number Diff line number Diff line change 7777 "@mui/internal-netlify-cache" : " 0.0.2-canary.1" ,
7878 "@mui/internal-test-utils" : " catalog:" ,
7979 "@mui/material" : " catalog:" ,
80- "@mui/monorepo" : " github:mui/material-ui#v7.x " ,
80+ "@mui/monorepo" : " github:mui/material-ui#5cb7317ba2d9ebdfcdc171edc91de87c0aff6276 " ,
8181 "@mui/utils" : " catalog:" ,
8282 "@next/eslint-plugin-next" : " 15.5.9" ,
8383 "@octokit/plugin-retry" : " 8.0.3" ,
You can’t perform that action at this time.
0 commit comments