@trieb.work/nextjs-turbo-redis-cache 1.8.1 → 1.9.0
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/.github/workflows/ci.yml +9 -2
- package/CHANGELOG.md +14 -0
- package/dist/index.d.mts +1 -1
- package/dist/index.d.ts +1 -1
- package/dist/index.js +1 -1
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +1 -1
- package/dist/index.mjs.map +1 -1
- package/package.json +4 -3
- package/src/RedisStringsHandler.ts +2 -2
- package/test/integration/next-app-15-0-3/pnpm-lock.yaml +1 -1
- package/test/integration/next-app-15-3-2/pnpm-lock.yaml +1 -1
- package/test/integration/next-app-15-4-7/README.md +36 -0
- package/test/integration/next-app-15-4-7/eslint.config.mjs +16 -0
- package/test/integration/next-app-15-4-7/next.config.js +6 -0
- package/test/integration/next-app-15-4-7/package-lock.json +5969 -0
- package/test/integration/next-app-15-4-7/package.json +33 -0
- package/test/integration/next-app-15-4-7/pnpm-lock.yaml +3707 -0
- package/test/integration/next-app-15-4-7/postcss.config.mjs +5 -0
- package/test/integration/next-app-15-4-7/public/file.svg +1 -0
- package/test/integration/next-app-15-4-7/public/globe.svg +1 -0
- package/test/integration/next-app-15-4-7/public/next.svg +1 -0
- package/test/integration/next-app-15-4-7/public/vercel.svg +1 -0
- package/test/integration/next-app-15-4-7/public/window.svg +1 -0
- package/test/integration/next-app-15-4-7/src/app/api/cached-static-fetch/route.ts +18 -0
- package/test/integration/next-app-15-4-7/src/app/api/nested-fetch-in-api-route/revalidated-fetch/route.ts +27 -0
- package/test/integration/next-app-15-4-7/src/app/api/revalidatePath/route.ts +15 -0
- package/test/integration/next-app-15-4-7/src/app/api/revalidateTag/route.ts +15 -0
- package/test/integration/next-app-15-4-7/src/app/api/revalidated-fetch/route.ts +17 -0
- package/test/integration/next-app-15-4-7/src/app/api/uncached-fetch/route.ts +15 -0
- package/test/integration/next-app-15-4-7/src/app/globals.css +26 -0
- package/test/integration/next-app-15-4-7/src/app/layout.tsx +59 -0
- package/test/integration/next-app-15-4-7/src/app/page.tsx +755 -0
- package/test/integration/next-app-15-4-7/src/app/pages/cached-static-fetch/default--force-dynamic-page/page.tsx +19 -0
- package/test/integration/next-app-15-4-7/src/app/pages/cached-static-fetch/revalidate15--default-page/page.tsx +34 -0
- package/test/integration/next-app-15-4-7/src/app/pages/cached-static-fetch/revalidate15--force-dynamic-page/page.tsx +25 -0
- package/test/integration/next-app-15-4-7/src/app/pages/no-fetch/default-page/page.tsx +55 -0
- package/test/integration/next-app-15-4-7/src/app/pages/revalidated-fetch/default--force-dynamic-page/page.tsx +19 -0
- package/test/integration/next-app-15-4-7/src/app/pages/revalidated-fetch/revalidate15--default-page/page.tsx +35 -0
- package/test/integration/next-app-15-4-7/src/app/pages/revalidated-fetch/revalidate15--force-dynamic-page/page.tsx +25 -0
- package/test/integration/next-app-15-4-7/src/app/pages/uncached-fetch/default--force-dynamic-page/page.tsx +19 -0
- package/test/integration/next-app-15-4-7/src/app/pages/uncached-fetch/revalidate15--default-page/page.tsx +32 -0
- package/test/integration/next-app-15-4-7/src/app/pages/uncached-fetch/revalidate15--force-dynamic-page/page.tsx +25 -0
- package/test/integration/next-app-15-4-7/src/app/revalidation-interface.tsx +267 -0
- package/test/integration/next-app-15-4-7/tsconfig.json +27 -0
- package/test/integration/nextjs-cache-handler.integration.test.ts +7 -5
|
@@ -0,0 +1,33 @@
|
|
|
1
|
+
{
|
|
2
|
+
"name": "next-app",
|
|
3
|
+
"version": "0.1.0",
|
|
4
|
+
"private": true,
|
|
5
|
+
"scripts": {
|
|
6
|
+
"dev": "export VERCEL_URL=\"dev-test-$RANDOM\" && echo $VERCEL_URL && cd ../../.. && pnpm build && cd test/integration/next-app-15-4-7 && pnpm i && pnpm build && VERCEL_ENV=production REDISHOST=localhost REDISPORT=6379 DEBUG_CACHE_HANDLER=true pnpm start",
|
|
7
|
+
"build": "next build",
|
|
8
|
+
"start": "next start",
|
|
9
|
+
"lint": "next lint"
|
|
10
|
+
},
|
|
11
|
+
"dependencies": {
|
|
12
|
+
"react": "19.1.0",
|
|
13
|
+
"react-dom": "19.1.0",
|
|
14
|
+
"next": "15.4.7",
|
|
15
|
+
"redis": "4.7.0",
|
|
16
|
+
"@trieb.work/nextjs-turbo-redis-cache": "file:../../../"
|
|
17
|
+
},
|
|
18
|
+
"devDependencies": {
|
|
19
|
+
"typescript": "^5",
|
|
20
|
+
"@types/node": "^20",
|
|
21
|
+
"@types/react": "19.1.3",
|
|
22
|
+
"@types/react-dom": "19.1.3",
|
|
23
|
+
"@tailwindcss/postcss": "^4",
|
|
24
|
+
"tailwindcss": "^4",
|
|
25
|
+
"eslint": "^9",
|
|
26
|
+
"eslint-config-next": "15.4.7",
|
|
27
|
+
"@eslint/eslintrc": "^3"
|
|
28
|
+
},
|
|
29
|
+
"overrides": {
|
|
30
|
+
"@types/react": "19.1.3",
|
|
31
|
+
"@types/react-dom": "19.1.3"
|
|
32
|
+
}
|
|
33
|
+
}
|