@fern-api/fern-api-dev 4.68.2-3-ge30ff58476d → 4.68.2-6-gdbf7c6b8be3
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 +14 -13
- package/package.json +1 -1
package/cli.cjs
CHANGED
|
@@ -627700,7 +627700,7 @@ var AccessTokenPosthogManager = class {
|
|
|
627700
627700
|
properties: {
|
|
627701
627701
|
...event,
|
|
627702
627702
|
...event.properties,
|
|
627703
|
-
version: "4.68.2-
|
|
627703
|
+
version: "4.68.2-6-gdbf7c6b8be3",
|
|
627704
627704
|
usingAccessToken: true
|
|
627705
627705
|
}
|
|
627706
627706
|
});
|
|
@@ -627754,7 +627754,7 @@ var UserPosthogManager = class {
|
|
|
627754
627754
|
distinctId: this.userId ?? await this.getPersistedDistinctId(),
|
|
627755
627755
|
event: "CLI",
|
|
627756
627756
|
properties: {
|
|
627757
|
-
version: "4.68.2-
|
|
627757
|
+
version: "4.68.2-6-gdbf7c6b8be3",
|
|
627758
627758
|
...event,
|
|
627759
627759
|
...event.properties,
|
|
627760
627760
|
usingAccessToken: false,
|
|
@@ -844029,7 +844029,7 @@ var LOCAL_STORAGE_FOLDER4 = ".fern-dev";
|
|
|
844029
844029
|
var LOGS_FOLDER_NAME = "logs";
|
|
844030
844030
|
var MAX_LOGS_DIR_SIZE_BYTES = 100 * 1024 * 1024;
|
|
844031
844031
|
function getCliSource() {
|
|
844032
|
-
const version7 = "4.68.2-
|
|
844032
|
+
const version7 = "4.68.2-6-gdbf7c6b8be3";
|
|
844033
844033
|
return `cli@${version7}`;
|
|
844034
844034
|
}
|
|
844035
844035
|
var DebugLogger = class {
|
|
@@ -855278,7 +855278,7 @@ var LegacyDocsPublisher = class {
|
|
|
855278
855278
|
previewId,
|
|
855279
855279
|
disableTemplates: void 0,
|
|
855280
855280
|
skipUpload,
|
|
855281
|
-
cliVersion: "4.68.2-
|
|
855281
|
+
cliVersion: "4.68.2-6-gdbf7c6b8be3"
|
|
855282
855282
|
});
|
|
855283
855283
|
if (taskContext.getResult() === TaskResult.Failure) {
|
|
855284
855284
|
return { success: false };
|
|
@@ -904175,7 +904175,7 @@ function constructNpmPackage({ generatorConfig, isPackagePrivate }) {
|
|
|
904175
904175
|
registryUrl: outputMode.registriesV2.npm.registryUrl,
|
|
904176
904176
|
token: outputMode.registriesV2.npm.token
|
|
904177
904177
|
},
|
|
904178
|
-
license:
|
|
904178
|
+
license: licenseFromLicenseConfig(generatorConfig.license),
|
|
904179
904179
|
repoUrl: void 0
|
|
904180
904180
|
};
|
|
904181
904181
|
case "github":
|
|
@@ -904188,13 +904188,7 @@ function constructNpmPackage({ generatorConfig, isPackagePrivate }) {
|
|
|
904188
904188
|
private: isPackagePrivate,
|
|
904189
904189
|
publishInfo: void 0,
|
|
904190
904190
|
repoUrl: getRepoUrlFromUrl(outputMode.repoUrl),
|
|
904191
|
-
license: generatorConfig.license
|
|
904192
|
-
basic: (basic2) => basic2.id,
|
|
904193
|
-
custom: (custom3) => `See ${custom3.filename}`,
|
|
904194
|
-
_other: () => {
|
|
904195
|
-
return void 0;
|
|
904196
|
-
}
|
|
904197
|
-
})
|
|
904191
|
+
license: licenseFromLicenseConfig(generatorConfig.license)
|
|
904198
904192
|
};
|
|
904199
904193
|
default:
|
|
904200
904194
|
throw new Error(`Encountered unknown output mode: ${outputMode}`);
|
|
@@ -904236,6 +904230,13 @@ function removeGitSuffix(repoUrl) {
|
|
|
904236
904230
|
}
|
|
904237
904231
|
return repoUrl;
|
|
904238
904232
|
}
|
|
904233
|
+
function licenseFromLicenseConfig(licenseConfig) {
|
|
904234
|
+
return licenseConfig?._visit({
|
|
904235
|
+
basic: (basic2) => basic2.id,
|
|
904236
|
+
custom: (custom3) => `See ${custom3.filename}`,
|
|
904237
|
+
_other: () => void 0
|
|
904238
|
+
});
|
|
904239
|
+
}
|
|
904239
904240
|
|
|
904240
904241
|
// ../../../generators/typescript-v2/browser-compatible-base/lib/utils/getNamespaceExport.js
|
|
904241
904242
|
init_lodash();
|
|
@@ -929018,7 +929019,7 @@ var CliContext = class _CliContext {
|
|
|
929018
929019
|
if (false) {
|
|
929019
929020
|
this.logger.error("CLI_VERSION is not defined");
|
|
929020
929021
|
}
|
|
929021
|
-
return "4.68.2-
|
|
929022
|
+
return "4.68.2-6-gdbf7c6b8be3";
|
|
929022
929023
|
}
|
|
929023
929024
|
getCliName() {
|
|
929024
929025
|
if (false) {
|
package/package.json
CHANGED