Skip to content

Commit a0b4ba0

Browse files
committed
Initial changes for Vertex GA packaging
1 parent a377fb2 commit a0b4ba0

File tree

10 files changed

+26
-20
lines changed

10 files changed

+26
-20
lines changed

.changeset/large-snakes-march.md

+6
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
---
2+
'firebase': major
3+
'@firebase/vertexai': major
4+
---
5+
6+
Release VertexAI in Firebase for general availability.

.github/workflows/canary-deploy.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -70,7 +70,7 @@ jobs:
7070
NPM_TOKEN_STORAGE: ${{secrets.NPM_TOKEN_STORAGE}}
7171
NPM_TOKEN_STORAGE_TYPES: ${{secrets.NPM_TOKEN_STORAGE_TYPES}}
7272
NPM_TOKEN_UTIL: ${{secrets.NPM_TOKEN_UTIL}}
73-
NPM_TOKEN_VERTEXAI_PREVIEW: ${{secrets.NPM_TOKEN_VERTEXAI_PREVIEW}}
73+
NPM_TOKEN_VERTEXAI: ${{secrets.NPM_TOKEN_VERTEXAI}}
7474
NPM_TOKEN_WEBCHANNEL_WRAPPER: ${{secrets.NPM_TOKEN_WEBCHANNEL_WRAPPER}}
7575
NPM_TOKEN_FIREBASE: ${{secrets.NPM_TOKEN_FIREBASE}}
7676
NPM_TOKEN_APP_COMPAT: ${{ secrets.NPM_TOKEN_APP_COMPAT }}

.github/workflows/prerelease-manual-deploy.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -73,7 +73,7 @@ jobs:
7373
NPM_TOKEN_STORAGE: ${{secrets.NPM_TOKEN_STORAGE}}
7474
NPM_TOKEN_STORAGE_TYPES: ${{secrets.NPM_TOKEN_STORAGE_TYPES}}
7575
NPM_TOKEN_UTIL: ${{secrets.NPM_TOKEN_UTIL}}
76-
NPM_TOKEN_VERTEXAI_PREVIEW: ${{secrets.NPM_TOKEN_VERTEXAI_PREVIEW}}
76+
NPM_TOKEN_VERTEXAI: ${{secrets.NPM_TOKEN_VERTEXAI}}
7777
NPM_TOKEN_WEBCHANNEL_WRAPPER: ${{secrets.NPM_TOKEN_WEBCHANNEL_WRAPPER}}
7878
NPM_TOKEN_FIREBASE: ${{secrets.NPM_TOKEN_FIREBASE}}
7979
NPM_TOKEN_APP_COMPAT: ${{ secrets.NPM_TOKEN_APP_COMPAT }}

.github/workflows/release-prod.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -83,7 +83,7 @@ jobs:
8383
NPM_TOKEN_STORAGE: ${{secrets.NPM_TOKEN_STORAGE}}
8484
NPM_TOKEN_STORAGE_TYPES: ${{secrets.NPM_TOKEN_STORAGE_TYPES}}
8585
NPM_TOKEN_UTIL: ${{secrets.NPM_TOKEN_UTIL}}
86-
NPM_TOKEN_VERTEXAI_PREVIEW: ${{secrets.NPM_TOKEN_VERTEXAI_PREVIEW}}
86+
NPM_TOKEN_VERTEXAI: ${{secrets.NPM_TOKEN_VERTEXAI}}
8787
NPM_TOKEN_WEBCHANNEL_WRAPPER: ${{secrets.NPM_TOKEN_WEBCHANNEL_WRAPPER}}
8888
NPM_TOKEN_FIREBASE: ${{secrets.NPM_TOKEN_FIREBASE}}
8989
NPM_TOKEN_APP_COMPAT: ${{ secrets.NPM_TOKEN_APP_COMPAT }}

.github/workflows/release-staging.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -109,7 +109,7 @@ jobs:
109109
NPM_TOKEN_STORAGE: ${{secrets.NPM_TOKEN_STORAGE}}
110110
NPM_TOKEN_STORAGE_TYPES: ${{secrets.NPM_TOKEN_STORAGE_TYPES}}
111111
NPM_TOKEN_UTIL: ${{secrets.NPM_TOKEN_UTIL}}
112-
NPM_TOKEN_VERTEXAI_PREVIEW: ${{secrets.NPM_TOKEN_VERTEXAI_PREVIEW}}
112+
NPM_TOKEN_VERTEXAI: ${{secrets.NPM_TOKEN_VERTEXAI}}
113113
NPM_TOKEN_WEBCHANNEL_WRAPPER: ${{secrets.NPM_TOKEN_WEBCHANNEL_WRAPPER}}
114114
NPM_TOKEN_FIREBASE: ${{secrets.NPM_TOKEN_FIREBASE}}
115115
NPM_TOKEN_APP_COMPAT: ${{ secrets.NPM_TOKEN_APP_COMPAT }}

