firebase-tools 12.5.2 → 12.5.3
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.
|
@@ -38,6 +38,8 @@ async function prepare(context, options, payload) {
|
|
|
38
38
|
if (!(await prompt.confirm({
|
|
39
39
|
message: `Do you wish to continue deploying these extension instances?`,
|
|
40
40
|
default: false,
|
|
41
|
+
nonInteractive: options.nonInteractive,
|
|
42
|
+
force: options.force,
|
|
41
43
|
}))) {
|
|
42
44
|
throw new error_1.FirebaseError("Deployment cancelled");
|
|
43
45
|
}
|
|
@@ -58,6 +60,8 @@ async function prepare(context, options, payload) {
|
|
|
58
60
|
if (!(await prompt.confirm({
|
|
59
61
|
message: `Do you wish to continue deploying these extension instances?`,
|
|
60
62
|
default: true,
|
|
63
|
+
nonInteractive: options.nonInteractive,
|
|
64
|
+
force: options.force,
|
|
61
65
|
}))) {
|
|
62
66
|
throw new error_1.FirebaseError("Deployment cancelled");
|
|
63
67
|
}
|
|
@@ -82,6 +86,8 @@ async function prepare(context, options, payload) {
|
|
|
82
86
|
.map((i) => i.instanceId)
|
|
83
87
|
.join(", ")}?`,
|
|
84
88
|
default: false,
|
|
89
|
+
nonInteractive: options.nonInteractive,
|
|
90
|
+
force: options.force,
|
|
85
91
|
}))) {
|
|
86
92
|
payload.instancesToDelete = [];
|
|
87
93
|
}
|
|
@@ -333,7 +333,7 @@ async function stop(targetName) {
|
|
|
333
333
|
const emulator = get(targetName);
|
|
334
334
|
return new Promise((resolve, reject) => {
|
|
335
335
|
const logger = emulatorLogger_1.EmulatorLogger.forEmulator(emulator.name);
|
|
336
|
-
if (emulator.instance) {
|
|
336
|
+
if (emulator.instance && emulator.instance.kill(0)) {
|
|
337
337
|
const killTimeout = setTimeout(() => {
|
|
338
338
|
const pid = emulator.instance ? emulator.instance.pid : -1;
|
|
339
339
|
const errorMsg = constants_1.Constants.description(emulator.name) + ": Unable to terminate process (PID=" + pid + ")";
|
|
@@ -16,7 +16,7 @@ marked_1.marked.setOptions({
|
|
|
16
16
|
renderer: new TerminalRenderer(),
|
|
17
17
|
});
|
|
18
18
|
const EXTENSIONS_CHANGELOG = "CHANGELOG.md";
|
|
19
|
-
const VERSION_LINE_REGEX =
|
|
19
|
+
const VERSION_LINE_REGEX = /##.+?(\d+\.\d+\.\d+(?:-((\d+|\d*[a-zA-Z-][0-9a-zA-Z-]*)(?:\.(\d+|\d*[a-zA-Z-][0-9a-zA-Z-]*))*))?).*/;
|
|
20
20
|
async function getReleaseNotesForUpdate(args) {
|
|
21
21
|
const releaseNotes = {};
|
|
22
22
|
const filter = `id<="${args.toVersion}" AND id>"${args.fromVersion}"`;
|
package/package.json
CHANGED
package/standalone/firepit.js
CHANGED
|
@@ -184,7 +184,6 @@ let runtimeBinsPath = path.join(homePath, ".cache", "firebase", "runtime");
|
|
|
184
184
|
const npmArgs = [
|
|
185
185
|
`--script-shell=${runtimeBinsPath}/shell${isWindows ? ".bat" : ""}`,
|
|
186
186
|
`--globalconfig=${path.join(runtimeBinsPath, "npmrc")}`,
|
|
187
|
-
`--userconfig=${path.join(runtimeBinsPath, "npmrc")}`,
|
|
188
187
|
`--scripts-prepend-node-path=auto`
|
|
189
188
|
];
|
|
190
189
|
|