Skip to content

Commit

Permalink
fix: update redis cache handler to support Next.js 13.5+
Browse files Browse the repository at this point in the history
  • Loading branch information
nicholasio committed Jan 23, 2024
1 parent af80a9b commit b120599
Show file tree
Hide file tree
Showing 11 changed files with 113 additions and 88 deletions.
5 changes: 5 additions & 0 deletions .changeset/wicked-bats-lay.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
"@10up/next-redis-cache-provider": major
---

Suport for >= Next.js 13.5
9 changes: 9 additions & 0 deletions .gitpod.yml
Original file line number Diff line number Diff line change
@@ -1,6 +1,15 @@
image:
file: .gitpod.Dockerfile
tasks:
- name: Start Redis Stack
init: |
docker-compose pull
command: |
alias redis-cli="docker exec -it redis-stack redis-cli"
echo "Use redis-cli to interact with Redis here."
docker-compose up -d
gp sync-done finished
openMode: split-left
- name: Start dev server
init: npm install
command: npm run dev
7 changes: 7 additions & 0 deletions docker-compose.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
version: "3.9"
services:
redis:
container_name: redis-stack
image: redis/redis-stack:latest
ports:
- "6379:6379"
144 changes: 73 additions & 71 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading

0 comments on commit b120599

Please sign in to comment.