@fern-api/fern-api-dev 4.81.0-10-gfa789527325 → 4.81.0-12-gda1eb9c3fad
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 +51 -17
- package/package.json +1 -1
package/cli.cjs
CHANGED
|
@@ -614666,7 +614666,7 @@ var AccessTokenPosthogManager = class {
|
|
|
614666
614666
|
properties: {
|
|
614667
614667
|
...event,
|
|
614668
614668
|
...event.properties,
|
|
614669
|
-
version: "4.81.0-
|
|
614669
|
+
version: "4.81.0-12-gda1eb9c3fad",
|
|
614670
614670
|
usingAccessToken: true
|
|
614671
614671
|
}
|
|
614672
614672
|
});
|
|
@@ -614720,7 +614720,7 @@ var UserPosthogManager = class {
|
|
|
614720
614720
|
distinctId: this.userId ?? await this.getPersistedDistinctId(),
|
|
614721
614721
|
event: "CLI",
|
|
614722
614722
|
properties: {
|
|
614723
|
-
version: "4.81.0-
|
|
614723
|
+
version: "4.81.0-12-gda1eb9c3fad",
|
|
614724
614724
|
...event,
|
|
614725
614725
|
...event.properties,
|
|
614726
614726
|
usingAccessToken: false,
|
|
@@ -832071,7 +832071,7 @@ var LOCAL_STORAGE_FOLDER4 = ".fern-dev";
|
|
|
832071
832071
|
var LOGS_FOLDER_NAME = "logs";
|
|
832072
832072
|
var MAX_LOGS_DIR_SIZE_BYTES = 100 * 1024 * 1024;
|
|
832073
832073
|
function getCliSource() {
|
|
832074
|
-
const version7 = "4.81.0-
|
|
832074
|
+
const version7 = "4.81.0-12-gda1eb9c3fad";
|
|
832075
832075
|
return `cli@${version7}`;
|
|
832076
832076
|
}
|
|
832077
832077
|
var DebugLogger = class {
|
|
@@ -843638,7 +843638,7 @@ var LegacyDocsPublisher = class {
|
|
|
843638
843638
|
previewId,
|
|
843639
843639
|
disableTemplates: void 0,
|
|
843640
843640
|
skipUpload,
|
|
843641
|
-
cliVersion: "4.81.0-
|
|
843641
|
+
cliVersion: "4.81.0-12-gda1eb9c3fad"
|
|
843642
843642
|
});
|
|
843643
843643
|
if (taskContext.getResult() === TaskResult.Failure) {
|
|
843644
843644
|
return { success: false };
|
|
@@ -848069,16 +848069,26 @@ var ContainerExecutionEnvironment = class {
|
|
|
848069
848069
|
envVars["NODE_OPTIONS"] = `--inspect-brk=0.0.0.0:${DEFAULT_NODE_DEBUG_PORT}`;
|
|
848070
848070
|
ports[DEFAULT_NODE_DEBUG_PORT] = DEFAULT_NODE_DEBUG_PORT;
|
|
848071
848071
|
}
|
|
848072
|
-
|
|
848073
|
-
|
|
848074
|
-
|
|
848075
|
-
|
|
848076
|
-
|
|
848077
|
-
|
|
848078
|
-
|
|
848079
|
-
|
|
848080
|
-
|
|
848081
|
-
|
|
848072
|
+
try {
|
|
848073
|
+
await runContainer({
|
|
848074
|
+
logger: context3.logger,
|
|
848075
|
+
imageName: this.containerImage,
|
|
848076
|
+
args: [CONTAINER_GENERATOR_CONFIG_PATH],
|
|
848077
|
+
binds,
|
|
848078
|
+
envVars,
|
|
848079
|
+
ports,
|
|
848080
|
+
removeAfterCompletion: !this.keepContainer,
|
|
848081
|
+
runner: this.runner ?? runner
|
|
848082
|
+
});
|
|
848083
|
+
} catch (error50) {
|
|
848084
|
+
if (error50 instanceof CliError) {
|
|
848085
|
+
throw error50;
|
|
848086
|
+
}
|
|
848087
|
+
throw new CliError({
|
|
848088
|
+
message: `Container execution failed: ${error50 instanceof Error ? error50.message : String(error50)}`,
|
|
848089
|
+
code: CliError.Code.ContainerError
|
|
848090
|
+
});
|
|
848091
|
+
}
|
|
848082
848092
|
}
|
|
848083
848093
|
};
|
|
848084
848094
|
|
|
@@ -918209,9 +918219,33 @@ var SentryClient = class {
|
|
|
918209
918219
|
dsn: sentryDsn,
|
|
918210
918220
|
release: release2,
|
|
918211
918221
|
environment: sentryEnvironment,
|
|
918222
|
+
// Opt out of every built-in integration (HTTP tracing, local
|
|
918223
|
+
// variables, console breadcrumbs, etc.) — error capture is all
|
|
918224
|
+
// we need.
|
|
918212
918225
|
defaultIntegrations: false,
|
|
918213
|
-
|
|
918214
|
-
|
|
918226
|
+
// Rewrite absolute frame paths to repo-root-relative paths so
|
|
918227
|
+
// they align with the source maps uploaded at publish time.
|
|
918228
|
+
// onUncaughtException / onUnhandledRejection catch errors that
|
|
918229
|
+
// escape the CLI's top-level handler (fire-and-forget callbacks,
|
|
918230
|
+
// unhandled rejections in background work, etc.).
|
|
918231
|
+
// linkedErrors chains .cause so wrapped errors stay traceable.
|
|
918232
|
+
// nodeContext adds Node.js version and OS to every event.
|
|
918233
|
+
integrations: [
|
|
918234
|
+
rewriteFramesIntegration(),
|
|
918235
|
+
onUncaughtExceptionIntegration(),
|
|
918236
|
+
onUnhandledRejectionIntegration(),
|
|
918237
|
+
linkedErrorsIntegration(),
|
|
918238
|
+
nodeContextIntegration()
|
|
918239
|
+
],
|
|
918240
|
+
// The CLI doesn't emit transactions; disable performance
|
|
918241
|
+
// sampling entirely.
|
|
918242
|
+
tracesSampleRate: 0,
|
|
918243
|
+
// Always attach a stack trace, even when the thrown value is
|
|
918244
|
+
// not an Error instance (e.g. a plain string or object).
|
|
918245
|
+
attachStacktrace: true,
|
|
918246
|
+
// Suppress the client-report envelope Sentry sends when events
|
|
918247
|
+
// are dropped (e.g. due to rate limits).
|
|
918248
|
+
sendClientReports: false
|
|
918215
918249
|
});
|
|
918216
918250
|
setSentryRunIdTags();
|
|
918217
918251
|
}
|
|
@@ -918803,7 +918837,7 @@ var CliContext = class _CliContext {
|
|
|
918803
918837
|
if (false) {
|
|
918804
918838
|
this.logger.error("CLI_VERSION is not defined");
|
|
918805
918839
|
}
|
|
918806
|
-
return "4.81.0-
|
|
918840
|
+
return "4.81.0-12-gda1eb9c3fad";
|
|
918807
918841
|
}
|
|
918808
918842
|
getCliName() {
|
|
918809
918843
|
if (false) {
|
package/package.json
CHANGED