skillmds 1.0.1 → 1.0.2

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/dist/cli.js +7 -1
  2. package/package.json +1 -1
package/dist/cli.js CHANGED
@@ -275,7 +275,13 @@ import { join, basename, dirname } from "path";
275
275
  var IGNORE_DIRS = /* @__PURE__ */ new Set(["node_modules", ".git", "dist", ".wrangler"]);
276
276
  function findSkillFiles(dir) {
277
277
  const out = [];
278
- for (const entry of readdirSync(dir, { withFileTypes: true })) {
278
+ let entries;
279
+ try {
280
+ entries = readdirSync(dir, { withFileTypes: true });
281
+ } catch {
282
+ return out;
283
+ }
284
+ for (const entry of entries) {
279
285
  if (entry.isDirectory()) {
280
286
  if (IGNORE_DIRS.has(entry.name)) continue;
281
287
  out.push(...findSkillFiles(join(dir, entry.name)));
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "skillmds",
3
- "version": "1.0.1",
3
+ "version": "1.0.2",
4
4
  "description": "SkillMD for agents: the `skillmds` MCP server + the `skillmd` CLI (lint, scan, search, install, publish Agent Skills) from skillmd.com.",
5
5
  "type": "module",
6
6
  "bin": {