Skip to content

Commit 5edd81f

Browse files
authored
Add installations CDN build and "firebase" entry point (#6404)
1 parent 7cad614 commit 5edd81f

File tree

7 files changed

+74
-0
lines changed

7 files changed

+74
-0
lines changed

.changeset/late-ducks-invite.md

+5
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
---
2+
'firebase': patch
3+
---
4+
5+
Add installations CDN build and entry point.
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,18 @@
1+
/**
2+
* @license
3+
* Copyright 2022 Google LLC
4+
*
5+
* Licensed under the Apache License, Version 2.0 (the "License");
6+
* you may not use this file except in compliance with the License.
7+
* You may obtain a copy of the License at
8+
*
9+
* http://www.apache.org/licenses/LICENSE-2.0
10+
*
11+
* Unless required by applicable law or agreed to in writing, software
12+
* distributed under the License is distributed on an "AS IS" BASIS,
13+
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
14+
* See the License for the specific language governing permissions and
15+
* limitations under the License.
16+
*/
17+
18+
import '@firebase/installations-compat';
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
{
2+
"name": "firebase/compat/installations",
3+
"main": "dist/index.cjs.js",
4+
"browser": "dist/index.esm.js",
5+
"module": "dist/index.esm.js",
6+
"typings": "dist/compat/installations/index.d.ts"
7+
}

packages/firebase/compat/package.json

+1
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,7 @@
1111
"app-check",
1212
"auth",
1313
"functions",
14+
"installations",
1415
"messaging",
1516
"performance",
1617
"remote-config",
+18
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,18 @@
1+
/**
2+
* @license
3+
* Copyright 2022 Google LLC
4+
*
5+
* Licensed under the Apache License, Version 2.0 (the "License");
6+
* you may not use this file except in compliance with the License.
7+
* You may obtain a copy of the License at
8+
*
9+
* http://www.apache.org/licenses/LICENSE-2.0
10+
*
11+
* Unless required by applicable law or agreed to in writing, software
12+
* distributed under the License is distributed on an "AS IS" BASIS,
13+
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
14+
* See the License for the specific language governing permissions and
15+
* limitations under the License.
16+
*/
17+
18+
export * from '@firebase/installations';
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
{
2+
"name": "firebase/installations",
3+
"main": "dist/index.cjs.js",
4+
"browser": "dist/index.esm.js",
5+
"module": "dist/index.esm.js",
6+
"typings": "dist/installations/index.d.ts"
7+
}

packages/firebase/package.json

+18
Original file line numberDiff line numberDiff line change
@@ -103,6 +103,14 @@
103103
},
104104
"default": "./functions/dist/index.esm.js"
105105
},
106+
"./installations": {
107+
"types": "./installations/dist/installations/index.d.ts",
108+
"node": {
109+
"require": "./installations/dist/index.cjs.js",
110+
"import": "./installations/dist/index.mjs"
111+
},
112+
"default": "./installations/dist/index.esm.js"
113+
},
106114
"./messaging": {
107115
"types": "./messaging/dist/messaging/index.d.ts",
108116
"node": {
@@ -199,6 +207,14 @@
199207
},
200208
"default": "./compat/functions/dist/index.esm.js"
201209
},
210+
"./compat/installations": {
211+
"types": "./compat/installations/dist/compat/installations/index.d.ts",
212+
"node": {
213+
"require": "./compat/installations/dist/index.cjs.js",
214+
"import": "./compat/installations/dist/index.mjs"
215+
},
216+
"default": "./compat/installations/dist/index.esm.js"
217+
},
202218
"./compat/messaging": {
203219
"types": "./compat/messaging/dist/compat/messaging/index.d.ts",
204220
"node": {
@@ -257,6 +273,7 @@
257273
"@firebase/functions": "0.8.3",
258274
"@firebase/functions-compat": "0.2.3",
259275
"@firebase/installations": "0.5.11",
276+
"@firebase/installations-compat": "0.1.11",
260277
"@firebase/messaging": "0.9.15",
261278
"@firebase/messaging-compat": "0.1.15",
262279
"@firebase/polyfill": "0.3.36",
@@ -295,6 +312,7 @@
295312
"functions",
296313
"firestore",
297314
"firestore/lite",
315+
"installations",
298316
"storage",
299317
"performance",
300318
"remote-config",

0 commit comments

Comments
 (0)