common/api-review/vertexai-preview.api.md renamed to common/api-review/vertexai.api.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
## API Report File for "@firebase/vertexai-preview"
1+
## API Report File for "@firebase/vertexai"
22

33
> Do not edit this file. It is a report generated by [API Extractor](https://api-extractor.com/).
44

packages/firebase/package.json

+9-9
Original file line numberDiff line numberDiff line change
@@ -215,17 +215,17 @@
215215
},
216216
"default": "./storage/dist/esm/index.esm.js"
217217
},
218-
"./vertexai-preview": {
219-
"types": "./vertexai-preview/dist/vertexai-preview/index.d.ts",
218+
"./vertexai": {
219+
"types": "./vertexai/dist/vertexai/index.d.ts",
220220
"node": {
221-
"require": "./vertexai-preview/dist/index.cjs.js",
222-
"import": "./vertexai-preview/dist/index.mjs"
221+
"require": "./vertexai/dist/index.cjs.js",
222+
"import": "./vertexai/dist/index.mjs"
223223
},
224224
"browser": {
225-
"require": "./vertexai-preview/dist/index.cjs.js",
226-
"import": "./vertexai-preview/dist/esm/index.esm.js"
225+
"require": "./vertexai/dist/index.cjs.js",
226+
"import": "./vertexai/dist/esm/index.esm.js"
227227
},
228-
"default": "./vertexai-preview/dist/esm/index.esm.js"
228+
"default": "./vertexai/dist/esm/index.esm.js"
229229
},
230230
"./compat/analytics": {
231231
"types": "./compat/analytics/dist/compat/analytics/index.d.ts",
@@ -413,7 +413,7 @@
413413
"@firebase/app-check": "0.8.7",
414414
"@firebase/app-check-compat": "0.3.14",
415415
"@firebase/util": "1.9.7",
416-
"@firebase/vertexai-preview": "0.0.3"
416+
"@firebase/vertexai": "0.0.3"
417417
},
418418
"devDependencies": {
419419
"rollup": "2.79.1",
@@ -446,7 +446,7 @@
446446
"messaging",
447447
"messaging/sw",
448448
"database",
449-
"vertexai-preview"
449+
"vertexai"
450450
],
451451
"typings": "empty.d.ts"
452452
}

packages/firebase/vertexai-preview/index.ts renamed to packages/firebase/vertexai/index.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -15,4 +15,4 @@
1515
* limitations under the License.
1616
*/
1717

18-
export * from '@firebase/vertexai-preview';
18+
export * from '@firebase/vertexai';
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{
2-
"name": "firebase/vertexai-preview",
2+
"name": "firebase/vertexai",
33
"main": "dist/index.cjs.js",
44
"browser": "dist/esm/index.esm.js",
55
"module": "dist/esm/index.esm.js",
6-
"typings": "dist/vertexai-preview/index.d.ts"
6+
"typings": "dist/vertexai/index.d.ts"
77
}

packages/vertexai/package.json

+3-3
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
{
2-
"name": "@firebase/vertexai-preview",
2+
"name": "@firebase/vertexai",
33
"version": "0.0.3",
44
"description": "A Firebase SDK for VertexAI (preview)",
55
"author": "Firebase <[email protected]> (https://firebase.google.com/)",
@@ -11,7 +11,7 @@
1111
"module": "dist/esm/index.esm2017.js",
1212
"exports": {
1313
".": {
14-
"types": "./dist/vertexai-preview-public.d.ts",
14+
"types": "./dist/vertexai-public.d.ts",
1515
"node": {
1616
"require": "./dist/index.cjs.js",
1717
"import": "./dist/esm/index.esm2017.js"
@@ -40,7 +40,7 @@
4040
"test:skip-clone": "karma start --single-run",
4141
"test:browser": "yarn testsetup && karma start --single-run",
4242
"api-report": "api-extractor run --local --verbose",
43-
"typings:public": "node ../../scripts/build/use_typings.js ./dist/vertexai-preview-public.d.ts",
43+
"typings:public": "node ../../scripts/build/use_typings.js ./dist/vertexai-public.d.ts",
4444
"trusted-type-check": "tsec -p tsconfig.json --noEmit"
4545
},
4646
"peerDependencies": {

0 commit comments

Comments
 (0)