Skip to content

Commit f0863a6

Browse files
authored
[core] Clean up config files (mui#850)
1 parent 01e9cc7 commit f0863a6

File tree

7 files changed

+20
-225
lines changed

7 files changed

+20
-225
lines changed

.eslintignore

+4-18
Original file line numberDiff line numberDiff line change
@@ -1,25 +1,11 @@
1-
/.git
1+
.git
2+
.nyc_output
23
/coverage
4+
/docs/.next
35
/docs/export
4-
/docs/pages/playground/
6+
/docs/src/app/playground/
57
/packages/react/**/*.min.*
6-
/packages/mui-utils/macros/__fixtures__/
7-
# Ignore fixtures
8-
/test/bundling/fixtures/**/*.fixture.js
9-
# just an import that reports eslint errors depending on whether the fixture (which is not checked in) exists
10-
/test/bundling/fixtures/create-react-app/src/index.js
11-
/test/bundling/fixtures/gatsby/.cache
12-
/test/bundling/fixtures/gatsby/public
13-
/tmp
14-
.next
158
build
169
build-tests
1710
node_modules
18-
.nyc_output
1911
pnpm-lock.yaml
20-
21-
# These come from crowdin.
22-
# If we would commit changes crowdin would immediately try to revert.
23-
# If we want to format these files we'd need to do it in crowdin
24-
docs/**/*-pt.md
25-
docs/**/*-zh.md

.gitattributes

+1-2
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,6 @@
11
# Set the default behavior, in case people don't have core.autocrlf set.
22
* text=auto eol=lf
3+
34
# Undo the GitHub's default
45
# https://github.com/github/linguist/blob/96ad1185828f44bb9b774328a584551ee57ed264/lib/linguist/vendor.yml#L177
56
packages/**/*.d.ts -linguist-vendored
6-
# bundling fixtures
7-
test/bundling/scripts/packages.js linguist-generated

.gitignore

+1-9
Original file line numberDiff line numberDiff line change
@@ -13,20 +13,12 @@
1313
/.nyc_output
1414
/coverage
1515
/docs/.env.local
16+
/docs/.next
1617
/docs/export
1718
/docs/src/app/playground/*
1819
!/docs/src/app/playground/\[slug\]
1920
/docs/public/feed/
20-
/test/bundling/fixtures/*/yarn.lock
21-
/test/bundling/fixtures/*/pnpm-lock.yaml
22-
# created by test/bundling/scripts/createFixture
23-
/test/bundling/fixtures/**/*.fixture.js
24-
# created by test/bundling/fixtures/gatsby gatsby build
25-
/test/bundling/fixtures/gatsby/.cache
26-
/test/bundling/fixtures/gatsby/public
2721
/test/regressions/screenshots
28-
/tmp
29-
.next
3022
# created by netlify dev (to perform local debug)
3123
.netlify
3224
build

package.json

+1-12
Original file line numberDiff line numberDiff line change
@@ -17,16 +17,12 @@
1717
"docs:api": "rimraf --glob ./docs/pages/**/api-docs ./docs/pages/**/api && pnpm docs:api:build",
1818
"docs:api:build": "tsx --tsconfig ./scripts/buildApiDocs/tsconfig.json ./scripts/buildApiDocs/index.ts",
1919
"docs:build": "pnpm --filter docs build",
20-
"docs:build-sw": "pnpm --filter docs build-sw",
2120
"docs:deploy": "pnpm --filter docs run deploy",
2221
"docs:dev": "pnpm --filter docs dev",
23-
"docs:icons": "pnpm --filter docs icons",
2422
"docs:size-why": "cross-env DOCS_STATS_ENABLED=true pnpm docs:build",
2523
"docs:start": "pnpm --filter docs serve",
26-
"docs:i18n": "tsx ./docs/scripts/i18n.js",
2724
"docs:link-check": "pnpm --filter docs link-check",
2825
"docs:typescript": "pnpm docs:typescript:formatted --watch",
29-
"docs:typescript:check": "pnpm --filter docs typescript",
3026
"docs:typescript:formatted": "tsx ./docs/scripts/formattedTSDemos",
3127
"extract-error-codes": "cross-env MUI_EXTRACT_ERROR_CODES=true lerna run --concurrency 8 build:modern",
3228
"install:codesandbox": "pnpm install --no-frozen-lockfile",
@@ -58,7 +54,6 @@
5854
"test:regressions:dev": "concurrently \"pnpm test:regressions:build --watch\" \"pnpm test:regressions:server\"",
5955
"test:regressions:run": "mocha --config test/regressions/.mocharc.js --delay 'test/regressions/**/*.test.js'",
6056
"test:regressions:server": "serve test/regressions -p 5001",
61-
"test:umd": "node packages/mui-material/test/umd/run.js",
6257
"test:unit": "cross-env NODE_ENV=test mocha 'packages/**/*.test.{js,ts,tsx}' 'docs/**/*.test.{js,ts,tsx}'",
6358
"test:jsdom": "cross-env NODE_ENV=test VITEST_ENV=jsdom vitest",
6459
"test:chromium": "cross-env NODE_ENV=test VITEST_ENV=chromium vitest",
@@ -112,7 +107,6 @@
112107
"chalk": "^5.3.0",
113108
"compression-webpack-plugin": "^11.1.0",
114109
"concurrently": "^8.2.2",
115-
"cpy-cli": "^5.0.0",
116110
"cross-env": "^7.0.3",
117111
"css-loader": "^7.1.2",
118112
"danger": "^12.3.3",
@@ -186,24 +180,19 @@
186180
},
187181
"resolutions": {
188182
"@babel/core": "^7.26.0",
189-
"@babel/code-frame": "^7.26.2",
190-
"@babel/plugin-transform-destructuring": "npm:@minh.nguyen/plugin-transform-destructuring@^7.5.2",
191183
"@babel/plugin-transform-runtime": "^7.25.9",
192184
"@babel/preset-env": "^7.26.0",
193185
"@babel/preset-react": "^7.25.9",
194186
"@babel/preset-typescript": "^7.26.0",
195187
"@babel/runtime": "^7.26.0",
196188
"@babel/types": "^7.26.0",
197-
"@definitelytyped/header-parser": "^0.2.13",
198-
"@definitelytyped/typescript-versions": "^0.1.4",
199-
"@definitelytyped/utils": "^0.1.8",
200189
"@types/node": "^18.19.63",
201190
"@types/react": "npm:[email protected]",
202191
"@types/react-dom": "npm:[email protected]"
203192
},
204193
"nyc": {
205194
"include": [
206-
"packages/mui*/src/**/*.{js,ts,tsx}"
195+
"packages/react/src/**/*.{js,ts,tsx}"
207196
],
208197
"exclude": [
209198
"**/*.test.{js,ts,tsx}",

0 commit comments

Comments
 (0)