taskmonkey-cli 0.4.2 → 0.4.3

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 CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "taskmonkey-cli",
3
- "version": "0.4.2",
3
+ "version": "0.4.3",
4
4
  "description": "TaskMonkey CLI — Remote dev tools for tenant config editing and tool testing",
5
5
  "bin": {
6
6
  "tm": "./bin/tm.js",
@@ -0,0 +1,6 @@
1
+ .tmrc
2
+ .claude/
3
+ docs/
4
+ CLAUDE.md
5
+ AGENTS.md
6
+ node_modules/
@@ -63,6 +63,18 @@ export async function pull() {
63
63
  written++;
64
64
  }
65
65
 
66
+ // Create .gitignore if it doesn't exist
67
+ const gitignorePath = join(config._configDir, '.gitignore');
68
+ if (!existsSync(gitignorePath)) {
69
+ const __filename = fileURLToPath(import.meta.url);
70
+ const gitignoreSrc = resolve(dirname(__filename), '..', '..', 'skills', 'gitignore');
71
+ if (existsSync(gitignoreSrc)) {
72
+ writeFileSync(gitignorePath, readFileSync(gitignoreSrc, 'utf8'));
73
+ console.log(chalk.cyan(` .gitignore (created)`));
74
+ written++;
75
+ }
76
+ }
77
+
66
78
  // Install Claude Code skills to .claude/commands/
67
79
  const skillsInstalled = installSkills(config._configDir);
68
80
  written += skillsInstalled;
@@ -85,7 +97,7 @@ function installSkills(targetDir) {
85
97
  if (!existsSync(skillsDir)) return 0;
86
98
 
87
99
  let count = 0;
88
- const files = readdirSync(skillsDir).filter(f => f.endsWith('.md'));
100
+ const files = readdirSync(skillsDir).filter(f => f.endsWith('.md') && f !== 'gitignore');
89
101
  for (const file of files) {
90
102
  const content = readFileSync(join(skillsDir, file), 'utf8');
91
103
  writeFileSync(join(commandsDir, file), content);