Skip to content

Publish compat packages as part of the exp release #3690

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

Merged
merged 7 commits into from
Aug 28, 2020
Merged
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
4 changes: 3 additions & 1 deletion packages-exp/app-compat/rollup.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,8 @@ const deps = Object.keys(
*/
const es5BuildPlugins = [
typescriptPlugin({
typescript
typescript,
abortOnError: false
}),
json()
];
Expand Down Expand Up @@ -62,6 +63,7 @@ const es5Builds = [
const es2017BuildPlugins = [
typescriptPlugin({
typescript,
abortOnError: false,
tsconfigOverride: {
compilerOptions: {
target: 'es2017'
Expand Down
10 changes: 10 additions & 0 deletions scripts/exp/release.ts
Original file line number Diff line number Diff line change
Expand Up @@ -156,6 +156,16 @@ async function buildPackages() {
}
);

// Build compat packages
await spawn(
'yarn',
['lerna', 'run', '--scope', '@firebase/*-compat', 'build'],
{
cwd: projectRoot,
stdio: 'inherit'
}
);

// Build firebase-exp
await spawn(
'yarn',
Expand Down