@fern-api/fern-api-dev 5.7.2 → 5.7.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.
- package/cli.cjs +11 -9
- package/package.json +1 -1
package/cli.cjs
CHANGED
|
@@ -44325,7 +44325,7 @@ function convertToFernHostRelativeFilePath(path106) {
|
|
|
44325
44325
|
}
|
|
44326
44326
|
function convertToFernHostPath(path106) {
|
|
44327
44327
|
let unixPath = path106;
|
|
44328
|
-
if (/^[a-zA-Z]
|
|
44328
|
+
if (/^[a-zA-Z]:[/\\]/.test(path106)) {
|
|
44329
44329
|
unixPath = path106.substring(2);
|
|
44330
44330
|
}
|
|
44331
44331
|
return unixPath.replace(/\\/g, "/");
|
|
@@ -44375,13 +44375,14 @@ var init_cwd = __esm({
|
|
|
44375
44375
|
|
|
44376
44376
|
// ../../commons/fs-utils/lib/dirname.js
|
|
44377
44377
|
function dirname6(filepath) {
|
|
44378
|
-
return import_path10.default.dirname(filepath);
|
|
44378
|
+
return convertToOsPath(import_path10.default.dirname(filepath));
|
|
44379
44379
|
}
|
|
44380
44380
|
var import_path10;
|
|
44381
44381
|
var init_dirname2 = __esm({
|
|
44382
44382
|
"../../commons/fs-utils/lib/dirname.js"() {
|
|
44383
44383
|
"use strict";
|
|
44384
44384
|
import_path10 = __toESM(require("path"), 1);
|
|
44385
|
+
init_osPathConverter();
|
|
44385
44386
|
}
|
|
44386
44387
|
});
|
|
44387
44388
|
|
|
@@ -44494,13 +44495,14 @@ var init_getAllFilesInDirectoryRelative = __esm({
|
|
|
44494
44495
|
|
|
44495
44496
|
// ../../commons/fs-utils/lib/join.js
|
|
44496
44497
|
function join8(...parts) {
|
|
44497
|
-
return import_path12.default.join(...parts);
|
|
44498
|
+
return convertToOsPath(import_path12.default.join(...parts));
|
|
44498
44499
|
}
|
|
44499
44500
|
var import_path12;
|
|
44500
44501
|
var init_join2 = __esm({
|
|
44501
44502
|
"../../commons/fs-utils/lib/join.js"() {
|
|
44502
44503
|
"use strict";
|
|
44503
44504
|
import_path12 = __toESM(require("path"), 1);
|
|
44505
|
+
init_osPathConverter();
|
|
44504
44506
|
}
|
|
44505
44507
|
});
|
|
44506
44508
|
|
|
@@ -50938,7 +50940,7 @@ var init_relativize = __esm({
|
|
|
50938
50940
|
|
|
50939
50941
|
// ../../commons/fs-utils/lib/resolve.js
|
|
50940
50942
|
function resolve6(...paths) {
|
|
50941
|
-
return import_path17.default.resolve(...paths.map(convertToOsPath));
|
|
50943
|
+
return convertToOsPath(import_path17.default.resolve(...paths.map(convertToOsPath)));
|
|
50942
50944
|
}
|
|
50943
50945
|
var import_path17;
|
|
50944
50946
|
var init_resolve = __esm({
|
|
@@ -622604,7 +622606,7 @@ var AccessTokenPosthogManager = class {
|
|
|
622604
622606
|
properties: {
|
|
622605
622607
|
...event,
|
|
622606
622608
|
...event.properties,
|
|
622607
|
-
version: "5.7.
|
|
622609
|
+
version: "5.7.3",
|
|
622608
622610
|
usingAccessToken: true
|
|
622609
622611
|
}
|
|
622610
622612
|
});
|
|
@@ -622658,7 +622660,7 @@ var UserPosthogManager = class {
|
|
|
622658
622660
|
distinctId: this.userId ?? await this.getPersistedDistinctId(),
|
|
622659
622661
|
event: "CLI",
|
|
622660
622662
|
properties: {
|
|
622661
|
-
version: "5.7.
|
|
622663
|
+
version: "5.7.3",
|
|
622662
622664
|
...event,
|
|
622663
622665
|
...event.properties,
|
|
622664
622666
|
usingAccessToken: false,
|
|
@@ -847018,7 +847020,7 @@ var LOCAL_STORAGE_FOLDER4 = ".fern-dev";
|
|
|
847018
847020
|
var LOGS_FOLDER_NAME = "logs";
|
|
847019
847021
|
var MAX_LOGS_DIR_SIZE_BYTES = 100 * 1024 * 1024;
|
|
847020
847022
|
function getCliSource() {
|
|
847021
|
-
const version7 = "5.7.
|
|
847023
|
+
const version7 = "5.7.3";
|
|
847022
847024
|
return `cli@${version7}`;
|
|
847023
847025
|
}
|
|
847024
847026
|
var DebugLogger = class {
|
|
@@ -859573,7 +859575,7 @@ var LegacyDocsPublisher = class {
|
|
|
859573
859575
|
previewId,
|
|
859574
859576
|
disableTemplates: void 0,
|
|
859575
859577
|
skipUpload,
|
|
859576
|
-
cliVersion: "5.7.
|
|
859578
|
+
cliVersion: "5.7.3",
|
|
859577
859579
|
loginCommand: "fern auth login"
|
|
859578
859580
|
});
|
|
859579
859581
|
if (taskContext.getResult() === TaskResult.Failure) {
|
|
@@ -933998,7 +934000,7 @@ var CliContext = class _CliContext {
|
|
|
933998
934000
|
if (false) {
|
|
933999
934001
|
this.logger.error("CLI_VERSION is not defined");
|
|
934000
934002
|
}
|
|
934001
|
-
return "5.7.
|
|
934003
|
+
return "5.7.3";
|
|
934002
934004
|
}
|
|
934003
934005
|
getCliName() {
|
|
934004
934006
|
if (false) {
|
package/package.json
CHANGED