speccrew 0.5.12 → 0.5.13
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/lib/commands/update.js +3 -2
- package/package.json +1 -1
package/lib/commands/update.js
CHANGED
|
@@ -508,8 +508,9 @@ function run() {
|
|
|
508
508
|
console.log(`Workspace: ${totalStats.workspaceDocs.updated} updated, ${totalStats.workspaceDocs.added} added`);
|
|
509
509
|
console.log(`Docs: ${totalStats.packageDocs.updated} updated, ${totalStats.packageDocs.added} added`);
|
|
510
510
|
|
|
511
|
-
//
|
|
512
|
-
const allExtras = [...new Set([...totalStats.extra, ...totalStats.extraDirs])]
|
|
511
|
+
// 输出警告(过滤掉已废弃的 Skill)
|
|
512
|
+
const allExtras = [...new Set([...totalStats.extra, ...totalStats.extraDirs])]
|
|
513
|
+
.filter(item => !DEPRECATED_SKILLS.includes(item));
|
|
513
514
|
if (allExtras.length > 0) {
|
|
514
515
|
console.log('\nWarning: The following installed items are not in the current version:');
|
|
515
516
|
for (const item of allExtras) {
|