Skip to content

Commit

Permalink
chore(firebase): default to node js 18 for firebase functions
Browse files Browse the repository at this point in the history
  • Loading branch information
mainawycliffe committed Mar 22, 2024
1 parent e162551 commit e7aed89
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion packages/firebase/src/generators/functions/schema.d.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
export type FirebaseNodeRuntimeVersion = '14' | '16' | '18';
export type FirebaseNodeRuntimeVersion = '14' | '16' | '18' | '20';

export interface FirebaseGeneratorSchema {
name: string;
Expand Down
6 changes: 3 additions & 3 deletions packages/firebase/src/generators/functions/schema.json
Original file line number Diff line number Diff line change
Expand Up @@ -35,8 +35,8 @@
},
"nodeVersion": {
"type": "string",
"description": "Firebase functions node runtime version e.g. 14, 16 and 18",
"default": "16",
"description": "Firebase functions node runtime version e.g. 14, 16, 18 and 20",
"default": "18",
"x-prompt": {
"message": "What node runtime version would you like to use?",
"type": "list",
Expand Down Expand Up @@ -64,4 +64,4 @@
"required": [
"name"
]
}
}

0 comments on commit e7aed89

Please sign in to comment.