@zabaca/lattice 0.1.1 → 0.1.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/cli.js +9 -9
  2. package/package.json +1 -1
package/dist/cli.js CHANGED
@@ -2154,7 +2154,7 @@ function registerSyncCommand(program) {
2154
2154
  };
2155
2155
  try {
2156
2156
  app = await NestFactory.createApplicationContext(AppModule, {
2157
- logger: options.verbose ? ["log", "error", "warn"] : false
2157
+ logger: options.verbose ? ["log", "error", "warn"] : ["error"]
2158
2158
  });
2159
2159
  const sync = app.get(SyncService);
2160
2160
  if (options.watch && options.dryRun) {
@@ -2288,7 +2288,7 @@ function registerStatusCommand(program) {
2288
2288
  let app;
2289
2289
  try {
2290
2290
  app = await NestFactory2.createApplicationContext(AppModule, {
2291
- logger: false
2291
+ logger: ["error"]
2292
2292
  });
2293
2293
  const sync = app.get(SyncService);
2294
2294
  const manifest = app.get(ManifestService);
@@ -2354,7 +2354,7 @@ function registerQueryCommands(program) {
2354
2354
  let app;
2355
2355
  try {
2356
2356
  app = await NestFactory3.createApplicationContext(AppModule, {
2357
- logger: false
2357
+ logger: ["error"]
2358
2358
  });
2359
2359
  const graph = app.get(GraphService);
2360
2360
  const stats = await graph.getStats();
@@ -2389,7 +2389,7 @@ Relationship Types (${stats.relationshipTypes.length}):`);
2389
2389
  let app;
2390
2390
  try {
2391
2391
  app = await NestFactory3.createApplicationContext(AppModule, {
2392
- logger: false
2392
+ logger: ["error"]
2393
2393
  });
2394
2394
  const graph = app.get(GraphService);
2395
2395
  if (options.semantic) {
@@ -2486,7 +2486,7 @@ Note: Semantic search requires embeddings to be generated first.`);
2486
2486
  let app;
2487
2487
  try {
2488
2488
  app = await NestFactory3.createApplicationContext(AppModule, {
2489
- logger: false
2489
+ logger: ["error"]
2490
2490
  });
2491
2491
  const graph = app.get(GraphService);
2492
2492
  const escapedName = name.replace(/'/g, "\\'");
@@ -2539,7 +2539,7 @@ Note: Semantic search requires embeddings to be generated first.`);
2539
2539
  let app;
2540
2540
  try {
2541
2541
  app = await NestFactory3.createApplicationContext(AppModule, {
2542
- logger: false
2542
+ logger: ["error"]
2543
2543
  });
2544
2544
  const graph = app.get(GraphService);
2545
2545
  const result = await graph.query(query);
@@ -2561,7 +2561,7 @@ Note: Semantic search requires embeddings to be generated first.`);
2561
2561
  let app;
2562
2562
  try {
2563
2563
  app = await NestFactory3.createApplicationContext(AppModule, {
2564
- logger: false
2564
+ logger: ["error"]
2565
2565
  });
2566
2566
  const graph = app.get(GraphService);
2567
2567
  const pathResolver = app.get(PathResolverService);
@@ -2616,7 +2616,7 @@ function registerValidateCommand(program) {
2616
2616
  let app;
2617
2617
  try {
2618
2618
  app = await NestFactory4.createApplicationContext(AppModule, {
2619
- logger: false
2619
+ logger: ["error"]
2620
2620
  });
2621
2621
  const parser = app.get(DocumentParserService);
2622
2622
  console.log(`Validating entities and relationships...
@@ -2683,7 +2683,7 @@ function registerOntologyCommand(program) {
2683
2683
  let app;
2684
2684
  try {
2685
2685
  app = await NestFactory5.createApplicationContext(AppModule, {
2686
- logger: false
2686
+ logger: ["error"]
2687
2687
  });
2688
2688
  const ontologyService = app.get(OntologyService);
2689
2689
  const ontology = await ontologyService.deriveOntology();
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@zabaca/lattice",
3
- "version": "0.1.1",
3
+ "version": "0.1.2",
4
4
  "description": "Human-initiated, AI-powered knowledge graph for markdown documentation",
5
5
  "type": "module",
6
6
  "bin": {