firebase-tools-with-isolate 12.9.1-2 → 12.9.1-4
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.
|
@@ -7,7 +7,6 @@ const filesize = require("filesize");
|
|
|
7
7
|
const fs = require("fs");
|
|
8
8
|
const path = require("path");
|
|
9
9
|
const tmp = require("tmp");
|
|
10
|
-
const isolate_package_1 = require("isolate-package");
|
|
11
10
|
const error_1 = require("../../error");
|
|
12
11
|
const fsAsync = require("../../fsAsync");
|
|
13
12
|
const functionsConfig = require("../../functionsConfig");
|
|
@@ -94,8 +93,9 @@ async function packageSource(sourceDir, config, runtimeConfig) {
|
|
|
94
93
|
}
|
|
95
94
|
async function prepareFunctionsUpload(sourceDir, config, runtimeConfig) {
|
|
96
95
|
if (config.isolate === true) {
|
|
96
|
+
const { isolate } = await Promise.resolve().then(() => require("isolate-package"));
|
|
97
97
|
utils.logLabeledBullet("functions", `Start isolating the current directory...`);
|
|
98
|
-
const isolateDir = await
|
|
98
|
+
const isolateDir = await isolate();
|
|
99
99
|
utils.logLabeledBullet("functions", `Finished isolating at ${clc.bold(isolateDir)}`);
|
|
100
100
|
return packageSource(isolateDir, config, runtimeConfig);
|
|
101
101
|
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "firebase-tools-with-isolate",
|
|
3
|
-
"version": "12.9.1-
|
|
3
|
+
"version": "12.9.1-4",
|
|
4
4
|
"description": "Command-Line Interface for Firebase with experimental monorepo support",
|
|
5
5
|
"main": "./lib/index.js",
|
|
6
6
|
"bin": {
|
|
@@ -113,7 +113,7 @@
|
|
|
113
113
|
"glob": "^7.1.2",
|
|
114
114
|
"google-auth-library": "^7.11.0",
|
|
115
115
|
"inquirer": "^8.2.0",
|
|
116
|
-
"isolate-package": "^1.4.1-
|
|
116
|
+
"isolate-package": "^1.4.1-5",
|
|
117
117
|
"js-yaml": "^3.13.1",
|
|
118
118
|
"jsonwebtoken": "^9.0.0",
|
|
119
119
|
"leven": "^3.1.0",
|