Skip to content

Commit 3c1c40c

Browse files
committed
do not abort on error for exp build
1 parent 8d07f09 commit 3c1c40c

File tree

3 files changed

+21
-5
lines changed

3 files changed

+21
-5
lines changed
Lines changed: 18 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1,18 @@
1-
export * from '@firebase/database';
1+
/**
2+
* @license
3+
* Copyright 2020 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/database';

packages/database/rollup.config.exp.js

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -33,6 +33,7 @@ const deps = Object.keys(
3333
const es5BuildPlugins = [
3434
typescriptPlugin({
3535
typescript,
36+
abortOnError: false,
3637
transformers: [importPathTransformer]
3738
}),
3839
json()
@@ -74,6 +75,7 @@ const es2017BuildPlugins = [
7475
target: 'es2017'
7576
}
7677
},
78+
abortOnError: false,
7779
transformers: [importPathTransformer]
7880
}),
7981
json({ preferConst: true })

scripts/exp/prepare-database-for-exp-release.ts

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -51,10 +51,7 @@ export async function prepare() {
5151
packageJson.typings = expPackageJson.typings.replace('../', '');
5252

5353
// include files to be published
54-
packageJson.files = [
55-
...packageJson.files,
56-
packageJson.typings
57-
];
54+
packageJson.files = [...packageJson.files, packageJson.typings];
5855

5956
// update package.json files
6057
await writeFile(

0 commit comments

Comments
 (0)