File tree Expand file tree Collapse file tree 1 file changed +13
-2
lines changed Expand file tree Collapse file tree 1 file changed +13
-2
lines changed Original file line number Diff line number Diff line change @@ -66,7 +66,7 @@ async function publishExpPackages({ dryRun }: { dryRun: boolean }) {
66
66
await prepareStorageForRelease ( ) ;
67
67
await prepareDatabaseForRelease ( ) ;
68
68
/**
69
- * build packages
69
+ * build packages except for the umbrella package (firebase) which will be built after firestore/storage/database compat packages are created
70
70
*/
71
71
await buildPackages ( ) ;
72
72
@@ -75,6 +75,11 @@ async function publishExpPackages({ dryRun }: { dryRun: boolean }) {
75
75
*/
76
76
await createFirestoreCompatProject ( ) ;
77
77
78
+ /**
79
+ * build firebase
80
+ */
81
+ await buildFirebasePackage ( ) ;
82
+
78
83
// path to exp packages
79
84
let packagePaths = await mapWorkspaceToPackages ( [
80
85
`${ projectRoot } /packages-exp/*`
@@ -291,6 +296,13 @@ async function buildPackages() {
291
296
rmdirSync ( installationsDistDirPath , { recursive : true } ) ;
292
297
}
293
298
299
+ spinner . stopAndPersist ( {
300
+ symbol : '✅'
301
+ } ) ;
302
+ }
303
+
304
+ async function buildFirebasePackage ( ) {
305
+ const spinner = ora ( ' Building firebase' ) . start ( ) ;
294
306
// Build firebase-exp
295
307
await spawn (
296
308
'yarn' ,
@@ -300,7 +312,6 @@ async function buildPackages() {
300
312
stdio : 'inherit'
301
313
}
302
314
) ;
303
-
304
315
spinner . stopAndPersist ( {
305
316
symbol : '✅'
306
317
} ) ;
You can’t perform that action at this time.
0 commit comments