@codified/cli 0.1.4 → 0.1.5

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 +2 -2
  2. package/package.json +1 -1
package/dist/index.js CHANGED
@@ -653,7 +653,7 @@ builder.objectType('MyObject', {
653
653
  `),Qk(i);try{await Kk(i)}catch(E){console.error(" \u2717 Failed to start Docker services:",E.message),process.exit(1)}console.log(" \u2713 PostgreSQL on :5432"),console.log(" \u2713 NATS on :4222"),console.log(" Waiting for PostgreSQL to accept connections..."),await Hk(i)||(console.error(` \u2717 PostgreSQL did not become ready within 120s
654
654
  `),process.exit(1)),console.log(" \u2713 PostgreSQL is ready")}console.log(`
655
655
  [4/6] Database migrations`);try{let y=Fk(),E=await Wk(s,y),x=E.applied.length+E.skipped.length;E.applied.length>0?console.log(` \u2713 Schema applied (${E.applied.length} migration${E.applied.length>1?"s":""} applied, ${E.skipped.length} already up-to-date)`):console.log(` \u2713 Schema up-to-date (${x} migration${x>1?"s":""})`)}catch(y){console.error(" \u2717 Migration failed:",y.message),process.exit(1)}console.log(`
656
- [5/6] Project config`),Jk(r,{recursive:!0});let c=xs(r,"config.json"),u={version:"0.1.0",database:s,nats:a,anthropicApiKey:o,projectRoot:e,createdAt:new Date().toISOString()};jd(c,JSON.stringify(u,null,2)+`
656
+ [5/6] Project config`),Jk(r,{recursive:!0});let c=xs(r,"config.json"),u={version:"0.1.5",database:s,nats:a,anthropicApiKey:o,projectRoot:e,createdAt:new Date().toISOString()};jd(c,JSON.stringify(u,null,2)+`
657
657
  `,"utf-8"),console.log(" \u2713 .codify/config.json created");let l=xs(e,".gitignore");if(Zk(l)){let y=Yk(l,"utf-8");y.includes(".codify")||(jd(l,y.trimEnd()+`
658
658
  .codify/
659
659
  `,"utf-8"),console.log(" \u2713 .codify/ added to .gitignore"))}else jd(l,`.codify/
@@ -721,7 +721,7 @@ builder.objectType('MyObject', {
721
721
  ERROR: ANTHROPIC_API_KEY not set.`),console.error(` Export your API key: export ANTHROPIC_API_KEY=sk-...
722
722
  `)):console.error(`
723
723
  ERROR: ${e}
724
- `),process.exit(1)}});var $c=new gn;$c.name("codify").description("Codify \u2014 Living Context Graph for AI-Native Teams").version("0.1.0").addHelpText("after",`
724
+ `),process.exit(1)}});var $c=new gn;$c.name("codify").description("Codify \u2014 Living Context Graph for AI-Native Teams").version("0.1.5").addHelpText("after",`
725
725
  Quick Start:
726
726
  codify init Set up infrastructure and configure project
727
727
  codify bootstrap Mine git history into the context graph
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@codified/cli",
3
- "version": "0.1.4",
3
+ "version": "0.1.5",
4
4
  "type": "module",
5
5
  "description": "Codify — Living Context Graph for AI-Native Teams",
6
6
  "repository": {