Skip to content

Commit 2fe88fd

Browse files
authored
Merge 9e8c126 into 70537a6
2 parents 70537a6 + 9e8c126 commit 2fe88fd

File tree

2 files changed

+34
-22
lines changed

2 files changed

+34
-22
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

+31-21
Original file line numberDiff line numberDiff line change
@@ -69,27 +69,27 @@ async function publishExpPackages() {
6969

7070
/**
7171
* Release packages to NPM
72-
*/
73-
await publishToNpm(packagePaths);
74-
75-
/**
76-
* reset the working tree to recover package names with -exp in the package.json files,
77-
* then bump patch version of firebase-exp (the umbrella package) only
78-
*/
79-
const firebaseExpVersion = new Map<string, string>();
80-
firebaseExpVersion.set(
81-
FIREBASE_UMBRELLA_PACKAGE_NAME,
82-
versions.get(FIREBASE_UMBRELLA_PACKAGE_NAME)
83-
);
84-
const firebaseExpPath = packagePaths.filter(p =>
85-
p.includes(FIREBASE_UMBRELLA_PACKAGE_NAME)
86-
);
87-
await resetWorkingTreeAndBumpVersions(firebaseExpPath, firebaseExpVersion);
88-
89-
/**
90-
* push to github
91-
*/
92-
await commitAndPush(versions);
72+
// */
73+
// await publishToNpm(packagePaths);
74+
75+
// /**
76+
// * reset the working tree to recover package names with -exp in the package.json files,
77+
// * then bump patch version of firebase-exp (the umbrella package) only
78+
// */
79+
// const firebaseExpVersion = new Map<string, string>();
80+
// firebaseExpVersion.set(
81+
// FIREBASE_UMBRELLA_PACKAGE_NAME,
82+
// versions.get(FIREBASE_UMBRELLA_PACKAGE_NAME)
83+
// );
84+
// const firebaseExpPath = packagePaths.filter(p =>
85+
// p.includes(FIREBASE_UMBRELLA_PACKAGE_NAME)
86+
// );
87+
// await resetWorkingTreeAndBumpVersions(firebaseExpPath, firebaseExpVersion);
88+
89+
// /**
90+
// * push to github
91+
// */
92+
// await commitAndPush(versions);
9393
} catch (err) {
9494
/**
9595
* Log any errors that happened during the process
@@ -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)