@mui/internal-code-infra 0.0.4-canary.44 → 0.0.4-canary.46
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/build/babel-config.d.mts
CHANGED
|
@@ -16,7 +16,7 @@ export type ReactCompilationMode = 'annotation' | 'syntax' | 'infer' | 'all';
|
|
|
16
16
|
* @param {{ allowedCallees?: Record<string, string[]> }} [param0.displayName] - Options for the display name plugin.
|
|
17
17
|
* @returns {import('@babel/core').TransformOptions} The base Babel configuration.
|
|
18
18
|
*/
|
|
19
|
-
export declare function getBaseConfig({ debug, optimizeClsx, removePropTypes, noResolveImports, bundle, runtimeVersion, outExtension, reactCompilerReactVersion, reactCompilerMode, displayName }: {
|
|
19
|
+
export declare function getBaseConfig({ debug, optimizeClsx, removePropTypes, noResolveImports, bundle, runtimeVersion, outExtension, reactCompilerReactVersion, reactCompilerMode, displayName, }: {
|
|
20
20
|
debug?: boolean;
|
|
21
21
|
optimizeClsx?: boolean;
|
|
22
22
|
removePropTypes?: boolean;
|
|
@@ -7,7 +7,7 @@
|
|
|
7
7
|
* @param {string} [params.baseDirectory] - The base directory for the configuration.
|
|
8
8
|
* @returns {import('eslint').Linter.Config[]}
|
|
9
9
|
*/
|
|
10
|
-
export declare function createBaseConfig({ enableReactCompiler, consistentTypeImports, materialUi, markdown, baseDirectory }?: {
|
|
10
|
+
export declare function createBaseConfig({ enableReactCompiler, consistentTypeImports, materialUi, markdown, baseDirectory, }?: {
|
|
11
11
|
enableReactCompiler?: boolean;
|
|
12
12
|
consistentTypeImports?: boolean;
|
|
13
13
|
materialUi?: boolean;
|
package/build/utils/babel.d.mts
CHANGED
|
@@ -41,7 +41,7 @@ export type ErrorCodeMetadata = {
|
|
|
41
41
|
* @param {string} options.babelRuntimeVersion - The version of @babel/runtime to use.
|
|
42
42
|
* @returns {Promise<void>}
|
|
43
43
|
*/
|
|
44
|
-
export declare function build({ cwd, sourceDir, outDir, babelRuntimeVersion, hasLargeFiles, bundle, pkgVersion, outExtension, optimizeClsx, removePropTypes, verbose, ignores, reactCompiler }: {
|
|
44
|
+
export declare function build({ cwd, sourceDir, outDir, babelRuntimeVersion, hasLargeFiles, bundle, pkgVersion, outExtension, optimizeClsx, removePropTypes, verbose, ignores, reactCompiler, }: {
|
|
45
45
|
verbose?: boolean;
|
|
46
46
|
optimizeClsx?: boolean;
|
|
47
47
|
removePropTypes?: boolean;
|
package/build/utils/build.d.mts
CHANGED
|
@@ -25,7 +25,7 @@ export declare function getOutExtension(bundle: BundleType, options?: {
|
|
|
25
25
|
* @param {boolean} [param0.isFlat]
|
|
26
26
|
* @param {'module' | 'commonjs'} [param0.packageType]
|
|
27
27
|
*/
|
|
28
|
-
export declare function createPackageExports({ exports: packageExports, bundles, outputDir, cwd, addTypes, isFlat, packageType }: {
|
|
28
|
+
export declare function createPackageExports({ exports: packageExports, bundles, outputDir, cwd, addTypes, isFlat, packageType, }: {
|
|
29
29
|
exports: import('../cli/packageJson').PackageJson['exports'];
|
|
30
30
|
bundles: {
|
|
31
31
|
type: BundleType;
|
|
@@ -27,7 +27,7 @@ export declare function copyDeclarations(sourceDirectory: string, destinationDir
|
|
|
27
27
|
* @param {'module' | 'commonjs'} [param0.packageType]
|
|
28
28
|
* @returns
|
|
29
29
|
*/
|
|
30
|
-
export declare function moveAndTransformDeclarations({ inputDir, buildDir, bundles, isFlat, packageType }: {
|
|
30
|
+
export declare function moveAndTransformDeclarations({ inputDir, buildDir, bundles, isFlat, packageType, }: {
|
|
31
31
|
inputDir: string;
|
|
32
32
|
buildDir: string;
|
|
33
33
|
bundles: {
|
|
@@ -53,7 +53,7 @@ export declare function moveAndTransformDeclarations({ inputDir, buildDir, bundl
|
|
|
53
53
|
* @param {boolean} [param0.useTsgo=false] - Whether to build types using typescript native (tsgo).
|
|
54
54
|
* @param {'module' | 'commonjs'} [param0.packageType] - The package.json type field.
|
|
55
55
|
*/
|
|
56
|
-
export declare function createTypes({ bundles, srcDir, buildDir, cwd, skipTsc, useTsgo, isFlat, packageType, verbose }: {
|
|
56
|
+
export declare function createTypes({ bundles, srcDir, buildDir, cwd, skipTsc, useTsgo, isFlat, packageType, verbose, }: {
|
|
57
57
|
isFlat?: boolean;
|
|
58
58
|
verbose?: boolean;
|
|
59
59
|
bundles: {
|
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.46",
|
|
4
4
|
"author": "MUI Team",
|
|
5
5
|
"description": "Infra scripts and configs to be used across MUI repos.",
|
|
6
6
|
"license": "MIT",
|
|
@@ -57,22 +57,22 @@
|
|
|
57
57
|
"code-infra": "./bin/code-infra.mjs"
|
|
58
58
|
},
|
|
59
59
|
"dependencies": {
|
|
60
|
-
"@argos-ci/core": "^5.
|
|
60
|
+
"@argos-ci/core": "^5.3.1",
|
|
61
61
|
"@babel/cli": "^7.28.6",
|
|
62
62
|
"@babel/core": "^7.29.0",
|
|
63
63
|
"@babel/plugin-syntax-jsx": "^7.28.6",
|
|
64
64
|
"@babel/plugin-syntax-typescript": "^7.28.6",
|
|
65
65
|
"@babel/plugin-transform-runtime": "^7.29.0",
|
|
66
|
-
"@babel/preset-env": "^7.29.
|
|
66
|
+
"@babel/preset-env": "^7.29.5",
|
|
67
67
|
"@babel/preset-react": "^7.28.5",
|
|
68
68
|
"@babel/preset-typescript": "^7.28.5",
|
|
69
69
|
"@eslint/compat": "^2.0.3",
|
|
70
70
|
"@eslint/config-helpers": "^0.5.4",
|
|
71
71
|
"@eslint/js": "^10.0.1",
|
|
72
72
|
"@eslint/json": "^1.1.0",
|
|
73
|
-
"@inquirer/confirm": "^6.0.
|
|
74
|
-
"@inquirer/select": "^5.1.
|
|
75
|
-
"@napi-rs/keyring": "^1.
|
|
73
|
+
"@inquirer/confirm": "^6.0.12",
|
|
74
|
+
"@inquirer/select": "^5.1.4",
|
|
75
|
+
"@napi-rs/keyring": "^1.3.0",
|
|
76
76
|
"@octokit/auth-action": "^6.0.2",
|
|
77
77
|
"@octokit/oauth-methods": "^6.0.2",
|
|
78
78
|
"@octokit/rest": "^22.0.1",
|
|
@@ -139,9 +139,9 @@
|
|
|
139
139
|
"unified-lint-rule": "^3.0.1",
|
|
140
140
|
"unist-util-visit": "^5.1.0",
|
|
141
141
|
"yargs": "^18.0.0",
|
|
142
|
-
"@mui/internal-babel-plugin-display-name": "1.0.4-canary.
|
|
143
|
-
"@mui/internal-babel-plugin-
|
|
144
|
-
"@mui/internal-babel-plugin-
|
|
142
|
+
"@mui/internal-babel-plugin-display-name": "1.0.4-canary.20",
|
|
143
|
+
"@mui/internal-babel-plugin-minify-errors": "2.0.8-canary.27",
|
|
144
|
+
"@mui/internal-babel-plugin-resolve-imports": "2.0.7-canary.36"
|
|
145
145
|
},
|
|
146
146
|
"peerDependencies": {
|
|
147
147
|
"@next/eslint-plugin-next": "*",
|
|
@@ -175,7 +175,7 @@
|
|
|
175
175
|
"eslint": "10.0.3",
|
|
176
176
|
"get-port": "7.2.0",
|
|
177
177
|
"prettier": "3.8.3",
|
|
178
|
-
"remark": "
|
|
178
|
+
"remark": "15.0.1",
|
|
179
179
|
"remark-mdx": "^3.1.1",
|
|
180
180
|
"serve": "14.2.6",
|
|
181
181
|
"typescript-eslint": "8.57.1"
|
|
@@ -191,7 +191,7 @@
|
|
|
191
191
|
"publishConfig": {
|
|
192
192
|
"access": "public"
|
|
193
193
|
},
|
|
194
|
-
"gitSha": "
|
|
194
|
+
"gitSha": "350e6291912c0c23528bda9573d07ce786aeb386",
|
|
195
195
|
"scripts": {
|
|
196
196
|
"build": "tsgo -p tsconfig.build.json",
|
|
197
197
|
"typescript": "tsgo -noEmit",
|
package/src/cli/packageJson.d.ts
CHANGED
|
@@ -308,7 +308,7 @@ declare namespace PackageJson {
|
|
|
308
308
|
browser?: string | Partial<Record<string, string | false>>;
|
|
309
309
|
|
|
310
310
|
/**
|
|
311
|
-
Denote which files in your project are "pure" and therefore safe for
|
|
311
|
+
Denote which files in your project are "pure" and therefore safe for webpack to prune if unused.
|
|
312
312
|
|
|
313
313
|
[Read more.](https://webpack.js.org/guides/tree-shaking/)
|
|
314
314
|
*/
|