Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Initial changes for Vertex GA packaging #8498

Draft
wants to merge 1 commit into
base: v11
Choose a base branch
from
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 6 additions & 0 deletions .changeset/large-snakes-march.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
---
'firebase': major
'@firebase/vertexai': major
---

Release VertexAI in Firebase for general availability.
2 changes: 1 addition & 1 deletion .github/workflows/canary-deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -70,7 +70,7 @@ jobs:
NPM_TOKEN_STORAGE: ${{secrets.NPM_TOKEN_STORAGE}}
NPM_TOKEN_STORAGE_TYPES: ${{secrets.NPM_TOKEN_STORAGE_TYPES}}
NPM_TOKEN_UTIL: ${{secrets.NPM_TOKEN_UTIL}}
NPM_TOKEN_VERTEXAI_PREVIEW: ${{secrets.NPM_TOKEN_VERTEXAI_PREVIEW}}
NPM_TOKEN_VERTEXAI: ${{secrets.NPM_TOKEN_VERTEXAI}}
NPM_TOKEN_WEBCHANNEL_WRAPPER: ${{secrets.NPM_TOKEN_WEBCHANNEL_WRAPPER}}
NPM_TOKEN_FIREBASE: ${{secrets.NPM_TOKEN_FIREBASE}}
NPM_TOKEN_APP_COMPAT: ${{ secrets.NPM_TOKEN_APP_COMPAT }}
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/prerelease-manual-deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -73,7 +73,7 @@ jobs:
NPM_TOKEN_STORAGE: ${{secrets.NPM_TOKEN_STORAGE}}
NPM_TOKEN_STORAGE_TYPES: ${{secrets.NPM_TOKEN_STORAGE_TYPES}}
NPM_TOKEN_UTIL: ${{secrets.NPM_TOKEN_UTIL}}
NPM_TOKEN_VERTEXAI_PREVIEW: ${{secrets.NPM_TOKEN_VERTEXAI_PREVIEW}}
NPM_TOKEN_VERTEXAI: ${{secrets.NPM_TOKEN_VERTEXAI}}
NPM_TOKEN_WEBCHANNEL_WRAPPER: ${{secrets.NPM_TOKEN_WEBCHANNEL_WRAPPER}}
NPM_TOKEN_FIREBASE: ${{secrets.NPM_TOKEN_FIREBASE}}
NPM_TOKEN_APP_COMPAT: ${{ secrets.NPM_TOKEN_APP_COMPAT }}
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/release-prod.yml
Original file line number Diff line number Diff line change
Expand Up @@ -83,7 +83,7 @@ jobs:
NPM_TOKEN_STORAGE: ${{secrets.NPM_TOKEN_STORAGE}}
NPM_TOKEN_STORAGE_TYPES: ${{secrets.NPM_TOKEN_STORAGE_TYPES}}
NPM_TOKEN_UTIL: ${{secrets.NPM_TOKEN_UTIL}}
NPM_TOKEN_VERTEXAI_PREVIEW: ${{secrets.NPM_TOKEN_VERTEXAI_PREVIEW}}
NPM_TOKEN_VERTEXAI: ${{secrets.NPM_TOKEN_VERTEXAI}}
NPM_TOKEN_WEBCHANNEL_WRAPPER: ${{secrets.NPM_TOKEN_WEBCHANNEL_WRAPPER}}
NPM_TOKEN_FIREBASE: ${{secrets.NPM_TOKEN_FIREBASE}}
NPM_TOKEN_APP_COMPAT: ${{ secrets.NPM_TOKEN_APP_COMPAT }}
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/release-staging.yml
Original file line number Diff line number Diff line change
Expand Up @@ -109,7 +109,7 @@ jobs:
NPM_TOKEN_STORAGE: ${{secrets.NPM_TOKEN_STORAGE}}
NPM_TOKEN_STORAGE_TYPES: ${{secrets.NPM_TOKEN_STORAGE_TYPES}}
NPM_TOKEN_UTIL: ${{secrets.NPM_TOKEN_UTIL}}
NPM_TOKEN_VERTEXAI_PREVIEW: ${{secrets.NPM_TOKEN_VERTEXAI_PREVIEW}}
NPM_TOKEN_VERTEXAI: ${{secrets.NPM_TOKEN_VERTEXAI}}
NPM_TOKEN_WEBCHANNEL_WRAPPER: ${{secrets.NPM_TOKEN_WEBCHANNEL_WRAPPER}}
NPM_TOKEN_FIREBASE: ${{secrets.NPM_TOKEN_FIREBASE}}
NPM_TOKEN_APP_COMPAT: ${{ secrets.NPM_TOKEN_APP_COMPAT }}
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
## API Report File for "@firebase/vertexai-preview"
## API Report File for "@firebase/vertexai"

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

