@igniter-js/cli 0.4.5 → 0.4.6

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 +5 -5
  2. package/dist/index.mjs.map +1 -1
  3. package/package.json +1 -1
  4. /package/dist/templates/{add-ons → templates/add-ons}/auth/better-auth/auth.hbs +0 -0
  5. /package/dist/templates/{add-ons → templates/add-ons}/bots/nextjs/route-handler.hbs +0 -0
  6. /package/dist/templates/{add-ons → templates/add-ons}/bots/sample-bot.hbs +0 -0
  7. /package/dist/templates/{add-ons → templates/add-ons}/bots/tanstack-start/route-handler.hbs +0 -0
  8. /package/dist/templates/{add-ons → templates/add-ons}/database/prisma/lib.hbs +0 -0
  9. /package/dist/templates/{add-ons → templates/add-ons}/database/prisma/prisma.config.hbs +0 -0
  10. /package/dist/templates/{add-ons → templates/add-ons}/database/prisma/schema.hbs +0 -0
  11. /package/dist/templates/{add-ons → templates/add-ons}/jobs/jobs.ts.hbs +0 -0
  12. /package/dist/templates/{add-ons → templates/add-ons}/jobs/redis.ts.hbs +0 -0
  13. /package/dist/templates/{add-ons → templates/add-ons}/jobs/store.ts.hbs +0 -0
  14. /package/dist/templates/{add-ons → templates/add-ons}/logging/logger.ts.hbs +0 -0
  15. /package/dist/templates/{add-ons → templates/add-ons}/mcp/mcp.ts.hbs +0 -0
  16. /package/dist/templates/{add-ons → templates/add-ons}/mcp/nextjs/route-handler.hbs +0 -0
  17. /package/dist/templates/{add-ons → templates/add-ons}/mcp/tanstack-start/route-handler.hbs +0 -0
  18. /package/dist/templates/{add-ons → templates/add-ons}/store/redis.ts.hbs +0 -0
  19. /package/dist/templates/{add-ons → templates/add-ons}/store/store.ts.hbs +0 -0
  20. /package/dist/templates/{add-ons → templates/add-ons}/telemetry/telemetry.ts.hbs +0 -0
  21. /package/dist/templates/{generate → templates/generate}/feature/empty.controller.hbs +0 -0
  22. /package/dist/templates/{generate → templates/generate}/feature/empty.interfaces.hbs +0 -0
  23. /package/dist/templates/{generate → templates/generate}/feature/procedure.hbs +0 -0
  24. /package/dist/templates/{generate → templates/generate}/feature/schema.controller.hbs +0 -0
  25. /package/dist/templates/{generate → templates/generate}/feature/schema.interfaces.hbs +0 -0
  26. /package/dist/templates/{generate → templates/generate}/feature/schema.procedure.hbs +0 -0
  27. /package/dist/templates/{scaffold → templates/scaffold}/example-feature/example.controller.hbs +0 -0
  28. /package/dist/templates/{scaffold → templates/scaffold}/example-feature/example.interfaces.hbs +0 -0
  29. /package/dist/templates/{scaffold → templates/scaffold}/example-feature/example.procedure.hbs +0 -0
  30. /package/dist/templates/{scaffold → templates/scaffold}/igniter.schema.hbs +0 -0
  31. /package/dist/templates/{starters → templates/starters}/igniter.client.hbs +0 -0
  32. /package/dist/templates/{starters → templates/starters}/igniter.context.hbs +0 -0
  33. /package/dist/templates/{starters → templates/starters}/igniter.hbs +0 -0
  34. /package/dist/templates/{starters → templates/starters}/igniter.router.hbs +0 -0
  35. /package/dist/templates/{starters → templates/starters}/nextjs/route-handler.hbs +0 -0
  36. /package/dist/templates/{starters → templates/starters}/nextjs/tsconfig.hbs +0 -0
  37. /package/dist/templates/{starters → templates/starters}/open-api.hbs +0 -0
  38. /package/dist/templates/{starters → templates/starters}/tanstack-start/route-handler.hbs +0 -0
  39. /package/dist/templates/{starters → templates/starters}/tanstack-start/tsconfig.hbs +0 -0
package/dist/index.mjs CHANGED
@@ -94,10 +94,10 @@ import { execa } from "execa";
94
94
  import { existsSync } from "fs";
95
95
  import { readFile, writeFile } from "fs/promises";
96
96
  import { join as join2 } from "path";
97
- import handlebars2 from "handlebars";
97
+ import * as handlebars2 from "handlebars";
98
98
 
99
99
  // src/core/handlebars-helpers.ts
100
- import handlebars from "handlebars";
100
+ import * as handlebars from "handlebars";
101
101
  function registerHandlebarsHelpers() {
102
102
  handlebars.registerHelper("includes", function(array, value) {
103
103
  if (!Array.isArray(array)) {
@@ -676,7 +676,7 @@ import path4 from "path";
676
676
  import { readFile as readFile2, writeFile as writeFile2 } from "fs/promises";
677
677
  import { existsSync as existsSync2 } from "fs";
678
678
  import { join as join3 } from "path";
679
- import handlebars3 from "handlebars";
679
+ import * as handlebars3 from "handlebars";
680
680
  var BaseAddOn = class {
681
681
  async runSetup(projectDir, config) {
682
682
  await this.addToPackageJson(projectDir, config);
@@ -2302,9 +2302,9 @@ import { writeFile as writeFile5 } from "fs/promises";
2302
2302
  import { mkdirSync, existsSync as existsSync3 } from "fs";
2303
2303
  import { readFile as readFile3, writeFile as writeFile3 } from "fs/promises";
2304
2304
  import * as path14 from "path";
2305
- import handlebars4 from "handlebars";
2305
+ import * as handlebars4 from "handlebars";
2306
2306
  import { fileURLToPath } from "url";
2307
- var __filename2 = fileURLToPath(import.meta.url);
2307
+ var __filename2 = fileURLToPath(import.meta?.url);
2308
2308
  var __dirname2 = path14.dirname(__filename2);
2309
2309
  var TemplateEngine = class {
2310
2310
  constructor() {