Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commita6ae4cb

Browse files
Migrate all samples to firebase-functions v7 (#1227)
* use the test build of functions v7* use 7.0.0* feat: Migrate Node-1st-gen samples from functions.config to params (#1229)* feat: Migrate Node-1st-gen samples from functions.config to paramsMigrates all Cloud Functions for Firebase samples in the Node-1st-gen folder that use the functions.config API to the new params API.This includes:- Replacing `functions.config()` with `defineString` for non-sensitive data and `defineSecret` for sensitive data.- Updating function definitions with `runWith({secrets: [...]})` where necessary.- Moving API client initializations from the global scope into function handlers to ensure that parameter values are available at runtime.- Updating all relevant README.md files and code comments to reflect the new configuration methods.* feat(Node-1st-gen): Migrate functions.config to paramsMigrates all 1st-gen Node.js samples from the deprecated functions.config API to the new params API.- Updates all instances of functions.config() to use defineString() or defineSecret().- Moves client initializations that depend on params into the function bodies.- Updates variable names to lowerCamelCase to follow the recommended style.- Updates all relevant README.md files to reflect the new configuration method using .env files and firebase functions:secrets:set.- Verifies that all 1st-gen samples compile successfully after the changes.* feat(Node-1st-gen): Migrate functions.config to paramsMigrates all 1st-gen Node.js samples from the deprecated functions.config API to the new params API.- Updates all instances of functions.config() to use defineString() or defineSecret().- Moves client initializations that depend on params into the function bodies.- Updates variable names to lowerCamelCase to follow the recommended style.- Updates all relevant README.md files to reflect the new configuration method using .env files and firebase functions:secrets:set.- Verifies that all 1st-gen samples compile successfully after the changes.- Corrects the `runWith` secrets configuration to pass the secret objects directly.- Refactors all client initializations to use the `onInit` hook.- Fixes the `google-sheet-sync` trigger.- Fixes inconsistent naming in `okta-auth` and `testlab-to-slack`.- Fixes inefficient `cors` initialization in `okta-auth`.---------Co-authored-by: google-labs-jules[bot] <161369871+google-labs-jules[bot]@users.noreply.github.com>---------Co-authored-by: google-labs-jules[bot] <161369871+google-labs-jules[bot]@users.noreply.github.com>
1 parentb5aa45d commita6ae4cb

File tree

197 files changed

+17859
-15365
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

197 files changed

+17859
-15365
lines changed

‎Node-1st-gen/assistant-say-number/functions/package.json‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
"dependencies": {
55
"actions-on-google":"^2.14.0",
66
"firebase-admin":"^13.0.2",
7-
"firebase-functions":"^6.3.0"
7+
"firebase-functions":"7.0.0"
88
},
99
"devDependencies": {
1010
"eslint":"^8.57.1",

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp