team-toon-tack 2.0.1 → 2.0.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.
@@ -1,6 +1,9 @@
1
1
  #!/usr/bin/env bun
2
2
  import fs from "node:fs/promises";
3
3
  import path from "node:path";
4
+ import { fileURLToPath } from "node:url";
5
+ const __filename = fileURLToPath(import.meta.url);
6
+ const __dirname = path.dirname(__filename);
4
7
  import { decode, encode } from "@toon-format/toon";
5
8
  import prompts from "prompts";
6
9
  import { buildConfig, buildLocalConfig, findTeamKey, findUserKey, getDefaultStatusTransitions, } from "./lib/config-builder.js";
@@ -674,9 +677,8 @@ async function init() {
674
677
  }
675
678
  await fs.writeFile(paths.localPath, encode(localConfig), "utf-8");
676
679
  console.log(` ✓ ${paths.localPath}`);
677
- // Update .gitignore
678
- const tttDir = paths.baseDir.replace(/^\.\//, "");
679
- await updateGitignore(tttDir, options.interactive ?? true);
680
+ // Update .gitignore (always use relative path .ttt)
681
+ await updateGitignore(".ttt", options.interactive ?? true);
680
682
  // Install Claude Code commands
681
683
  const { installed: commandsInstalled, prefix: commandPrefix } = await installClaudeCommands(options.interactive ?? true, statusSource);
682
684
  // Summary
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "team-toon-tack",
3
- "version": "2.0.1",
3
+ "version": "2.0.3",
4
4
  "description": "Linear task sync & management CLI with TOON format",
5
5
  "type": "module",
6
6
  "bin": {
@@ -26,7 +26,8 @@
26
26
  "dependencies": {
27
27
  "@linear/sdk": "^69.0.0",
28
28
  "@toon-format/toon": "^2.1.0",
29
- "prompts": "^2.4.2"
29
+ "prompts": "^2.4.2",
30
+ "team-toon-tack": "^2.0.2"
30
31
  },
31
32
  "devDependencies": {
32
33
  "@biomejs/biome": "^2.3.11",