@fern-api/fern-api-dev 4.63.0 → 4.63.1-1-g1933b2aa412
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/cli.cjs +82 -44
- package/package.json +1 -1
package/cli.cjs
CHANGED
|
@@ -48230,7 +48230,7 @@ var require_polyfills = __commonJS({
|
|
|
48230
48230
|
}
|
|
48231
48231
|
if (platform3 === "win32") {
|
|
48232
48232
|
fs28.rename = typeof fs28.rename !== "function" ? fs28.rename : (function(fs$rename) {
|
|
48233
|
-
function
|
|
48233
|
+
function rename7(from4, to8, cb2) {
|
|
48234
48234
|
var start2 = Date.now();
|
|
48235
48235
|
var backoff = 0;
|
|
48236
48236
|
fs$rename(from4, to8, function CB(er19) {
|
|
@@ -48250,8 +48250,8 @@ var require_polyfills = __commonJS({
|
|
|
48250
48250
|
if (cb2) cb2(er19);
|
|
48251
48251
|
});
|
|
48252
48252
|
}
|
|
48253
|
-
if (Object.setPrototypeOf) Object.setPrototypeOf(
|
|
48254
|
-
return
|
|
48253
|
+
if (Object.setPrototypeOf) Object.setPrototypeOf(rename7, fs$rename);
|
|
48254
|
+
return rename7;
|
|
48255
48255
|
})(fs28.rename);
|
|
48256
48256
|
}
|
|
48257
48257
|
fs28.read = typeof fs28.read !== "function" ? fs28.read : (function(fs$read) {
|
|
@@ -48710,8 +48710,8 @@ var require_graceful_fs = __commonJS({
|
|
|
48710
48710
|
}
|
|
48711
48711
|
var fs$copyFile = fs29.copyFile;
|
|
48712
48712
|
if (fs$copyFile)
|
|
48713
|
-
fs29.copyFile =
|
|
48714
|
-
function
|
|
48713
|
+
fs29.copyFile = copyFile5;
|
|
48714
|
+
function copyFile5(src, dest, flags2, cb2) {
|
|
48715
48715
|
if (typeof flags2 === "function") {
|
|
48716
48716
|
cb2 = flags2;
|
|
48717
48717
|
flags2 = 0;
|
|
@@ -306276,7 +306276,7 @@ var require_polyfills2 = __commonJS({
|
|
|
306276
306276
|
}
|
|
306277
306277
|
if (platform3 === "win32") {
|
|
306278
306278
|
fs28.rename = typeof fs28.rename !== "function" ? fs28.rename : (function(fs$rename) {
|
|
306279
|
-
function
|
|
306279
|
+
function rename7(from4, to8, cb2) {
|
|
306280
306280
|
var start2 = Date.now();
|
|
306281
306281
|
var backoff = 0;
|
|
306282
306282
|
fs$rename(from4, to8, function CB(er19) {
|
|
@@ -306296,8 +306296,8 @@ var require_polyfills2 = __commonJS({
|
|
|
306296
306296
|
if (cb2) cb2(er19);
|
|
306297
306297
|
});
|
|
306298
306298
|
}
|
|
306299
|
-
if (Object.setPrototypeOf) Object.setPrototypeOf(
|
|
306300
|
-
return
|
|
306299
|
+
if (Object.setPrototypeOf) Object.setPrototypeOf(rename7, fs$rename);
|
|
306300
|
+
return rename7;
|
|
306301
306301
|
})(fs28.rename);
|
|
306302
306302
|
}
|
|
306303
306303
|
fs28.read = typeof fs28.read !== "function" ? fs28.read : (function(fs$read) {
|
|
@@ -306756,8 +306756,8 @@ var require_graceful_fs2 = __commonJS({
|
|
|
306756
306756
|
}
|
|
306757
306757
|
var fs$copyFile = fs29.copyFile;
|
|
306758
306758
|
if (fs$copyFile)
|
|
306759
|
-
fs29.copyFile =
|
|
306760
|
-
function
|
|
306759
|
+
fs29.copyFile = copyFile5;
|
|
306760
|
+
function copyFile5(src, dest, flags2, cb2) {
|
|
306761
306761
|
if (typeof flags2 === "function") {
|
|
306762
306762
|
cb2 = flags2;
|
|
306763
306763
|
flags2 = 0;
|
|
@@ -359558,12 +359558,12 @@ var require_cjs6 = __commonJS({
|
|
|
359558
359558
|
target.push(buffer);
|
|
359559
359559
|
};
|
|
359560
359560
|
}
|
|
359561
|
-
var
|
|
359561
|
+
var import_child_process12;
|
|
359562
359562
|
var GitExecutorChain2;
|
|
359563
359563
|
var init_git_executor_chain2 = __esm3({
|
|
359564
359564
|
"src/lib/runners/git-executor-chain.ts"() {
|
|
359565
359565
|
"use strict";
|
|
359566
|
-
|
|
359566
|
+
import_child_process12 = require("child_process");
|
|
359567
359567
|
init_git_error2();
|
|
359568
359568
|
init_task2();
|
|
359569
359569
|
init_utils9();
|
|
@@ -359713,7 +359713,7 @@ var require_cjs6 = __commonJS({
|
|
|
359713
359713
|
rejection = reason || rejection;
|
|
359714
359714
|
}
|
|
359715
359715
|
});
|
|
359716
|
-
const spawned = (0,
|
|
359716
|
+
const spawned = (0, import_child_process12.spawn)(command3, args, spawnOptions);
|
|
359717
359717
|
spawned.stdout.on(
|
|
359718
359718
|
"data",
|
|
359719
359719
|
onDataReceived2(stdOut, "stdOut", logger4, outputLogger.step("stdOut"))
|
|
@@ -366942,16 +366942,16 @@ var require_copy = __commonJS({
|
|
|
366942
366942
|
throw new Error(`Unknown file: ${src}`);
|
|
366943
366943
|
}
|
|
366944
366944
|
async function onFile(srcStat, destStat, src, dest, opts) {
|
|
366945
|
-
if (!destStat) return
|
|
366945
|
+
if (!destStat) return copyFile5(srcStat, src, dest, opts);
|
|
366946
366946
|
if (opts.overwrite) {
|
|
366947
366947
|
await fs28.unlink(dest);
|
|
366948
|
-
return
|
|
366948
|
+
return copyFile5(srcStat, src, dest, opts);
|
|
366949
366949
|
}
|
|
366950
366950
|
if (opts.errorOnExist) {
|
|
366951
366951
|
throw new Error(`'${dest}' already exists`);
|
|
366952
366952
|
}
|
|
366953
366953
|
}
|
|
366954
|
-
async function
|
|
366954
|
+
async function copyFile5(srcStat, src, dest, opts) {
|
|
366955
366955
|
await fs28.copyFile(src, dest);
|
|
366956
366956
|
if (opts.preserveTimestamps) {
|
|
366957
366957
|
if (fileIsNotWritable(srcStat.mode)) {
|
|
@@ -367059,18 +367059,18 @@ var require_copy_sync = __commonJS({
|
|
|
367059
367059
|
throw new Error(`Unknown file: ${src}`);
|
|
367060
367060
|
}
|
|
367061
367061
|
function onFile(srcStat, destStat, src, dest, opts) {
|
|
367062
|
-
if (!destStat) return
|
|
367062
|
+
if (!destStat) return copyFile5(srcStat, src, dest, opts);
|
|
367063
367063
|
return mayCopyFile(srcStat, src, dest, opts);
|
|
367064
367064
|
}
|
|
367065
367065
|
function mayCopyFile(srcStat, src, dest, opts) {
|
|
367066
367066
|
if (opts.overwrite) {
|
|
367067
367067
|
fs28.unlinkSync(dest);
|
|
367068
|
-
return
|
|
367068
|
+
return copyFile5(srcStat, src, dest, opts);
|
|
367069
367069
|
} else if (opts.errorOnExist) {
|
|
367070
367070
|
throw new Error(`'${dest}' already exists`);
|
|
367071
367071
|
}
|
|
367072
367072
|
}
|
|
367073
|
-
function
|
|
367073
|
+
function copyFile5(srcStat, src, dest, opts) {
|
|
367074
367074
|
fs28.copyFileSync(src, dest);
|
|
367075
367075
|
if (opts.preserveTimestamps) handleTimestamps(srcStat.mode, src, dest);
|
|
367076
367076
|
return setDestMode(dest, srcStat.mode);
|
|
@@ -367813,15 +367813,15 @@ var require_move_sync = __commonJS({
|
|
|
367813
367813
|
return parsedPath.root === parent;
|
|
367814
367814
|
}
|
|
367815
367815
|
function doRename(src, dest, overwrite, isChangingCase) {
|
|
367816
|
-
if (isChangingCase) return
|
|
367816
|
+
if (isChangingCase) return rename7(src, dest, overwrite);
|
|
367817
367817
|
if (overwrite) {
|
|
367818
367818
|
removeSync(dest);
|
|
367819
|
-
return
|
|
367819
|
+
return rename7(src, dest, overwrite);
|
|
367820
367820
|
}
|
|
367821
367821
|
if (fs28.existsSync(dest)) throw new Error("dest already exists.");
|
|
367822
|
-
return
|
|
367822
|
+
return rename7(src, dest, overwrite);
|
|
367823
367823
|
}
|
|
367824
|
-
function
|
|
367824
|
+
function rename7(src, dest, overwrite) {
|
|
367825
367825
|
try {
|
|
367826
367826
|
fs28.renameSync(src, dest);
|
|
367827
367827
|
} catch (err) {
|
|
@@ -593681,7 +593681,8 @@ var ProtobufOpenAPIGenerator = class {
|
|
|
593681
593681
|
}
|
|
593682
593682
|
const outputPath = join2(preparedDir.cwd, RelativeFilePath2.of(PROTOBUF_GENERATOR_OUTPUT_FILEPATH2));
|
|
593683
593683
|
const uniqueOutput = AbsoluteFilePath2.of((await import_tmp_promise7.default.file({ postfix: ".yaml" })).path);
|
|
593684
|
-
await (0, import_promises35.
|
|
593684
|
+
await (0, import_promises35.copyFile)(outputPath, uniqueOutput);
|
|
593685
|
+
await (0, import_promises35.unlink)(outputPath);
|
|
593685
593686
|
return { absoluteFilepath: uniqueOutput };
|
|
593686
593687
|
}
|
|
593687
593688
|
async generateLocal({ absoluteFilepathToProtobufRoot, absoluteFilepathToProtobufTarget, relativeFilepathToProtobufRoot, deps, existingBufLockContents }) {
|
|
@@ -603120,7 +603121,7 @@ var AccessTokenPosthogManager = class {
|
|
|
603120
603121
|
properties: {
|
|
603121
603122
|
...event,
|
|
603122
603123
|
...event.properties,
|
|
603123
|
-
version: "4.63.
|
|
603124
|
+
version: "4.63.1-1-g1933b2aa412",
|
|
603124
603125
|
usingAccessToken: true
|
|
603125
603126
|
}
|
|
603126
603127
|
});
|
|
@@ -603171,7 +603172,7 @@ var UserPosthogManager = class {
|
|
|
603171
603172
|
distinctId: this.userId ?? await this.getPersistedDistinctId(),
|
|
603172
603173
|
event: "CLI",
|
|
603173
603174
|
properties: {
|
|
603174
|
-
version: "4.63.
|
|
603175
|
+
version: "4.63.1-1-g1933b2aa412",
|
|
603175
603176
|
...event,
|
|
603176
603177
|
...event.properties,
|
|
603177
603178
|
usingAccessToken: false,
|
|
@@ -838081,6 +838082,7 @@ async function getPorts(options2) {
|
|
|
838081
838082
|
init_lib4();
|
|
838082
838083
|
init_js();
|
|
838083
838084
|
init_lib6();
|
|
838085
|
+
var import_child_process6 = require("child_process");
|
|
838084
838086
|
var import_cors = __toESM(require_lib14(), 1);
|
|
838085
838087
|
var import_express2 = __toESM(require_express3(), 1);
|
|
838086
838088
|
var import_fs25 = __toESM(require("fs"), 1);
|
|
@@ -839763,7 +839765,7 @@ var import_path54 = __toESM(require("path"), 1);
|
|
|
839763
839765
|
var LOCAL_STORAGE_FOLDER4 = ".fern-dev";
|
|
839764
839766
|
var LOGS_FOLDER_NAME = "logs";
|
|
839765
839767
|
function getCliSource() {
|
|
839766
|
-
const version7 = "4.63.
|
|
839768
|
+
const version7 = "4.63.1-1-g1933b2aa412";
|
|
839767
839769
|
return `cli@${version7}`;
|
|
839768
839770
|
}
|
|
839769
839771
|
var DebugLogger = class {
|
|
@@ -840953,6 +840955,33 @@ function cleanFernDocsCacheSync(bundleRoot, context3) {
|
|
|
840953
840955
|
context3.logger.debug(`Failed to clean Fern Docs cache: ${err}`);
|
|
840954
840956
|
}
|
|
840955
840957
|
}
|
|
840958
|
+
function killProcessesOnPort(targetPort, context3) {
|
|
840959
|
+
context3.logger.debug(`Killing any leftover processes on port ${targetPort}`);
|
|
840960
|
+
const isWindows = process.platform === "win32";
|
|
840961
|
+
const command3 = isWindows ? `netstat -ano | findstr :${targetPort} | findstr LISTENING` : `lsof -ti tcp:${targetPort}`;
|
|
840962
|
+
try {
|
|
840963
|
+
const output2 = (0, import_child_process6.execSync)(command3, { encoding: "utf-8", timeout: 5e3 });
|
|
840964
|
+
let pids;
|
|
840965
|
+
if (isWindows) {
|
|
840966
|
+
pids = output2.trim().split("\n").map((line) => line.trim().split(/\s+/).pop() ?? "").filter((pid) => pid.length > 0 && pid !== String(process.pid));
|
|
840967
|
+
pids = [...new Set(pids)];
|
|
840968
|
+
} else {
|
|
840969
|
+
pids = output2.trim().split("\n").map((pid) => pid.trim()).filter((pid) => pid.length > 0 && pid !== String(process.pid));
|
|
840970
|
+
}
|
|
840971
|
+
for (const pid of pids) {
|
|
840972
|
+
try {
|
|
840973
|
+
context3.logger.debug(`Killing leftover process ${pid} on port ${targetPort}`);
|
|
840974
|
+
if (isWindows) {
|
|
840975
|
+
(0, import_child_process6.execSync)(`taskkill /F /PID ${pid}`, { timeout: 5e3 });
|
|
840976
|
+
} else {
|
|
840977
|
+
process.kill(Number(pid), "SIGKILL");
|
|
840978
|
+
}
|
|
840979
|
+
} catch {
|
|
840980
|
+
}
|
|
840981
|
+
}
|
|
840982
|
+
} catch {
|
|
840983
|
+
}
|
|
840984
|
+
}
|
|
840956
840985
|
async function runAppPreviewServer({ initialProject, reloadProject, validateProject, context: context3, port, bundlePath, backendPort, forceDownload }) {
|
|
840957
840986
|
if (forceDownload) {
|
|
840958
840987
|
const appPreviewFolder = getPathToPreviewFolder({ app: true });
|
|
@@ -841234,6 +841263,7 @@ ${err.stack}`);
|
|
|
841234
841263
|
NODE_OPTIONS: "--max-old-space-size=8096 --enable-source-maps"
|
|
841235
841264
|
};
|
|
841236
841265
|
let serverProcess = null;
|
|
841266
|
+
let actualPort = port;
|
|
841237
841267
|
const startNextJsServer = () => {
|
|
841238
841268
|
return new Promise((resolve13) => {
|
|
841239
841269
|
serverProcess = runExeca(context3.logger, "node", [serverPath], {
|
|
@@ -841243,6 +841273,10 @@ ${err.stack}`);
|
|
|
841243
841273
|
const checkReady = (data2) => {
|
|
841244
841274
|
const output2 = data2.toString();
|
|
841245
841275
|
context3.logger.debug(`[Next.js] ${output2}`);
|
|
841276
|
+
const portMatch = output2.match(/localhost:(\d+)/);
|
|
841277
|
+
if (portMatch != null) {
|
|
841278
|
+
actualPort = Number(portMatch[1]);
|
|
841279
|
+
}
|
|
841246
841280
|
if (output2.includes("Ready in") || output2.includes("\u2713 Ready")) {
|
|
841247
841281
|
resolve13();
|
|
841248
841282
|
}
|
|
@@ -841343,6 +841377,7 @@ ${err.stack}`);
|
|
|
841343
841377
|
context3.logger.error(`Failed to kill server process: ${err}`);
|
|
841344
841378
|
}
|
|
841345
841379
|
}
|
|
841380
|
+
killProcessesOnPort(actualPort, context3);
|
|
841346
841381
|
cleanFernDocsCacheSync(bundleRoot, context3);
|
|
841347
841382
|
context3.logger.debug("Cleaning up WebSocket connections...");
|
|
841348
841383
|
for (const [ws8, metadata] of connections) {
|
|
@@ -850637,6 +850672,9 @@ async function generateLanguageSpecificDynamicIRs({ workspace, organization, con
|
|
|
850637
850672
|
if (generatorInvocation.language === "php" && generatorInvocation.config && typeof generatorInvocation.config === "object" && "packageName" in generatorInvocation.config) {
|
|
850638
850673
|
packageName = generatorInvocation.config.packageName ?? "";
|
|
850639
850674
|
}
|
|
850675
|
+
if (generatorInvocation.language === "go" && packageName) {
|
|
850676
|
+
packageName = normalizeGoPackageForLookup(packageName);
|
|
850677
|
+
}
|
|
850640
850678
|
if (!generatorInvocation.language) {
|
|
850641
850679
|
continue;
|
|
850642
850680
|
}
|
|
@@ -850878,7 +850916,7 @@ var LegacyDocsPublisher = class {
|
|
|
850878
850916
|
previewId,
|
|
850879
850917
|
disableTemplates: void 0,
|
|
850880
850918
|
skipUpload,
|
|
850881
|
-
cliVersion: "4.63.
|
|
850919
|
+
cliVersion: "4.63.1-1-g1933b2aa412"
|
|
850882
850920
|
});
|
|
850883
850921
|
if (taskContext.getResult() === TaskResult.Failure) {
|
|
850884
850922
|
return { success: false };
|
|
@@ -851956,7 +851994,7 @@ components:
|
|
|
851956
851994
|
// ../cli-v2/lib/init/Wizard.js
|
|
851957
851995
|
init_lib4();
|
|
851958
851996
|
init_lib6();
|
|
851959
|
-
var
|
|
851997
|
+
var import_child_process7 = require("child_process");
|
|
851960
851998
|
var import_path58 = __toESM(require("path"), 1);
|
|
851961
851999
|
|
|
851962
852000
|
// ../cli-v2/lib/ui/withSpinner.js
|
|
@@ -852598,7 +852636,7 @@ var Wizard = class {
|
|
|
852598
852636
|
*/
|
|
852599
852637
|
openMacOsFinderDialog() {
|
|
852600
852638
|
try {
|
|
852601
|
-
const result = (0,
|
|
852639
|
+
const result = (0, import_child_process7.execSync)(`osascript -e 'POSIX path of (choose file with prompt "Select your API spec:" of type {"json", "yml", "yaml"})'`, { encoding: "utf-8", stdio: ["pipe", "pipe", "pipe"] });
|
|
852602
852640
|
return result.trim();
|
|
852603
852641
|
} catch {
|
|
852604
852642
|
return void 0;
|
|
@@ -852764,7 +852802,7 @@ function addCreateCommand(cli) {
|
|
|
852764
852802
|
}
|
|
852765
852803
|
|
|
852766
852804
|
// ../cli-v2/lib/commands/org/list/command.js
|
|
852767
|
-
var
|
|
852805
|
+
var import_child_process8 = require("child_process");
|
|
852768
852806
|
var ListCommand = class {
|
|
852769
852807
|
async handle(context3) {
|
|
852770
852808
|
const token = await context3.getTokenOrPrompt();
|
|
@@ -852875,7 +852913,7 @@ var ListCommand = class {
|
|
|
852875
852913
|
getPager() {
|
|
852876
852914
|
const defaultPager = process.platform === "win32" ? "more" : "less";
|
|
852877
852915
|
const pagerCmd = process.env.PAGER ?? defaultPager;
|
|
852878
|
-
return (0,
|
|
852916
|
+
return (0, import_child_process8.spawn)(pagerCmd, {
|
|
852879
852917
|
stdio: ["pipe", "inherit", "inherit"],
|
|
852880
852918
|
env: {
|
|
852881
852919
|
...process.env,
|
|
@@ -884892,7 +884930,7 @@ var DynamicTypeLiteralMapper3 = class {
|
|
|
884892
884930
|
const errorsBefore = this.context.errors.size();
|
|
884893
884931
|
try {
|
|
884894
884932
|
const instantiation = this.convert({ typeReference: typeReference2, value });
|
|
884895
|
-
if (python_exports2.TypeInstantiation.isNop(instantiation)) {
|
|
884933
|
+
if (python_exports2.TypeInstantiation.isNop(instantiation) || this.context.errors.size() > errorsBefore) {
|
|
884896
884934
|
this.context.errors.truncate(errorsBefore);
|
|
884897
884935
|
continue;
|
|
884898
884936
|
}
|
|
@@ -889294,10 +889332,10 @@ function generateDefaultCrateName(organization, apiName) {
|
|
|
889294
889332
|
}
|
|
889295
889333
|
|
|
889296
889334
|
// ../../../generators/rust/base/lib/formatter/RustFormatter.js
|
|
889297
|
-
var
|
|
889335
|
+
var import_child_process9 = require("child_process");
|
|
889298
889336
|
function formatRustSnippet(code5, logger4) {
|
|
889299
889337
|
try {
|
|
889300
|
-
const result = (0,
|
|
889338
|
+
const result = (0, import_child_process9.spawnSync)("rustfmt", ["--edition=2021"], {
|
|
889301
889339
|
input: code5,
|
|
889302
889340
|
encoding: "utf8",
|
|
889303
889341
|
timeout: 5e3
|
|
@@ -889316,7 +889354,7 @@ function formatRustSnippet(code5, logger4) {
|
|
|
889316
889354
|
}
|
|
889317
889355
|
async function formatRustSnippetAsync(code5, logger4) {
|
|
889318
889356
|
return new Promise((resolve13) => {
|
|
889319
|
-
const rustfmt = (0,
|
|
889357
|
+
const rustfmt = (0, import_child_process9.spawn)("rustfmt", ["--edition=2021"], {
|
|
889320
889358
|
stdio: "pipe"
|
|
889321
889359
|
});
|
|
889322
889360
|
rustfmt.stdin.write(code5);
|
|
@@ -902802,11 +902840,11 @@ generators:
|
|
|
902802
902840
|
await fs18.mkdir(absolutePathToLocalOutput, { recursive: true });
|
|
902803
902841
|
interactiveTaskContext.logger.debug(`Self-hosted GitHub mode: cloning ${selfhostedGithubConfig.uri} to ${absolutePathToLocalOutput}`);
|
|
902804
902842
|
try {
|
|
902805
|
-
const { execSync:
|
|
902806
|
-
const gitPath =
|
|
902843
|
+
const { execSync: execSync6 } = await import("child_process");
|
|
902844
|
+
const gitPath = execSync6("which git 2>/dev/null || echo 'not found'", {
|
|
902807
902845
|
encoding: "utf-8"
|
|
902808
902846
|
}).trim();
|
|
902809
|
-
const gitVersion =
|
|
902847
|
+
const gitVersion = execSync6("git --version 2>/dev/null || echo 'unknown'", {
|
|
902810
902848
|
encoding: "utf-8"
|
|
902811
902849
|
}).trim();
|
|
902812
902850
|
interactiveTaskContext.logger.debug(`Git environment: path=${gitPath}, version=${gitVersion}, PATH=${process.env.PATH ?? "unset"}`);
|
|
@@ -924224,7 +924262,7 @@ var CliContext = class {
|
|
|
924224
924262
|
if (false) {
|
|
924225
924263
|
this.logger.error("CLI_VERSION is not defined");
|
|
924226
924264
|
}
|
|
924227
|
-
return "4.63.
|
|
924265
|
+
return "4.63.1-1-g1933b2aa412";
|
|
924228
924266
|
}
|
|
924229
924267
|
getCliName() {
|
|
924230
924268
|
if (false) {
|
|
@@ -935761,9 +935799,9 @@ function getAIEnhancerConfig2() {
|
|
|
935761
935799
|
// src/commands/sdk-diff/sdkDiffCommand.ts
|
|
935762
935800
|
init_lib4();
|
|
935763
935801
|
init_lib6();
|
|
935764
|
-
var
|
|
935802
|
+
var import_child_process10 = require("child_process");
|
|
935765
935803
|
var import_util70 = require("util");
|
|
935766
|
-
var execAsync = (0, import_util70.promisify)(
|
|
935804
|
+
var execAsync = (0, import_util70.promisify)(import_child_process10.exec);
|
|
935767
935805
|
async function getClientRegistry(context3, project) {
|
|
935768
935806
|
const workspace = project.apiWorkspaces[0];
|
|
935769
935807
|
if (workspace == null) {
|
|
@@ -935943,10 +935981,10 @@ function computePreviewVersion({ previewId }) {
|
|
|
935943
935981
|
}
|
|
935944
935982
|
|
|
935945
935983
|
// src/commands/sdk-preview/getPreviewId.ts
|
|
935946
|
-
var
|
|
935984
|
+
var import_child_process11 = require("child_process");
|
|
935947
935985
|
var import_crypto12 = require("crypto");
|
|
935948
935986
|
var import_util71 = require("util");
|
|
935949
|
-
var execAsync2 = (0, import_util71.promisify)(
|
|
935987
|
+
var execAsync2 = (0, import_util71.promisify)(import_child_process11.exec);
|
|
935950
935988
|
var MAX_PREVIEW_ID_LENGTH = 40;
|
|
935951
935989
|
async function getPreviewId() {
|
|
935952
935990
|
try {
|
package/package.json
CHANGED