checkpoint-cli 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.
Files changed (2) hide show
  1. package/dist/index.js +3 -1
  2. package/package.json +1 -1
package/dist/index.js CHANGED
@@ -12,6 +12,8 @@ const chalk_1 = __importDefault(require("chalk"));
12
12
  const supabase_js_1 = require("@supabase/supabase-js");
13
13
  const config_js_1 = require("./config.js");
14
14
  const tracking_script_minimal_js_1 = require("./tracking-script-minimal.js");
15
+ // eslint-disable-next-line @typescript-eslint/no-var-requires
16
+ const { version: cliVersion } = require('../package.json');
15
17
  /* ── Authenticated Supabase Client ── */
16
18
  function getSupabase() {
17
19
  const config = (0, config_js_1.loadConfig)();
@@ -555,7 +557,7 @@ const program = new commander_1.Command();
555
557
  program
556
558
  .name('checkpoint')
557
559
  .description('Share your localhost with reviewers — get visual feedback directly on the page.\n\nQuick start:\n 1. checkpoint login Sign in to your Checkpoint account\n 2. checkpoint start -p 3000 Start tunneling and get a share link\n\nReuse a tunnel name to keep the same share URL and preserve all comments.')
558
- .version('0.5.2');
560
+ .version(cliVersion);
559
561
  // ── checkpoint login ──
560
562
  program
561
563
  .command('login')
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "checkpoint-cli",
3
- "version": "1.0.1",
3
+ "version": "1.0.2",
4
4
  "description": "Share your localhost with reviewers — get visual feedback directly on the page",
5
5
  "keywords": [
6
6
  "checkpoint",