@aipm-registry/cli 0.2.0 → 0.2.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.
- package/dist/bin.cjs +2 -3
- package/dist/bin.cjs.map +2 -2
- package/package.json +1 -1
package/dist/bin.cjs
CHANGED
|
@@ -8697,7 +8697,7 @@ async function initSkill(opts) {
|
|
|
8697
8697
|
await (0, import_promises9.mkdir)(root, { recursive: true });
|
|
8698
8698
|
const source = opts.from ? (0, import_node_path11.resolve)(opts.from) : null;
|
|
8699
8699
|
const entry = source ? await inferEntryFromSource(source, opts.entry) : opts.entry;
|
|
8700
|
-
const manifest = {
|
|
8700
|
+
const manifest = PackageManifestSchema.parse({
|
|
8701
8701
|
schemaVersion: "0.1",
|
|
8702
8702
|
name: opts.name,
|
|
8703
8703
|
version: opts.version,
|
|
@@ -8706,8 +8706,7 @@ async function initSkill(opts) {
|
|
|
8706
8706
|
entry,
|
|
8707
8707
|
targets: parseTargetsFlag(opts.targets),
|
|
8708
8708
|
license: "Apache-2.0"
|
|
8709
|
-
};
|
|
8710
|
-
PackageManifestSchema.parse(manifest);
|
|
8709
|
+
});
|
|
8711
8710
|
if (source) {
|
|
8712
8711
|
const sourceInfo = await (0, import_promises9.stat)(source);
|
|
8713
8712
|
if (sourceInfo.isDirectory()) {
|