@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.
- package/dist/index.mjs +2 -2
- package/dist/index.mjs.map +1 -1
- package/dist/templates/add-ons/auth/better-auth/auth.hbs +37 -0
- package/dist/templates/add-ons/bots/nextjs/route-handler.hbs +10 -0
- package/dist/templates/add-ons/bots/sample-bot.hbs +26 -0
- package/dist/templates/add-ons/bots/tanstack-start/route-handler.hbs +15 -0
- package/dist/templates/add-ons/database/prisma/lib.hbs +11 -0
- package/dist/templates/add-ons/database/prisma/prisma.config.hbs +13 -0
- package/dist/templates/add-ons/database/prisma/schema.hbs +15 -0
- package/dist/templates/add-ons/jobs/jobs.ts.hbs +32 -0
- package/dist/templates/add-ons/jobs/redis.ts.hbs +13 -0
- package/dist/templates/add-ons/jobs/store.ts.hbs +12 -0
- package/dist/templates/add-ons/logging/logger.ts.hbs +14 -0
- package/dist/templates/add-ons/mcp/mcp.ts.hbs +21 -0
- package/dist/templates/add-ons/mcp/nextjs/route-handler.hbs +11 -0
- package/dist/templates/add-ons/mcp/tanstack-start/route-handler.hbs +19 -0
- package/dist/templates/add-ons/store/redis.ts.hbs +13 -0
- package/dist/templates/add-ons/store/store.ts.hbs +12 -0
- package/dist/templates/add-ons/telemetry/telemetry.ts.hbs +20 -0
- package/dist/templates/generate/feature/empty.controller.hbs +20 -0
- package/dist/templates/generate/feature/empty.interfaces.hbs +5 -0
- package/dist/templates/generate/feature/procedure.hbs +23 -0
- package/dist/templates/generate/feature/schema.controller.hbs +73 -0
- package/dist/templates/generate/feature/schema.interfaces.hbs +23 -0
- package/dist/templates/generate/feature/schema.procedure.hbs +23 -0
- package/dist/templates/scaffold/example-feature/example.controller.hbs +23 -0
- package/dist/templates/scaffold/example-feature/example.interfaces.hbs +14 -0
- package/dist/templates/scaffold/example-feature/example.procedure.hbs +28 -0
- package/dist/templates/scaffold/igniter.schema.hbs +21 -0
- package/dist/templates/starters/igniter.client.hbs +52 -0
- package/dist/templates/starters/igniter.context.hbs +10 -0
- package/dist/templates/starters/igniter.hbs +43 -0
- package/dist/templates/starters/igniter.router.hbs +14 -0
- package/dist/templates/starters/nextjs/route-handler.hbs +8 -0
- package/dist/templates/starters/nextjs/tsconfig.hbs +35 -0
- package/dist/templates/starters/open-api.hbs +45 -0
- package/dist/templates/starters/tanstack-start/route-handler.hbs +13 -0
- package/dist/templates/starters/tanstack-start/tsconfig.hbs +15 -0
- 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
|
|
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: [
|
|
3179
|
+
plugins: [nodeExternalsPlugin()],
|
|
3180
3180
|
external: [
|
|
3181
3181
|
"@igniter-js/*",
|
|
3182
3182
|
"@prisma/*",
|