@@ -47,7 +47,9 @@ async function publishExpPackages({ dryRun }: { dryRun: boolean }) {
47
47
/**
48
48
* Welcome to the firebase release CLI!
49
49
*/
50
- console . log ( 'Welcome to the Firebase Exp Packages release CLI!' ) ;
50
+ console . log (
51
+ `Welcome to the Firebase Exp Packages release CLI! dryRun: ${ dryRun } `
52
+ ) ;
51
53
52
54
/**
53
55
* Update fields in package.json and stuff
@@ -76,7 +78,7 @@ async function publishExpPackages({ dryRun }: { dryRun: boolean }) {
76
78
* since the last release. This simplifies the script and works fine for exp packages.
77
79
*
78
80
* 2. Removes -exp in package names because we will publish them using
79
- * the existing package names under a special release tag (e.g. firebase@exp).
81
+ * the existing package names under a special release tag (firebase@exp).
80
82
*/
81
83
const versions = await updatePackageNamesAndVersions ( packagePaths ) ;
82
84
@@ -138,9 +140,15 @@ async function buildPackages() {
138
140
'run' ,
139
141
'--scope' ,
140
142
// We replace `@firebase/app-exp` with `@firebase/app` during compilation, so we need to
141
- // compile @firebase /app to make rollup happy though it's not an actual dependency.
143
+ // compile @firebase /app first to make rollup happy though it's not an actual dependency.
142
144
'@firebase/app' ,
143
145
'--scope' ,
146
+ // the same reason above
147
+ '@firebase/functions' ,
148
+ '--scope' ,
149
+ // the same reason above
150
+ '@firebase/remote-config' ,
151
+ '--scope' ,
144
152
'@firebase/util' ,
145
153
'--scope' ,
146
154
'@firebase/component' ,
@@ -176,6 +184,15 @@ async function buildPackages() {
176
184
177
185
// Build exp packages developed in place
178
186
// Firestore
187
+ await spawn (
188
+ 'yarn' ,
189
+ [ 'lerna' , 'run' , '--scope' , '@firebase/firestore' , 'prebuild' ] ,
190
+ {
191
+ cwd : projectRoot ,
192
+ stdio : 'inherit'
193
+ }
194
+ ) ;
195
+
179
196
await spawn (
180
197
'yarn' ,
181
198
[ 'lerna' , 'run' , '--scope' , '@firebase/firestore' , 'build:exp:release' ] ,
0 commit comments