ccclub 0.1.8 → 0.1.9

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/dist/index.js +3 -2
  2. package/package.json +1 -1
package/dist/index.js CHANGED
@@ -67,7 +67,8 @@ function getApiUrl() {
67
67
  async function requireConfig() {
68
68
  const config = await loadConfig();
69
69
  if (!config) {
70
- throw new Error('Not initialized. Run "ccclub init" first.');
70
+ console.error('Not initialized. Run "ccclub init" or "ccclub join <code>" first.');
71
+ process.exit(1);
71
72
  }
72
73
  return config;
73
74
  }
@@ -685,7 +686,7 @@ async function ensureGlobalInstall() {
685
686
 
686
687
  // src/index.ts
687
688
  var program = new Command();
688
- program.name("ccclub").description("CCClub - Compare Claude Code usage with friends").version("0.1.8");
689
+ program.name("ccclub").description("CCClub - Compare Claude Code usage with friends").version("0.1.9");
689
690
  program.hook("postAction", () => ensureGlobalInstall());
690
691
  program.command("init").description("Initialize CCClub (one-time setup)").action(initCommand);
691
692
  program.command("join").description("Join a friend's group").argument("<invite-code>", "6-character invite code").action(joinCommand);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "ccclub",
3
- "version": "0.1.8",
3
+ "version": "0.1.9",
4
4
  "type": "module",
5
5
  "description": "See how much Claude Code you and your friends are using",
6
6
  "bin": {