Skip to content

Commit f7a1a97

Browse files
authored
Publish compat packages as part of the exp release (#3690)
* test * release compat packages experimentally * correct command * build compat * do not abort on error * fix * Revert "test" This reverts commit 40bd242.
1 parent c4f8541 commit f7a1a97

File tree

2 files changed

+13
-1
lines changed

2 files changed

+13
-1
lines changed

packages-exp/app-compat/rollup.config.js

+3-1
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,8 @@ const deps = Object.keys(
2929
*/
3030
const es5BuildPlugins = [
3131
typescriptPlugin({
32-
typescript
32+
typescript,
33+
abortOnError: false
3334
}),
3435
json()
3536
];
@@ -62,6 +63,7 @@ const es5Builds = [
6263
const es2017BuildPlugins = [
6364
typescriptPlugin({
6465
typescript,
66+
abortOnError: false,
6567
tsconfigOverride: {
6668
compilerOptions: {
6769
target: 'es2017'

scripts/exp/release.ts

+10
Original file line numberDiff line numberDiff line change
@@ -156,6 +156,16 @@ async function buildPackages() {
156156
}
157157
);
158158

159+
// Build compat packages
160+
await spawn(
161+
'yarn',
162+
['lerna', 'run', '--scope', '@firebase/*-compat', 'build'],
163+
{
164+
cwd: projectRoot,
165+
stdio: 'inherit'
166+
}
167+
);
168+
159169
// Build firebase-exp
160170
await spawn(
161171
'yarn',

0 commit comments

Comments
 (0)