From 372d0b190a84e70c8f41cd71c6d2b9d1ef04f224 Mon Sep 17 00:00:00 2001 From: Everton Pereira Date: Wed, 16 Oct 2024 17:15:27 -0300 Subject: [PATCH] chore: update dependencies for firebase functions template (#7809) chore: update dependencies for firebase functions templete --- CHANGELOG.md | 1 + src/frameworks/constants.ts | 2 +- templates/extensions/javascript/package.lint.json | 4 ++-- templates/extensions/javascript/package.nolint.json | 4 ++-- templates/extensions/typescript/package.lint.json | 4 ++-- templates/extensions/typescript/package.nolint.json | 4 ++-- templates/init/functions/javascript/package.lint.json | 4 ++-- templates/init/functions/javascript/package.nolint.json | 4 ++-- templates/init/functions/typescript/package.lint.json | 4 ++-- templates/init/functions/typescript/package.nolint.json | 4 ++-- 10 files changed, 18 insertions(+), 17 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 2abbe278945..bf1ad7e8008 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,3 +1,4 @@ +- Updated dependencies in functions initialization template. (#7809) - Fixed Flutter web apps that might require the --no-tree-shake-icons flag in order to build. (#7724) - Removed outdated dependency on `rimraf`. - Fixed an issue where the Extensions emulator would fail silently if started with a non-existant project without the `demo-` prefix. (#7779) diff --git a/src/frameworks/constants.ts b/src/frameworks/constants.ts index f801b108a15..b3d6e754082 100644 --- a/src/frameworks/constants.ts +++ b/src/frameworks/constants.ts @@ -30,7 +30,7 @@ const DEFAULT_FIREBASE_FRAMEWORKS_VERSION = "^0.11.0"; export const FIREBASE_FRAMEWORKS_VERSION = (experiments.isEnabled("internaltesting") && process.env.FIREBASE_FRAMEWORKS_VERSION) || DEFAULT_FIREBASE_FRAMEWORKS_VERSION; -export const FIREBASE_FUNCTIONS_VERSION = "^4.5.0"; +export const FIREBASE_FUNCTIONS_VERSION = "^6.0.1"; export const FIREBASE_ADMIN_VERSION = "^11.11.1"; export const SHARP_VERSION = "^0.32 || ^0.33"; export const NODE_VERSION = parseInt(process.versions.node, 10); diff --git a/templates/extensions/javascript/package.lint.json b/templates/extensions/javascript/package.lint.json index 73c25633ae6..d642d4ce62f 100644 --- a/templates/extensions/javascript/package.lint.json +++ b/templates/extensions/javascript/package.lint.json @@ -3,8 +3,8 @@ "description": "Greet the world", "main": "index.js", "dependencies": { - "firebase-admin": "^12.1.0", - "firebase-functions": "^5.0.0" + "firebase-admin": "^12.6.0", + "firebase-functions": "^6.0.1" }, "devDependencies": { "eslint": "^8.15.1", diff --git a/templates/extensions/javascript/package.nolint.json b/templates/extensions/javascript/package.nolint.json index 6c83869c94d..fb7620e98c4 100644 --- a/templates/extensions/javascript/package.nolint.json +++ b/templates/extensions/javascript/package.nolint.json @@ -3,8 +3,8 @@ "description": "Greet the world", "main": "index.js", "dependencies": { - "firebase-admin": "^12.1.0", - "firebase-functions": "^5.0.0" + "firebase-admin": "^12.6.0", + "firebase-functions": "^6.0.1" }, "devDependencies": { "axios": "^1.3.2", diff --git a/templates/extensions/typescript/package.lint.json b/templates/extensions/typescript/package.lint.json index 05f17ce4e7a..2c2c0c39071 100644 --- a/templates/extensions/typescript/package.lint.json +++ b/templates/extensions/typescript/package.lint.json @@ -10,8 +10,8 @@ }, "main": "lib/index.js", "dependencies": { - "firebase-admin": "^12.1.0", - "firebase-functions": "^5.0.0" + "firebase-admin": "^12.6.0", + "firebase-functions": "^6.0.1" }, "devDependencies": { "@types/chai": "^4.3.4", diff --git a/templates/extensions/typescript/package.nolint.json b/templates/extensions/typescript/package.nolint.json index 06708498ad5..b6bbea0a86b 100644 --- a/templates/extensions/typescript/package.nolint.json +++ b/templates/extensions/typescript/package.nolint.json @@ -8,8 +8,8 @@ }, "main": "lib/index.js", "dependencies": { - "firebase-admin": "^12.1.0", - "firebase-functions": "^5.0.0" + "firebase-admin": "^12.6.0", + "firebase-functions": "^6.0.1" }, "devDependencies": { "@types/chai": "^4.3.4", diff --git a/templates/init/functions/javascript/package.lint.json b/templates/init/functions/javascript/package.lint.json index 071683feb3d..4ca87378275 100644 --- a/templates/init/functions/javascript/package.lint.json +++ b/templates/init/functions/javascript/package.lint.json @@ -14,8 +14,8 @@ }, "main": "index.js", "dependencies": { - "firebase-admin": "^12.1.0", - "firebase-functions": "^5.0.0" + "firebase-admin": "^12.6.0", + "firebase-functions": "^6.0.1" }, "devDependencies": { "eslint": "^8.15.0", diff --git a/templates/init/functions/javascript/package.nolint.json b/templates/init/functions/javascript/package.nolint.json index 2e86341e08d..a2db8bcfc5f 100644 --- a/templates/init/functions/javascript/package.nolint.json +++ b/templates/init/functions/javascript/package.nolint.json @@ -13,8 +13,8 @@ }, "main": "index.js", "dependencies": { - "firebase-admin": "^12.1.0", - "firebase-functions": "^5.0.0" + "firebase-admin": "^12.6.0", + "firebase-functions": "^6.0.1" }, "devDependencies": { "firebase-functions-test": "^3.1.0" diff --git a/templates/init/functions/typescript/package.lint.json b/templates/init/functions/typescript/package.lint.json index b7acb3bbcb9..c72e8aac981 100644 --- a/templates/init/functions/typescript/package.lint.json +++ b/templates/init/functions/typescript/package.lint.json @@ -15,8 +15,8 @@ }, "main": "lib/index.js", "dependencies": { - "firebase-admin": "^12.1.0", - "firebase-functions": "^5.0.0" + "firebase-admin": "^12.6.0", + "firebase-functions": "^6.0.1" }, "devDependencies": { "@typescript-eslint/eslint-plugin": "^5.12.0", diff --git a/templates/init/functions/typescript/package.nolint.json b/templates/init/functions/typescript/package.nolint.json index e27e3f2f880..dd76062513e 100644 --- a/templates/init/functions/typescript/package.nolint.json +++ b/templates/init/functions/typescript/package.nolint.json @@ -14,8 +14,8 @@ }, "main": "lib/index.js", "dependencies": { - "firebase-admin": "^12.1.0", - "firebase-functions": "^5.0.0" + "firebase-admin": "^12.6.0", + "firebase-functions": "^6.0.1" }, "devDependencies": { "typescript": "^4.9.0",