@fyow/copilot-everything 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.
- package/package.json +1 -1
- package/src/commands/init.js +11 -0
package/package.json
CHANGED
package/src/commands/init.js
CHANGED
|
@@ -169,6 +169,17 @@ function init(flags = {}) {
|
|
|
169
169
|
totalSkipped += copilotResult.skipped;
|
|
170
170
|
totalErrors.push(...copilotResult.errors);
|
|
171
171
|
|
|
172
|
+
// Scripts (hook implementations)
|
|
173
|
+
if (!skipHooks) {
|
|
174
|
+
const scriptsSrc = path.join(PACKAGE_ROOT, 'scripts');
|
|
175
|
+
const scriptsDest = path.join(targetDir, 'scripts');
|
|
176
|
+
const scriptsResult = copyDir(scriptsSrc, scriptsDest, options);
|
|
177
|
+
console.log(` ✅ Scripts: ${scriptsResult.copied} copied, ${scriptsResult.skipped} skipped`);
|
|
178
|
+
totalCopied += scriptsResult.copied;
|
|
179
|
+
totalSkipped += scriptsResult.skipped;
|
|
180
|
+
totalErrors.push(...scriptsResult.errors);
|
|
181
|
+
}
|
|
182
|
+
|
|
172
183
|
// AGENTS.md at root
|
|
173
184
|
const agentsMdSrc = path.join(PACKAGE_ROOT, 'AGENTS.md');
|
|
174
185
|
const agentsMdDest = path.join(targetDir, 'AGENTS.md');
|