@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.
Files changed (2) hide show
  1. package/lib/wdyy-cli.js +0 -4
  2. 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'));
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@wdyy/skills",
3
- "version": "0.1.26",
3
+ "version": "0.1.27",
4
4
  "description": "企业内部开发 Skill 与项目初始化命令",
5
5
  "type": "module",
6
6
  "packageManager": "pnpm@12.1.0",