@mui/internal-code-infra 0.0.4-canary.11 → 0.0.4-canary.12
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.12",
|
|
4
4
|
"description": "Infra scripts and configs to be used across MUI repos.",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"license": "MIT",
|
|
@@ -117,8 +117,8 @@
|
|
|
117
117
|
"unified": "^11.0.5",
|
|
118
118
|
"yargs": "^18.0.0",
|
|
119
119
|
"@mui/internal-babel-plugin-display-name": "1.0.4-canary.15",
|
|
120
|
-
"@mui/internal-babel-plugin-
|
|
121
|
-
"@mui/internal-babel-plugin-
|
|
120
|
+
"@mui/internal-babel-plugin-minify-errors": "2.0.8-canary.24",
|
|
121
|
+
"@mui/internal-babel-plugin-resolve-imports": "2.0.7-canary.33"
|
|
122
122
|
},
|
|
123
123
|
"peerDependencies": {
|
|
124
124
|
"@next/eslint-plugin-next": "*",
|
|
@@ -164,7 +164,7 @@
|
|
|
164
164
|
"publishConfig": {
|
|
165
165
|
"access": "public"
|
|
166
166
|
},
|
|
167
|
-
"gitSha": "
|
|
167
|
+
"gitSha": "03f5d78b7f16c1b7375e67c9270475126d63464c",
|
|
168
168
|
"scripts": {
|
|
169
169
|
"build": "tsgo -p tsconfig.build.json",
|
|
170
170
|
"typescript": "tsgo -noEmit",
|
package/src/cli/cmdPublish.mjs
CHANGED
|
@@ -316,9 +316,14 @@ export default /** @type {import('yargs').CommandModule<{}, Args>} */ ({
|
|
|
316
316
|
const { issues } = await validatePublishDependencies(allPackages);
|
|
317
317
|
|
|
318
318
|
if (issues.length > 0) {
|
|
319
|
-
throw new Error(
|
|
320
|
-
|
|
321
|
-
|
|
319
|
+
throw new Error(
|
|
320
|
+
`Invalid dependencies structure of packages to be published -
|
|
321
|
+
${issues.join('\n ')}
|
|
322
|
+
`,
|
|
323
|
+
{
|
|
324
|
+
cause: issues,
|
|
325
|
+
},
|
|
326
|
+
);
|
|
322
327
|
}
|
|
323
328
|
|
|
324
329
|
console.log('✅ All workspace dependency requirements satisfied');
|
|
@@ -520,9 +520,14 @@ export default /** @type {import('yargs').CommandModule<{}, Args>} */ ({
|
|
|
520
520
|
const { issues } = await validatePublishDependencies(filteredPackages);
|
|
521
521
|
|
|
522
522
|
if (issues.length > 0) {
|
|
523
|
-
throw new Error(
|
|
524
|
-
|
|
525
|
-
|
|
523
|
+
throw new Error(
|
|
524
|
+
`Invalid dependencies structure of packages to be published -
|
|
525
|
+
${issues.join('\n ')}
|
|
526
|
+
`,
|
|
527
|
+
{
|
|
528
|
+
cause: issues,
|
|
529
|
+
},
|
|
530
|
+
);
|
|
526
531
|
}
|
|
527
532
|
|
|
528
533
|
console.log('✅ All workspace dependency requirements satisfied');
|