@wdyy/skills 0.1.26 → 0.1.27
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/wdyy-cli.js +0 -4
- package/package.json +1 -1
package/lib/wdyy-cli.js
CHANGED
|
@@ -17,7 +17,6 @@ const managedSkillNames = [
|
|
|
17
17
|
const removedManagedSkillNames = ['wdyy-api-standard'];
|
|
18
18
|
const packageMetadata = JSON.parse(await readFile(join(packageRoot, 'package.json'), 'utf8'));
|
|
19
19
|
const requiredNodeMajor = Number(packageMetadata.engines.node.match(/\d+/)?.[0]);
|
|
20
|
-
const requiredPnpmVersion = packageMetadata.engines.pnpm;
|
|
21
20
|
const requiredPublicSkillNames = [
|
|
22
21
|
'grill-me',
|
|
23
22
|
'grill-with-docs',
|
|
@@ -179,9 +178,6 @@ async function inspectPrerequisites(skillsRoot = getGlobalSkillsRoot()) {
|
|
|
179
178
|
if (inspection.problem) problems.push(inspection.problem);
|
|
180
179
|
else tools[command] = inspection.version;
|
|
181
180
|
}
|
|
182
|
-
if (tools.pnpm !== requiredPnpmVersion) {
|
|
183
|
-
problems.push(`pnpm 版本不符合要求: 当前 ${tools.pnpm ?? '不可用'},要求 ${requiredPnpmVersion}`);
|
|
184
|
-
}
|
|
185
181
|
for (const skillName of requiredPublicSkillNames) {
|
|
186
182
|
try {
|
|
187
183
|
await access(join(skillsRoot, skillName, 'SKILL.md'));
|