You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
`\u26A0\uFE0F **Dependency Count Warning**: This PR adds ${depIncrease} new dependencies (${baseDepCount} \u2192 ${currentDepCount}), which exceeds the threshold of ${dependencyThreshold}.`
24418
+
`## \u26A0\uFE0F Dependency Count
24419
+
24420
+
This PR adds ${depIncrease} new dependencies (${baseDepCount} \u2192 ${currentDepCount}), which exceeds the threshold of ${dependencyThreshold}.`
24419
24421
);
24420
24422
}
24421
24423
const duplicateWarnings = [];
@@ -24433,7 +24435,7 @@ async function run() {
24433
24435
24434
24436
\u{1F4A1} To find out what depends on a specific package, run: \`${exampleCommand}\`` : "";
`\u26A0\uFE0F **Large Dependency Size Increase**: This PR adds ${formatBytes(sizeData.totalSize)} of new dependencies, which exceeds the threshold of ${formatBytes(sizeThreshold)}.
24463
+
`## \u26A0\uFE0F Large Dependency Size Increase
24464
+
24465
+
This PR adds ${formatBytes(sizeData.totalSize)} of new dependencies, which exceeds the threshold of ${formatBytes(sizeThreshold)}.
Copy file name to clipboardExpand all lines: src/main.ts
+18-4Lines changed: 18 additions & 4 deletions
Original file line number
Diff line number
Diff line change
@@ -121,7 +121,9 @@ async function run(): Promise<void> {
121
121
122
122
if(depIncrease>=dependencyThreshold){
123
123
messages.push(
124
-
`⚠️ **Dependency Count Warning**: This PR adds ${depIncrease} new dependencies (${baseDepCount} → ${currentDepCount}), which exceeds the threshold of ${dependencyThreshold}.`
124
+
`## ⚠️ Dependency Count
125
+
126
+
This PR adds ${depIncrease} new dependencies (${baseDepCount} → ${currentDepCount}), which exceeds the threshold of ${dependencyThreshold}.`
125
127
);
126
128
}
127
129
@@ -141,7 +143,9 @@ async function run(): Promise<void> {
141
143
? `\n\n💡 To find out what depends on a specific package, run: \`${exampleCommand}\``
@@ -179,7 +183,12 @@ async function run(): Promise<void> {
179
183
.join('\n');
180
184
181
185
messages.push(
182
-
`⚠️ **Large Dependency Size Increase**: This PR adds ${formatBytes(sizeData.totalSize)} of new dependencies, which exceeds the threshold of ${formatBytes(sizeThreshold)}.\n\n| Package | Size |\n|---------|------|\n${packageRows}`
186
+
`## ⚠️ Large Dependency Size Increase
187
+
188
+
This PR adds ${formatBytes(sizeData.totalSize)} of new dependencies, which exceeds the threshold of ${formatBytes(sizeThreshold)}.
189
+
190
+
| Package | Size |\n|---------|------|
191
+
${packageRows}`
183
192
);
184
193
}
185
194
}catch(err){
@@ -229,7 +238,12 @@ async function run(): Promise<void> {
229
238
.join('\n');
230
239
231
240
messages.push(
232
-
`⚠️ **Package Size Increase Warning**: These packages exceed the size increase threshold of ${formatBytes(packSizeThreshold)}:\n\n| Package | Base Size | Source Size | Size Change |\n|---------|-----------|-------------|-------------|\n${packRows}`
241
+
`## ⚠️ Package Size Increase
242
+
243
+
These packages exceed the size increase threshold of ${formatBytes(packSizeThreshold)}:
0 commit comments