Skip to content

Commit a58b329

Browse files
authored
prep for v19 (#3578)
* angular v19 peers * firebase v11 * bundle schematics, remove unneeded deps * fix #3556
1 parent a4faa10 commit a58b329

29 files changed

+7754
-9766
lines changed

.github/workflows/test.yml

+7-7
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ jobs:
2525
- name: Setup node
2626
uses: actions/setup-node@v3
2727
with:
28-
node-version: '18'
28+
node-version: '20'
2929
check-latest: false
3030
- name: angular build cache
3131
uses: actions/cache@v3
@@ -37,9 +37,9 @@ jobs:
3737
id: node_modules_cache
3838
with:
3939
path: ./node_modules
40-
key: ${{ runner.os }}-18-${{ hashFiles('package-lock.json') }}
40+
key: ${{ runner.os }}-20-${{ hashFiles('package-lock.json') }}
4141
restore-keys: |
42-
${{ runner.os }}-18-
42+
${{ runner.os }}-20-
4343
- name: Install deps
4444
if: steps.node_modules_cache.outputs.cache-hit != 'true'
4545
run: |
@@ -59,7 +59,7 @@ jobs:
5959
strategy:
6060
matrix:
6161
os: [ ubuntu-latest, macos-latest, windows-latest ]
62-
node: ["18", "20"]
62+
node: ["18", "20", "22"]
6363
fail-fast: false
6464
name: Test Node ${{ matrix.node }} (${{ matrix.os }})
6565
steps:
@@ -109,7 +109,7 @@ jobs:
109109
- name: Setup node
110110
uses: actions/setup-node@v3
111111
with:
112-
node-version: 18
112+
node-version: 20
113113
check-latest: false
114114
- name: Setup java
115115
uses: actions/setup-java@v3
@@ -145,7 +145,7 @@ jobs:
145145
strategy:
146146
matrix:
147147
os: [ ubuntu-latest, macos-latest, windows-latest ]
148-
node: ["18"]
148+
node: ["20"]
149149
fail-fast: false
150150
steps:
151151
- name: Checkout
@@ -206,7 +206,7 @@ jobs:
206206
- name: Setup node
207207
uses: actions/setup-node@v3
208208
with:
209-
node-version: '18'
209+
node-version: '20'
210210
registry-url: 'https://registry.npmjs.org'
211211
check-latest: false
212212
- name: 'Download Artifacts'

README.md

+2-2
Original file line numberDiff line numberDiff line change
@@ -193,9 +193,9 @@ import { } from '@angular/fire/app-check';
193193
<tr>
194194
<td>
195195

196-
#### [Vertex AI](docs/vertexai.md#vertex-ai-preview)
196+
#### [Vertex AI](docs/vertexai.md#vertex-ai)
197197
```ts
198-
import { } from '@angular/fire/vertexai-preview';
198+
import { } from '@angular/fire/vertexai';
199199
```
200200
</td>
201201

docs/vertexai.md

+3-3
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ Next inject `VertexAI` into your component:
3535

3636
```typescript
3737
import { Component, inject } from '@angular/core';
38-
import { VertexAI } from '@angular/fire/vertexai-preview';
38+
import { VertexAI } from '@angular/fire/vertexai';
3939

4040
@Component({ ... })
4141
export class MyComponent {
@@ -48,6 +48,6 @@ export class MyComponent {
4848

4949
AngularFire wraps the Firebase JS SDK to ensure proper functionality in Angular, while providing the same API.
5050

51-
Update the imports from `import { ... } from 'firebase/vertexai-preview'` to `import { ... } from '@angular/fire/vertexai-preview'` and follow the official documentation.
51+
Update the imports from `import { ... } from 'firebase/vertexai'` to `import { ... } from '@angular/fire/vertexai'` and follow the official documentation.
5252

53-
[Getting Started](https://firebase.google.com/docs/vertex-ai/get-started?platform=web) | [API Reference](https://firebase.google.com/docs/reference/js/vertexai-preview)
53+
[Getting Started](https://firebase.google.com/docs/vertex-ai/get-started?platform=web) | [API Reference](https://firebase.google.com/docs/reference/js/vertexai)

0 commit comments

Comments
 (0)