Expand Down
18 changes: 9 additions & 9 deletions packages/firebase/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -215,17 +215,17 @@
},
"default": "./storage/dist/esm/index.esm.js"
},
"./vertexai-preview": {
"types": "./vertexai-preview/dist/vertexai-preview/index.d.ts",
"./vertexai": {
"types": "./vertexai/dist/vertexai/index.d.ts",
"node": {
"require": "./vertexai-preview/dist/index.cjs.js",
"import": "./vertexai-preview/dist/index.mjs"
"require": "./vertexai/dist/index.cjs.js",
"import": "./vertexai/dist/index.mjs"
},
"browser": {
"require": "./vertexai-preview/dist/index.cjs.js",
"import": "./vertexai-preview/dist/esm/index.esm.js"
"require": "./vertexai/dist/index.cjs.js",
"import": "./vertexai/dist/esm/index.esm.js"
},
"default": "./vertexai-preview/dist/esm/index.esm.js"
"default": "./vertexai/dist/esm/index.esm.js"
},
"./compat/analytics": {
"types": "./compat/analytics/dist/compat/analytics/index.d.ts",
Expand Down Expand Up @@ -413,7 +413,7 @@
"@firebase/app-check": "0.8.7",
"@firebase/app-check-compat": "0.3.14",
"@firebase/util": "1.9.7",
"@firebase/vertexai-preview": "0.0.3"
"@firebase/vertexai": "0.0.3"
},
"devDependencies": {
"rollup": "2.79.1",
Expand Down Expand Up @@ -446,7 +446,7 @@
"messaging",
"messaging/sw",
"database",
"vertexai-preview"
"vertexai"
],
"typings": "empty.d.ts"
}
Original file line number Diff line number Diff line change
Expand Up @@ -15,4 +15,4 @@
* limitations under the License.
*/

export * from '@firebase/vertexai-preview';
export * from '@firebase/vertexai';
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "firebase/vertexai-preview",
"name": "firebase/vertexai",
"main": "dist/index.cjs.js",
"browser": "dist/esm/index.esm.js",
"module": "dist/esm/index.esm.js",
"typings": "dist/vertexai-preview/index.d.ts"
"typings": "dist/vertexai/index.d.ts"
}
6 changes: 3 additions & 3 deletions packages/vertexai/package.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"name": "@firebase/vertexai-preview",
"name": "@firebase/vertexai",
"version": "0.0.3",
"description": "A Firebase SDK for VertexAI (preview)",
"author": "Firebase <[email protected]> (https://firebase.google.com/)",
Expand All @@ -11,7 +11,7 @@
"module": "dist/esm/index.esm2017.js",
"exports": {
".": {
"types": "./dist/vertexai-preview-public.d.ts",
"types": "./dist/vertexai-public.d.ts",
"node": {
"require": "./dist/index.cjs.js",
"import": "./dist/esm/index.esm2017.js"
Expand Down Expand Up @@ -40,7 +40,7 @@
"test:skip-clone": "karma start --single-run",
"test:browser": "yarn testsetup && karma start --single-run",
"api-report": "api-extractor run --local --verbose",
"typings:public": "node ../../scripts/build/use_typings.js ./dist/vertexai-preview-public.d.ts",
"typings:public": "node ../../scripts/build/use_typings.js ./dist/vertexai-public.d.ts",
"trusted-type-check": "tsec -p tsconfig.json --noEmit"
},
"peerDependencies": {
Expand Down
Loading