@mui/internal-code-infra 0.0.4-canary.91 → 0.0.4-canary.93
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.93",
|
|
4
4
|
"author": "MUI Team",
|
|
5
5
|
"description": "Infra scripts and configs to be used across MUI repos.",
|
|
6
6
|
"license": "MIT",
|
|
@@ -135,9 +135,9 @@
|
|
|
135
135
|
"unist-util-visit": "^5.1.0",
|
|
136
136
|
"yaml": "^2.9.0",
|
|
137
137
|
"yargs": "^18.0.0",
|
|
138
|
-
"@mui/internal-babel-plugin-display-name": "1.0.4-canary.
|
|
139
|
-
"@mui/internal-babel-plugin-
|
|
140
|
-
"@mui/internal-babel-plugin-
|
|
138
|
+
"@mui/internal-babel-plugin-display-name": "1.0.4-canary.23",
|
|
139
|
+
"@mui/internal-babel-plugin-minify-errors": "2.0.8-canary.30",
|
|
140
|
+
"@mui/internal-babel-plugin-resolve-imports": "2.0.7-canary.40"
|
|
141
141
|
},
|
|
142
142
|
"peerDependencies": {
|
|
143
143
|
"@next/eslint-plugin-next": "*",
|
|
@@ -188,7 +188,7 @@
|
|
|
188
188
|
"publishConfig": {
|
|
189
189
|
"access": "public"
|
|
190
190
|
},
|
|
191
|
-
"gitSha": "
|
|
191
|
+
"gitSha": "ca184cd82c77ecbc714667a0dfae192b4df660d9",
|
|
192
192
|
"scripts": {
|
|
193
193
|
"build": "tsgo -p tsconfig.build.json",
|
|
194
194
|
"typescript": "tsgo -noEmit",
|
|
@@ -93,7 +93,11 @@ async function fetchCommitsForPackage({ packagePath }) {
|
|
|
93
93
|
return results;
|
|
94
94
|
}
|
|
95
95
|
|
|
96
|
-
const AUTHOR_EXCLUDE_LIST =
|
|
96
|
+
const AUTHOR_EXCLUDE_LIST = new Set([
|
|
97
|
+
'renovate[bot]',
|
|
98
|
+
'dependabot[bot]',
|
|
99
|
+
'code-infra-renovate[bot]',
|
|
100
|
+
]);
|
|
97
101
|
|
|
98
102
|
/**
|
|
99
103
|
* @param {string} message
|
|
@@ -144,7 +148,7 @@ async function prepareChangelogsFromGitCli(packagesToPublish, allPackages, canar
|
|
|
144
148
|
// Exclude commits authored by bots
|
|
145
149
|
.filter(
|
|
146
150
|
// We want to allow commits from copilot or other AI tools, so only filter known bots
|
|
147
|
-
(commit) => !AUTHOR_EXCLUDE_LIST.
|
|
151
|
+
(commit) => !AUTHOR_EXCLUDE_LIST.has(commit.author),
|
|
148
152
|
)
|
|
149
153
|
.map((commit) => `- ${cleanupCommitMessage(commit.message)} by ${commit.author}`);
|
|
150
154
|
|
package/src/utils/pnpm.mjs
CHANGED
|
@@ -89,12 +89,15 @@ export async function getWorkspacePackages(options = {}) {
|
|
|
89
89
|
};
|
|
90
90
|
|
|
91
91
|
// pnpm ORs --filter args, so intersect "matches filter" with "changed since ref"
|
|
92
|
-
// in JS. The
|
|
92
|
+
// in JS. The `...[ref]` selector includes dependents of changed packages, so a
|
|
93
|
+
// package whose `workspace:*` dependency changed is treated as changed too. This
|
|
94
|
+
// keeps consumers from getting duplicate copies when only a leaf package is
|
|
95
|
+
// republished but its dependents still pin the previous version.
|
|
93
96
|
const patternFilterArg = filter.flatMap((f) => ['--filter', f]);
|
|
94
97
|
const [candidatePackages, changedPackages] = await Promise.all([
|
|
95
98
|
listPackages(patternFilterArg),
|
|
96
99
|
// null when no sinceRef (skip the constraint); [] when nothing changed.
|
|
97
|
-
sinceRef ? listPackages(['--filter',
|
|
100
|
+
sinceRef ? listPackages(['--filter', `...[${sinceRef}]`]) : Promise.resolve(null),
|
|
98
101
|
]);
|
|
99
102
|
let packageData = candidatePackages;
|
|
100
103
|
if (changedPackages) {
|