fwinit 1.3.8 → 1.3.10
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 +10 -0
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -564,6 +564,16 @@ async function installOpenCodeFiles(repoRoot, projectPath) {
|
|
|
564
564
|
command,
|
|
565
565
|
join2(projectPath, ".opencode", "commands", "create-specs.md")
|
|
566
566
|
);
|
|
567
|
+
try {
|
|
568
|
+
const examplesDir = join2(repoRoot, "skills", "create-specs", "examples");
|
|
569
|
+
await access(examplesDir);
|
|
570
|
+
await cp2(
|
|
571
|
+
examplesDir,
|
|
572
|
+
join2(projectPath, ".opencode", "skills", "create-specs", "examples"),
|
|
573
|
+
{ recursive: true }
|
|
574
|
+
);
|
|
575
|
+
} catch {
|
|
576
|
+
}
|
|
567
577
|
try {
|
|
568
578
|
await access(designDir);
|
|
569
579
|
await cp2(designDir, join2(projectPath, ".opencode", "skills", "design"), {
|