burnrate 0.1.2 → 0.1.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/dist/cli/index.js CHANGED
@@ -6,8 +6,9 @@
6
6
  */
7
7
  // Route 'setup' command to the setup script before loading heavy dependencies
8
8
  if (process.argv[2] === 'setup') {
9
- const { setupComplete } = await import('./setup.js');
10
- await setupComplete;
9
+ // setup.ts uses top-level await, so this import won't resolve
10
+ // until the entire setup wizard completes
11
+ await import('./setup.js');
11
12
  process.exit(0);
12
13
  }
13
14
  import { Command } from 'commander';
@@ -5,4 +5,4 @@
5
5
  *
6
6
  * Usage: npx burnrate setup
7
7
  */
8
- export declare const setupComplete: Promise<void>;
8
+ export {};
package/dist/cli/setup.js CHANGED
@@ -136,8 +136,11 @@ async function main() {
136
136
  `);
137
137
  rl.close();
138
138
  }
139
- export const setupComplete = main().catch((err) => {
139
+ try {
140
+ await main();
141
+ }
142
+ catch (err) {
140
143
  console.error('Setup failed:', err);
141
144
  rl.close();
142
145
  process.exit(1);
143
- });
146
+ }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "burnrate",
3
- "version": "0.1.2",
3
+ "version": "0.1.3",
4
4
  "description": "A logistics war MMO for Claude Code. The front doesn't feed itself.",
5
5
  "type": "module",
6
6
  "main": "dist/cli/index.js",