From aa5a6e2ec66fd2a0ce1210d9f0c91b98f472e219 Mon Sep 17 00:00:00 2001 From: Luke Nelson Date: Thu, 17 Jul 2025 22:18:13 +0100 Subject: [PATCH 1/2] feat: support firebase 12 --- package.json | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/package.json b/package.json index 32755512..881e4abd 100644 --- a/package.json +++ b/package.json @@ -4,7 +4,7 @@ "description": "Official Firebase bindings for Vue.js", "packageManager": "pnpm@9.5.0", "engines": { - "node": ">=18" + "node": ">=20" }, "volta": { "node": "20.11.1" @@ -75,7 +75,7 @@ }, "peerDependencies": { "consola": "^3.2.3", - "firebase": "^9.0.0 || ^10.0.0 || ^11.0.0", + "firebase": "^9.0.0 || ^10.0.0 || ^11.0.0 || ^12.0.0", "vue": "^2.7.0 || ^3.2.0" }, "peerDependenciesMeta": { From 1fa41e7960747216d9f3da192231c489f21eac25 Mon Sep 17 00:00:00 2001 From: Luke Nelson Date: Thu, 17 Jul 2025 22:22:46 +0100 Subject: [PATCH 2/2] fix: bump to node 20 where possible --- .github/workflows/docs-prs.yml | 2 +- .github/workflows/docs.yml | 2 +- packages/nuxt/playground/firebase.json | 2 +- playground/functions/package.json | 2 +- 4 files changed, 4 insertions(+), 4 deletions(-) diff --git a/.github/workflows/docs-prs.yml b/.github/workflows/docs-prs.yml index 3452e7f4..3e5a4231 100644 --- a/.github/workflows/docs-prs.yml +++ b/.github/workflows/docs-prs.yml @@ -19,7 +19,7 @@ jobs: - name: Install Node.js uses: actions/setup-node@v3 with: - node-version: 18 + node-version: 20 cache: 'pnpm' - name: Install dependencies diff --git a/.github/workflows/docs.yml b/.github/workflows/docs.yml index 722d3e4b..98127880 100644 --- a/.github/workflows/docs.yml +++ b/.github/workflows/docs.yml @@ -21,7 +21,7 @@ jobs: - name: Install Node.js uses: actions/setup-node@v3 with: - node-version: 18 + node-version: 20 cache: 'pnpm' - name: Install dependencies diff --git a/packages/nuxt/playground/firebase.json b/packages/nuxt/playground/firebase.json index aee9d377..e6416b75 100644 --- a/packages/nuxt/playground/firebase.json +++ b/packages/nuxt/playground/firebase.json @@ -1,6 +1,6 @@ { "functions": { - "runtime": "nodejs18", + "runtime": "nodejs20", "source": ".output/server" }, "hosting": { diff --git a/playground/functions/package.json b/playground/functions/package.json index 0ac04ff6..1bbdeeca 100644 --- a/playground/functions/package.json +++ b/playground/functions/package.json @@ -11,7 +11,7 @@ "logs": "firebase functions:log" }, "engines": { - "node": ">=18" + "node": ">=20" }, "main": "lib/index.js", "dependencies": {