@hasna/microservices 0.0.32 → 0.0.33

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/bin/index.js +4 -1
  2. package/package.json +1 -1
package/bin/index.js CHANGED
@@ -3742,6 +3742,9 @@ Installing ${targets.length} microservice(s)...
3742
3742
  }
3743
3743
  }
3744
3744
  console.log();
3745
+ if (results.some((result) => !result.success)) {
3746
+ process.exit(1);
3747
+ }
3745
3748
  });
3746
3749
  program2.command("remove <name>").description("Remove an installed microservice").option("-y, --yes", "Skip confirmation prompt").action(async (name, opts) => {
3747
3750
  if (!opts.yes) {
@@ -3912,7 +3915,7 @@ program2.command("init-all").description("Run init (migrations) for all installe
3912
3915
  return;
3913
3916
  }
3914
3917
  if (!opts.db) {
3915
- console.error(source_default.red("--db <url> is required. Example: microservices init-all --db postgres://localhost/myapp"));
3918
+ console.error(source_default.red("--db <url> is required. Example: microservices init-all --db <postgres-connection-url>"));
3916
3919
  process.exit(1);
3917
3920
  }
3918
3921
  process.env.DATABASE_URL = opts.db;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@hasna/microservices",
3
- "version": "0.0.32",
3
+ "version": "0.0.33",
4
4
  "description": "21 production-grade microservice building blocks for AI-native SaaS — auth, billing, LLM gateway, agent registry, RAG, guardrails, tracing, and more. Each with PostgreSQL, HTTP API, MCP server, and CLI.",
5
5
  "type": "module",
6
6
  "bin": {