diff --git a/package.json b/package.json index 8a8f93f..cf4377b 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "create-jd-app", - "version": "1.0.106", + "version": "1.0.112", "main": "dist/index.js", "scripts": { "test": "ts-node -r tsconfig-paths/register src", diff --git a/src/installers/NextAuth/files/prisma-handler.txt b/src/installers/NextAuth/files/prisma-handler.txt index c154fd0..e1a1619 100644 --- a/src/installers/NextAuth/files/prisma-handler.txt +++ b/src/installers/NextAuth/files/prisma-handler.txt @@ -5,7 +5,7 @@ import { serverEnv } from "~/env/server"; import { prisma } from "~/server/db/client"; export const authOpts: SolidAuthConfig = { - // @eslint-disable-next-line @typescript-eslint/no-explicit-any + // eslint-disable-next-line @typescript-eslint/no-explicit-any adapter: PrismaAdapter(prisma) as any, providers: [ Github({ diff --git a/src/installers/SolidAuth/files/prisma-server.txt b/src/installers/SolidAuth/files/prisma-server.txt index 9302747..1749f7e 100644 --- a/src/installers/SolidAuth/files/prisma-server.txt +++ b/src/installers/SolidAuth/files/prisma-server.txt @@ -11,7 +11,7 @@ export const sessionStorage = createCookieSessionStorage({ sameSite: "lax", path: "/", secrets: [serverEnv.SESSION_SECRET], - secure: true, + secure: false, maxAge: 60 * 60 * 24 * 30, httpOnly: true, }, diff --git a/src/installers/SolidAuth/files/server.txt b/src/installers/SolidAuth/files/server.txt index 38d5523..09ebbb2 100644 --- a/src/installers/SolidAuth/files/server.txt +++ b/src/installers/SolidAuth/files/server.txt @@ -9,7 +9,7 @@ export const sessionStorage = createCookieSessionStorage({ sameSite: "lax", path: "/", secrets: [serverEnv.SESSION_SECRET], - secure: true, + secure: false, maxAge: 60 * 60 * 24 * 30, httpOnly: true, }, diff --git a/template/base/package.json b/template/base/package.json index 59570de..52db205 100644 --- a/template/base/package.json +++ b/template/base/package.json @@ -17,10 +17,10 @@ "eslint-plugin-solid": "^0.8.0" }, "dependencies": { - "@solidjs/meta": "^0.28.0", - "@solidjs/router": "^0.5.0", + "@solidjs/meta": "^0.28.2", + "@solidjs/router": "^0.6.0", "solid-js": "^1.5.7", - "solid-start": "^0.2.1", + "solid-start": "^0.2.8", "undici": "5.11.0", "zod": "^3.19.1", "dotenv": "^16.0.3"