Commit 3eae1c1
fix(ext): update TypeScript templates for ext:dev:init (#9629)
* fix(ext): update TypeScript templates for ext:dev:init
The default TypeScript extension template generated by `firebase ext:dev:init` was failing to build due to outdated dependencies and TypeScript configuration.
This commit updates the templates to:
- Bump the TypeScript version to `^5.3.0` in `package.json`.
- Add `"skipLibCheck": true` to `tsconfig.json`.
- Change the `firebase-functions` import to `firebase-functions/v1`.
These changes ensure that newly generated TypeScript extensions build successfully without any errors.
* Update CHANGELOG.md
---------
Co-authored-by: google-labs-jules[bot] <161369871+google-labs-jules[bot]@users.noreply.github.com>1 parent 85d4e73 commit 3eae1c1
File tree
5 files changed
+6
-4
lines changed- templates/extensions/typescript
5 files changed
+6
-4
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
8 | 8 | | |
9 | 9 | | |
10 | 10 | | |
11 | | - | |
| 11 | + | |
12 | 12 | | |
13 | 13 | | |
14 | 14 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
21 | 21 | | |
22 | 22 | | |
23 | 23 | | |
24 | | - | |
| 24 | + | |
25 | 25 | | |
26 | 26 | | |
27 | 27 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
14 | 14 | | |
15 | 15 | | |
16 | 16 | | |
17 | | - | |
| 17 | + | |
18 | 18 | | |
19 | 19 | | |
20 | 20 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
6 | 6 | | |
7 | 7 | | |
8 | 8 | | |
9 | | - | |
| 9 | + | |
| 10 | + | |
10 | 11 | | |
11 | 12 | | |
12 | 13 | | |
| |||
0 commit comments