itismyskillmarket 1.1.4 → 1.1.5

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/dist/index.js CHANGED
@@ -184,8 +184,10 @@ async function listSkills(options) {
184
184
  console.log(`Found ${packages.length} skill(s):
185
185
  `);
186
186
  for (const pkgName of packages) {
187
+ console.error("Fetching:", pkgName);
187
188
  const info = await fetchNpmPackage(pkgName);
188
- if (info) {
189
+ console.error("Got info:", info ? "yes" : "no", info?.name);
190
+ if (info && info.name) {
189
191
  const latestVersion = info["dist-tags"]?.latest;
190
192
  const pkg = info.versions?.[latestVersion];
191
193
  console.log(` ${info.name}@${latestVersion}`);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "itismyskillmarket",
3
- "version": "1.1.4",
3
+ "version": "1.1.5",
4
4
  "description": "Cross-platform skill manager for AI coding tools",
5
5
  "type": "module",
6
6
  "files": [
@@ -117,9 +117,11 @@ export async function listSkills(options: LsOptions): Promise<void> {
117
117
 
118
118
  // 遍历每个包,获取详细信息并显示
119
119
  for (const pkgName of packages) {
120
+ console.error('Fetching:', pkgName);
120
121
  const info = await fetchNpmPackage(pkgName);
122
+ console.error('Got info:', info ? 'yes' : 'no', info?.name);
121
123
 
122
- if (info) {
124
+ if (info && info.name) {
123
125
  // 获取最新版本号
124
126
  const latestVersion = info['dist-tags']?.latest;
125
127