codekeep 0.1.0 → 0.2.0

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 +1 -1
  2. package/package.json +1 -1
package/dist/index.js CHANGED
@@ -31,6 +31,6 @@ ${B}
31
31
  [ ] cycle 1-6 select
32
32
  c collect r raid v replay
33
33
  g jump Tab next f +res
34
- ?help Esc menu q quit`})})]})]}),tt&&ae(Ie,{dimColor:!0,children:"e/u/x build c collect r raid v replay f +res q quit"})]}):ae(Ie,{children:"Loading..."})}function Ns(t){return ae(So,{children:ae(Ba,{...t})})}import{jsx as Oa}from"react/jsx-runtime";var Os=new $a;Os.name("codekeep").description("Async tower defense terminal game powered by your coding activity").version("0.1.0").option("--ascii","Force ASCII-only rendering (no Unicode box drawing)").option("--compact","Compact layout for narrow terminals").option("--tutorial","Replay the tutorial").option("--resume","Skip menu, jump straight to keep").option("--online <url>","Connect to a CodeKeep server for multiplayer").option("--server <url>","Alias for --online").action(t=>{let e=!!qt(),o=t.online||t.server||process.env.CODEKEEP_SERVER,{waitUntilExit:s,unmount:r}=Na(Oa(Ns,{asciiMode:t.ascii??!1,compact:t.compact??!1,forceTutorial:t.tutorial??!1,autoResume:(t.resume??!1)&&e,serverUrl:o}),{exitOnCtrlC:!1}),a=!1;function T(){if(!a){a=!0,process.stderr.write(`
34
+ ?help Esc menu q quit`})})]})]}),tt&&ae(Ie,{dimColor:!0,children:"e/u/x build c collect r raid v replay f +res q quit"})]}):ae(Ie,{children:"Loading..."})}function Ns(t){return ae(So,{children:ae(Ba,{...t})})}import{jsx as Oa}from"react/jsx-runtime";var Os=new $a;Os.name("codekeep").description("Async tower defense terminal game powered by your coding activity").version("0.2.0").option("--ascii","Force ASCII-only rendering (no Unicode box drawing)").option("--compact","Compact layout for narrow terminals").option("--tutorial","Replay the tutorial").option("--resume","Skip menu, jump straight to keep").option("--online <url>","Connect to a CodeKeep server for multiplayer").option("--server <url>","Alias for --online").action(t=>{let e=!!qt(),o=t.online||t.server||process.env.CODEKEEP_SERVER,{waitUntilExit:s,unmount:r}=Na(Oa(Ns,{asciiMode:t.ascii??!1,compact:t.compact??!1,forceTutorial:t.tutorial??!1,autoResume:(t.resume??!1)&&e,serverUrl:o}),{exitOnCtrlC:!1}),a=!1;function T(){if(!a){a=!0,process.stderr.write(`
35
35
  Saving...
36
36
  `);try{let m=qt();m&&At(m)}catch{}r()}}process.on("SIGINT",T),process.on("SIGTERM",T),process.on("SIGHUP",T),s().then(()=>{process.exit(0)}).catch(()=>{process.exit(1)})});Os.parse();
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "codekeep",
3
- "version": "0.1.0",
3
+ "version": "0.2.0",
4
4
  "type": "module",
5
5
  "description": "Async tower defense terminal game — build ASCII fortresses powered by your coding activity",
6
6
  "license": "MIT",