@igniter-js/cli 0.4.6 → 0.4.8
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.
- package/dist/index.mjs +6 -6
- package/dist/index.mjs.map +1 -1
- package/package.json +2 -2
- package/dist/templates/templates/add-ons/auth/better-auth/auth.hbs +0 -37
- package/dist/templates/templates/add-ons/bots/nextjs/route-handler.hbs +0 -10
- package/dist/templates/templates/add-ons/bots/sample-bot.hbs +0 -26
- package/dist/templates/templates/add-ons/bots/tanstack-start/route-handler.hbs +0 -15
- package/dist/templates/templates/add-ons/database/prisma/lib.hbs +0 -11
- package/dist/templates/templates/add-ons/database/prisma/prisma.config.hbs +0 -13
- package/dist/templates/templates/add-ons/database/prisma/schema.hbs +0 -15
- package/dist/templates/templates/add-ons/jobs/jobs.ts.hbs +0 -32
- package/dist/templates/templates/add-ons/jobs/redis.ts.hbs +0 -13
- package/dist/templates/templates/add-ons/jobs/store.ts.hbs +0 -12
- package/dist/templates/templates/add-ons/logging/logger.ts.hbs +0 -14
- package/dist/templates/templates/add-ons/mcp/mcp.ts.hbs +0 -21
- package/dist/templates/templates/add-ons/mcp/nextjs/route-handler.hbs +0 -11
- package/dist/templates/templates/add-ons/mcp/tanstack-start/route-handler.hbs +0 -19
- package/dist/templates/templates/add-ons/store/redis.ts.hbs +0 -13
- package/dist/templates/templates/add-ons/store/store.ts.hbs +0 -12
- package/dist/templates/templates/add-ons/telemetry/telemetry.ts.hbs +0 -20
- package/dist/templates/templates/generate/feature/empty.controller.hbs +0 -20
- package/dist/templates/templates/generate/feature/empty.interfaces.hbs +0 -5
- package/dist/templates/templates/generate/feature/procedure.hbs +0 -23
- package/dist/templates/templates/generate/feature/schema.controller.hbs +0 -73
- package/dist/templates/templates/generate/feature/schema.interfaces.hbs +0 -23
- package/dist/templates/templates/generate/feature/schema.procedure.hbs +0 -23
- package/dist/templates/templates/scaffold/example-feature/example.controller.hbs +0 -23
- package/dist/templates/templates/scaffold/example-feature/example.interfaces.hbs +0 -14
- package/dist/templates/templates/scaffold/example-feature/example.procedure.hbs +0 -28
- package/dist/templates/templates/scaffold/igniter.schema.hbs +0 -21
- package/dist/templates/templates/starters/igniter.client.hbs +0 -52
- package/dist/templates/templates/starters/igniter.context.hbs +0 -10
- package/dist/templates/templates/starters/igniter.hbs +0 -43
- package/dist/templates/templates/starters/igniter.router.hbs +0 -14
- package/dist/templates/templates/starters/nextjs/route-handler.hbs +0 -8
- package/dist/templates/templates/starters/nextjs/tsconfig.hbs +0 -35
- package/dist/templates/templates/starters/open-api.hbs +0 -45
- package/dist/templates/templates/starters/tanstack-start/route-handler.hbs +0 -13
- package/dist/templates/templates/starters/tanstack-start/tsconfig.hbs +0 -15
package/dist/index.mjs
CHANGED
|
@@ -2304,8 +2304,8 @@ import { readFile as readFile3, writeFile as writeFile3 } from "fs/promises";
|
|
|
2304
2304
|
import * as path14 from "path";
|
|
2305
2305
|
import * as handlebars4 from "handlebars";
|
|
2306
2306
|
import { fileURLToPath } from "url";
|
|
2307
|
-
var
|
|
2308
|
-
var
|
|
2307
|
+
var __filename = fileURLToPath(import.meta?.url);
|
|
2308
|
+
var __dirname = path14.dirname(__filename);
|
|
2309
2309
|
var TemplateEngine = class {
|
|
2310
2310
|
constructor() {
|
|
2311
2311
|
}
|
|
@@ -2363,10 +2363,10 @@ var _DefaultTemplateEngine = class _DefaultTemplateEngine extends TemplateEngine
|
|
|
2363
2363
|
}
|
|
2364
2364
|
};
|
|
2365
2365
|
_DefaultTemplateEngine.TEMPLATE_CANDIDATES = [
|
|
2366
|
-
path14.resolve(
|
|
2367
|
-
path14.resolve(
|
|
2368
|
-
path14.resolve(
|
|
2369
|
-
path14.resolve(
|
|
2366
|
+
path14.resolve(__dirname, "..", "..", "templates"),
|
|
2367
|
+
path14.resolve(__dirname, "..", "..", "..", "templates"),
|
|
2368
|
+
path14.resolve(__dirname, "..", "templates"),
|
|
2369
|
+
path14.resolve(__dirname, "..", "..", "..", "templates"),
|
|
2370
2370
|
path14.resolve(
|
|
2371
2371
|
process.cwd(),
|
|
2372
2372
|
"node_modules",
|