@mui/internal-code-infra 0.1.1-canary.40 → 0.1.1-canary.42
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/README.md +1 -1
- package/package.json +15 -15
- package/src/cli/cmdBuildNew.mjs +3 -0
package/README.md
CHANGED
|
@@ -99,7 +99,7 @@ need explicit exports. The output keeps `export * as` and `import * as` namespac
|
|
|
99
99
|
turns into `<name>_exports` objects in unbundled builds. A namespace stays an object when Rolldown
|
|
100
100
|
inlines its constants into it, when the module reads it itself, or, in JavaScript, when it is
|
|
101
101
|
imported next to a default import or by a quoted name. The output is validated with publint, as in
|
|
102
|
-
`code-infra build`. With
|
|
102
|
+
`code-infra build`. The output isn't minified, and CJS files start with `"use strict"`. With
|
|
103
103
|
`--cjsCopy`, imported `.cjs` sources are emitted unchanged and imported as-is, as in
|
|
104
104
|
`code-infra build`, and the local modules they `require` are built at the paths they name; the build
|
|
105
105
|
fails when no bundle outputs a module at that path. `--cjsCopy` is deprecated: only
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@mui/internal-code-infra",
|
|
3
|
-
"version": "0.1.1-canary.
|
|
3
|
+
"version": "0.1.1-canary.42",
|
|
4
4
|
"author": "MUI Team",
|
|
5
5
|
"description": "Infra scripts and configs to be used across MUI repos.",
|
|
6
6
|
"license": "MIT",
|
|
@@ -53,7 +53,7 @@
|
|
|
53
53
|
"code-infra": "./bin/code-infra.mjs"
|
|
54
54
|
},
|
|
55
55
|
"dependencies": {
|
|
56
|
-
"@argos-ci/core": "6.
|
|
56
|
+
"@argos-ci/core": "6.10.0",
|
|
57
57
|
"@babel/cli": "^8.1.0",
|
|
58
58
|
"@babel/core": "^8.1.3",
|
|
59
59
|
"@babel/helper-compilation-targets": "^8.0.7",
|
|
@@ -71,7 +71,7 @@
|
|
|
71
71
|
"@inquirer/select": "^5.3.1",
|
|
72
72
|
"@mui/internal-babel-plugin-display-name": "2.0.1-canary.5",
|
|
73
73
|
"@mui/internal-babel-plugin-minify-errors": "3.0.1-canary.5",
|
|
74
|
-
"@mui/internal-babel-plugin-resolve-imports": "3.0.1-canary.
|
|
74
|
+
"@mui/internal-babel-plugin-resolve-imports": "3.0.1-canary.7",
|
|
75
75
|
"@napi-rs/keyring": "^2.1.2",
|
|
76
76
|
"@octokit/auth-action": "^6.0.3",
|
|
77
77
|
"@octokit/oauth-methods": "^6.0.5",
|
|
@@ -79,14 +79,14 @@
|
|
|
79
79
|
"@octokit/plugin-throttling": "^11.0.5",
|
|
80
80
|
"@octokit/rest": "^22.0.1",
|
|
81
81
|
"@octokit/types": "^18.0.0",
|
|
82
|
-
"@pnpm/config.version-policy": "^1100.2.
|
|
82
|
+
"@pnpm/config.version-policy": "^1100.2.12",
|
|
83
83
|
"@pnpm/find-workspace-dir": "^1000.1.5",
|
|
84
84
|
"@pnpm/parse-wanted-dependency": "^1001.0.0",
|
|
85
85
|
"@types/babel__core": "^7.20.5",
|
|
86
|
-
"@types/estree": "^1.0.
|
|
86
|
+
"@types/estree": "^1.0.11",
|
|
87
87
|
"@types/mdast": "^4.0.4",
|
|
88
|
-
"@typescript-eslint/types": "^8.
|
|
89
|
-
"@typescript-eslint/utils": "^8.
|
|
88
|
+
"@typescript-eslint/types": "^8.74.0",
|
|
89
|
+
"@typescript-eslint/utils": "^8.74.0",
|
|
90
90
|
"@vitest/eslint-plugin": "^1.6.28",
|
|
91
91
|
"babel-plugin-optimize-clsx": "^2.6.2",
|
|
92
92
|
"babel-plugin-react-compiler": "^1.0.0",
|
|
@@ -98,24 +98,24 @@
|
|
|
98
98
|
"content-type": "^3.1.1",
|
|
99
99
|
"env-ci": "^11.2.0",
|
|
100
100
|
"es-toolkit": "^1.53.2",
|
|
101
|
-
"eslint-config-prettier": "^10.1.
|
|
101
|
+
"eslint-config-prettier": "^10.1.9",
|
|
102
102
|
"eslint-import-resolver-typescript": "^4.4.5",
|
|
103
103
|
"eslint-module-utils": "^2.14.0",
|
|
104
104
|
"eslint-plugin-compat": "^7.0.2",
|
|
105
105
|
"eslint-plugin-import": "^2.32.0",
|
|
106
106
|
"eslint-plugin-jsx-a11y": "^6.10.2",
|
|
107
107
|
"eslint-plugin-mdx": "^3.10.1",
|
|
108
|
-
"eslint-plugin-n": "^18.
|
|
108
|
+
"eslint-plugin-n": "^18.6.0",
|
|
109
109
|
"eslint-plugin-package-json": "^1.14.0",
|
|
110
110
|
"eslint-plugin-react": "^7.37.5",
|
|
111
111
|
"eslint-plugin-react-compiler": "^19.1.0-rc.2",
|
|
112
112
|
"eslint-plugin-react-hooks": "^7.1.1",
|
|
113
|
-
"eslint-plugin-testing-library": "^7.16.
|
|
113
|
+
"eslint-plugin-testing-library": "^7.16.3",
|
|
114
114
|
"execa": "^10.2.1",
|
|
115
115
|
"git-url-parse": "^16.1.0",
|
|
116
116
|
"globals": "^17.14.0",
|
|
117
117
|
"globby": "^16.2.4",
|
|
118
|
-
"html-validate": "^11.
|
|
118
|
+
"html-validate": "^11.23.0",
|
|
119
119
|
"minimatch": "^11.0.9",
|
|
120
120
|
"node-html-parser": "^9.0.7",
|
|
121
121
|
"open": "^11.0.4",
|
|
@@ -145,7 +145,7 @@
|
|
|
145
145
|
"semver": "^7.8.6",
|
|
146
146
|
"stylelint-config-standard": "^41.1.0",
|
|
147
147
|
"tsdown": "0.23.4",
|
|
148
|
-
"typescript-eslint": "^8.
|
|
148
|
+
"typescript-eslint": "^8.74.0",
|
|
149
149
|
"unified": "^11.0.5",
|
|
150
150
|
"unified-lint-rule": "^3.0.1",
|
|
151
151
|
"unist-util-visit": "^5.2.0",
|
|
@@ -174,8 +174,8 @@
|
|
|
174
174
|
"@types/estree-jsx": "1.0.5",
|
|
175
175
|
"@types/regexp.escape": "2.0.0",
|
|
176
176
|
"@types/yargs": "17.0.35",
|
|
177
|
-
"@typescript-eslint/parser": "8.
|
|
178
|
-
"@typescript-eslint/rule-tester": "8.
|
|
177
|
+
"@typescript-eslint/parser": "8.74.0",
|
|
178
|
+
"@typescript-eslint/rule-tester": "8.74.0",
|
|
179
179
|
"@typescript/native": "npm:typescript@7.0.2",
|
|
180
180
|
"eslint": "10.15.0",
|
|
181
181
|
"get-port": "7.2.0",
|
|
@@ -199,7 +199,7 @@
|
|
|
199
199
|
"publishConfig": {
|
|
200
200
|
"access": "public"
|
|
201
201
|
},
|
|
202
|
-
"gitSha": "
|
|
202
|
+
"gitSha": "003bc3927b21f1caf942d94fec0f6e3caf21eeb0",
|
|
203
203
|
"scripts": {
|
|
204
204
|
"build": "tsc -p tsconfig.build.json",
|
|
205
205
|
"typescript": "tsc -noEmit",
|
package/src/cli/cmdBuildNew.mjs
CHANGED
|
@@ -384,6 +384,8 @@ export default /** @type {import('yargs').CommandModule<{}, Args>} */ ({
|
|
|
384
384
|
root: SOURCE_DIR,
|
|
385
385
|
outDir,
|
|
386
386
|
clean: true,
|
|
387
|
+
// Minification is the consumer's concern.
|
|
388
|
+
minify: false,
|
|
387
389
|
format: Object.fromEntries(
|
|
388
390
|
bundles.map((bundle) => [FORMATS[bundle], { target: getTarget(cwd, bundle) }]),
|
|
389
391
|
),
|
|
@@ -427,6 +429,7 @@ export default /** @type {import('yargs').CommandModule<{}, Args>} */ ({
|
|
|
427
429
|
deps: { neverBundle: true },
|
|
428
430
|
outputOptions: {
|
|
429
431
|
exports: 'named',
|
|
432
|
+
strict: true,
|
|
430
433
|
// Returning the id itself would print relative externals unresolved; `undefined` keeps
|
|
431
434
|
// Rolldown's own path for them.
|
|
432
435
|
paths: /** @type {(id: string) => string} */ (
|