backend-manager 2.5.20 → 2.5.22
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/package.json +2 -2
- package/src/manager/index.js +6 -6
- package/src/require.js +3 -0
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "backend-manager",
|
|
3
|
-
"version": "2.5.
|
|
3
|
+
"version": "2.5.22",
|
|
4
4
|
"description": "Quick tools for developing Firebase functions",
|
|
5
5
|
"main": "src/manager/index.js",
|
|
6
6
|
"bin": {
|
|
@@ -61,4 +61,4 @@
|
|
|
61
61
|
"wonderful-fetch": "^0.0.14",
|
|
62
62
|
"yargs": "^17.5.1"
|
|
63
63
|
}
|
|
64
|
-
}
|
|
64
|
+
}
|
package/src/manager/index.js
CHANGED
|
@@ -129,9 +129,9 @@ Manager.prototype.init = function (exporter, options) {
|
|
|
129
129
|
}
|
|
130
130
|
|
|
131
131
|
if (options.log) {
|
|
132
|
-
self.assistant.log('process.env', process.env, {environment: 'production'})
|
|
133
|
-
|
|
134
|
-
|
|
132
|
+
// self.assistant.log('process.env', process.env, {environment: 'production'})
|
|
133
|
+
self.assistant.log('Resolved serviceAccountPath', self.project.serviceAccountPath);
|
|
134
|
+
self.assistant.log('Resolved backendManagerConfigPath', self.project.backendManagerConfigPath);
|
|
135
135
|
}
|
|
136
136
|
|
|
137
137
|
// Setup sentry
|
|
@@ -414,12 +414,12 @@ Manager.prototype.init = function (exporter, options) {
|
|
|
414
414
|
|
|
415
415
|
if (self.assistant.meta.environment === 'development' && options.fetchStats) {
|
|
416
416
|
setTimeout(function () {
|
|
417
|
-
|
|
417
|
+
self.assistant.log('Fetching meta/stats...');
|
|
418
418
|
self.libraries.admin
|
|
419
419
|
.firestore().doc('meta/stats')
|
|
420
420
|
.get()
|
|
421
421
|
.then(doc => {
|
|
422
|
-
|
|
422
|
+
self.assistant.log('meta/stats', doc.data());
|
|
423
423
|
})
|
|
424
424
|
}, 3000);
|
|
425
425
|
}
|
|
@@ -591,7 +591,7 @@ Manager.prototype.storage = function (options) {
|
|
|
591
591
|
const adapter = new FileSync(dbPath);
|
|
592
592
|
|
|
593
593
|
if (options.temporary && self.assistant.meta.environment === 'development') {
|
|
594
|
-
|
|
594
|
+
self.assistant.log('Removed temporary file @', dbPath);
|
|
595
595
|
jetpack.remove(dbPath);
|
|
596
596
|
}
|
|
597
597
|
|
package/src/require.js
ADDED