@igniter-js/cli 0.4.3 → 0.4.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 (39) hide show
  1. package/dist/index.mjs +2 -2
  2. package/dist/index.mjs.map +1 -1
  3. package/dist/templates/add-ons/auth/better-auth/auth.hbs +37 -0
  4. package/dist/templates/add-ons/bots/nextjs/route-handler.hbs +10 -0
  5. package/dist/templates/add-ons/bots/sample-bot.hbs +26 -0
  6. package/dist/templates/add-ons/bots/tanstack-start/route-handler.hbs +15 -0
  7. package/dist/templates/add-ons/database/prisma/lib.hbs +11 -0
  8. package/dist/templates/add-ons/database/prisma/prisma.config.hbs +13 -0
  9. package/dist/templates/add-ons/database/prisma/schema.hbs +15 -0
  10. package/dist/templates/add-ons/jobs/jobs.ts.hbs +32 -0
  11. package/dist/templates/add-ons/jobs/redis.ts.hbs +13 -0
  12. package/dist/templates/add-ons/jobs/store.ts.hbs +12 -0
  13. package/dist/templates/add-ons/logging/logger.ts.hbs +14 -0
  14. package/dist/templates/add-ons/mcp/mcp.ts.hbs +21 -0
  15. package/dist/templates/add-ons/mcp/nextjs/route-handler.hbs +11 -0
  16. package/dist/templates/add-ons/mcp/tanstack-start/route-handler.hbs +19 -0
  17. package/dist/templates/add-ons/store/redis.ts.hbs +13 -0
  18. package/dist/templates/add-ons/store/store.ts.hbs +12 -0
  19. package/dist/templates/add-ons/telemetry/telemetry.ts.hbs +20 -0
  20. package/dist/templates/generate/feature/empty.controller.hbs +20 -0
  21. package/dist/templates/generate/feature/empty.interfaces.hbs +5 -0
  22. package/dist/templates/generate/feature/procedure.hbs +23 -0
  23. package/dist/templates/generate/feature/schema.controller.hbs +73 -0
  24. package/dist/templates/generate/feature/schema.interfaces.hbs +23 -0
  25. package/dist/templates/generate/feature/schema.procedure.hbs +23 -0
  26. package/dist/templates/scaffold/example-feature/example.controller.hbs +23 -0
  27. package/dist/templates/scaffold/example-feature/example.interfaces.hbs +14 -0
  28. package/dist/templates/scaffold/example-feature/example.procedure.hbs +28 -0
  29. package/dist/templates/scaffold/igniter.schema.hbs +21 -0
  30. package/dist/templates/starters/igniter.client.hbs +52 -0
  31. package/dist/templates/starters/igniter.context.hbs +10 -0
  32. package/dist/templates/starters/igniter.hbs +43 -0
  33. package/dist/templates/starters/igniter.router.hbs +14 -0
  34. package/dist/templates/starters/nextjs/route-handler.hbs +8 -0
  35. package/dist/templates/starters/nextjs/tsconfig.hbs +35 -0
  36. package/dist/templates/starters/open-api.hbs +45 -0
  37. package/dist/templates/starters/tanstack-start/route-handler.hbs +13 -0
  38. package/dist/templates/starters/tanstack-start/tsconfig.hbs +15 -0
  39. package/package.json +4 -3
package/dist/index.mjs CHANGED
@@ -3143,7 +3143,7 @@ import * as path18 from "path";
3143
3143
  import { build } from "esbuild";
3144
3144
  import zodToJsonSchema from "zod-to-json-schema";
3145
3145
  import { createRequire } from "module";
3146
- import nodeExternals from "esbuild-node-externals";
3146
+ import { nodeExternalsPlugin } from "esbuild-node-externals";
3147
3147
  import * as p8 from "@clack/prompts";
3148
3148
  var RouterLoadError = class extends Error {
3149
3149
  constructor(message, originalError) {
@@ -3176,7 +3176,7 @@ var RouterInstrospector = class _RouterInstrospector {
3176
3176
  // Keep the result in memory
3177
3177
  logLevel: "silent",
3178
3178
  // We will handle our own logging
3179
- plugins: [nodeExternals()],
3179
+ plugins: [nodeExternalsPlugin()],
3180
3180
  external: [
3181
3181
  "@igniter-js/*",
3182
3182
  "@prisma/*",