claude-code-autoconfig 1.0.104 → 1.0.105

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/bin/cli.js +5 -0
  2. package/package.json +1 -1
package/bin/cli.js CHANGED
@@ -301,12 +301,16 @@ const agentsSrc = path.join(packageDir, '.claude', 'agents');
301
301
  const feedbackSrc = path.join(packageDir, '.claude', 'feedback');
302
302
  const hooksSrc = path.join(packageDir, '.claude', 'hooks');
303
303
 
304
+ // Files that exist in the dev repo but should never be installed to user projects
305
+ const DEV_ONLY_FILES = ['publish.md', 'gls.md'];
306
+
304
307
  function copyDir(src, dest) {
305
308
  fs.mkdirSync(dest, { recursive: true });
306
309
  const entries = fs.readdirSync(src, { withFileTypes: true });
307
310
 
308
311
  for (const entry of entries) {
309
312
  if (isReservedName(entry.name)) continue;
313
+ if (DEV_ONLY_FILES.includes(entry.name)) continue;
310
314
 
311
315
  const srcPath = path.join(src, entry.name);
312
316
  const destPath = path.join(dest, entry.name);
@@ -324,6 +328,7 @@ function copyDirIfMissing(src, dest) {
324
328
  const entries = fs.readdirSync(src, { withFileTypes: true });
325
329
  for (const entry of entries) {
326
330
  if (isReservedName(entry.name)) continue;
331
+ if (DEV_ONLY_FILES.includes(entry.name)) continue;
327
332
  const srcPath = path.join(src, entry.name);
328
333
  const destPath = path.join(dest, entry.name);
329
334
  if (entry.isDirectory()) {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "claude-code-autoconfig",
3
- "version": "1.0.104",
3
+ "version": "1.0.105",
4
4
  "description": "Intelligent, self-configuring setup for Claude Code. One command analyzes your project, configures Claude, and shows you what it did.",
5
5
  "author": "ADAC 1001 <info@adac1001.com>",
6
6
  "license": "MIT",