Skip to content

Commit

Permalink
[core] Update @mui/monorepo (#15574)
Browse files Browse the repository at this point in the history
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
  • Loading branch information
oliviertassinari and renovate[bot] authored Nov 25, 2024
1 parent 2da4d92 commit ead5d30
Show file tree
Hide file tree
Showing 11 changed files with 254 additions and 236 deletions.
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import type { MuiPage } from 'docs/src/MuiPage';

const apiPages: MuiPage[] = [
const chartsApiPages: MuiPage[] = [
{
pathname: '/x/api/charts/animated-area',
title: 'AnimatedArea',
Expand Down Expand Up @@ -230,4 +230,4 @@ const apiPages: MuiPage[] = [
title: 'SparkLineChart',
},
];
export default apiPages;
export default chartsApiPages;
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import type { MuiPage } from 'docs/src/MuiPage';

const apiPages: MuiPage[] = [
const dataGridApiPages: MuiPage[] = [
{
pathname: '/x/api/data-grid/data-grid',
title: 'DataGrid',
Expand Down Expand Up @@ -28,4 +28,4 @@ const apiPages: MuiPage[] = [
title: 'GridToolbarQuickFilter',
},
];
export default apiPages;
export default dataGridApiPages;
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import type { MuiPage } from 'docs/src/MuiPage';

const apiPages: MuiPage[] = [
const datePickersApiPages: MuiPage[] = [
{
pathname: '/x/api/date-pickers/date-calendar',
title: 'DateCalendar',
Expand Down Expand Up @@ -233,4 +233,4 @@ const apiPages: MuiPage[] = [
title: 'YearCalendar',
},
];
export default apiPages;
export default datePickersApiPages;
8 changes: 4 additions & 4 deletions docs/data/pages.ts
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
import type { MuiPage } from 'docs/src/MuiPage';
import chartsComponentApi from './charts-component-api-pages';
import dataGridComponentApi from './data-grid-component-api-pages';
import pickersComponentApi from './date-pickers-component-api-pages';
import treeViewComponentApi from './tree-view-component-api-pages';
import chartsComponentApi from './chartsApiPages';
import dataGridComponentApi from './dataGridApiPages';
import pickersComponentApi from './datePickersApiPages';
import treeViewComponentApi from './treeViewApiPages';

const pages: MuiPage[] = [
{
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import type { MuiPage } from 'docs/src/MuiPage';

const apiPages: MuiPage[] = [
const treeViewApiPages: MuiPage[] = [
{
pathname: '/x/api/tree-view/rich-tree-view',
title: 'RichTreeView',
Expand All @@ -27,4 +27,4 @@ const apiPages: MuiPage[] = [
title: 'TreeView',
},
];
export default apiPages;
export default treeViewApiPages;
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -95,7 +95,7 @@
"@mui/internal-markdown": "^1.0.17",
"@mui/internal-test-utils": "^1.0.17",
"@mui/material": "^5.16.7",
"@mui/monorepo": "github:mui/material-ui#010de4505361345951824d905d1508d6f258ba67",
"@mui/monorepo": "github:mui/material-ui#7aa841466a01b745012e59e9d201ed50807a022e",
"@mui/utils": "^5.16.6",
"@next/eslint-plugin-next": "14.2.15",
"@octokit/plugin-retry": "^7.1.2",
Expand Down
440 changes: 229 additions & 211 deletions pnpm-lock.yaml

Large diffs are not rendered by default.

6 changes: 3 additions & 3 deletions scripts/buildApiDocs/chartsSettings/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ type PageType = { pathname: string; title: string; plan?: 'community' | 'pro' |

export const projectChartsSettings: ProjectSettings = {
output: {
apiManifestPath: path.join(process.cwd(), 'docs/data/charts-component-api-pages.ts'),
apiManifestPath: path.join(process.cwd(), 'docs/data/chartsApiPages.ts'),
},
onWritingManifestFile: (
builds: PromiseSettledResult<ComponentReactApi | HookReactApi | null | never[]>[],
Expand All @@ -33,8 +33,8 @@ export const projectChartsSettings: ProjectSettings = {

return `import type { MuiPage } from 'docs/src/MuiPage';
const apiPages: MuiPage[] = ${JSON.stringify(pages, null, 2)};
export default apiPages;
const chartsApiPages: MuiPage[] = ${JSON.stringify(pages, null, 2)};
export default chartsApiPages;
`;
},
typeScriptProjects: [
Expand Down
6 changes: 3 additions & 3 deletions scripts/buildApiDocs/gridSettings/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ type PageType = { pathname: string; title: string; plan?: 'community' | 'pro' |

export const projectGridSettings: ProjectSettings = {
output: {
apiManifestPath: path.join(process.cwd(), 'docs/data/data-grid-component-api-pages.ts'),
apiManifestPath: path.join(process.cwd(), 'docs/data/dataGridApiPages.ts'),
},
onWritingManifestFile: (
builds: PromiseSettledResult<ComponentReactApi | HookReactApi | null | never[]>[],
Expand All @@ -33,8 +33,8 @@ export const projectGridSettings: ProjectSettings = {

return `import type { MuiPage } from 'docs/src/MuiPage';
const apiPages: MuiPage[] = ${JSON.stringify(pages, null, 2)};
export default apiPages;
const dataGridApiPages: MuiPage[] = ${JSON.stringify(pages, null, 2)};
export default dataGridApiPages;
`;
},
typeScriptProjects: [
Expand Down
6 changes: 3 additions & 3 deletions scripts/buildApiDocs/pickersSettings/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ type PageType = { pathname: string; title: string; plan?: 'community' | 'pro' |

export const projectPickersSettings: ProjectSettings = {
output: {
apiManifestPath: path.join(process.cwd(), 'docs/data/date-pickers-component-api-pages.ts'),
apiManifestPath: path.join(process.cwd(), 'docs/data/datePickersApiPages.ts'),
},
onWritingManifestFile: (
builds: PromiseSettledResult<ComponentReactApi | HookReactApi | null | never[]>[],
Expand All @@ -33,8 +33,8 @@ export const projectPickersSettings: ProjectSettings = {

return `import type { MuiPage } from 'docs/src/MuiPage';
const apiPages: MuiPage[] = ${JSON.stringify(pages, null, 2)};
export default apiPages;
const datePickersApiPages: MuiPage[] = ${JSON.stringify(pages, null, 2)};
export default datePickersApiPages;
`;
},
typeScriptProjects: [
Expand Down
6 changes: 3 additions & 3 deletions scripts/buildApiDocs/treeViewSettings/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ type PageType = { pathname: string; title: string; plan?: 'community' | 'pro' |

export const projectTreeSettings: ProjectSettings = {
output: {
apiManifestPath: path.join(process.cwd(), 'docs/data/tree-view-component-api-pages.ts'),
apiManifestPath: path.join(process.cwd(), 'docs/data/treeViewApiPages.ts'),
},
onWritingManifestFile: (
builds: PromiseSettledResult<ComponentReactApi | HookReactApi | null | never[]>[],
Expand All @@ -33,8 +33,8 @@ export const projectTreeSettings: ProjectSettings = {

return `import type { MuiPage } from 'docs/src/MuiPage';
const apiPages: MuiPage[] = ${JSON.stringify(pages, null, 2)};
export default apiPages;
const treeViewApiPages: MuiPage[] = ${JSON.stringify(pages, null, 2)};
export default treeViewApiPages;
`;
},
typeScriptProjects: [
Expand Down

0 comments on commit ead5d30

Please sign in to comment.