stackkit 0.1.8 → 0.1.9

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.
@@ -1,6 +1,6 @@
1
1
  import NextAuth from "next-auth"
2
2
  import { PrismaAdapter } from "@auth/prisma-adapter"
3
- import prisma from "@/lib/prisma"
3
+ import { prisma } from "./prisma";
4
4
  import Google from "next-auth/providers/google"
5
5
  import { encode, decode } from 'next-auth/jwt';
6
6
 
@@ -16,7 +16,7 @@
16
16
  {
17
17
  "type": "create-file",
18
18
  "destination": "proxy.ts",
19
- "content": "export { auth as middleware } from \"@/auth\""
19
+ "content": "export { auth as middleware } from \"@/lib/auth\""
20
20
  },
21
21
  {
22
22
  "type": "patch-file",
@@ -33,7 +33,7 @@
33
33
  "type": "add-dependency",
34
34
  "condition": { "database": "prisma" },
35
35
  "dependencies": {
36
- "@auth/prisma-adapter": "^0.5.0"
36
+ "@auth/prisma-adapter": "^2.11.1"
37
37
  }
38
38
  },
39
39
  {
@@ -3,11 +3,11 @@ import { sendEmail } from "./email/email-service";
3
3
  import { getVerificationEmailTemplate, getPasswordResetEmailTemplate } from "./email/email-templates";
4
4
  {{#switch database}}
5
5
  {{#case prisma}}
6
- import { prisma } from "{{framework == 'nextjs' ? '@/lib' : '.'}}/prisma";
6
+ import { prisma } from "./prisma";
7
7
  import { prismaAdapter } from "better-auth/adapters/prisma";
8
8
  {{/case}}
9
9
  {{#case mongoose}}
10
- import { mongoose } from "{{framework == 'nextjs' ? '@/lib' : '.'}}/mongoose";
10
+ import { mongoose } from "./mongoose";
11
11
  import { mongodbAdapter } from "better-auth/adapters/mongodb";
12
12
  {{/case}}
13
13
  {{/switch}}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "stackkit",
3
- "version": "0.1.8",
3
+ "version": "0.1.9",
4
4
  "description": "Production-ready CLI to create and extend JavaScript or TypeScript apps with modular stacks.",
5
5
  "main": "dist/index.js",
6
6
  "bin": {