Skip to content

Commit 32d4682

Browse files
author
Brijesh Bittu
committed
Rename package to @mui/infra
1 parent 6d54747 commit 32d4682

39 files changed

+18
-15
lines changed

eslint.config.mjs

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
import { includeIgnoreFile } from '@eslint/compat';
22
import { defineConfig, globalIgnores } from 'eslint/config';
33
import * as path from 'node:path';
4-
import baseConfig from '@mui/configs/eslint';
5-
import testConfig from '@mui/configs/eslint/test';
4+
import baseConfig from '@mui/infra/eslint';
5+
import testConfig from '@mui/infra/eslint/test';
66
import { fileURLToPath } from 'url';
77

88
const filename = fileURLToPath(import.meta.url);
@@ -11,7 +11,7 @@ const dirname = path.dirname(filename);
1111
export default defineConfig(
1212
includeIgnoreFile(path.join(dirname, '.gitignore')),
1313
includeIgnoreFile(path.join(dirname, '.eslintignore')),
14-
globalIgnores(['packages/configs/src/eslint/material-ui/rules/*.test.*'], 'Global ignores'),
14+
globalIgnores(['packages/mui-infra/src/eslint/material-ui/rules/*.test.*'], 'Global ignores'),
1515
{
1616
name: 'Base config',
1717
extends: baseConfig,

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@
2121
"@actions/github": "^6.0.0",
2222
"@eslint/compat": "^1.2.9",
2323
"@mui/internal-bundle-size-checker": "workspace:*",
24-
"@mui/configs": "workspace:*",
24+
"@mui/infra": "workspace:*",
2525
"@typescript-eslint/eslint-plugin": "7.12.0",
2626
"@typescript-eslint/parser": "7.12.0",
2727
"eslint": "9.27.0",

packages/configs/README.md

Lines changed: 0 additions & 3 deletions
This file was deleted.

packages/mui-infra/README.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
# @mui/infra
2+
3+
Build scripts and configs to be used across MUI repos.

packages/configs/package.json renamed to packages/mui-infra/package.json

Lines changed: 7 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,12 @@
11
{
2-
"name": "@mui/configs",
2+
"name": "@mui/infra",
33
"version": "0.0.1",
4-
"description": "Eslint config to be used across MUI repos.",
4+
"description": "Infra scripts and configs to be used across MUI repos.",
55
"type": "module",
66
"repository": {
77
"type": "git",
88
"url": "https://github.com/mui/mui-public.git",
9-
"directory": "packages/configs"
9+
"directory": "packages/mui-infra"
1010
},
1111
"sideEffects": false,
1212
"exports": {
@@ -91,5 +91,8 @@
9191
"README.md",
9292
"CHANGELOG.md",
9393
"LICENSE"
94-
]
94+
],
95+
"publishConfig": {
96+
"access": "public"
97+
}
9598
}

pnpm-lock.yaml

Lines changed: 3 additions & 3 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

prettier.config.mjs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
1-
import baseline from '@mui/configs/prettier';
1+
import baseline from '@mui/infra/prettier';
22

33
export default baseline;

0 commit comments

Comments
 (0)