@smicolon/ai-kit 0.4.2 → 0.5.1
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 +1 -4
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -268,10 +268,7 @@ function resolvePack(plugin, marketplaceDir) {
|
|
|
268
268
|
if (fs2.existsSync(rulesDir)) {
|
|
269
269
|
rules = fs2.readdirSync(rulesDir).filter((f) => f.endsWith(".md")).map((f) => path2.join(rulesDir, f));
|
|
270
270
|
}
|
|
271
|
-
const skills = (plugin.skills ?? []).map((s) =>
|
|
272
|
-
const skillMdPath = path2.resolve(sourceDir, s);
|
|
273
|
-
return path2.dirname(skillMdPath);
|
|
274
|
-
});
|
|
271
|
+
const skills = (plugin.skills ?? []).map((s) => path2.resolve(sourceDir, s));
|
|
275
272
|
return {
|
|
276
273
|
name: plugin.name,
|
|
277
274
|
version: plugin.version,
|