backend-manager 4.2.11 → 4.2.13
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/cli/cli.js +6 -0
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "backend-manager",
|
|
3
|
-
"version": "4.2.
|
|
3
|
+
"version": "4.2.13",
|
|
4
4
|
"description": "Quick tools for developing Firebase functions",
|
|
5
5
|
"main": "src/manager/index.js",
|
|
6
6
|
"bin": {
|
|
@@ -69,7 +69,7 @@
|
|
|
69
69
|
"moment": "^2.30.1",
|
|
70
70
|
"nanoid": "^3.3.8",
|
|
71
71
|
"node-fetch": "^2.7.0",
|
|
72
|
-
"node-powertools": "^2.1.
|
|
72
|
+
"node-powertools": "^2.1.3",
|
|
73
73
|
"npm-api": "^1.0.1",
|
|
74
74
|
"paypal-server-api": "^2.0.14",
|
|
75
75
|
"pushid": "^1.0.0",
|
package/src/cli/cli.js
CHANGED
|
@@ -992,6 +992,12 @@ function fix_hostingRewrites(self) {
|
|
|
992
992
|
source: '{/backend-manager}',
|
|
993
993
|
function: 'bm_api',
|
|
994
994
|
});
|
|
995
|
+
|
|
996
|
+
// Set
|
|
997
|
+
_.set(self.firebaseJSON, 'hosting.rewrites', hosting.rewrites);
|
|
998
|
+
|
|
999
|
+
// Write
|
|
1000
|
+
jetpack.write(`${self.firebaseProjectPath}/firebase.json`, JSON.stringify(self.firebaseJSON, null, 2));
|
|
995
1001
|
});
|
|
996
1002
|
};
|
|
997
1003
|
|