diff --git a/.changeset/twelve-moose-enjoy.md b/.changeset/twelve-moose-enjoy.md new file mode 100644 index 00000000000..bd6799917ef --- /dev/null +++ b/.changeset/twelve-moose-enjoy.md @@ -0,0 +1,8 @@ +--- +'@firebase/app-check': minor +'@firebase/app-check-interop-types': minor +'@firebase/app-check-types': minor +'firebase': minor +--- + +Release the Firebase App Check package. diff --git a/.github/workflows/canary-deploy.yml b/.github/workflows/canary-deploy.yml index c4e45416e11..597b24e238d 100644 --- a/.github/workflows/canary-deploy.yml +++ b/.github/workflows/canary-deploy.yml @@ -30,6 +30,9 @@ jobs: NPM_TOKEN_ANALYTICS_TYPES: ${{secrets.NPM_TOKEN_ANALYTICS_TYPES}} NPM_TOKEN_APP: ${{secrets.NPM_TOKEN_APP}} NPM_TOKEN_APP_TYPES: ${{secrets.NPM_TOKEN_APP_TYPES}} + NPM_TOKEN_APP_CHECK: ${{secrets.NPM_TOKEN_APP_CHECK}} + NPM_TOKEN_APP_CHECK_INTEROP_TYPES: ${{secrets.NPM_TOKEN_APP_CHECK_INTEROP_TYPES}} + NPM_TOKEN_APP_CHECK_TYPES: ${{secrets.NPM_TOKEN_APP_CHECK_TYPES}} NPM_TOKEN_AUTH: ${{secrets.NPM_TOKEN_AUTH}} NPM_TOKEN_AUTH_INTEROP_TYPES: ${{secrets.NPM_TOKEN_AUTH_INTEROP_TYPES}} NPM_TOKEN_AUTH_TYPES: ${{secrets.NPM_TOKEN_AUTH_TYPES}} diff --git a/packages/app-check-interop-types/package.json b/packages/app-check-interop-types/package.json index c4b21dd4d9d..3adcb472888 100644 --- a/packages/app-check-interop-types/package.json +++ b/packages/app-check-interop-types/package.json @@ -1,7 +1,6 @@ { "name": "@firebase/app-check-interop-types", - "private": true, - "version": "0.1.0", + "version": "0.0.1", "description": "@firebase/app-check-interop-types Types", "author": "Firebase (https://firebase.google.com/)", "license": "Apache-2.0", diff --git a/packages/app-check-types/package.json b/packages/app-check-types/package.json index 885d60d2da1..c7e7511f567 100644 --- a/packages/app-check-types/package.json +++ b/packages/app-check-types/package.json @@ -1,7 +1,6 @@ { "name": "@firebase/app-check-types", - "private": true, - "version": "0.1.0", + "version": "0.0.1", "description": "@firebase/app-check Types", "author": "Firebase (https://firebase.google.com/)", "license": "Apache-2.0", diff --git a/packages/app-check/package.json b/packages/app-check/package.json index fd45ba6f430..4ef853edf09 100644 --- a/packages/app-check/package.json +++ b/packages/app-check/package.json @@ -1,7 +1,6 @@ { "name": "@firebase/app-check", - "version": "0.1.1", - "private": true, + "version": "0.0.1", "description": "The App Check component of the Firebase JS SDK", "author": "Firebase (https://firebase.google.com/)", "main": "dist/index.cjs.js", @@ -29,8 +28,8 @@ "@firebase/app-types": "0.x" }, "dependencies": { - "@firebase/app-check-types": "0.1.0", - "@firebase/app-check-interop-types": "0.1.0", + "@firebase/app-check-types": "0.0.1", + "@firebase/app-check-interop-types": "0.0.1", "@firebase/util": "1.1.0", "@firebase/component": "0.5.0", "@firebase/logger": "0.2.6", diff --git a/packages/firebase/app-check/index.ts b/packages/firebase/app-check/index.ts new file mode 100644 index 00000000000..78ceba036c3 --- /dev/null +++ b/packages/firebase/app-check/index.ts @@ -0,0 +1,18 @@ +/** + * @license + * Copyright 2019 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +import '@firebase/app-check'; diff --git a/packages/firebase/app-check/package.json b/packages/firebase/app-check/package.json new file mode 100644 index 00000000000..2d7360d675a --- /dev/null +++ b/packages/firebase/app-check/package.json @@ -0,0 +1,6 @@ +{ + "name": "firebase/app-check", + "main": "dist/index.cjs.js", + "module": "dist/index.esm.js", + "typings": "../empty-import.d.ts" +} diff --git a/packages/firebase/package.json b/packages/firebase/package.json index 5f79fc0e8a3..d3e1bcf4ea6 100644 --- a/packages/firebase/package.json +++ b/packages/firebase/package.json @@ -57,6 +57,7 @@ "@firebase/performance": "0.4.12", "@firebase/remote-config": "0.1.37", "@firebase/analytics": "0.6.10", + "@firebase/app-check": "0.0.1", "@firebase/util": "1.1.0" }, "devDependencies": { @@ -74,6 +75,7 @@ "components": [ "analytics", "app", + "app-check", "auth", "database", "firestore", diff --git a/packages/firebase/src/index.cdn.ts b/packages/firebase/src/index.cdn.ts index 6b0ff9733fa..c7a66db422a 100644 --- a/packages/firebase/src/index.cdn.ts +++ b/packages/firebase/src/index.cdn.ts @@ -40,6 +40,7 @@ import '../storage'; import '../performance'; import '../analytics'; import '../remote-config'; +import '../app-check'; firebase.registerVersion(name, version, 'cdn'); diff --git a/packages/firebase/src/index.ts b/packages/firebase/src/index.ts index 18d832dfc60..d518658721e 100644 --- a/packages/firebase/src/index.ts +++ b/packages/firebase/src/index.ts @@ -49,6 +49,7 @@ import '../storage'; import '../performance'; import '../analytics'; import '../remote-config'; +import '../app-check'; firebase.registerVersion(name, version); diff --git a/scripts/docgen/content-sources/js/toc.yaml b/scripts/docgen/content-sources/js/toc.yaml index f9c1b73331e..1420bccfcb8 100644 --- a/scripts/docgen/content-sources/js/toc.yaml +++ b/scripts/docgen/content-sources/js/toc.yaml @@ -11,6 +11,16 @@ toc: - title: "App" path: /docs/reference/js/firebase.app.App +- title: "firebase.appcheck" + path: /docs/reference/js/firebase.appcheck + section: + - title: "AppCheck" + path: /docs/reference/js/firebase.appcheck.AppCheck + - title: "AppCheckProvider" + path: /docs/reference/js/firebase.appcheck.AppCheckProvider + - title: "AppCheckToken" + path: /docs/reference/js/firebase.appcheck.AppCheckToken + - title: "firebase.analytics" path: /docs/reference/js/firebase.analytics section: