@mui/internal-code-infra 0.0.4-canary.36 → 0.0.4-canary.38
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@mui/internal-code-infra",
|
|
3
|
-
"version": "0.0.4-canary.
|
|
3
|
+
"version": "0.0.4-canary.38",
|
|
4
4
|
"author": "MUI Team",
|
|
5
5
|
"description": "Infra scripts and configs to be used across MUI repos.",
|
|
6
6
|
"license": "MIT",
|
|
@@ -119,9 +119,9 @@
|
|
|
119
119
|
"typescript-eslint": "^8.57.1",
|
|
120
120
|
"unified": "^11.0.5",
|
|
121
121
|
"yargs": "^18.0.0",
|
|
122
|
-
"@mui/internal-babel-plugin-display-name": "1.0.4-canary.18",
|
|
123
122
|
"@mui/internal-babel-plugin-minify-errors": "2.0.8-canary.27",
|
|
124
|
-
"@mui/internal-babel-plugin-resolve-imports": "2.0.7-canary.36"
|
|
123
|
+
"@mui/internal-babel-plugin-resolve-imports": "2.0.7-canary.36",
|
|
124
|
+
"@mui/internal-babel-plugin-display-name": "1.0.4-canary.18"
|
|
125
125
|
},
|
|
126
126
|
"peerDependencies": {
|
|
127
127
|
"@next/eslint-plugin-next": "*",
|
|
@@ -168,7 +168,7 @@
|
|
|
168
168
|
"publishConfig": {
|
|
169
169
|
"access": "public"
|
|
170
170
|
},
|
|
171
|
-
"gitSha": "
|
|
171
|
+
"gitSha": "15ba7acc537328b7cfb9b91de92a4fb5ece41749",
|
|
172
172
|
"scripts": {
|
|
173
173
|
"build": "tsgo -p tsconfig.build.json",
|
|
174
174
|
"typescript": "tsgo -noEmit",
|
|
@@ -164,9 +164,7 @@ if (pageData.status < 200 || pageData.status >= 400) {
|
|
|
164
164
|
);
|
|
165
165
|
|
|
166
166
|
const report = await htmlValidator.validateString(rawContent, pageUrl);
|
|
167
|
-
|
|
168
|
-
htmlValidateResults = { pageUrl, results: report.results };
|
|
169
|
-
}
|
|
167
|
+
htmlValidateResults = { pageUrl, results: report.results };
|
|
170
168
|
}
|
|
171
169
|
|
|
172
170
|
postResult({ pageData, links, htmlValidateResults });
|
|
@@ -44,6 +44,30 @@ export function createBaseConfig({
|
|
|
44
44
|
baseDirectory = process.cwd(),
|
|
45
45
|
} = {}) {
|
|
46
46
|
return defineConfig([
|
|
47
|
+
{
|
|
48
|
+
name: 'settings',
|
|
49
|
+
languageOptions: {
|
|
50
|
+
ecmaVersion: 7,
|
|
51
|
+
globals: {
|
|
52
|
+
...globals.es2020,
|
|
53
|
+
...globals.browser,
|
|
54
|
+
...globals.node,
|
|
55
|
+
},
|
|
56
|
+
},
|
|
57
|
+
plugins: {
|
|
58
|
+
mui: muiPlugin,
|
|
59
|
+
},
|
|
60
|
+
settings: {
|
|
61
|
+
react: {
|
|
62
|
+
version: 'detect',
|
|
63
|
+
},
|
|
64
|
+
browserslistOpts: {
|
|
65
|
+
config: path.join(baseDirectory, '.browserslistrc'),
|
|
66
|
+
env: 'stable',
|
|
67
|
+
ignoreUnknownVersions: true,
|
|
68
|
+
},
|
|
69
|
+
},
|
|
70
|
+
},
|
|
47
71
|
includeIgnoreIfExists(path.join(baseDirectory, '.gitignore'), `Ignore rules from .gitignore`),
|
|
48
72
|
includeIgnoreIfExists(path.join(baseDirectory, '.lintignore'), `Ignore rules from .lintignore`),
|
|
49
73
|
createJsonConfig(),
|
|
@@ -63,25 +87,7 @@ export function createBaseConfig({
|
|
|
63
87
|
enableReactCompiler ? reactCompilerPluginConfigs.recommended : {},
|
|
64
88
|
compatPlugin.configs['flat/recommended'],
|
|
65
89
|
{
|
|
66
|
-
name: '
|
|
67
|
-
languageOptions: {
|
|
68
|
-
ecmaVersion: 7,
|
|
69
|
-
globals: {
|
|
70
|
-
...globals.es2020,
|
|
71
|
-
...globals.browser,
|
|
72
|
-
...globals.node,
|
|
73
|
-
},
|
|
74
|
-
},
|
|
75
|
-
plugins: {
|
|
76
|
-
mui: muiPlugin,
|
|
77
|
-
},
|
|
78
|
-
settings: {
|
|
79
|
-
browserslistOpts: {
|
|
80
|
-
config: path.join(baseDirectory, '.browserslistrc'),
|
|
81
|
-
env: 'stable',
|
|
82
|
-
ignoreUnknownVersions: true,
|
|
83
|
-
},
|
|
84
|
-
},
|
|
90
|
+
name: 'core',
|
|
85
91
|
extends: createCoreConfig({ enableReactCompiler, consistentTypeImports, materialUi }),
|
|
86
92
|
},
|
|
87
93
|
// Lint rule to disallow usage of typescript namespaces.We've seen at least two problems with them:
|