@fern-api/fern-api-dev 5.22.0 → 5.22.1-1-g08a6ca02787
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 +1071 -605
- package/package.json +1 -1
package/cli.cjs
CHANGED
|
@@ -25304,6 +25304,102 @@ var init_helpers = __esm({
|
|
|
25304
25304
|
}
|
|
25305
25305
|
});
|
|
25306
25306
|
|
|
25307
|
+
// ../logger/lib/LogLevel.js
|
|
25308
|
+
var LogLevel, LOG_LEVELS;
|
|
25309
|
+
var init_LogLevel = __esm({
|
|
25310
|
+
"../logger/lib/LogLevel.js"() {
|
|
25311
|
+
"use strict";
|
|
25312
|
+
LogLevel = {
|
|
25313
|
+
Trace: "trace",
|
|
25314
|
+
Debug: "debug",
|
|
25315
|
+
Info: "info",
|
|
25316
|
+
Warn: "warn",
|
|
25317
|
+
Error: "error"
|
|
25318
|
+
};
|
|
25319
|
+
LOG_LEVELS = Object.values(LogLevel);
|
|
25320
|
+
}
|
|
25321
|
+
});
|
|
25322
|
+
|
|
25323
|
+
// ../logger/lib/createLogger.js
|
|
25324
|
+
function createLogger(log4) {
|
|
25325
|
+
return new LoggerImpl(log4);
|
|
25326
|
+
}
|
|
25327
|
+
var LoggerImpl;
|
|
25328
|
+
var init_createLogger = __esm({
|
|
25329
|
+
"../logger/lib/createLogger.js"() {
|
|
25330
|
+
"use strict";
|
|
25331
|
+
init_LogLevel();
|
|
25332
|
+
LoggerImpl = class {
|
|
25333
|
+
log;
|
|
25334
|
+
enabled;
|
|
25335
|
+
constructor(log4, enabled = true) {
|
|
25336
|
+
this.log = log4;
|
|
25337
|
+
this.enabled = enabled;
|
|
25338
|
+
}
|
|
25339
|
+
disable() {
|
|
25340
|
+
this.enabled = false;
|
|
25341
|
+
}
|
|
25342
|
+
enable() {
|
|
25343
|
+
this.enabled = true;
|
|
25344
|
+
}
|
|
25345
|
+
debug(...args) {
|
|
25346
|
+
if (this.enabled) {
|
|
25347
|
+
this.log(LogLevel.Debug, ...args);
|
|
25348
|
+
}
|
|
25349
|
+
}
|
|
25350
|
+
info(...args) {
|
|
25351
|
+
if (this.enabled) {
|
|
25352
|
+
this.log(LogLevel.Info, ...args);
|
|
25353
|
+
}
|
|
25354
|
+
}
|
|
25355
|
+
warn(...args) {
|
|
25356
|
+
if (this.enabled) {
|
|
25357
|
+
this.log(LogLevel.Warn, ...args);
|
|
25358
|
+
}
|
|
25359
|
+
}
|
|
25360
|
+
error(...args) {
|
|
25361
|
+
if (this.enabled) {
|
|
25362
|
+
this.log(LogLevel.Error, ...args);
|
|
25363
|
+
}
|
|
25364
|
+
}
|
|
25365
|
+
trace(...args) {
|
|
25366
|
+
if (this.enabled) {
|
|
25367
|
+
this.log(LogLevel.Trace, ...args);
|
|
25368
|
+
}
|
|
25369
|
+
}
|
|
25370
|
+
};
|
|
25371
|
+
}
|
|
25372
|
+
});
|
|
25373
|
+
|
|
25374
|
+
// ../logger/lib/console.js
|
|
25375
|
+
function log3(level, ...args) {
|
|
25376
|
+
const consoleLogger = getConsoleLoggerForLevel(level);
|
|
25377
|
+
consoleLogger(...args);
|
|
25378
|
+
}
|
|
25379
|
+
function getConsoleLoggerForLevel(level) {
|
|
25380
|
+
switch (level) {
|
|
25381
|
+
case LogLevel.Trace:
|
|
25382
|
+
return console.trace;
|
|
25383
|
+
case LogLevel.Debug:
|
|
25384
|
+
return console.debug;
|
|
25385
|
+
case LogLevel.Info:
|
|
25386
|
+
return console.info;
|
|
25387
|
+
case LogLevel.Warn:
|
|
25388
|
+
return console.warn;
|
|
25389
|
+
case LogLevel.Error:
|
|
25390
|
+
return console.error;
|
|
25391
|
+
}
|
|
25392
|
+
}
|
|
25393
|
+
var CONSOLE_LOGGER;
|
|
25394
|
+
var init_console = __esm({
|
|
25395
|
+
"../logger/lib/console.js"() {
|
|
25396
|
+
"use strict";
|
|
25397
|
+
init_createLogger();
|
|
25398
|
+
init_LogLevel();
|
|
25399
|
+
CONSOLE_LOGGER = Object.freeze(createLogger(log3));
|
|
25400
|
+
}
|
|
25401
|
+
});
|
|
25402
|
+
|
|
25307
25403
|
// ../../../node_modules/.pnpm/ansi-regex@6.2.2/node_modules/ansi-regex/index.js
|
|
25308
25404
|
function ansiRegex({ onlyFirst = false } = {}) {
|
|
25309
25405
|
const ST = "(?:\\u0007|\\u001B\\u005C|\\u009C)";
|
|
@@ -40040,12 +40136,15 @@ var require_data = __commonJS({
|
|
|
40040
40136
|
}
|
|
40041
40137
|
});
|
|
40042
40138
|
|
|
40043
|
-
// ../../../node_modules/.pnpm/fast-uri@3.1.
|
|
40139
|
+
// ../../../node_modules/.pnpm/fast-uri@3.1.2/node_modules/fast-uri/lib/utils.js
|
|
40044
40140
|
var require_utils16 = __commonJS({
|
|
40045
|
-
"../../../node_modules/.pnpm/fast-uri@3.1.
|
|
40141
|
+
"../../../node_modules/.pnpm/fast-uri@3.1.2/node_modules/fast-uri/lib/utils.js"(exports2, module4) {
|
|
40046
40142
|
"use strict";
|
|
40047
40143
|
var isUUID = RegExp.prototype.test.bind(/^[\da-f]{8}-[\da-f]{4}-[\da-f]{4}-[\da-f]{4}-[\da-f]{12}$/iu);
|
|
40048
40144
|
var isIPv4 = RegExp.prototype.test.bind(/^(?:(?:25[0-5]|2[0-4]\d|1\d{2}|[1-9]\d|\d)\.){3}(?:25[0-5]|2[0-4]\d|1\d{2}|[1-9]\d|\d)$/u);
|
|
40145
|
+
var isHexPair = RegExp.prototype.test.bind(/^[\da-f]{2}$/iu);
|
|
40146
|
+
var isUnreserved = RegExp.prototype.test.bind(/^[\da-z\-._~]$/iu);
|
|
40147
|
+
var isPathCharacter = RegExp.prototype.test.bind(/^[\da-z\-._~!$&'()*+,;=:@/]$/iu);
|
|
40049
40148
|
function stringArrayToHexStripped(input3) {
|
|
40050
40149
|
let acc = "";
|
|
40051
40150
|
let code5 = 0;
|
|
@@ -40238,27 +40337,77 @@ var require_utils16 = __commonJS({
|
|
|
40238
40337
|
}
|
|
40239
40338
|
return output2.join("");
|
|
40240
40339
|
}
|
|
40241
|
-
|
|
40242
|
-
|
|
40243
|
-
|
|
40244
|
-
|
|
40245
|
-
|
|
40246
|
-
|
|
40247
|
-
|
|
40248
|
-
|
|
40249
|
-
|
|
40250
|
-
|
|
40340
|
+
var HOST_DELIMS = { "@": "%40", "/": "%2F", "?": "%3F", "#": "%23", ":": "%3A" };
|
|
40341
|
+
var HOST_DELIM_RE = /[@/?#:]/g;
|
|
40342
|
+
var HOST_DELIM_NO_COLON_RE = /[@/?#]/g;
|
|
40343
|
+
function reescapeHostDelimiters(host, isIP3) {
|
|
40344
|
+
const re10 = isIP3 ? HOST_DELIM_NO_COLON_RE : HOST_DELIM_RE;
|
|
40345
|
+
re10.lastIndex = 0;
|
|
40346
|
+
return host.replace(re10, (ch) => HOST_DELIMS[ch]);
|
|
40347
|
+
}
|
|
40348
|
+
function normalizePercentEncoding(input3, decodeUnreserved = false) {
|
|
40349
|
+
if (input3.indexOf("%") === -1) {
|
|
40350
|
+
return input3;
|
|
40251
40351
|
}
|
|
40252
|
-
|
|
40253
|
-
|
|
40352
|
+
let output2 = "";
|
|
40353
|
+
for (let i9 = 0; i9 < input3.length; i9++) {
|
|
40354
|
+
if (input3[i9] === "%" && i9 + 2 < input3.length) {
|
|
40355
|
+
const hex3 = input3.slice(i9 + 1, i9 + 3);
|
|
40356
|
+
if (isHexPair(hex3)) {
|
|
40357
|
+
const normalizedHex = hex3.toUpperCase();
|
|
40358
|
+
const decoded = String.fromCharCode(parseInt(normalizedHex, 16));
|
|
40359
|
+
if (decodeUnreserved && isUnreserved(decoded)) {
|
|
40360
|
+
output2 += decoded;
|
|
40361
|
+
} else {
|
|
40362
|
+
output2 += "%" + normalizedHex;
|
|
40363
|
+
}
|
|
40364
|
+
i9 += 2;
|
|
40365
|
+
continue;
|
|
40366
|
+
}
|
|
40367
|
+
}
|
|
40368
|
+
output2 += input3[i9];
|
|
40254
40369
|
}
|
|
40255
|
-
|
|
40256
|
-
|
|
40370
|
+
return output2;
|
|
40371
|
+
}
|
|
40372
|
+
function normalizePathEncoding(input3) {
|
|
40373
|
+
let output2 = "";
|
|
40374
|
+
for (let i9 = 0; i9 < input3.length; i9++) {
|
|
40375
|
+
if (input3[i9] === "%" && i9 + 2 < input3.length) {
|
|
40376
|
+
const hex3 = input3.slice(i9 + 1, i9 + 3);
|
|
40377
|
+
if (isHexPair(hex3)) {
|
|
40378
|
+
const normalizedHex = hex3.toUpperCase();
|
|
40379
|
+
const decoded = String.fromCharCode(parseInt(normalizedHex, 16));
|
|
40380
|
+
if (decoded !== "." && isUnreserved(decoded)) {
|
|
40381
|
+
output2 += decoded;
|
|
40382
|
+
} else {
|
|
40383
|
+
output2 += "%" + normalizedHex;
|
|
40384
|
+
}
|
|
40385
|
+
i9 += 2;
|
|
40386
|
+
continue;
|
|
40387
|
+
}
|
|
40388
|
+
}
|
|
40389
|
+
if (isPathCharacter(input3[i9])) {
|
|
40390
|
+
output2 += input3[i9];
|
|
40391
|
+
} else {
|
|
40392
|
+
output2 += escape(input3[i9]);
|
|
40393
|
+
}
|
|
40257
40394
|
}
|
|
40258
|
-
|
|
40259
|
-
|
|
40395
|
+
return output2;
|
|
40396
|
+
}
|
|
40397
|
+
function escapePreservingEscapes(input3) {
|
|
40398
|
+
let output2 = "";
|
|
40399
|
+
for (let i9 = 0; i9 < input3.length; i9++) {
|
|
40400
|
+
if (input3[i9] === "%" && i9 + 2 < input3.length) {
|
|
40401
|
+
const hex3 = input3.slice(i9 + 1, i9 + 3);
|
|
40402
|
+
if (isHexPair(hex3)) {
|
|
40403
|
+
output2 += "%" + hex3.toUpperCase();
|
|
40404
|
+
i9 += 2;
|
|
40405
|
+
continue;
|
|
40406
|
+
}
|
|
40407
|
+
}
|
|
40408
|
+
output2 += escape(input3[i9]);
|
|
40260
40409
|
}
|
|
40261
|
-
return
|
|
40410
|
+
return output2;
|
|
40262
40411
|
}
|
|
40263
40412
|
function recomposeAuthority(component) {
|
|
40264
40413
|
const uriTokens = [];
|
|
@@ -40273,7 +40422,7 @@ var require_utils16 = __commonJS({
|
|
|
40273
40422
|
if (ipV6res.isIPV6 === true) {
|
|
40274
40423
|
host = `[${ipV6res.escapedHost}]`;
|
|
40275
40424
|
} else {
|
|
40276
|
-
host =
|
|
40425
|
+
host = reescapeHostDelimiters(host, false);
|
|
40277
40426
|
}
|
|
40278
40427
|
}
|
|
40279
40428
|
uriTokens.push(host);
|
|
@@ -40287,7 +40436,10 @@ var require_utils16 = __commonJS({
|
|
|
40287
40436
|
module4.exports = {
|
|
40288
40437
|
nonSimpleDomain,
|
|
40289
40438
|
recomposeAuthority,
|
|
40290
|
-
|
|
40439
|
+
reescapeHostDelimiters,
|
|
40440
|
+
normalizePercentEncoding,
|
|
40441
|
+
normalizePathEncoding,
|
|
40442
|
+
escapePreservingEscapes,
|
|
40291
40443
|
removeDotSegments,
|
|
40292
40444
|
isIPv4,
|
|
40293
40445
|
isUUID,
|
|
@@ -40297,9 +40449,9 @@ var require_utils16 = __commonJS({
|
|
|
40297
40449
|
}
|
|
40298
40450
|
});
|
|
40299
40451
|
|
|
40300
|
-
// ../../../node_modules/.pnpm/fast-uri@3.1.
|
|
40452
|
+
// ../../../node_modules/.pnpm/fast-uri@3.1.2/node_modules/fast-uri/lib/schemes.js
|
|
40301
40453
|
var require_schemes = __commonJS({
|
|
40302
|
-
"../../../node_modules/.pnpm/fast-uri@3.1.
|
|
40454
|
+
"../../../node_modules/.pnpm/fast-uri@3.1.2/node_modules/fast-uri/lib/schemes.js"(exports2, module4) {
|
|
40303
40455
|
"use strict";
|
|
40304
40456
|
var { isUUID } = require_utils16();
|
|
40305
40457
|
var URN_REG = /([\da-z][\d\-a-z]{0,31}):((?:[\w!$'()*+,\-.:;=@]|%[\da-f]{2})+)/iu;
|
|
@@ -40507,16 +40659,16 @@ var require_schemes = __commonJS({
|
|
|
40507
40659
|
}
|
|
40508
40660
|
});
|
|
40509
40661
|
|
|
40510
|
-
// ../../../node_modules/.pnpm/fast-uri@3.1.
|
|
40662
|
+
// ../../../node_modules/.pnpm/fast-uri@3.1.2/node_modules/fast-uri/index.js
|
|
40511
40663
|
var require_fast_uri = __commonJS({
|
|
40512
|
-
"../../../node_modules/.pnpm/fast-uri@3.1.
|
|
40664
|
+
"../../../node_modules/.pnpm/fast-uri@3.1.2/node_modules/fast-uri/index.js"(exports2, module4) {
|
|
40513
40665
|
"use strict";
|
|
40514
|
-
var { normalizeIPv6, removeDotSegments, recomposeAuthority,
|
|
40666
|
+
var { normalizeIPv6, removeDotSegments, recomposeAuthority, normalizePercentEncoding, normalizePathEncoding, escapePreservingEscapes, reescapeHostDelimiters, isIPv4, nonSimpleDomain } = require_utils16();
|
|
40515
40667
|
var { SCHEMES, getSchemeHandler } = require_schemes();
|
|
40516
40668
|
function normalize13(uri, options2) {
|
|
40517
40669
|
if (typeof uri === "string") {
|
|
40518
40670
|
uri = /** @type {T} */
|
|
40519
|
-
|
|
40671
|
+
normalizeString(uri, options2);
|
|
40520
40672
|
} else if (typeof uri === "object") {
|
|
40521
40673
|
uri = /** @type {T} */
|
|
40522
40674
|
parse19(serialize5(uri, options2), options2);
|
|
@@ -40583,19 +40735,9 @@ var require_fast_uri = __commonJS({
|
|
|
40583
40735
|
return target;
|
|
40584
40736
|
}
|
|
40585
40737
|
function equal(uriA, uriB, options2) {
|
|
40586
|
-
|
|
40587
|
-
|
|
40588
|
-
|
|
40589
|
-
} else if (typeof uriA === "object") {
|
|
40590
|
-
uriA = serialize5(normalizeComponentEncoding(uriA, true), { ...options2, skipEscape: true });
|
|
40591
|
-
}
|
|
40592
|
-
if (typeof uriB === "string") {
|
|
40593
|
-
uriB = unescape(uriB);
|
|
40594
|
-
uriB = serialize5(normalizeComponentEncoding(parse19(uriB, options2), true), { ...options2, skipEscape: true });
|
|
40595
|
-
} else if (typeof uriB === "object") {
|
|
40596
|
-
uriB = serialize5(normalizeComponentEncoding(uriB, true), { ...options2, skipEscape: true });
|
|
40597
|
-
}
|
|
40598
|
-
return uriA.toLowerCase() === uriB.toLowerCase();
|
|
40738
|
+
const normalizedA = normalizeComparableURI(uriA, options2);
|
|
40739
|
+
const normalizedB = normalizeComparableURI(uriB, options2);
|
|
40740
|
+
return normalizedA !== void 0 && normalizedB !== void 0 && normalizedA.toLowerCase() === normalizedB.toLowerCase();
|
|
40599
40741
|
}
|
|
40600
40742
|
function serialize5(cmpts, opts) {
|
|
40601
40743
|
const component = {
|
|
@@ -40620,12 +40762,12 @@ var require_fast_uri = __commonJS({
|
|
|
40620
40762
|
if (schemeHandler && schemeHandler.serialize) schemeHandler.serialize(component, options2);
|
|
40621
40763
|
if (component.path !== void 0) {
|
|
40622
40764
|
if (!options2.skipEscape) {
|
|
40623
|
-
component.path =
|
|
40765
|
+
component.path = escapePreservingEscapes(component.path);
|
|
40624
40766
|
if (component.scheme !== void 0) {
|
|
40625
40767
|
component.path = component.path.split("%3A").join(":");
|
|
40626
40768
|
}
|
|
40627
40769
|
} else {
|
|
40628
|
-
component.path =
|
|
40770
|
+
component.path = normalizePercentEncoding(component.path);
|
|
40629
40771
|
}
|
|
40630
40772
|
}
|
|
40631
40773
|
if (options2.reference !== "suffix" && component.scheme) {
|
|
@@ -40660,7 +40802,16 @@ var require_fast_uri = __commonJS({
|
|
|
40660
40802
|
return uriTokens.join("");
|
|
40661
40803
|
}
|
|
40662
40804
|
var URI_PARSE = /^(?:([^#/:?]+):)?(?:\/\/((?:([^#/?@]*)@)?(\[[^#/?\]]+\]|[^#/:?]*)(?::(\d*))?))?([^#?]*)(?:\?([^#]*))?(?:#((?:.|[\n\r])*))?/u;
|
|
40663
|
-
function
|
|
40805
|
+
function getParseError(parsed, matches) {
|
|
40806
|
+
if (matches[2] !== void 0 && parsed.path && parsed.path[0] !== "/") {
|
|
40807
|
+
return 'URI path must start with "/" when authority is present.';
|
|
40808
|
+
}
|
|
40809
|
+
if (typeof parsed.port === "number" && (parsed.port < 0 || parsed.port > 65535)) {
|
|
40810
|
+
return "URI port is malformed.";
|
|
40811
|
+
}
|
|
40812
|
+
return void 0;
|
|
40813
|
+
}
|
|
40814
|
+
function parseWithStatus(uri, opts) {
|
|
40664
40815
|
const options2 = Object.assign({}, opts);
|
|
40665
40816
|
const parsed = {
|
|
40666
40817
|
scheme: void 0,
|
|
@@ -40671,6 +40822,7 @@ var require_fast_uri = __commonJS({
|
|
|
40671
40822
|
query: void 0,
|
|
40672
40823
|
fragment: void 0
|
|
40673
40824
|
};
|
|
40825
|
+
let malformedAuthorityOrPort = false;
|
|
40674
40826
|
let isIP3 = false;
|
|
40675
40827
|
if (options2.reference === "suffix") {
|
|
40676
40828
|
if (options2.scheme) {
|
|
@@ -40691,6 +40843,11 @@ var require_fast_uri = __commonJS({
|
|
|
40691
40843
|
if (isNaN(parsed.port)) {
|
|
40692
40844
|
parsed.port = matches[5];
|
|
40693
40845
|
}
|
|
40846
|
+
const parseError = getParseError(parsed, matches);
|
|
40847
|
+
if (parseError !== void 0) {
|
|
40848
|
+
parsed.error = parsed.error || parseError;
|
|
40849
|
+
malformedAuthorityOrPort = true;
|
|
40850
|
+
}
|
|
40694
40851
|
if (parsed.host) {
|
|
40695
40852
|
const ipv4result = isIPv4(parsed.host);
|
|
40696
40853
|
if (ipv4result === false) {
|
|
@@ -40729,14 +40886,18 @@ var require_fast_uri = __commonJS({
|
|
|
40729
40886
|
parsed.scheme = unescape(parsed.scheme);
|
|
40730
40887
|
}
|
|
40731
40888
|
if (parsed.host !== void 0) {
|
|
40732
|
-
parsed.host = unescape(parsed.host);
|
|
40889
|
+
parsed.host = reescapeHostDelimiters(unescape(parsed.host), isIP3);
|
|
40733
40890
|
}
|
|
40734
40891
|
}
|
|
40735
40892
|
if (parsed.path) {
|
|
40736
|
-
parsed.path =
|
|
40893
|
+
parsed.path = normalizePathEncoding(parsed.path);
|
|
40737
40894
|
}
|
|
40738
40895
|
if (parsed.fragment) {
|
|
40739
|
-
|
|
40896
|
+
try {
|
|
40897
|
+
parsed.fragment = encodeURI(decodeURIComponent(parsed.fragment));
|
|
40898
|
+
} catch {
|
|
40899
|
+
parsed.error = parsed.error || "URI malformed";
|
|
40900
|
+
}
|
|
40740
40901
|
}
|
|
40741
40902
|
}
|
|
40742
40903
|
if (schemeHandler && schemeHandler.parse) {
|
|
@@ -40745,7 +40906,29 @@ var require_fast_uri = __commonJS({
|
|
|
40745
40906
|
} else {
|
|
40746
40907
|
parsed.error = parsed.error || "URI can not be parsed.";
|
|
40747
40908
|
}
|
|
40748
|
-
return parsed;
|
|
40909
|
+
return { parsed, malformedAuthorityOrPort };
|
|
40910
|
+
}
|
|
40911
|
+
function parse19(uri, opts) {
|
|
40912
|
+
return parseWithStatus(uri, opts).parsed;
|
|
40913
|
+
}
|
|
40914
|
+
function normalizeString(uri, opts) {
|
|
40915
|
+
return normalizeStringWithStatus(uri, opts).normalized;
|
|
40916
|
+
}
|
|
40917
|
+
function normalizeStringWithStatus(uri, opts) {
|
|
40918
|
+
const { parsed, malformedAuthorityOrPort } = parseWithStatus(uri, opts);
|
|
40919
|
+
return {
|
|
40920
|
+
normalized: malformedAuthorityOrPort ? uri : serialize5(parsed, opts),
|
|
40921
|
+
malformedAuthorityOrPort
|
|
40922
|
+
};
|
|
40923
|
+
}
|
|
40924
|
+
function normalizeComparableURI(uri, opts) {
|
|
40925
|
+
if (typeof uri === "string") {
|
|
40926
|
+
const { normalized, malformedAuthorityOrPort } = normalizeStringWithStatus(uri, opts);
|
|
40927
|
+
return malformedAuthorityOrPort ? void 0 : normalized;
|
|
40928
|
+
}
|
|
40929
|
+
if (typeof uri === "object") {
|
|
40930
|
+
return serialize5(uri, opts);
|
|
40931
|
+
}
|
|
40749
40932
|
}
|
|
40750
40933
|
var fastUri = {
|
|
40751
40934
|
SCHEMES,
|
|
@@ -44155,6 +44338,36 @@ var init_lib4 = __esm({
|
|
|
44155
44338
|
}
|
|
44156
44339
|
});
|
|
44157
44340
|
|
|
44341
|
+
// ../logger/lib/noop.js
|
|
44342
|
+
var NOOP_LOGGER4;
|
|
44343
|
+
var init_noop3 = __esm({
|
|
44344
|
+
"../logger/lib/noop.js"() {
|
|
44345
|
+
"use strict";
|
|
44346
|
+
init_lib4();
|
|
44347
|
+
init_createLogger();
|
|
44348
|
+
NOOP_LOGGER4 = createLogger(noop2);
|
|
44349
|
+
}
|
|
44350
|
+
});
|
|
44351
|
+
|
|
44352
|
+
// ../logger/lib/index.js
|
|
44353
|
+
var lib_exports2 = {};
|
|
44354
|
+
__export(lib_exports2, {
|
|
44355
|
+
CONSOLE_LOGGER: () => CONSOLE_LOGGER,
|
|
44356
|
+
LOG_LEVELS: () => LOG_LEVELS,
|
|
44357
|
+
LogLevel: () => LogLevel,
|
|
44358
|
+
NOOP_LOGGER: () => NOOP_LOGGER4,
|
|
44359
|
+
createLogger: () => createLogger
|
|
44360
|
+
});
|
|
44361
|
+
var init_lib5 = __esm({
|
|
44362
|
+
"../logger/lib/index.js"() {
|
|
44363
|
+
"use strict";
|
|
44364
|
+
init_console();
|
|
44365
|
+
init_createLogger();
|
|
44366
|
+
init_LogLevel();
|
|
44367
|
+
init_noop3();
|
|
44368
|
+
}
|
|
44369
|
+
});
|
|
44370
|
+
|
|
44158
44371
|
// ../../commons/path-utils/lib/convertToOsPath.js
|
|
44159
44372
|
function convertToOsPath(path107) {
|
|
44160
44373
|
return path107.replace(/\\/g, "/");
|
|
@@ -44302,7 +44515,7 @@ var init_relative = __esm({
|
|
|
44302
44515
|
});
|
|
44303
44516
|
|
|
44304
44517
|
// ../../commons/path-utils/lib/index.js
|
|
44305
|
-
var
|
|
44518
|
+
var init_lib6 = __esm({
|
|
44306
44519
|
"../../commons/path-utils/lib/index.js"() {
|
|
44307
44520
|
"use strict";
|
|
44308
44521
|
init_AbsoluteFilePath();
|
|
@@ -44333,7 +44546,7 @@ function convertToFernHostPath(path107) {
|
|
|
44333
44546
|
var init_osPathConverter = __esm({
|
|
44334
44547
|
"../../commons/fs-utils/lib/osPathConverter.js"() {
|
|
44335
44548
|
"use strict";
|
|
44336
|
-
|
|
44549
|
+
init_lib6();
|
|
44337
44550
|
}
|
|
44338
44551
|
});
|
|
44339
44552
|
|
|
@@ -44359,7 +44572,7 @@ var init_AbsoluteFilePath2 = __esm({
|
|
|
44359
44572
|
var init_basename2 = __esm({
|
|
44360
44573
|
"../../commons/fs-utils/lib/basename.js"() {
|
|
44361
44574
|
"use strict";
|
|
44362
|
-
|
|
44575
|
+
init_lib6();
|
|
44363
44576
|
}
|
|
44364
44577
|
});
|
|
44365
44578
|
|
|
@@ -52655,8 +52868,8 @@ var init_waitUntilPathExists = __esm({
|
|
|
52655
52868
|
});
|
|
52656
52869
|
|
|
52657
52870
|
// ../../commons/fs-utils/lib/index.js
|
|
52658
|
-
var
|
|
52659
|
-
__export(
|
|
52871
|
+
var lib_exports3 = {};
|
|
52872
|
+
__export(lib_exports3, {
|
|
52660
52873
|
AbsoluteFilePath: () => AbsoluteFilePath2,
|
|
52661
52874
|
RelativeFilePath: () => RelativeFilePath2,
|
|
52662
52875
|
basename: () => basename3,
|
|
@@ -52688,7 +52901,7 @@ __export(lib_exports2, {
|
|
|
52688
52901
|
stringifyLargeObject: () => stringifyLargeObject,
|
|
52689
52902
|
waitUntilPathExists: () => waitUntilPathExists
|
|
52690
52903
|
});
|
|
52691
|
-
var
|
|
52904
|
+
var init_lib7 = __esm({
|
|
52692
52905
|
"../../commons/fs-utils/lib/index.js"() {
|
|
52693
52906
|
"use strict";
|
|
52694
52907
|
init_AbsoluteFilePath2();
|
|
@@ -66580,8 +66793,8 @@ var init_getOrUpdateBranch = __esm({
|
|
|
66580
66793
|
});
|
|
66581
66794
|
|
|
66582
66795
|
// ../../commons/github/lib/index.js
|
|
66583
|
-
var
|
|
66584
|
-
__export(
|
|
66796
|
+
var lib_exports4 = {};
|
|
66797
|
+
__export(lib_exports4, {
|
|
66585
66798
|
ClonedRepository: () => ClonedRepository,
|
|
66586
66799
|
cloneRepository: () => cloneRepository,
|
|
66587
66800
|
createOrUpdatePullRequest: () => createOrUpdatePullRequest,
|
|
@@ -66592,7 +66805,7 @@ __export(lib_exports3, {
|
|
|
66592
66805
|
getOrUpdateBranch: () => getOrUpdateBranch,
|
|
66593
66806
|
parseRepository: () => parseRepository
|
|
66594
66807
|
});
|
|
66595
|
-
var
|
|
66808
|
+
var init_lib8 = __esm({
|
|
66596
66809
|
"../../commons/github/lib/index.js"() {
|
|
66597
66810
|
"use strict";
|
|
66598
66811
|
init_ClonedRepository();
|
|
@@ -189040,8 +189253,8 @@ var require_whatwg_url = __commonJS({
|
|
|
189040
189253
|
});
|
|
189041
189254
|
|
|
189042
189255
|
// ../../../node_modules/.pnpm/node-fetch@2.7.0/node_modules/node-fetch/lib/index.mjs
|
|
189043
|
-
var
|
|
189044
|
-
__export(
|
|
189256
|
+
var lib_exports5 = {};
|
|
189257
|
+
__export(lib_exports5, {
|
|
189045
189258
|
AbortError: () => AbortError2,
|
|
189046
189259
|
FetchError: () => FetchError,
|
|
189047
189260
|
Headers: () => Headers2,
|
|
@@ -189640,7 +189853,7 @@ function destroyStream(stream5, err) {
|
|
|
189640
189853
|
}
|
|
189641
189854
|
}
|
|
189642
189855
|
var import_stream2, import_http4, import_url5, import_whatwg_url, import_https, import_zlib, Readable3, BUFFER2, TYPE, Blob3, convert2, INTERNALS, PassThrough, invalidTokenRegex, invalidHeaderCharRegex, MAP2, Headers2, INTERNAL2, HeadersIteratorPrototype, INTERNALS$1, STATUS_CODES, Response6, INTERNALS$2, URL2, parse_url, format_url, streamDestructionSupported, Request6, URL$1, PassThrough$1, isDomainOrSubdomain, isSameProtocol, lib_default2;
|
|
189643
|
-
var
|
|
189856
|
+
var init_lib9 = __esm({
|
|
189644
189857
|
"../../../node_modules/.pnpm/node-fetch@2.7.0/node_modules/node-fetch/lib/index.mjs"() {
|
|
189645
189858
|
"use strict";
|
|
189646
189859
|
import_stream2 = __toESM(require("stream"), 1);
|
|
@@ -190343,12 +190556,12 @@ var require_getFetchFn = __commonJS({
|
|
|
190343
190556
|
return fetch;
|
|
190344
190557
|
}
|
|
190345
190558
|
if (runtime_1.RUNTIME.type === "node") {
|
|
190346
|
-
return (yield Promise.resolve().then(() => __importStar2((
|
|
190559
|
+
return (yield Promise.resolve().then(() => __importStar2((init_lib9(), __toCommonJS(lib_exports5))))).default;
|
|
190347
190560
|
}
|
|
190348
190561
|
if (typeof fetch == "function") {
|
|
190349
190562
|
return fetch;
|
|
190350
190563
|
}
|
|
190351
|
-
return (yield Promise.resolve().then(() => __importStar2((
|
|
190564
|
+
return (yield Promise.resolve().then(() => __importStar2((init_lib9(), __toCommonJS(lib_exports5))))).default;
|
|
190352
190565
|
});
|
|
190353
190566
|
}
|
|
190354
190567
|
exports2.getFetchFn = getFetchFn3;
|
|
@@ -215328,8 +215541,8 @@ var require_lib7 = __commonJS({
|
|
|
215328
215541
|
});
|
|
215329
215542
|
|
|
215330
215543
|
// ../../../node_modules/.pnpm/node-fetch-h2@2.3.0/node_modules/node-fetch-h2/lib/index.mjs
|
|
215331
|
-
var
|
|
215332
|
-
__export(
|
|
215544
|
+
var lib_exports7 = {};
|
|
215545
|
+
__export(lib_exports7, {
|
|
215333
215546
|
FetchError: () => FetchError2,
|
|
215334
215547
|
Headers: () => Headers5,
|
|
215335
215548
|
Request: () => Request7,
|
|
@@ -215825,7 +216038,7 @@ function fetch5(url3, opts) {
|
|
|
215825
216038
|
});
|
|
215826
216039
|
}
|
|
215827
216040
|
var import_stream7, import_http7, import_url7, import_http2_client, import_zlib4, BUFFER3, TYPE2, Blob4, convert3, INTERNALS2, PassThrough2, invalidTokenRegex2, invalidHeaderCharRegex2, MAP3, Headers5, INTERNAL3, HeadersIteratorPrototype2, INTERNALS$12, STATUS_CODES2, Response15, INTERNALS$22, parse_url2, format_url2, streamDestructionSupported2, Request7, PassThrough$12, resolve_url, lib_default3;
|
|
215828
|
-
var
|
|
216041
|
+
var init_lib10 = __esm({
|
|
215829
216042
|
"../../../node_modules/.pnpm/node-fetch-h2@2.3.0/node_modules/node-fetch-h2/lib/index.mjs"() {
|
|
215830
216043
|
"use strict";
|
|
215831
216044
|
import_stream7 = __toESM(require("stream"), 1);
|
|
@@ -224320,7 +224533,7 @@ var require_oas_resolver = __commonJS({
|
|
|
224320
224533
|
var fs28 = require("fs");
|
|
224321
224534
|
var path107 = require("path");
|
|
224322
224535
|
var url3 = require("url");
|
|
224323
|
-
var fetch6 = (
|
|
224536
|
+
var fetch6 = (init_lib10(), __toCommonJS(lib_exports7));
|
|
224324
224537
|
var yaml3 = require_dist9();
|
|
224325
224538
|
var jptr = require_jptr().jptr;
|
|
224326
224539
|
var recurse = require_recurse().recurse;
|
|
@@ -224962,7 +225175,7 @@ var require_swagger2openapi = __commonJS({
|
|
|
224962
225175
|
var url3 = require("url");
|
|
224963
225176
|
var pathlib = require("path");
|
|
224964
225177
|
var maybe = require_maybe();
|
|
224965
|
-
var fetch6 = (
|
|
225178
|
+
var fetch6 = (init_lib10(), __toCommonJS(lib_exports7));
|
|
224966
225179
|
var yaml3 = require_dist9();
|
|
224967
225180
|
var jptr = require_jptr();
|
|
224968
225181
|
var resolveInternal = jptr.jptr;
|
|
@@ -228173,13 +228386,13 @@ var init_createLoggingExecutable = __esm({
|
|
|
228173
228386
|
});
|
|
228174
228387
|
|
|
228175
228388
|
// ../../commons/logging-execa/lib/index.js
|
|
228176
|
-
var
|
|
228177
|
-
__export(
|
|
228389
|
+
var lib_exports8 = {};
|
|
228390
|
+
__export(lib_exports8, {
|
|
228178
228391
|
createLoggingExecutable: () => createLoggingExecutable,
|
|
228179
228392
|
loggingExeca: () => loggingExeca,
|
|
228180
228393
|
runExeca: () => runExeca
|
|
228181
228394
|
});
|
|
228182
|
-
var
|
|
228395
|
+
var init_lib11 = __esm({
|
|
228183
228396
|
"../../commons/logging-execa/lib/index.js"() {
|
|
228184
228397
|
"use strict";
|
|
228185
228398
|
init_createLoggingExecutable();
|
|
@@ -238709,11 +238922,11 @@ var init_GraphQLConverter = __esm({
|
|
|
238709
238922
|
});
|
|
238710
238923
|
|
|
238711
238924
|
// ../api-importers/graphql/lib/index.js
|
|
238712
|
-
var
|
|
238713
|
-
__export(
|
|
238925
|
+
var lib_exports9 = {};
|
|
238926
|
+
__export(lib_exports9, {
|
|
238714
238927
|
GraphQLConverter: () => GraphQLConverter
|
|
238715
238928
|
});
|
|
238716
|
-
var
|
|
238929
|
+
var init_lib12 = __esm({
|
|
238717
238930
|
"../api-importers/graphql/lib/index.js"() {
|
|
238718
238931
|
"use strict";
|
|
238719
238932
|
init_GraphQLConverter();
|
|
@@ -271038,7 +271251,7 @@ function getMarkdownFormat(absoluteFilepath) {
|
|
|
271038
271251
|
var init_getMarkdownFormat = __esm({
|
|
271039
271252
|
"../docs-markdown-utils/lib/getMarkdownFormat.js"() {
|
|
271040
271253
|
"use strict";
|
|
271041
|
-
|
|
271254
|
+
init_lib7();
|
|
271042
271255
|
}
|
|
271043
271256
|
});
|
|
271044
271257
|
|
|
@@ -271122,7 +271335,7 @@ function looksLikeANode(value2) {
|
|
|
271122
271335
|
return value2 !== null && typeof value2 === "object" && "type" in value2;
|
|
271123
271336
|
}
|
|
271124
271337
|
var convert4;
|
|
271125
|
-
var
|
|
271338
|
+
var init_lib13 = __esm({
|
|
271126
271339
|
"../../../node_modules/.pnpm/unist-util-is@6.0.1/node_modules/unist-util-is/lib/index.js"() {
|
|
271127
271340
|
"use strict";
|
|
271128
271341
|
convert4 = // Note: overloads in JSDoc can’t yet use different `@template`s.
|
|
@@ -271168,7 +271381,7 @@ var init_lib12 = __esm({
|
|
|
271168
271381
|
var init_unist_util_is = __esm({
|
|
271169
271382
|
"../../../node_modules/.pnpm/unist-util-is@6.0.1/node_modules/unist-util-is/index.js"() {
|
|
271170
271383
|
"use strict";
|
|
271171
|
-
|
|
271384
|
+
init_lib13();
|
|
271172
271385
|
}
|
|
271173
271386
|
});
|
|
271174
271387
|
|
|
@@ -271255,7 +271468,7 @@ function toResult(value2) {
|
|
|
271255
271468
|
return value2 === null || value2 === void 0 ? empty : [value2];
|
|
271256
271469
|
}
|
|
271257
271470
|
var empty, CONTINUE, EXIT, SKIP2;
|
|
271258
|
-
var
|
|
271471
|
+
var init_lib14 = __esm({
|
|
271259
271472
|
"../../../node_modules/.pnpm/unist-util-visit-parents@6.0.2/node_modules/unist-util-visit-parents/lib/index.js"() {
|
|
271260
271473
|
"use strict";
|
|
271261
271474
|
init_unist_util_is();
|
|
@@ -271271,7 +271484,7 @@ var init_lib13 = __esm({
|
|
|
271271
271484
|
var init_unist_util_visit_parents = __esm({
|
|
271272
271485
|
"../../../node_modules/.pnpm/unist-util-visit-parents@6.0.2/node_modules/unist-util-visit-parents/index.js"() {
|
|
271273
271486
|
"use strict";
|
|
271274
|
-
|
|
271487
|
+
init_lib14();
|
|
271275
271488
|
}
|
|
271276
271489
|
});
|
|
271277
271490
|
|
|
@@ -271296,7 +271509,7 @@ function visit3(tree, testOrVisitor, visitorOrReverse, maybeReverse) {
|
|
|
271296
271509
|
return visitor(node4, index3, parent);
|
|
271297
271510
|
}
|
|
271298
271511
|
}
|
|
271299
|
-
var
|
|
271512
|
+
var init_lib15 = __esm({
|
|
271300
271513
|
"../../../node_modules/.pnpm/unist-util-visit@5.1.0/node_modules/unist-util-visit/lib/index.js"() {
|
|
271301
271514
|
"use strict";
|
|
271302
271515
|
init_unist_util_visit_parents();
|
|
@@ -271308,7 +271521,7 @@ var init_lib14 = __esm({
|
|
|
271308
271521
|
var init_unist_util_visit = __esm({
|
|
271309
271522
|
"../../../node_modules/.pnpm/unist-util-visit@5.1.0/node_modules/unist-util-visit/index.js"() {
|
|
271310
271523
|
"use strict";
|
|
271311
|
-
|
|
271524
|
+
init_lib15();
|
|
271312
271525
|
}
|
|
271313
271526
|
});
|
|
271314
271527
|
|
|
@@ -271348,7 +271561,7 @@ function node3(value2) {
|
|
|
271348
271561
|
return Boolean(value2 && typeof value2 === "object");
|
|
271349
271562
|
}
|
|
271350
271563
|
var emptyOptions;
|
|
271351
|
-
var
|
|
271564
|
+
var init_lib16 = __esm({
|
|
271352
271565
|
"../../../node_modules/.pnpm/mdast-util-to-string@4.0.0/node_modules/mdast-util-to-string/lib/index.js"() {
|
|
271353
271566
|
"use strict";
|
|
271354
271567
|
emptyOptions = {};
|
|
@@ -271359,7 +271572,7 @@ var init_lib15 = __esm({
|
|
|
271359
271572
|
var init_mdast_util_to_string = __esm({
|
|
271360
271573
|
"../../../node_modules/.pnpm/mdast-util-to-string@4.0.0/node_modules/mdast-util-to-string/index.js"() {
|
|
271361
271574
|
"use strict";
|
|
271362
|
-
|
|
271575
|
+
init_lib16();
|
|
271363
271576
|
}
|
|
271364
271577
|
});
|
|
271365
271578
|
|
|
@@ -278001,7 +278214,7 @@ function position(pos) {
|
|
|
278001
278214
|
function index2(value2) {
|
|
278002
278215
|
return value2 && typeof value2 === "number" ? value2 : 1;
|
|
278003
278216
|
}
|
|
278004
|
-
var
|
|
278217
|
+
var init_lib17 = __esm({
|
|
278005
278218
|
"../../../node_modules/.pnpm/unist-util-stringify-position@4.0.0/node_modules/unist-util-stringify-position/lib/index.js"() {
|
|
278006
278219
|
"use strict";
|
|
278007
278220
|
}
|
|
@@ -278011,7 +278224,7 @@ var init_lib16 = __esm({
|
|
|
278011
278224
|
var init_unist_util_stringify_position = __esm({
|
|
278012
278225
|
"../../../node_modules/.pnpm/unist-util-stringify-position@4.0.0/node_modules/unist-util-stringify-position/index.js"() {
|
|
278013
278226
|
"use strict";
|
|
278014
|
-
|
|
278227
|
+
init_lib17();
|
|
278015
278228
|
}
|
|
278016
278229
|
});
|
|
278017
278230
|
|
|
@@ -278723,7 +278936,7 @@ function defaultOnError(left3, right3) {
|
|
|
278723
278936
|
}
|
|
278724
278937
|
}
|
|
278725
278938
|
var own3;
|
|
278726
|
-
var
|
|
278939
|
+
var init_lib18 = __esm({
|
|
278727
278940
|
"../../../node_modules/.pnpm/mdast-util-from-markdown@2.0.3/node_modules/mdast-util-from-markdown/lib/index.js"() {
|
|
278728
278941
|
"use strict";
|
|
278729
278942
|
init_mdast_util_to_string();
|
|
@@ -278741,7 +278954,7 @@ var init_lib17 = __esm({
|
|
|
278741
278954
|
var init_mdast_util_from_markdown = __esm({
|
|
278742
278955
|
"../../../node_modules/.pnpm/mdast-util-from-markdown@2.0.3/node_modules/mdast-util-from-markdown/index.js"() {
|
|
278743
278956
|
"use strict";
|
|
278744
|
-
|
|
278957
|
+
init_lib18();
|
|
278745
278958
|
}
|
|
278746
278959
|
});
|
|
278747
278960
|
|
|
@@ -278893,7 +279106,7 @@ function toFunction(replace2) {
|
|
|
278893
279106
|
return replace2;
|
|
278894
279107
|
};
|
|
278895
279108
|
}
|
|
278896
|
-
var
|
|
279109
|
+
var init_lib19 = __esm({
|
|
278897
279110
|
"../../../node_modules/.pnpm/mdast-util-find-and-replace@3.0.2/node_modules/mdast-util-find-and-replace/lib/index.js"() {
|
|
278898
279111
|
"use strict";
|
|
278899
279112
|
init_escape_string_regexp();
|
|
@@ -278906,7 +279119,7 @@ var init_lib18 = __esm({
|
|
|
278906
279119
|
var init_mdast_util_find_and_replace = __esm({
|
|
278907
279120
|
"../../../node_modules/.pnpm/mdast-util-find-and-replace@3.0.2/node_modules/mdast-util-find-and-replace/index.js"() {
|
|
278908
279121
|
"use strict";
|
|
278909
|
-
|
|
279122
|
+
init_lib19();
|
|
278910
279123
|
}
|
|
278911
279124
|
});
|
|
278912
279125
|
|
|
@@ -279058,7 +279271,7 @@ function previous2(match3, email3) {
|
|
|
279058
279271
|
(!email3 || code5 !== 47);
|
|
279059
279272
|
}
|
|
279060
279273
|
var inConstruct, notInConstruct;
|
|
279061
|
-
var
|
|
279274
|
+
var init_lib20 = __esm({
|
|
279062
279275
|
"../../../node_modules/.pnpm/mdast-util-gfm-autolink-literal@2.0.1/node_modules/mdast-util-gfm-autolink-literal/lib/index.js"() {
|
|
279063
279276
|
"use strict";
|
|
279064
279277
|
init_ccount();
|
|
@@ -279074,7 +279287,7 @@ var init_lib19 = __esm({
|
|
|
279074
279287
|
var init_mdast_util_gfm_autolink_literal = __esm({
|
|
279075
279288
|
"../../../node_modules/.pnpm/mdast-util-gfm-autolink-literal@2.0.1/node_modules/mdast-util-gfm-autolink-literal/index.js"() {
|
|
279076
279289
|
"use strict";
|
|
279077
|
-
|
|
279290
|
+
init_lib20();
|
|
279078
279291
|
}
|
|
279079
279292
|
});
|
|
279080
279293
|
|
|
@@ -279189,7 +279402,7 @@ function mapExceptFirst(line, index3, blank) {
|
|
|
279189
279402
|
function mapAll(line, index3, blank) {
|
|
279190
279403
|
return (blank ? "" : " ") + line;
|
|
279191
279404
|
}
|
|
279192
|
-
var
|
|
279405
|
+
var init_lib21 = __esm({
|
|
279193
279406
|
"../../../node_modules/.pnpm/mdast-util-gfm-footnote@2.1.0/node_modules/mdast-util-gfm-footnote/lib/index.js"() {
|
|
279194
279407
|
"use strict";
|
|
279195
279408
|
init_default();
|
|
@@ -279202,7 +279415,7 @@ var init_lib20 = __esm({
|
|
|
279202
279415
|
var init_mdast_util_gfm_footnote = __esm({
|
|
279203
279416
|
"../../../node_modules/.pnpm/mdast-util-gfm-footnote@2.1.0/node_modules/mdast-util-gfm-footnote/index.js"() {
|
|
279204
279417
|
"use strict";
|
|
279205
|
-
|
|
279418
|
+
init_lib21();
|
|
279206
279419
|
}
|
|
279207
279420
|
});
|
|
279208
279421
|
|
|
@@ -279249,7 +279462,7 @@ function peekDelete() {
|
|
|
279249
279462
|
return "~";
|
|
279250
279463
|
}
|
|
279251
279464
|
var constructsWithoutStrikethrough;
|
|
279252
|
-
var
|
|
279465
|
+
var init_lib22 = __esm({
|
|
279253
279466
|
"../../../node_modules/.pnpm/mdast-util-gfm-strikethrough@2.0.0/node_modules/mdast-util-gfm-strikethrough/lib/index.js"() {
|
|
279254
279467
|
"use strict";
|
|
279255
279468
|
constructsWithoutStrikethrough = [
|
|
@@ -279268,7 +279481,7 @@ var init_lib21 = __esm({
|
|
|
279268
279481
|
var init_mdast_util_gfm_strikethrough = __esm({
|
|
279269
279482
|
"../../../node_modules/.pnpm/mdast-util-gfm-strikethrough@2.0.0/node_modules/mdast-util-gfm-strikethrough/index.js"() {
|
|
279270
279483
|
"use strict";
|
|
279271
|
-
|
|
279484
|
+
init_lib22();
|
|
279272
279485
|
}
|
|
279273
279486
|
});
|
|
279274
279487
|
|
|
@@ -280454,7 +280667,7 @@ var init_paragraph = __esm({
|
|
|
280454
280667
|
|
|
280455
280668
|
// ../../../node_modules/.pnpm/mdast-util-phrasing@4.1.0/node_modules/mdast-util-phrasing/lib/index.js
|
|
280456
280669
|
var phrasing;
|
|
280457
|
-
var
|
|
280670
|
+
var init_lib23 = __esm({
|
|
280458
280671
|
"../../../node_modules/.pnpm/mdast-util-phrasing@4.1.0/node_modules/mdast-util-phrasing/lib/index.js"() {
|
|
280459
280672
|
"use strict";
|
|
280460
280673
|
init_unist_util_is();
|
|
@@ -280489,7 +280702,7 @@ var init_lib22 = __esm({
|
|
|
280489
280702
|
var init_mdast_util_phrasing = __esm({
|
|
280490
280703
|
"../../../node_modules/.pnpm/mdast-util-phrasing@4.1.0/node_modules/mdast-util-phrasing/index.js"() {
|
|
280491
280704
|
"use strict";
|
|
280492
|
-
|
|
280705
|
+
init_lib23();
|
|
280493
280706
|
}
|
|
280494
280707
|
});
|
|
280495
280708
|
|
|
@@ -281192,7 +281405,7 @@ function containerFlowBound(parent, info) {
|
|
|
281192
281405
|
function safeBound(value2, config5) {
|
|
281193
281406
|
return safe(this, value2, config5);
|
|
281194
281407
|
}
|
|
281195
|
-
var
|
|
281408
|
+
var init_lib24 = __esm({
|
|
281196
281409
|
"../../../node_modules/.pnpm/mdast-util-to-markdown@2.1.2/node_modules/mdast-util-to-markdown/lib/index.js"() {
|
|
281197
281410
|
"use strict";
|
|
281198
281411
|
init_zwitch();
|
|
@@ -281214,7 +281427,7 @@ var init_lib23 = __esm({
|
|
|
281214
281427
|
var init_mdast_util_to_markdown = __esm({
|
|
281215
281428
|
"../../../node_modules/.pnpm/mdast-util-to-markdown@2.1.2/node_modules/mdast-util-to-markdown/index.js"() {
|
|
281216
281429
|
"use strict";
|
|
281217
|
-
|
|
281430
|
+
init_lib24();
|
|
281218
281431
|
init_handle();
|
|
281219
281432
|
}
|
|
281220
281433
|
});
|
|
@@ -281371,7 +281584,7 @@ function gfmTableToMarkdown(options2) {
|
|
|
281371
281584
|
return value2;
|
|
281372
281585
|
}
|
|
281373
281586
|
}
|
|
281374
|
-
var
|
|
281587
|
+
var init_lib25 = __esm({
|
|
281375
281588
|
"../../../node_modules/.pnpm/mdast-util-gfm-table@2.0.0/node_modules/mdast-util-gfm-table/lib/index.js"() {
|
|
281376
281589
|
"use strict";
|
|
281377
281590
|
init_default();
|
|
@@ -281384,7 +281597,7 @@ var init_lib24 = __esm({
|
|
|
281384
281597
|
var init_mdast_util_gfm_table = __esm({
|
|
281385
281598
|
"../../../node_modules/.pnpm/mdast-util-gfm-table@2.0.0/node_modules/mdast-util-gfm-table/index.js"() {
|
|
281386
281599
|
"use strict";
|
|
281387
|
-
|
|
281600
|
+
init_lib25();
|
|
281388
281601
|
}
|
|
281389
281602
|
});
|
|
281390
281603
|
|
|
@@ -281460,7 +281673,7 @@ function listItemWithTaskListItem(node4, parent, state, info) {
|
|
|
281460
281673
|
return $0 + checkbox;
|
|
281461
281674
|
}
|
|
281462
281675
|
}
|
|
281463
|
-
var
|
|
281676
|
+
var init_lib26 = __esm({
|
|
281464
281677
|
"../../../node_modules/.pnpm/mdast-util-gfm-task-list-item@2.0.0/node_modules/mdast-util-gfm-task-list-item/lib/index.js"() {
|
|
281465
281678
|
"use strict";
|
|
281466
281679
|
init_default();
|
|
@@ -281472,7 +281685,7 @@ var init_lib25 = __esm({
|
|
|
281472
281685
|
var init_mdast_util_gfm_task_list_item = __esm({
|
|
281473
281686
|
"../../../node_modules/.pnpm/mdast-util-gfm-task-list-item@2.0.0/node_modules/mdast-util-gfm-task-list-item/index.js"() {
|
|
281474
281687
|
"use strict";
|
|
281475
|
-
|
|
281688
|
+
init_lib26();
|
|
281476
281689
|
}
|
|
281477
281690
|
});
|
|
281478
281691
|
|
|
@@ -281497,7 +281710,7 @@ function gfmToMarkdown(options2) {
|
|
|
281497
281710
|
]
|
|
281498
281711
|
};
|
|
281499
281712
|
}
|
|
281500
|
-
var
|
|
281713
|
+
var init_lib27 = __esm({
|
|
281501
281714
|
"../../../node_modules/.pnpm/mdast-util-gfm@3.1.0/node_modules/mdast-util-gfm/lib/index.js"() {
|
|
281502
281715
|
"use strict";
|
|
281503
281716
|
init_mdast_util_gfm_autolink_literal();
|
|
@@ -281512,7 +281725,7 @@ var init_lib26 = __esm({
|
|
|
281512
281725
|
var init_mdast_util_gfm = __esm({
|
|
281513
281726
|
"../../../node_modules/.pnpm/mdast-util-gfm@3.1.0/node_modules/mdast-util-gfm/index.js"() {
|
|
281514
281727
|
"use strict";
|
|
281515
|
-
|
|
281728
|
+
init_lib27();
|
|
281516
281729
|
}
|
|
281517
281730
|
});
|
|
281518
281731
|
|
|
@@ -281694,7 +281907,7 @@ function mathToMarkdown(options2) {
|
|
|
281694
281907
|
return "$";
|
|
281695
281908
|
}
|
|
281696
281909
|
}
|
|
281697
|
-
var
|
|
281910
|
+
var init_lib28 = __esm({
|
|
281698
281911
|
"../../../node_modules/.pnpm/mdast-util-math@3.0.0/node_modules/mdast-util-math/lib/index.js"() {
|
|
281699
281912
|
"use strict";
|
|
281700
281913
|
init_default();
|
|
@@ -281706,7 +281919,7 @@ var init_lib27 = __esm({
|
|
|
281706
281919
|
var init_mdast_util_math = __esm({
|
|
281707
281920
|
"../../../node_modules/.pnpm/mdast-util-math@3.0.0/node_modules/mdast-util-math/index.js"() {
|
|
281708
281921
|
"use strict";
|
|
281709
|
-
|
|
281922
|
+
init_lib28();
|
|
281710
281923
|
}
|
|
281711
281924
|
});
|
|
281712
281925
|
|
|
@@ -281767,7 +281980,7 @@ function handleMdxExpression(node4, parent, state) {
|
|
|
281767
281980
|
});
|
|
281768
281981
|
return "{" + result + "}";
|
|
281769
281982
|
}
|
|
281770
|
-
var
|
|
281983
|
+
var init_lib29 = __esm({
|
|
281771
281984
|
"../../../node_modules/.pnpm/mdast-util-mdx-expression@2.0.1/node_modules/mdast-util-mdx-expression/lib/index.js"() {
|
|
281772
281985
|
"use strict";
|
|
281773
281986
|
init_default();
|
|
@@ -281778,7 +281991,7 @@ var init_lib28 = __esm({
|
|
|
281778
281991
|
var init_mdast_util_mdx_expression = __esm({
|
|
281779
281992
|
"../../../node_modules/.pnpm/mdast-util-mdx-expression@2.0.1/node_modules/mdast-util-mdx-expression/index.js"() {
|
|
281780
281993
|
"use strict";
|
|
281781
|
-
|
|
281994
|
+
init_lib29();
|
|
281782
281995
|
}
|
|
281783
281996
|
});
|
|
281784
281997
|
|
|
@@ -282202,7 +282415,7 @@ function disallowed(code5) {
|
|
|
282202
282415
|
return code5 >= 1 && code5 <= 8 || code5 === 11 || code5 >= 13 && code5 <= 31 || code5 >= 127 && code5 <= 159 || code5 >= 64976 && code5 <= 65007 || (code5 & 65535) === 65535 || (code5 & 65535) === 65534;
|
|
282203
282416
|
}
|
|
282204
282417
|
var messages;
|
|
282205
|
-
var
|
|
282418
|
+
var init_lib30 = __esm({
|
|
282206
282419
|
"../../../node_modules/.pnpm/parse-entities@4.0.2/node_modules/parse-entities/lib/index.js"() {
|
|
282207
282420
|
"use strict";
|
|
282208
282421
|
init_character_entities_legacy();
|
|
@@ -282235,7 +282448,7 @@ var init_lib29 = __esm({
|
|
|
282235
282448
|
var init_parse_entities = __esm({
|
|
282236
282449
|
"../../../node_modules/.pnpm/parse-entities@4.0.2/node_modules/parse-entities/index.js"() {
|
|
282237
282450
|
"use strict";
|
|
282238
|
-
|
|
282451
|
+
init_lib30();
|
|
282239
282452
|
}
|
|
282240
282453
|
});
|
|
282241
282454
|
|
|
@@ -282307,7 +282520,7 @@ var init_format_basic = __esm({
|
|
|
282307
282520
|
function stringifyEntitiesLight(value2, options2) {
|
|
282308
282521
|
return core2(value2, Object.assign({ format: formatBasic }, options2));
|
|
282309
282522
|
}
|
|
282310
|
-
var
|
|
282523
|
+
var init_lib31 = __esm({
|
|
282311
282524
|
"../../../node_modules/.pnpm/stringify-entities@4.0.4/node_modules/stringify-entities/lib/index.js"() {
|
|
282312
282525
|
"use strict";
|
|
282313
282526
|
init_core();
|
|
@@ -282319,13 +282532,13 @@ var init_lib30 = __esm({
|
|
|
282319
282532
|
var init_stringify_entities = __esm({
|
|
282320
282533
|
"../../../node_modules/.pnpm/stringify-entities@4.0.4/node_modules/stringify-entities/index.js"() {
|
|
282321
282534
|
"use strict";
|
|
282322
|
-
|
|
282535
|
+
init_lib31();
|
|
282323
282536
|
}
|
|
282324
282537
|
});
|
|
282325
282538
|
|
|
282326
282539
|
// ../../../node_modules/.pnpm/vfile-message@4.0.3/node_modules/vfile-message/lib/index.js
|
|
282327
282540
|
var VFileMessage;
|
|
282328
|
-
var
|
|
282541
|
+
var init_lib32 = __esm({
|
|
282329
282542
|
"../../../node_modules/.pnpm/vfile-message@4.0.3/node_modules/vfile-message/lib/index.js"() {
|
|
282330
282543
|
"use strict";
|
|
282331
282544
|
init_unist_util_stringify_position();
|
|
@@ -282470,7 +282683,7 @@ var init_lib31 = __esm({
|
|
|
282470
282683
|
var init_vfile_message = __esm({
|
|
282471
282684
|
"../../../node_modules/.pnpm/vfile-message@4.0.3/node_modules/vfile-message/index.js"() {
|
|
282472
282685
|
"use strict";
|
|
282473
|
-
|
|
282686
|
+
init_lib32();
|
|
282474
282687
|
}
|
|
282475
282688
|
});
|
|
282476
282689
|
|
|
@@ -282919,7 +283132,7 @@ function peekElement() {
|
|
|
282919
283132
|
return "<";
|
|
282920
283133
|
}
|
|
282921
283134
|
var indent2;
|
|
282922
|
-
var
|
|
283135
|
+
var init_lib33 = __esm({
|
|
282923
283136
|
"../../../node_modules/.pnpm/mdast-util-mdx-jsx@3.2.0/node_modules/mdast-util-mdx-jsx/lib/index.js"() {
|
|
282924
283137
|
"use strict";
|
|
282925
283138
|
init_ccount();
|
|
@@ -282936,7 +283149,7 @@ var init_lib32 = __esm({
|
|
|
282936
283149
|
var init_mdast_util_mdx_jsx = __esm({
|
|
282937
283150
|
"../../../node_modules/.pnpm/mdast-util-mdx-jsx@3.2.0/node_modules/mdast-util-mdx-jsx/index.js"() {
|
|
282938
283151
|
"use strict";
|
|
282939
|
-
|
|
283152
|
+
init_lib33();
|
|
282940
283153
|
}
|
|
282941
283154
|
});
|
|
282942
283155
|
|
|
@@ -282972,7 +283185,7 @@ function exitMdxjsEsmData(token) {
|
|
|
282972
283185
|
function handleMdxjsEsm(node4) {
|
|
282973
283186
|
return node4.value || "";
|
|
282974
283187
|
}
|
|
282975
|
-
var
|
|
283188
|
+
var init_lib34 = __esm({
|
|
282976
283189
|
"../../../node_modules/.pnpm/mdast-util-mdxjs-esm@2.0.1/node_modules/mdast-util-mdxjs-esm/lib/index.js"() {
|
|
282977
283190
|
"use strict";
|
|
282978
283191
|
init_default();
|
|
@@ -282983,7 +283196,7 @@ var init_lib33 = __esm({
|
|
|
282983
283196
|
var init_mdast_util_mdxjs_esm = __esm({
|
|
282984
283197
|
"../../../node_modules/.pnpm/mdast-util-mdxjs-esm@2.0.1/node_modules/mdast-util-mdxjs-esm/index.js"() {
|
|
282985
283198
|
"use strict";
|
|
282986
|
-
|
|
283199
|
+
init_lib34();
|
|
282987
283200
|
}
|
|
282988
283201
|
});
|
|
282989
283202
|
|
|
@@ -283004,7 +283217,7 @@ function mdxToMarkdown(options2) {
|
|
|
283004
283217
|
]
|
|
283005
283218
|
};
|
|
283006
283219
|
}
|
|
283007
|
-
var
|
|
283220
|
+
var init_lib35 = __esm({
|
|
283008
283221
|
"../../../node_modules/.pnpm/mdast-util-mdx@3.0.0/node_modules/mdast-util-mdx/lib/index.js"() {
|
|
283009
283222
|
"use strict";
|
|
283010
283223
|
init_mdast_util_mdx_expression();
|
|
@@ -283017,7 +283230,7 @@ var init_lib34 = __esm({
|
|
|
283017
283230
|
var init_mdast_util_mdx = __esm({
|
|
283018
283231
|
"../../../node_modules/.pnpm/mdast-util-mdx@3.0.0/node_modules/mdast-util-mdx/index.js"() {
|
|
283019
283232
|
"use strict";
|
|
283020
|
-
|
|
283233
|
+
init_lib35();
|
|
283021
283234
|
}
|
|
283022
283235
|
});
|
|
283023
283236
|
|
|
@@ -311315,7 +311528,7 @@ function nodelike(value2) {
|
|
|
311315
311528
|
);
|
|
311316
311529
|
}
|
|
311317
311530
|
var own6, CONTINUE2, EXIT2, SKIP3;
|
|
311318
|
-
var
|
|
311531
|
+
var init_lib36 = __esm({
|
|
311319
311532
|
"../../../node_modules/.pnpm/estree-util-visit@2.0.0/node_modules/estree-util-visit/lib/index.js"() {
|
|
311320
311533
|
"use strict";
|
|
311321
311534
|
init_color_node2();
|
|
@@ -311330,7 +311543,7 @@ var init_lib35 = __esm({
|
|
|
311330
311543
|
var init_estree_util_visit = __esm({
|
|
311331
311544
|
"../../../node_modules/.pnpm/estree-util-visit@2.0.0/node_modules/estree-util-visit/index.js"() {
|
|
311332
311545
|
"use strict";
|
|
311333
|
-
|
|
311546
|
+
init_lib36();
|
|
311334
311547
|
}
|
|
311335
311548
|
});
|
|
311336
311549
|
|
|
@@ -311577,7 +311790,7 @@ function serializeChunks2(chunks) {
|
|
|
311577
311790
|
}
|
|
311578
311791
|
return result.join("");
|
|
311579
311792
|
}
|
|
311580
|
-
var
|
|
311793
|
+
var init_lib37 = __esm({
|
|
311581
311794
|
"../../../node_modules/.pnpm/micromark-util-events-to-acorn@2.0.3/node_modules/micromark-util-events-to-acorn/lib/index.js"() {
|
|
311582
311795
|
"use strict";
|
|
311583
311796
|
init_estree_util_visit();
|
|
@@ -311589,7 +311802,7 @@ var init_lib36 = __esm({
|
|
|
311589
311802
|
var init_micromark_util_events_to_acorn = __esm({
|
|
311590
311803
|
"../../../node_modules/.pnpm/micromark-util-events-to-acorn@2.0.3/node_modules/micromark-util-events-to-acorn/index.js"() {
|
|
311591
311804
|
"use strict";
|
|
311592
|
-
|
|
311805
|
+
init_lib37();
|
|
311593
311806
|
}
|
|
311594
311807
|
});
|
|
311595
311808
|
|
|
@@ -311620,7 +311833,7 @@ function pointOrUndefined(estreePoint, estreeOffset) {
|
|
|
311620
311833
|
function numberOrUndefined(value2) {
|
|
311621
311834
|
return typeof value2 === "number" && value2 > -1 ? value2 : void 0;
|
|
311622
311835
|
}
|
|
311623
|
-
var
|
|
311836
|
+
var init_lib38 = __esm({
|
|
311624
311837
|
"../../../node_modules/.pnpm/unist-util-position-from-estree@2.0.0/node_modules/unist-util-position-from-estree/lib/index.js"() {
|
|
311625
311838
|
"use strict";
|
|
311626
311839
|
}
|
|
@@ -311630,7 +311843,7 @@ var init_lib37 = __esm({
|
|
|
311630
311843
|
var init_unist_util_position_from_estree = __esm({
|
|
311631
311844
|
"../../../node_modules/.pnpm/unist-util-position-from-estree@2.0.0/node_modules/unist-util-position-from-estree/index.js"() {
|
|
311632
311845
|
"use strict";
|
|
311633
|
-
|
|
311846
|
+
init_lib38();
|
|
311634
311847
|
}
|
|
311635
311848
|
});
|
|
311636
311849
|
|
|
@@ -311912,7 +312125,7 @@ function name(name2, options2) {
|
|
|
311912
312125
|
return re10.test(name2);
|
|
311913
312126
|
}
|
|
311914
312127
|
var startRe, contRe, contReJsx, nameRe, nameReJsx, emptyOptions2;
|
|
311915
|
-
var
|
|
312128
|
+
var init_lib39 = __esm({
|
|
311916
312129
|
"../../../node_modules/.pnpm/estree-util-is-identifier-name@3.0.0/node_modules/estree-util-is-identifier-name/lib/index.js"() {
|
|
311917
312130
|
"use strict";
|
|
311918
312131
|
startRe = /[$_\p{ID_Start}]/u;
|
|
@@ -311928,7 +312141,7 @@ var init_lib38 = __esm({
|
|
|
311928
312141
|
var init_estree_util_is_identifier_name = __esm({
|
|
311929
312142
|
"../../../node_modules/.pnpm/estree-util-is-identifier-name@3.0.0/node_modules/estree-util-is-identifier-name/index.js"() {
|
|
311930
312143
|
"use strict";
|
|
311931
|
-
|
|
312144
|
+
init_lib39();
|
|
311932
312145
|
}
|
|
311933
312146
|
});
|
|
311934
312147
|
|
|
@@ -313400,7 +313613,7 @@ var init_parseImagePaths = __esm({
|
|
|
313400
313613
|
"../docs-markdown-utils/lib/parseImagePaths.js"() {
|
|
313401
313614
|
"use strict";
|
|
313402
313615
|
init_js();
|
|
313403
|
-
|
|
313616
|
+
init_lib7();
|
|
313404
313617
|
import_gray_matter3 = __toESM(require_gray_matter(), 1);
|
|
313405
313618
|
import_path52 = require("path");
|
|
313406
313619
|
init_unist_util_visit();
|
|
@@ -313590,7 +313803,7 @@ var import_promises59;
|
|
|
313590
313803
|
var init_replaceReferencedCode = __esm({
|
|
313591
313804
|
"../docs-markdown-utils/lib/replaceReferencedCode.js"() {
|
|
313592
313805
|
"use strict";
|
|
313593
|
-
|
|
313806
|
+
init_lib7();
|
|
313594
313807
|
import_promises59 = require("fs/promises");
|
|
313595
313808
|
}
|
|
313596
313809
|
});
|
|
@@ -313723,7 +313936,7 @@ var import_promises60, import_gray_matter4;
|
|
|
313723
313936
|
var init_replaceReferencedMarkdown = __esm({
|
|
313724
313937
|
"../docs-markdown-utils/lib/replaceReferencedMarkdown.js"() {
|
|
313725
313938
|
"use strict";
|
|
313726
|
-
|
|
313939
|
+
init_lib7();
|
|
313727
313940
|
import_promises60 = require("fs/promises");
|
|
313728
313941
|
import_gray_matter4 = __toESM(require_gray_matter(), 1);
|
|
313729
313942
|
}
|
|
@@ -313802,13 +314015,13 @@ function transformAtPrefixImports({ markdown, absolutePathToFernFolder, absolute
|
|
|
313802
314015
|
var init_transformAtPrefixImports = __esm({
|
|
313803
314016
|
"../docs-markdown-utils/lib/transformAtPrefixImports.js"() {
|
|
313804
314017
|
"use strict";
|
|
313805
|
-
|
|
314018
|
+
init_lib7();
|
|
313806
314019
|
}
|
|
313807
314020
|
});
|
|
313808
314021
|
|
|
313809
314022
|
// ../docs-markdown-utils/lib/index.js
|
|
313810
|
-
var
|
|
313811
|
-
__export(
|
|
314023
|
+
var lib_exports10 = {};
|
|
314024
|
+
__export(lib_exports10, {
|
|
313812
314025
|
extractAttributeValueLiteral: () => extractAttributeValueLiteral,
|
|
313813
314026
|
extractSingleLiteral: () => extractSingleLiteral,
|
|
313814
314027
|
getMarkdownFormat: () => getMarkdownFormat,
|
|
@@ -313828,7 +314041,7 @@ __export(lib_exports9, {
|
|
|
313828
314041
|
trimAnchor: () => trimAnchor,
|
|
313829
314042
|
walkEstreeJsxAttributes: () => walkEstreeJsxAttributes
|
|
313830
314043
|
});
|
|
313831
|
-
var
|
|
314044
|
+
var init_lib40 = __esm({
|
|
313832
314045
|
"../docs-markdown-utils/lib/index.js"() {
|
|
313833
314046
|
"use strict";
|
|
313834
314047
|
init_extract_literals();
|
|
@@ -346680,7 +346893,7 @@ var require_AutoVersioningService = __commonJS({
|
|
|
346680
346893
|
exports2.AutoVersioningService = exports2.AutoVersioningException = void 0;
|
|
346681
346894
|
exports2.countFilesInDiff = countFilesInDiff3;
|
|
346682
346895
|
exports2.formatSizeKB = formatSizeKB3;
|
|
346683
|
-
var logging_execa_1 = (
|
|
346896
|
+
var logging_execa_1 = (init_lib11(), __toCommonJS(lib_exports8));
|
|
346684
346897
|
var fs_1 = require("fs");
|
|
346685
346898
|
var promises_1 = require("fs/promises");
|
|
346686
346899
|
var path_1 = require("path");
|
|
@@ -348443,12 +348656,12 @@ var init_types6 = __esm({
|
|
|
348443
348656
|
});
|
|
348444
348657
|
|
|
348445
348658
|
// ../ai/lib/index.js
|
|
348446
|
-
var
|
|
348447
|
-
__export(
|
|
348659
|
+
var lib_exports13 = {};
|
|
348660
|
+
__export(lib_exports13, {
|
|
348448
348661
|
VersionBump: () => VersionBump2,
|
|
348449
348662
|
loadBamlDependencies: () => loadBamlDependencies
|
|
348450
348663
|
});
|
|
348451
|
-
var
|
|
348664
|
+
var init_lib41 = __esm({
|
|
348452
348665
|
"../ai/lib/index.js"() {
|
|
348453
348666
|
"use strict";
|
|
348454
348667
|
init_loader();
|
|
@@ -348892,7 +349105,7 @@ ${newBlock}${remainder}`;
|
|
|
348892
349105
|
if (this.config.ai == null) {
|
|
348893
349106
|
throw new Error("AutoVersionStep: ai config is missing. Set autoVersion.ai to a BAML provider+model pair.");
|
|
348894
349107
|
}
|
|
348895
|
-
const { loadBamlDependencies: loadBamlDependencies2, VersionBump: VersionBump3 } = await Promise.resolve().then(() => __importStar2((
|
|
349108
|
+
const { loadBamlDependencies: loadBamlDependencies2, VersionBump: VersionBump3 } = await Promise.resolve().then(() => __importStar2((init_lib41(), __toCommonJS(lib_exports13))));
|
|
348896
349109
|
const { BamlClient, configureBamlClient: configureBamlClient2 } = await loadBamlDependencies2();
|
|
348897
349110
|
const registry2 = configureBamlClient2(this.config.ai);
|
|
348898
349111
|
return {
|
|
@@ -364076,7 +364289,7 @@ var require_GithubStep = __commonJS({
|
|
|
364076
364289
|
exports2.shouldPushGenerationBaseTag = shouldPushGenerationBaseTag;
|
|
364077
364290
|
exports2.resolveBranchAction = resolveBranchAction;
|
|
364078
364291
|
var core_utils_1 = (init_lib4(), __toCommonJS(lib_exports));
|
|
364079
|
-
var github_1 = (
|
|
364292
|
+
var github_1 = (init_lib8(), __toCommonJS(lib_exports4));
|
|
364080
364293
|
var rest_1 = (init_dist_src9(), __toCommonJS(dist_src_exports));
|
|
364081
364294
|
var promises_1 = require("fs/promises");
|
|
364082
364295
|
var path_1 = require("path");
|
|
@@ -364551,6 +364764,333 @@ var require_ReplayStep = __commonJS({
|
|
|
364551
364764
|
}
|
|
364552
364765
|
});
|
|
364553
364766
|
|
|
364767
|
+
// ../generation/local-generation/docker-utils/lib/runDocker.js
|
|
364768
|
+
async function runContainer({ logger: logger4, imageName, args = [], binds = [], envVars = {}, ports = {}, writeLogsToFile = true, removeAfterCompletion = false, runner, signal }) {
|
|
364769
|
+
const tryRun = () => tryRunContainer({
|
|
364770
|
+
logger: logger4,
|
|
364771
|
+
imageName,
|
|
364772
|
+
args,
|
|
364773
|
+
binds,
|
|
364774
|
+
envVars,
|
|
364775
|
+
ports,
|
|
364776
|
+
removeAfterCompletion,
|
|
364777
|
+
writeLogsToFile,
|
|
364778
|
+
runner,
|
|
364779
|
+
signal
|
|
364780
|
+
});
|
|
364781
|
+
try {
|
|
364782
|
+
await tryRun();
|
|
364783
|
+
} catch (e8) {
|
|
364784
|
+
if (e8 instanceof Error && e8.message.includes("No such image")) {
|
|
364785
|
+
await pullImage(imageName, runner, signal);
|
|
364786
|
+
await tryRun();
|
|
364787
|
+
} else {
|
|
364788
|
+
throw e8;
|
|
364789
|
+
}
|
|
364790
|
+
}
|
|
364791
|
+
}
|
|
364792
|
+
async function tryRunContainer({ logger: logger4, imageName, args, binds, envVars = {}, ports = {}, removeAfterCompletion, writeLogsToFile, runner, signal }) {
|
|
364793
|
+
if (process.env["FERN_STACK_TRACK"]) {
|
|
364794
|
+
envVars["FERN_STACK_TRACK"] = process.env["FERN_STACK_TRACK"];
|
|
364795
|
+
}
|
|
364796
|
+
const containerArgs = [
|
|
364797
|
+
"run",
|
|
364798
|
+
"--user",
|
|
364799
|
+
"root",
|
|
364800
|
+
...binds.flatMap((bind5) => ["-v", bind5]),
|
|
364801
|
+
...Object.entries(envVars).flatMap(([key2, value2]) => ["-e", `${key2}="${value2}"`]),
|
|
364802
|
+
...Object.entries(ports).flatMap(([hostPort, containerPort]) => ["-p", `${hostPort}:${containerPort}`]),
|
|
364803
|
+
removeAfterCompletion ? "--rm" : "",
|
|
364804
|
+
imageName,
|
|
364805
|
+
...args
|
|
364806
|
+
].filter(Boolean);
|
|
364807
|
+
const containerRunner = runner ?? "docker";
|
|
364808
|
+
const { stdout, stderr, exitCode } = await loggingExeca(logger4, containerRunner, containerArgs, {
|
|
364809
|
+
reject: false,
|
|
364810
|
+
all: true,
|
|
364811
|
+
doNotPipeOutput: true,
|
|
364812
|
+
signal
|
|
364813
|
+
});
|
|
364814
|
+
const logs4 = stdout + stderr;
|
|
364815
|
+
if (writeLogsToFile) {
|
|
364816
|
+
const tmpFile = await import_tmp_promise10.default.file();
|
|
364817
|
+
await (0, import_promises97.writeFile)(tmpFile.path, logs4);
|
|
364818
|
+
logger4.info(`Generator logs here: ${tmpFile.path}`);
|
|
364819
|
+
}
|
|
364820
|
+
if (exitCode == null) {
|
|
364821
|
+
throw new Error(`Container runtime '${containerRunner}' is not installed or not found on PATH.
|
|
364822
|
+
${containerRunner === "podman" ? "Seed tests default to Podman. " : ""}Install ${containerRunner}: ${containerRunner === "podman" ? "https://podman.io/docs/installation" : "https://docs.docker.com/get-docker/"}
|
|
364823
|
+
Error details: ${stderr || stdout || "No output"}`);
|
|
364824
|
+
}
|
|
364825
|
+
if (exitCode !== 0) {
|
|
364826
|
+
throw new Error(`Container exited with code ${exitCode}.
|
|
364827
|
+
${stdout}
|
|
364828
|
+
${stderr}`);
|
|
364829
|
+
}
|
|
364830
|
+
}
|
|
364831
|
+
async function pullImage(imageName, runner, signal) {
|
|
364832
|
+
await loggingExeca(void 0, runner ?? "docker", ["pull", imageName], {
|
|
364833
|
+
all: true,
|
|
364834
|
+
doNotPipeOutput: true,
|
|
364835
|
+
signal
|
|
364836
|
+
});
|
|
364837
|
+
}
|
|
364838
|
+
async function startContainer({ logger: logger4, imageName, runner }) {
|
|
364839
|
+
const containerRunner = runner ?? "docker";
|
|
364840
|
+
const tryStart = async () => {
|
|
364841
|
+
const { stdout, exitCode, stderr } = await loggingExeca(logger4, containerRunner, ["run", "--user", "root", "-dit", "--entrypoint", "/bin/sh", imageName], {
|
|
364842
|
+
reject: false,
|
|
364843
|
+
doNotPipeOutput: true
|
|
364844
|
+
});
|
|
364845
|
+
if (exitCode == null) {
|
|
364846
|
+
throw new Error(`Container runtime '${containerRunner}' is not installed or not found on PATH.
|
|
364847
|
+
Error details: ${stderr || stdout || "No output"}`);
|
|
364848
|
+
}
|
|
364849
|
+
if (exitCode !== 0) {
|
|
364850
|
+
throw new Error(`Failed to start container from image ${imageName}.
|
|
364851
|
+
${stdout}
|
|
364852
|
+
${stderr}`);
|
|
364853
|
+
}
|
|
364854
|
+
return stdout.trim();
|
|
364855
|
+
};
|
|
364856
|
+
try {
|
|
364857
|
+
return await tryStart();
|
|
364858
|
+
} catch (e8) {
|
|
364859
|
+
if (e8 instanceof Error && e8.message.includes("No such image")) {
|
|
364860
|
+
await pullImage(imageName, runner);
|
|
364861
|
+
return await tryStart();
|
|
364862
|
+
}
|
|
364863
|
+
throw e8;
|
|
364864
|
+
}
|
|
364865
|
+
}
|
|
364866
|
+
async function execInContainer({ logger: logger4, containerId, command: command3, runner, writeLogsToFile = true, reject = true }) {
|
|
364867
|
+
const containerRunner = runner ?? "docker";
|
|
364868
|
+
const { stdout, stderr, exitCode } = await loggingExeca(logger4, containerRunner, ["exec", "--user", "root", containerId, ...command3], {
|
|
364869
|
+
reject: false,
|
|
364870
|
+
all: true,
|
|
364871
|
+
doNotPipeOutput: true
|
|
364872
|
+
});
|
|
364873
|
+
const logs4 = stdout + stderr;
|
|
364874
|
+
if (writeLogsToFile) {
|
|
364875
|
+
const tmpFile = await import_tmp_promise10.default.file();
|
|
364876
|
+
await (0, import_promises97.writeFile)(tmpFile.path, logs4);
|
|
364877
|
+
logger4.info(`Generator logs here: ${tmpFile.path}`);
|
|
364878
|
+
}
|
|
364879
|
+
const resolvedExitCode = exitCode ?? 1;
|
|
364880
|
+
if (reject && resolvedExitCode !== 0) {
|
|
364881
|
+
throw new Error(`Container exec exited with code ${resolvedExitCode}.
|
|
364882
|
+
${stdout}
|
|
364883
|
+
${stderr}`);
|
|
364884
|
+
}
|
|
364885
|
+
return { stdout, stderr, exitCode: resolvedExitCode };
|
|
364886
|
+
}
|
|
364887
|
+
async function copyToContainer({ logger: logger4, containerId, hostPath, containerPath, runner }) {
|
|
364888
|
+
const containerRunner = runner ?? "docker";
|
|
364889
|
+
const { exitCode, stdout, stderr } = await loggingExeca(logger4, containerRunner, ["cp", hostPath, `${containerId}:${containerPath}`], {
|
|
364890
|
+
reject: false,
|
|
364891
|
+
doNotPipeOutput: true
|
|
364892
|
+
});
|
|
364893
|
+
if (exitCode !== 0) {
|
|
364894
|
+
throw new Error(`Failed to copy ${hostPath} to container ${containerId}:${containerPath}.
|
|
364895
|
+
${stdout}
|
|
364896
|
+
${stderr}`);
|
|
364897
|
+
}
|
|
364898
|
+
}
|
|
364899
|
+
async function copyFromContainer({ logger: logger4, containerId, containerPath, hostPath, runner }) {
|
|
364900
|
+
const containerRunner = runner ?? "docker";
|
|
364901
|
+
const { exitCode, stdout, stderr } = await loggingExeca(logger4, containerRunner, ["cp", `${containerId}:${containerPath}`, hostPath], {
|
|
364902
|
+
reject: false,
|
|
364903
|
+
doNotPipeOutput: true
|
|
364904
|
+
});
|
|
364905
|
+
if (exitCode !== 0) {
|
|
364906
|
+
throw new Error(`Failed to copy ${containerId}:${containerPath} to ${hostPath}.
|
|
364907
|
+
${stdout}
|
|
364908
|
+
${stderr}`);
|
|
364909
|
+
}
|
|
364910
|
+
}
|
|
364911
|
+
async function stopContainer({ logger: logger4, containerId, runner }) {
|
|
364912
|
+
const containerRunner = runner ?? "docker";
|
|
364913
|
+
await loggingExeca(logger4, containerRunner, ["rm", "-f", containerId], {
|
|
364914
|
+
reject: false,
|
|
364915
|
+
doNotPipeOutput: true
|
|
364916
|
+
});
|
|
364917
|
+
}
|
|
364918
|
+
var import_promises97, import_tmp_promise10, runDocker;
|
|
364919
|
+
var init_runDocker = __esm({
|
|
364920
|
+
"../generation/local-generation/docker-utils/lib/runDocker.js"() {
|
|
364921
|
+
"use strict";
|
|
364922
|
+
init_lib11();
|
|
364923
|
+
import_promises97 = require("fs/promises");
|
|
364924
|
+
import_tmp_promise10 = __toESM(require_tmp_promise(), 1);
|
|
364925
|
+
runDocker = runContainer;
|
|
364926
|
+
}
|
|
364927
|
+
});
|
|
364928
|
+
|
|
364929
|
+
// ../generation/local-generation/docker-utils/lib/index.js
|
|
364930
|
+
var lib_exports14 = {};
|
|
364931
|
+
__export(lib_exports14, {
|
|
364932
|
+
copyFromContainer: () => copyFromContainer,
|
|
364933
|
+
copyToContainer: () => copyToContainer,
|
|
364934
|
+
execInContainer: () => execInContainer,
|
|
364935
|
+
runContainer: () => runContainer,
|
|
364936
|
+
runDocker: () => runDocker,
|
|
364937
|
+
startContainer: () => startContainer,
|
|
364938
|
+
stopContainer: () => stopContainer
|
|
364939
|
+
});
|
|
364940
|
+
var init_lib42 = __esm({
|
|
364941
|
+
"../generation/local-generation/docker-utils/lib/index.js"() {
|
|
364942
|
+
"use strict";
|
|
364943
|
+
init_runDocker();
|
|
364944
|
+
}
|
|
364945
|
+
});
|
|
364946
|
+
|
|
364947
|
+
// ../../generator-cli/lib/pipeline/steps/VerificationStep.js
|
|
364948
|
+
var require_VerificationStep = __commonJS({
|
|
364949
|
+
"../../generator-cli/lib/pipeline/steps/VerificationStep.js"(exports2) {
|
|
364950
|
+
"use strict";
|
|
364951
|
+
Object.defineProperty(exports2, "__esModule", { value: true });
|
|
364952
|
+
exports2.VerificationStep = void 0;
|
|
364953
|
+
var core_utils_1 = (init_lib4(), __toCommonJS(lib_exports));
|
|
364954
|
+
var docker_utils_1 = (init_lib42(), __toCommonJS(lib_exports14));
|
|
364955
|
+
var logger_1 = (init_lib5(), __toCommonJS(lib_exports2));
|
|
364956
|
+
var fs_1 = require("fs");
|
|
364957
|
+
var path_1 = require("path");
|
|
364958
|
+
var BaseStep_1 = require_BaseStep();
|
|
364959
|
+
var CONTAINER_WORKSPACE_PATH = "/workspace";
|
|
364960
|
+
var VERIFY_SCRIPT_RELATIVE_PATH = ".fern/verify.sh";
|
|
364961
|
+
var VERIFY_SCRIPT_CONTAINER_PATH = `${CONTAINER_WORKSPACE_PATH}/${VERIFY_SCRIPT_RELATIVE_PATH}`;
|
|
364962
|
+
var VerificationStep = class extends BaseStep_1.BaseStep {
|
|
364963
|
+
config;
|
|
364964
|
+
generatorName;
|
|
364965
|
+
generatorVersions;
|
|
364966
|
+
name = "verify";
|
|
364967
|
+
constructor(outputDir, logger4, config5, generatorName, generatorVersions) {
|
|
364968
|
+
super(outputDir, logger4);
|
|
364969
|
+
this.config = config5;
|
|
364970
|
+
this.generatorName = generatorName;
|
|
364971
|
+
this.generatorVersions = generatorVersions;
|
|
364972
|
+
}
|
|
364973
|
+
async execute(_context) {
|
|
364974
|
+
const verifyScriptHostPath = (0, path_1.join)(this.outputDir, VERIFY_SCRIPT_RELATIVE_PATH);
|
|
364975
|
+
if (!(0, fs_1.existsSync)(verifyScriptHostPath)) {
|
|
364976
|
+
return { executed: true, success: true, skipped: true };
|
|
364977
|
+
}
|
|
364978
|
+
const validatorImage = this.deriveValidatorImage();
|
|
364979
|
+
if (validatorImage == null) {
|
|
364980
|
+
const message = "Cannot derive validator image: generatorName and generatorVersions are required to compute the `{generatorImage}-validator:{version}` tag.";
|
|
364981
|
+
this.logger.error(message);
|
|
364982
|
+
return {
|
|
364983
|
+
executed: true,
|
|
364984
|
+
success: false,
|
|
364985
|
+
skipped: false,
|
|
364986
|
+
errorMessage: message
|
|
364987
|
+
};
|
|
364988
|
+
}
|
|
364989
|
+
const runner = this.config.runner ?? "docker";
|
|
364990
|
+
const dockerLogger = createDockerLoggerAdapter(this.logger);
|
|
364991
|
+
let containerId;
|
|
364992
|
+
try {
|
|
364993
|
+
try {
|
|
364994
|
+
containerId = await (0, docker_utils_1.startContainer)({
|
|
364995
|
+
logger: dockerLogger,
|
|
364996
|
+
imageName: validatorImage,
|
|
364997
|
+
runner
|
|
364998
|
+
});
|
|
364999
|
+
} catch (error50) {
|
|
365000
|
+
const message = `Failed to start verification container from image ${validatorImage}: ${(0, core_utils_1.extractErrorMessage)(error50)}`;
|
|
365001
|
+
this.logger.error(message);
|
|
365002
|
+
return {
|
|
365003
|
+
executed: true,
|
|
365004
|
+
success: false,
|
|
365005
|
+
skipped: false,
|
|
365006
|
+
errorMessage: message
|
|
365007
|
+
};
|
|
365008
|
+
}
|
|
365009
|
+
try {
|
|
365010
|
+
await (0, docker_utils_1.copyToContainer)({
|
|
365011
|
+
logger: dockerLogger,
|
|
365012
|
+
containerId,
|
|
365013
|
+
hostPath: `${this.outputDir}/.`,
|
|
365014
|
+
containerPath: CONTAINER_WORKSPACE_PATH,
|
|
365015
|
+
runner
|
|
365016
|
+
});
|
|
365017
|
+
} catch (error50) {
|
|
365018
|
+
const message = `Failed to copy workspace into verification container: ${(0, core_utils_1.extractErrorMessage)(error50)}`;
|
|
365019
|
+
this.logger.error(message);
|
|
365020
|
+
return {
|
|
365021
|
+
executed: true,
|
|
365022
|
+
success: false,
|
|
365023
|
+
skipped: false,
|
|
365024
|
+
errorMessage: message
|
|
365025
|
+
};
|
|
365026
|
+
}
|
|
365027
|
+
const { stdout, stderr, exitCode } = await (0, docker_utils_1.execInContainer)({
|
|
365028
|
+
logger: dockerLogger,
|
|
365029
|
+
containerId,
|
|
365030
|
+
command: ["bash", VERIFY_SCRIPT_CONTAINER_PATH],
|
|
365031
|
+
runner,
|
|
365032
|
+
writeLogsToFile: false,
|
|
365033
|
+
reject: false
|
|
365034
|
+
});
|
|
365035
|
+
if (exitCode !== 0) {
|
|
365036
|
+
const capturedStderr = stderr.length > 0 ? stderr : stdout;
|
|
365037
|
+
this.logger.error(`Verification failed (exit code ${exitCode}) for image ${validatorImage}.
|
|
365038
|
+
${capturedStderr}`);
|
|
365039
|
+
return {
|
|
365040
|
+
executed: true,
|
|
365041
|
+
success: false,
|
|
365042
|
+
skipped: false,
|
|
365043
|
+
stderr: capturedStderr,
|
|
365044
|
+
errorMessage: `Verification script exited with code ${exitCode}`
|
|
365045
|
+
};
|
|
365046
|
+
}
|
|
365047
|
+
this.logger.info(`Verification succeeded for image ${validatorImage}`);
|
|
365048
|
+
return { executed: true, success: true, skipped: false };
|
|
365049
|
+
} finally {
|
|
365050
|
+
if (containerId != null) {
|
|
365051
|
+
try {
|
|
365052
|
+
await (0, docker_utils_1.stopContainer)({ logger: dockerLogger, containerId, runner });
|
|
365053
|
+
} catch (error50) {
|
|
365054
|
+
this.logger.debug(`Best-effort cleanup: failed to stop verification container ${containerId}: ${(0, core_utils_1.extractErrorMessage)(error50)}`);
|
|
365055
|
+
}
|
|
365056
|
+
}
|
|
365057
|
+
}
|
|
365058
|
+
}
|
|
365059
|
+
deriveValidatorImage() {
|
|
365060
|
+
if (this.generatorName == null) {
|
|
365061
|
+
return void 0;
|
|
365062
|
+
}
|
|
365063
|
+
const version7 = this.generatorVersions?.[this.generatorName];
|
|
365064
|
+
if (version7 == null) {
|
|
365065
|
+
return void 0;
|
|
365066
|
+
}
|
|
365067
|
+
return `${this.generatorName}-validator:${version7}`;
|
|
365068
|
+
}
|
|
365069
|
+
};
|
|
365070
|
+
exports2.VerificationStep = VerificationStep;
|
|
365071
|
+
function createDockerLoggerAdapter(pipelineLogger) {
|
|
365072
|
+
return (0, logger_1.createLogger)((level, ...args) => {
|
|
365073
|
+
const message = args.join(" ");
|
|
365074
|
+
switch (level) {
|
|
365075
|
+
case logger_1.LogLevel.Trace:
|
|
365076
|
+
case logger_1.LogLevel.Debug:
|
|
365077
|
+
pipelineLogger.debug(message);
|
|
365078
|
+
return;
|
|
365079
|
+
case logger_1.LogLevel.Info:
|
|
365080
|
+
pipelineLogger.info(message);
|
|
365081
|
+
return;
|
|
365082
|
+
case logger_1.LogLevel.Warn:
|
|
365083
|
+
pipelineLogger.warn(message);
|
|
365084
|
+
return;
|
|
365085
|
+
case logger_1.LogLevel.Error:
|
|
365086
|
+
pipelineLogger.error(message);
|
|
365087
|
+
return;
|
|
365088
|
+
}
|
|
365089
|
+
});
|
|
365090
|
+
}
|
|
365091
|
+
}
|
|
365092
|
+
});
|
|
365093
|
+
|
|
364554
365094
|
// ../../generator-cli/lib/pipeline/PostGenerationPipeline.js
|
|
364555
365095
|
var require_PostGenerationPipeline = __commonJS({
|
|
364556
365096
|
"../../generator-cli/lib/pipeline/PostGenerationPipeline.js"(exports2) {
|
|
@@ -364565,6 +365105,7 @@ var require_PostGenerationPipeline = __commonJS({
|
|
|
364565
365105
|
var GenerationCommitStep_1 = require_GenerationCommitStep();
|
|
364566
365106
|
var GithubStep_1 = require_GithubStep();
|
|
364567
365107
|
var ReplayStep_1 = require_ReplayStep();
|
|
365108
|
+
var VerificationStep_1 = require_VerificationStep();
|
|
364568
365109
|
var PostGenerationPipeline2 = class {
|
|
364569
365110
|
config;
|
|
364570
365111
|
logger;
|
|
@@ -364591,6 +365132,9 @@ var require_PostGenerationPipeline = __commonJS({
|
|
|
364591
365132
|
if (replayEnabled && config5.replay != null) {
|
|
364592
365133
|
this.steps.push(new ReplayStep_1.ReplayStep(config5.outputDir, this.logger, config5.replay, config5.cliVersion, config5.generatorVersions, config5.generatorName));
|
|
364593
365134
|
}
|
|
365135
|
+
if (config5.verify?.enabled) {
|
|
365136
|
+
this.steps.push(new VerificationStep_1.VerificationStep(config5.outputDir, this.logger, config5.verify, config5.generatorName, config5.generatorVersions));
|
|
365137
|
+
}
|
|
364594
365138
|
if (config5.github?.enabled) {
|
|
364595
365139
|
this.steps.push(new GithubStep_1.GithubStep(config5.outputDir, this.logger, config5.github));
|
|
364596
365140
|
}
|
|
@@ -364626,12 +365170,25 @@ var require_PostGenerationPipeline = __commonJS({
|
|
|
364626
365170
|
pipelineContext.previousStepResults.autoVersion = stepResult;
|
|
364627
365171
|
} else if (step.name === "fernignore") {
|
|
364628
365172
|
result.steps.fernignore = stepResult;
|
|
365173
|
+
} else if (step.name === "verify") {
|
|
365174
|
+
const verifyResult = stepResult;
|
|
365175
|
+
result.steps.verify = verifyResult;
|
|
365176
|
+
pipelineContext.previousStepResults.verify = verifyResult;
|
|
364629
365177
|
} else if (step.name === "github") {
|
|
364630
365178
|
result.steps.github = stepResult;
|
|
364631
365179
|
}
|
|
364632
365180
|
if (!stepResult.success) {
|
|
364633
365181
|
result.success = false;
|
|
364634
365182
|
result.errors = result.errors ?? [];
|
|
365183
|
+
if (step.name === "verify") {
|
|
365184
|
+
const verifyResult = stepResult;
|
|
365185
|
+
if (verifyResult.stderr != null && verifyResult.stderr.length > 0) {
|
|
365186
|
+
result.errors.push(verifyResult.stderr);
|
|
365187
|
+
} else {
|
|
365188
|
+
result.errors.push(verifyResult.errorMessage ?? `${step.name} step failed`);
|
|
365189
|
+
}
|
|
365190
|
+
break;
|
|
365191
|
+
}
|
|
364635
365192
|
result.errors.push(stepResult.errorMessage ?? `${step.name} step failed`);
|
|
364636
365193
|
}
|
|
364637
365194
|
} catch (error50) {
|
|
@@ -364639,6 +365196,9 @@ var require_PostGenerationPipeline = __commonJS({
|
|
|
364639
365196
|
result.errors = result.errors ?? [];
|
|
364640
365197
|
const errorMessage = (0, core_utils_1.extractErrorMessage)(error50);
|
|
364641
365198
|
result.errors.push(`${step.name} step error: ${errorMessage}`);
|
|
365199
|
+
if (step.name === "verify") {
|
|
365200
|
+
break;
|
|
365201
|
+
}
|
|
364642
365202
|
}
|
|
364643
365203
|
}
|
|
364644
365204
|
return result;
|
|
@@ -384909,7 +385469,7 @@ var require_ReadmeGenerator = __commonJS({
|
|
|
384909
385469
|
"use strict";
|
|
384910
385470
|
Object.defineProperty(exports2, "__esModule", { value: true });
|
|
384911
385471
|
exports2.ReadmeGenerator = void 0;
|
|
384912
|
-
var github_1 = (
|
|
385472
|
+
var github_1 = (init_lib8(), __toCommonJS(lib_exports4));
|
|
384913
385473
|
var compat_1 = require_compat2();
|
|
384914
385474
|
var string_1 = require_string3();
|
|
384915
385475
|
var index_js_1 = require_sdk();
|
|
@@ -385902,8 +386462,8 @@ var require_GitHub = __commonJS({
|
|
|
385902
386462
|
"use strict";
|
|
385903
386463
|
Object.defineProperty(exports2, "__esModule", { value: true });
|
|
385904
386464
|
exports2.GitHub = void 0;
|
|
385905
|
-
var fs_utils_1 = (
|
|
385906
|
-
var github_1 = (
|
|
386465
|
+
var fs_utils_1 = (init_lib7(), __toCommonJS(lib_exports3));
|
|
386466
|
+
var github_1 = (init_lib8(), __toCommonJS(lib_exports4));
|
|
385907
386467
|
var rest_1 = (init_dist_src9(), __toCommonJS(dist_src_exports));
|
|
385908
386468
|
var GitHub = class {
|
|
385909
386469
|
githubConfig;
|
|
@@ -386101,7 +386661,7 @@ var require_replay_init = __commonJS({
|
|
|
386101
386661
|
Object.defineProperty(exports2, "__esModule", { value: true });
|
|
386102
386662
|
exports2.replayInit = replayInit3;
|
|
386103
386663
|
exports2.formatBootstrapSummary = formatBootstrapSummary3;
|
|
386104
|
-
var github_1 = (
|
|
386664
|
+
var github_1 = (init_lib8(), __toCommonJS(lib_exports4));
|
|
386105
386665
|
var replay_1 = require_dist13();
|
|
386106
386666
|
var fs_1 = require("fs");
|
|
386107
386667
|
var path_1 = require("path");
|
|
@@ -388411,8 +388971,8 @@ var require_Fetcher3 = __commonJS({
|
|
|
388411
388971
|
const fetchFn = runtime_1.RUNTIME.type === "node" ? (
|
|
388412
388972
|
// `.default` is required due to this issue:
|
|
388413
388973
|
// https://github.com/node-fetch/node-fetch/issues/450#issuecomment-387045223
|
|
388414
|
-
(
|
|
388415
|
-
) : typeof fetch == "function" ? fetch : (
|
|
388974
|
+
(init_lib9(), __toCommonJS(lib_exports5)).default
|
|
388975
|
+
) : typeof fetch == "function" ? fetch : (init_lib9(), __toCommonJS(lib_exports5)).default;
|
|
388416
388976
|
const makeRequest3 = () => __awaiter35(this, void 0, void 0, function* () {
|
|
388417
388977
|
const controller = new AbortController();
|
|
388418
388978
|
let abortId = void 0;
|
|
@@ -516267,80 +516827,8 @@ function resolveErrorCode(error50, explicitCode) {
|
|
|
516267
516827
|
return CliError.Code.InternalError;
|
|
516268
516828
|
}
|
|
516269
516829
|
|
|
516270
|
-
// ../
|
|
516271
|
-
|
|
516272
|
-
Trace: "trace",
|
|
516273
|
-
Debug: "debug",
|
|
516274
|
-
Info: "info",
|
|
516275
|
-
Warn: "warn",
|
|
516276
|
-
Error: "error"
|
|
516277
|
-
};
|
|
516278
|
-
var LOG_LEVELS = Object.values(LogLevel);
|
|
516279
|
-
|
|
516280
|
-
// ../logger/lib/createLogger.js
|
|
516281
|
-
var LoggerImpl = class {
|
|
516282
|
-
log;
|
|
516283
|
-
enabled;
|
|
516284
|
-
constructor(log4, enabled = true) {
|
|
516285
|
-
this.log = log4;
|
|
516286
|
-
this.enabled = enabled;
|
|
516287
|
-
}
|
|
516288
|
-
disable() {
|
|
516289
|
-
this.enabled = false;
|
|
516290
|
-
}
|
|
516291
|
-
enable() {
|
|
516292
|
-
this.enabled = true;
|
|
516293
|
-
}
|
|
516294
|
-
debug(...args) {
|
|
516295
|
-
if (this.enabled) {
|
|
516296
|
-
this.log(LogLevel.Debug, ...args);
|
|
516297
|
-
}
|
|
516298
|
-
}
|
|
516299
|
-
info(...args) {
|
|
516300
|
-
if (this.enabled) {
|
|
516301
|
-
this.log(LogLevel.Info, ...args);
|
|
516302
|
-
}
|
|
516303
|
-
}
|
|
516304
|
-
warn(...args) {
|
|
516305
|
-
if (this.enabled) {
|
|
516306
|
-
this.log(LogLevel.Warn, ...args);
|
|
516307
|
-
}
|
|
516308
|
-
}
|
|
516309
|
-
error(...args) {
|
|
516310
|
-
if (this.enabled) {
|
|
516311
|
-
this.log(LogLevel.Error, ...args);
|
|
516312
|
-
}
|
|
516313
|
-
}
|
|
516314
|
-
trace(...args) {
|
|
516315
|
-
if (this.enabled) {
|
|
516316
|
-
this.log(LogLevel.Trace, ...args);
|
|
516317
|
-
}
|
|
516318
|
-
}
|
|
516319
|
-
};
|
|
516320
|
-
function createLogger(log4) {
|
|
516321
|
-
return new LoggerImpl(log4);
|
|
516322
|
-
}
|
|
516323
|
-
|
|
516324
|
-
// ../logger/lib/console.js
|
|
516325
|
-
var CONSOLE_LOGGER = Object.freeze(createLogger(log3));
|
|
516326
|
-
function log3(level, ...args) {
|
|
516327
|
-
const consoleLogger = getConsoleLoggerForLevel(level);
|
|
516328
|
-
consoleLogger(...args);
|
|
516329
|
-
}
|
|
516330
|
-
function getConsoleLoggerForLevel(level) {
|
|
516331
|
-
switch (level) {
|
|
516332
|
-
case LogLevel.Trace:
|
|
516333
|
-
return console.trace;
|
|
516334
|
-
case LogLevel.Debug:
|
|
516335
|
-
return console.debug;
|
|
516336
|
-
case LogLevel.Info:
|
|
516337
|
-
return console.info;
|
|
516338
|
-
case LogLevel.Warn:
|
|
516339
|
-
return console.warn;
|
|
516340
|
-
case LogLevel.Error:
|
|
516341
|
-
return console.error;
|
|
516342
|
-
}
|
|
516343
|
-
}
|
|
516830
|
+
// ../task-context/lib/MockTaskContext.js
|
|
516831
|
+
init_lib5();
|
|
516344
516832
|
|
|
516345
516833
|
// ../task-context/lib/TaskAbortSignal.js
|
|
516346
516834
|
var TaskAbortSignal = class {
|
|
@@ -516891,7 +517379,7 @@ var source_default = chalk;
|
|
|
516891
517379
|
|
|
516892
517380
|
// ../cli-v2/lib/api/checker/ApiChecker.js
|
|
516893
517381
|
init_lib4();
|
|
516894
|
-
|
|
517382
|
+
init_lib7();
|
|
516895
517383
|
|
|
516896
517384
|
// ../cli-v2/lib/api/config/AsyncApiSpec.js
|
|
516897
517385
|
function isAsyncApiSpec(spec) {
|
|
@@ -533628,7 +534116,7 @@ function getRegistryName(language) {
|
|
|
533628
534116
|
|
|
533629
534117
|
// ../../commons/api-workspace-commons/lib/computeSemanticVersion.js
|
|
533630
534118
|
init_lib4();
|
|
533631
|
-
|
|
534119
|
+
init_lib8();
|
|
533632
534120
|
|
|
533633
534121
|
// ../../../node_modules/.pnpm/ky@1.14.3/node_modules/ky/distribution/errors/HTTPError.js
|
|
533634
534122
|
var HTTPError = class extends Error {
|
|
@@ -556275,10 +556763,10 @@ function getConvertOptions({ options: options2, overrides }) {
|
|
|
556275
556763
|
}
|
|
556276
556764
|
|
|
556277
556765
|
// ../api-importers/openapi/openapi-ir-to-fern/lib/buildFernDefinition.js
|
|
556278
|
-
|
|
556766
|
+
init_lib6();
|
|
556279
556767
|
|
|
556280
556768
|
// ../api-importers/openapi/openapi-ir-to-fern/lib/buildAuthSchemes.js
|
|
556281
|
-
|
|
556769
|
+
init_lib6();
|
|
556282
556770
|
|
|
556283
556771
|
// ../api-importers/openapi/openapi-ir-to-fern/lib/buildTypeDeclaration.js
|
|
556284
556772
|
init_lib4();
|
|
@@ -562106,7 +562594,7 @@ init_lib4();
|
|
|
562106
562594
|
|
|
562107
562595
|
// ../api-importers/openapi/openapi-ir-to-fern/lib/utils/convertSdkGroupName.js
|
|
562108
562596
|
init_lib4();
|
|
562109
|
-
|
|
562597
|
+
init_lib6();
|
|
562110
562598
|
init_lodash();
|
|
562111
562599
|
function camelCasePreservingUnderscores(name2) {
|
|
562112
562600
|
const leadingMatch = name2.match(/^(_+)/);
|
|
@@ -563822,7 +564310,7 @@ function buildPathParameter({ pathParameter, context: context3, fileContainingRe
|
|
|
563822
564310
|
}
|
|
563823
564311
|
|
|
563824
564312
|
// ../api-importers/openapi/openapi-ir-to-fern/lib/buildQueryParameter.js
|
|
563825
|
-
|
|
564313
|
+
init_lib6();
|
|
563826
564314
|
function buildQueryParameter({ queryParameter, context: context3, fileContainingReference, namespace }) {
|
|
563827
564315
|
const typeReference2 = getQueryParameterTypeReference({
|
|
563828
564316
|
schema: queryParameter.schema,
|
|
@@ -565207,7 +565695,7 @@ function buildEnvironments(context3) {
|
|
|
565207
565695
|
}
|
|
565208
565696
|
|
|
565209
565697
|
// ../api-importers/openapi/openapi-ir-to-fern/lib/buildGlobalHeaders.js
|
|
565210
|
-
|
|
565698
|
+
init_lib6();
|
|
565211
565699
|
init_lodash();
|
|
565212
565700
|
var HeaderWithCount = class {
|
|
565213
565701
|
schema;
|
|
@@ -565312,7 +565800,7 @@ function buildGlobalHeaders(context3) {
|
|
|
565312
565800
|
}
|
|
565313
565801
|
|
|
565314
565802
|
// ../api-importers/openapi/openapi-ir-to-fern/lib/buildIdempotencyHeaders.js
|
|
565315
|
-
|
|
565803
|
+
init_lib6();
|
|
565316
565804
|
function buildIdempotencyHeaders(context3) {
|
|
565317
565805
|
for (const header of context3.ir.idempotencyHeaders ?? []) {
|
|
565318
565806
|
const groupName = header.schema ? getGroupNameForSchema(header.schema) : void 0;
|
|
@@ -565356,7 +565844,7 @@ function buildIdempotencyHeaders(context3) {
|
|
|
565356
565844
|
|
|
565357
565845
|
// ../api-importers/openapi/openapi-ir-to-fern/lib/buildEndpoint.js
|
|
565358
565846
|
init_lib4();
|
|
565359
|
-
|
|
565847
|
+
init_lib6();
|
|
565360
565848
|
|
|
565361
565849
|
// ../api-importers/openapi/openapi-ir-to-fern/lib/buildEndpointExample.js
|
|
565362
565850
|
init_lib4();
|
|
@@ -566392,7 +566880,7 @@ function endpointRequestSupportsInlinedPathParameters({ context: context3, reque
|
|
|
566392
566880
|
}
|
|
566393
566881
|
|
|
566394
566882
|
// ../api-importers/openapi/openapi-ir-to-fern/lib/utils/getEndpointLocation.js
|
|
566395
|
-
|
|
566883
|
+
init_lib6();
|
|
566396
566884
|
init_lodash();
|
|
566397
566885
|
function resolveEndpointLocationWithNamespaceOverride({ location: location2, namespaceOverride }) {
|
|
566398
566886
|
if (namespaceOverride != null) {
|
|
@@ -566573,7 +567061,7 @@ function buildServices(context3) {
|
|
|
566573
567061
|
}
|
|
566574
567062
|
|
|
566575
567063
|
// ../api-importers/openapi/openapi-ir-to-fern/lib/buildVariables.js
|
|
566576
|
-
|
|
567064
|
+
init_lib6();
|
|
566577
567065
|
function buildVariables(context3) {
|
|
566578
567066
|
for (const [variable3, variableSchema] of Object.entries(context3.ir.variables)) {
|
|
566579
567067
|
const namespace = variableSchema.groupName != null ? getNamespaceFromGroup(variableSchema.groupName) : void 0;
|
|
@@ -566595,7 +567083,7 @@ function buildVariables(context3) {
|
|
|
566595
567083
|
}
|
|
566596
567084
|
|
|
566597
567085
|
// ../api-importers/openapi/openapi-ir-to-fern/lib/buildWebhooks.js
|
|
566598
|
-
|
|
567086
|
+
init_lib6();
|
|
566599
567087
|
init_lodash();
|
|
566600
567088
|
function buildWebhooks(context3) {
|
|
566601
567089
|
for (const webhook of context3.ir.webhooks) {
|
|
@@ -567269,11 +567757,11 @@ var APIDefinitionImporter = class {
|
|
|
567269
567757
|
};
|
|
567270
567758
|
|
|
567271
567759
|
// ../api-importers/commons/lib/FernDefinitionBuilder.js
|
|
567272
|
-
|
|
567760
|
+
init_lib6();
|
|
567273
567761
|
init_lodash();
|
|
567274
567762
|
|
|
567275
567763
|
// ../api-importers/commons/lib/utils/FernDefinitionDirectory.js
|
|
567276
|
-
|
|
567764
|
+
init_lib6();
|
|
567277
567765
|
var FernDefinitionDirectory = class _FernDefinitionDirectory {
|
|
567278
567766
|
files = {};
|
|
567279
567767
|
directories = {};
|
|
@@ -567999,7 +568487,7 @@ function convert(opts) {
|
|
|
567999
568487
|
}
|
|
568000
568488
|
|
|
568001
568489
|
// ../../commons/api-workspace-commons/lib/openapi/FernDefinitionConverter.js
|
|
568002
|
-
|
|
568490
|
+
init_lib6();
|
|
568003
568491
|
init_js_yaml();
|
|
568004
568492
|
init_lodash();
|
|
568005
568493
|
function getReferencedAuthSchemeNames(auth8, authSchemes) {
|
|
@@ -580385,7 +580873,7 @@ function isOpenAPIV3(openApi) {
|
|
|
580385
580873
|
|
|
580386
580874
|
// ../../commons/api-workspace-commons/lib/utils/getAllNamedDefinitionFiles.js
|
|
580387
580875
|
init_lib4();
|
|
580388
|
-
|
|
580876
|
+
init_lib6();
|
|
580389
580877
|
init_lodash();
|
|
580390
580878
|
function getAllNamedDefinitionFiles(definition3, opts = {}) {
|
|
580391
580879
|
return {
|
|
@@ -580403,7 +580891,7 @@ function getAllNamedDefinitionFiles(definition3, opts = {}) {
|
|
|
580403
580891
|
|
|
580404
580892
|
// ../../commons/api-workspace-commons/lib/utils/getAllPackageMarkers.js
|
|
580405
580893
|
init_lib4();
|
|
580406
|
-
|
|
580894
|
+
init_lib6();
|
|
580407
580895
|
init_lodash();
|
|
580408
580896
|
function getAllPackageMarkers(definition3, opts = {}) {
|
|
580409
580897
|
return {
|
|
@@ -580434,7 +580922,7 @@ function getDefinitionFile(workspace, relativeFilepath) {
|
|
|
580434
580922
|
|
|
580435
580923
|
// ../../commons/api-workspace-commons/lib/utils/visitAllDefinitionFiles.js
|
|
580436
580924
|
init_lib4();
|
|
580437
|
-
|
|
580925
|
+
init_lib6();
|
|
580438
580926
|
function visitAllDefinitionFiles(workspace, visitor) {
|
|
580439
580927
|
for (const [relativeFilepath, file4] of entries(getAllDefinitionFiles(workspace.definition))) {
|
|
580440
580928
|
visitor(relativeFilepath, file4.contents, {
|
|
@@ -580481,7 +580969,7 @@ function joinZodPath(arr) {
|
|
|
580481
580969
|
}
|
|
580482
580970
|
|
|
580483
580971
|
// ../configuration-loader/lib/dependencies-yml/convertDependenciesConfiguration.js
|
|
580484
|
-
|
|
580972
|
+
init_lib7();
|
|
580485
580973
|
var import_path21 = __toESM(require("path"), 1);
|
|
580486
580974
|
var EMPTY_DEPENDENCIES_CONFIGURATION = {
|
|
580487
580975
|
dependencies: {}
|
|
@@ -580537,7 +581025,7 @@ function isPath(value2) {
|
|
|
580537
581025
|
}
|
|
580538
581026
|
|
|
580539
581027
|
// ../configuration-loader/lib/dependencies-yml/loadRawDependenciesConfiguration.js
|
|
580540
|
-
|
|
581028
|
+
init_lib7();
|
|
580541
581029
|
var import_promises11 = require("fs/promises");
|
|
580542
581030
|
init_js_yaml();
|
|
580543
581031
|
|
|
@@ -580689,7 +581177,7 @@ function getColorInstanceFromRawConfigOrThrow(raw, context3, key2, theme) {
|
|
|
580689
581177
|
|
|
580690
581178
|
// ../configuration-loader/lib/docs-yml/getAllPages.js
|
|
580691
581179
|
init_lib4();
|
|
580692
|
-
|
|
581180
|
+
init_lib7();
|
|
580693
581181
|
var import_promises12 = require("fs/promises");
|
|
580694
581182
|
init_lodash();
|
|
580695
581183
|
var BATCH_SIZE = 100;
|
|
@@ -580806,13 +581294,13 @@ function getAllPagesFromApiReferenceLayoutItem({ item }) {
|
|
|
580806
581294
|
// ../configuration-loader/lib/docs-yml/parseDocsConfiguration.js
|
|
580807
581295
|
init_lib4();
|
|
580808
581296
|
init_js();
|
|
580809
|
-
|
|
581297
|
+
init_lib7();
|
|
580810
581298
|
var import_promises14 = require("fs/promises");
|
|
580811
581299
|
init_js_yaml();
|
|
580812
581300
|
var import_path22 = __toESM(require("path"), 1);
|
|
580813
581301
|
|
|
580814
581302
|
// ../configuration-loader/lib/docs-yml/navigationUtils.js
|
|
580815
|
-
|
|
581303
|
+
init_lib7();
|
|
580816
581304
|
var import_promises13 = require("fs/promises");
|
|
580817
581305
|
var import_gray_matter = __toESM(require_gray_matter(), 1);
|
|
580818
581306
|
function nameToSlug({ name: name2 }) {
|
|
@@ -582628,7 +583116,7 @@ function parseVariantOverlays(variants) {
|
|
|
582628
583116
|
|
|
582629
583117
|
// ../configuration-loader/lib/fern-config-json/loadProjectConfig.js
|
|
582630
583118
|
init_lib4();
|
|
582631
|
-
|
|
583119
|
+
init_lib7();
|
|
582632
583120
|
var import_promises15 = require("fs/promises");
|
|
582633
583121
|
|
|
582634
583122
|
// ../configuration-loader/lib/fern-config-json/schema/ProjectConfigSchema.js
|
|
@@ -583083,8 +583571,8 @@ async function addGenerator({ generatorName, generatorsConfiguration, groupName
|
|
|
583083
583571
|
|
|
583084
583572
|
// ../configuration-loader/lib/generators-yml/convertGeneratorsConfiguration.js
|
|
583085
583573
|
init_lib4();
|
|
583086
|
-
init_lib6();
|
|
583087
583574
|
init_lib7();
|
|
583575
|
+
init_lib8();
|
|
583088
583576
|
|
|
583089
583577
|
// ../../../node_modules/.pnpm/@fern-fern+fiddle-sdk@1.0.3/node_modules/@fern-fern/fiddle-sdk/dist/esm/api/index.mjs
|
|
583090
583578
|
var api_exports4 = {};
|
|
@@ -590400,7 +590888,7 @@ function isGithubSelfhosted(github) {
|
|
|
590400
590888
|
}
|
|
590401
590889
|
|
|
590402
590890
|
// ../configuration-loader/lib/generators-yml/loadGeneratorsConfiguration.js
|
|
590403
|
-
|
|
590891
|
+
init_lib7();
|
|
590404
590892
|
var import_promises17 = require("fs/promises");
|
|
590405
590893
|
init_js_yaml();
|
|
590406
590894
|
var import_path24 = __toESM(require("path"), 1);
|
|
@@ -590487,7 +590975,7 @@ async function getPathToGeneratorsConfiguration({ absolutePathToWorkspace }) {
|
|
|
590487
590975
|
}
|
|
590488
590976
|
|
|
590489
590977
|
// ../configuration-loader/lib/getFernDirectory.js
|
|
590490
|
-
|
|
590978
|
+
init_lib7();
|
|
590491
590979
|
|
|
590492
590980
|
// ../../../node_modules/.pnpm/find-up@6.3.0/node_modules/find-up/index.js
|
|
590493
590981
|
var import_node_path8 = __toESM(require("path"), 1);
|
|
@@ -590739,7 +591227,7 @@ async function getFernDirectory(nameOverride) {
|
|
|
590739
591227
|
}
|
|
590740
591228
|
|
|
590741
591229
|
// ../fern-definition/validator/lib/validateFernWorkspace.js
|
|
590742
|
-
|
|
591230
|
+
init_lib7();
|
|
590743
591231
|
|
|
590744
591232
|
// ../fern-definition/validator/lib/createDefinitionFileAstVisitorForRules.js
|
|
590745
591233
|
function createDefinitionFileAstVisitorForRules({ relativeFilepath, contents, allRuleVisitors, addViolations }) {
|
|
@@ -596939,7 +597427,7 @@ function generateUniqueName(id2, existingIds) {
|
|
|
596939
597427
|
}
|
|
596940
597428
|
|
|
596941
597429
|
// ../generation/ir-generator/lib/utils/convertToFernFilepath.js
|
|
596942
|
-
|
|
597430
|
+
init_lib6();
|
|
596943
597431
|
function convertToFernFilepath({ relativeFilepath, casingsGenerator }) {
|
|
596944
597432
|
const pathToPackage = dirname5(relativeFilepath);
|
|
596945
597433
|
const filename = basename3(relativeFilepath, { stripExtension: true });
|
|
@@ -596958,7 +597446,7 @@ function convertToFernFilepath({ relativeFilepath, casingsGenerator }) {
|
|
|
596958
597446
|
}
|
|
596959
597447
|
|
|
596960
597448
|
// ../generation/ir-generator/lib/utils/getResolvedPathOfImportedFile.js
|
|
596961
|
-
|
|
597449
|
+
init_lib6();
|
|
596962
597450
|
function getResolvedPathOfImportedFile({ referencedIn, importPath }) {
|
|
596963
597451
|
return join7(dirname5(referencedIn), importPath);
|
|
596964
597452
|
}
|
|
@@ -597951,7 +598439,7 @@ init_lib4();
|
|
|
597951
598439
|
init_lodash();
|
|
597952
598440
|
|
|
597953
598441
|
// ../generation/ir-generator/lib/FernFileContext.js
|
|
597954
|
-
|
|
598442
|
+
init_lib6();
|
|
597955
598443
|
init_lodash();
|
|
597956
598444
|
|
|
597957
598445
|
// ../generation/ir-generator/lib/utils/parseInlineType.js
|
|
@@ -601598,7 +602086,7 @@ __export(examples_exports6, {
|
|
|
601598
602086
|
|
|
601599
602087
|
// ../generation/ir-generator/lib/generateIntermediateRepresentation.js
|
|
601600
602088
|
init_lib4();
|
|
601601
|
-
|
|
602089
|
+
init_lib6();
|
|
601602
602090
|
|
|
601603
602091
|
// ../generation/ir-generator/lib/converters/constants.js
|
|
601604
602092
|
function generateFernConstants(casingsGenerator) {
|
|
@@ -605412,7 +605900,7 @@ function isHttpInlineRequestBodySchema(body) {
|
|
|
605412
605900
|
}
|
|
605413
605901
|
|
|
605414
605902
|
// ../fern-definition/validator/lib/rules/import-file-exists/import-file-exists.js
|
|
605415
|
-
|
|
605903
|
+
init_lib7();
|
|
605416
605904
|
var ImportFileExistsRule = {
|
|
605417
605905
|
name: "import-file-exists",
|
|
605418
605906
|
create: ({ workspace }) => {
|
|
@@ -605499,7 +605987,7 @@ var MatchingEnvironmentUrlsRule = {
|
|
|
605499
605987
|
|
|
605500
605988
|
// ../fern-definition/validator/lib/rules/no-circular-imports/no-circular-imports.js
|
|
605501
605989
|
init_lib4();
|
|
605502
|
-
|
|
605990
|
+
init_lib7();
|
|
605503
605991
|
var NoCircularImportsRule = {
|
|
605504
605992
|
name: "no-circular-imports",
|
|
605505
605993
|
DISABLE_RULE: true,
|
|
@@ -606707,7 +607195,7 @@ function isRawObjectDefinition2(namedDeclaration) {
|
|
|
606707
607195
|
}
|
|
606708
607196
|
|
|
606709
607197
|
// ../fern-definition/validator/lib/rules/no-undefined-error-reference/no-undefined-error-reference.js
|
|
606710
|
-
|
|
607198
|
+
init_lib7();
|
|
606711
607199
|
init_lodash();
|
|
606712
607200
|
var NoUndefinedErrorReferenceRule = {
|
|
606713
607201
|
name: "no-undefined-error-reference",
|
|
@@ -606878,7 +607366,7 @@ function getDifference(setA, setB) {
|
|
|
606878
607366
|
}
|
|
606879
607367
|
|
|
606880
607368
|
// ../fern-definition/validator/lib/rules/no-undefined-type-reference/no-undefined-type-reference.js
|
|
606881
|
-
|
|
607369
|
+
init_lib7();
|
|
606882
607370
|
init_lodash();
|
|
606883
607371
|
var NoUndefinedTypeReferenceRule = {
|
|
606884
607372
|
name: "no-undefined-type-reference",
|
|
@@ -607982,7 +608470,7 @@ function getGenericArgumentCounts(workspace) {
|
|
|
607982
608470
|
|
|
607983
608471
|
// ../fern-definition/validator/lib/rules/valid-navigation/valid-navigation.js
|
|
607984
608472
|
init_lib4();
|
|
607985
|
-
|
|
608473
|
+
init_lib7();
|
|
607986
608474
|
var import_path26 = __toESM(require("path"), 1);
|
|
607987
608475
|
var ValidNavigationRule = {
|
|
607988
608476
|
name: "valid-navigation",
|
|
@@ -610001,7 +610489,7 @@ function validatePackageMarker({ relativeFilepath, contents, allRuleVisitors })
|
|
|
610001
610489
|
}
|
|
610002
610490
|
|
|
610003
610491
|
// ../cli-v2/lib/api/validator/ApiDefinitionValidator.js
|
|
610004
|
-
|
|
610492
|
+
init_lib7();
|
|
610005
610493
|
|
|
610006
610494
|
// ../api-importers/conjure/conjure-sdk/lib/sdk/api/resources/services/types/ConjureAuthDefinitionType.js
|
|
610007
610495
|
var ConjureAuthDefinitionType = {
|
|
@@ -611611,10 +612099,10 @@ __export(types_exports9, {
|
|
|
611611
612099
|
|
|
611612
612100
|
// ../api-importers/conjure/conjure-to-fern/lib/ConjureImporter.js
|
|
611613
612101
|
init_lib4();
|
|
611614
|
-
|
|
612102
|
+
init_lib7();
|
|
611615
612103
|
|
|
611616
612104
|
// ../api-importers/conjure/conjure-to-fern/lib/utils/listConjureFiles.js
|
|
611617
|
-
|
|
612105
|
+
init_lib7();
|
|
611618
612106
|
var import_promises18 = require("fs/promises");
|
|
611619
612107
|
init_js_yaml();
|
|
611620
612108
|
async function listConjureFiles(root6, extensionGlob) {
|
|
@@ -611935,7 +612423,7 @@ async function visitAllConjureDefinitionFiles(absolutePathToConjureFolder, visit
|
|
|
611935
612423
|
}
|
|
611936
612424
|
|
|
611937
612425
|
// ../workspace/lazy-fern-workspace/lib/ConjureWorkspace.js
|
|
611938
|
-
|
|
612426
|
+
init_lib7();
|
|
611939
612427
|
init_js_yaml();
|
|
611940
612428
|
|
|
611941
612429
|
// ../workspace/lazy-fern-workspace/lib/utils/mapValues.js
|
|
@@ -612006,7 +612494,7 @@ var ConjureWorkspace = class extends AbstractAPIWorkspace {
|
|
|
612006
612494
|
};
|
|
612007
612495
|
|
|
612008
612496
|
// ../workspace/lazy-fern-workspace/lib/LazyFernWorkspace.js
|
|
612009
|
-
|
|
612497
|
+
init_lib7();
|
|
612010
612498
|
var import_object_hash = __toESM(require_object_hash(), 1);
|
|
612011
612499
|
|
|
612012
612500
|
// ../cli-logger/lib/formatLog.js
|
|
@@ -612024,6 +612512,7 @@ function formatLog({ breadcrumbs = [], title: title2, subtitle }) {
|
|
|
612024
612512
|
|
|
612025
612513
|
// ../cli-logger/lib/githubAnnotations.js
|
|
612026
612514
|
init_lib4();
|
|
612515
|
+
init_lib5();
|
|
612027
612516
|
function shouldEmitGithubAnnotations() {
|
|
612028
612517
|
return process.env.GITHUB_ACTIONS === "true";
|
|
612029
612518
|
}
|
|
@@ -612105,6 +612594,7 @@ function stripAnsi3(content5) {
|
|
|
612105
612594
|
}
|
|
612106
612595
|
|
|
612107
612596
|
// ../cli-logger/lib/logErrorMessage.js
|
|
612597
|
+
init_lib5();
|
|
612108
612598
|
var USE_NODE_18_OR_ABOVE_MESSAGE = "The Fern CLI requires Node 18+ or above.";
|
|
612109
612599
|
function logErrorMessage({ message, error: error50, logger: logger4, logLevel = LogLevel.Error }) {
|
|
612110
612600
|
if (message != null) {
|
|
@@ -612141,6 +612631,7 @@ function convertErrorToString(error50) {
|
|
|
612141
612631
|
|
|
612142
612632
|
// ../cli-logger/lib/TtyAwareLogger.js
|
|
612143
612633
|
init_lib4();
|
|
612634
|
+
init_lib5();
|
|
612144
612635
|
|
|
612145
612636
|
// ../../../node_modules/.pnpm/ansi-escapes@5.0.0/node_modules/ansi-escapes/index.js
|
|
612146
612637
|
var ESC = "\x1B[";
|
|
@@ -613108,7 +613599,7 @@ function parseZodIssue(issue2) {
|
|
|
613108
613599
|
}
|
|
613109
613600
|
|
|
613110
613601
|
// ../workspace/lazy-fern-workspace/lib/utils/listFernFiles.js
|
|
613111
|
-
|
|
613602
|
+
init_lib7();
|
|
613112
613603
|
var import_promises19 = require("fs/promises");
|
|
613113
613604
|
async function listFernFiles(root6, extensionGlob) {
|
|
613114
613605
|
const absoluteFilepaths = await listFiles(root6, extensionGlob);
|
|
@@ -613162,7 +613653,7 @@ async function parseYamlFiles(files) {
|
|
|
613162
613653
|
|
|
613163
613654
|
// ../workspace/lazy-fern-workspace/lib/utils/processPackageMarkers.js
|
|
613164
613655
|
init_lib4();
|
|
613165
|
-
|
|
613656
|
+
init_lib7();
|
|
613166
613657
|
init_lodash();
|
|
613167
613658
|
|
|
613168
613659
|
// ../../core/lib/services/fdr.js
|
|
@@ -620017,7 +620508,7 @@ function createVenusService({ environment: environment2 = "https://venus-dev2.bu
|
|
|
620017
620508
|
|
|
620018
620509
|
// ../workspace/lazy-fern-workspace/lib/utils/loadDependency.js
|
|
620019
620510
|
init_lib4();
|
|
620020
|
-
|
|
620511
|
+
init_lib7();
|
|
620021
620512
|
|
|
620022
620513
|
// ../../../node_modules/.pnpm/semver-diff@4.0.0/node_modules/semver-diff/index.js
|
|
620023
620514
|
var import_semver11 = __toESM(require_semver2(), 1);
|
|
@@ -627823,7 +628314,7 @@ async function processPackageMarkers({ dependenciesConfiguration, structuralVali
|
|
|
627823
628314
|
|
|
627824
628315
|
// ../workspace/lazy-fern-workspace/lib/utils/validateStructureOfYamlFiles.js
|
|
627825
628316
|
init_lib4();
|
|
627826
|
-
|
|
628317
|
+
init_lib7();
|
|
627827
628318
|
var import_path32 = __toESM(require("path"), 1);
|
|
627828
628319
|
|
|
627829
628320
|
// ../workspace/lazy-fern-workspace/lib/api-yml.schema.json
|
|
@@ -638678,7 +639169,7 @@ var LazyFernWorkspace = class extends AbstractAPIWorkspace {
|
|
|
638678
639169
|
};
|
|
638679
639170
|
|
|
638680
639171
|
// ../workspace/lazy-fern-workspace/lib/loaders/OpenAPILoader.js
|
|
638681
|
-
|
|
639172
|
+
init_lib7();
|
|
638682
639173
|
var import_promises30 = require("fs/promises");
|
|
638683
639174
|
|
|
638684
639175
|
// ../workspace/lazy-fern-workspace/lib/utils/convertOpenAPIV2ToV3.js
|
|
@@ -638925,7 +639416,7 @@ async function loadAsyncAPI({ context: context3, absoluteFilePath, absoluteFileP
|
|
|
638925
639416
|
|
|
638926
639417
|
// ../workspace/lazy-fern-workspace/lib/utils/loadOpenAPI.js
|
|
638927
639418
|
var import_node_path18 = __toESM(require("path"), 1);
|
|
638928
|
-
|
|
639419
|
+
init_lib7();
|
|
638929
639420
|
var import_promises29 = require("fs/promises");
|
|
638930
639421
|
init_js_yaml();
|
|
638931
639422
|
|
|
@@ -639015,7 +639506,7 @@ var import_promises27 = require("fs/promises");
|
|
|
639015
639506
|
init_js_yaml();
|
|
639016
639507
|
|
|
639017
639508
|
// ../workspace/lazy-fern-workspace/lib/loaders/OpenAPIRefResolver.js
|
|
639018
|
-
|
|
639509
|
+
init_lib7();
|
|
639019
639510
|
var import_openapi_core2 = __toESM(require_lib2(), 1);
|
|
639020
639511
|
var import_path36 = __toESM(require("path"), 1);
|
|
639021
639512
|
var OpenAPIRefResolver = class extends import_openapi_core2.BaseResolver {
|
|
@@ -639597,7 +640088,8 @@ init_js_yaml();
|
|
|
639597
640088
|
init_lodash();
|
|
639598
640089
|
|
|
639599
640090
|
// ../api-importers/v3-importer-commons/lib/ErrorCollector.js
|
|
639600
|
-
|
|
640091
|
+
init_lib7();
|
|
640092
|
+
init_lib5();
|
|
639601
640093
|
var import_promises31 = require("fs/promises");
|
|
639602
640094
|
init_js_yaml();
|
|
639603
640095
|
|
|
@@ -647021,7 +647513,7 @@ var AsyncAPIConverterContext = class extends AbstractConverterContext {
|
|
|
647021
647513
|
|
|
647022
647514
|
// ../workspace/lazy-fern-workspace/lib/OSSWorkspace.js
|
|
647023
647515
|
init_lib4();
|
|
647024
|
-
|
|
647516
|
+
init_lib7();
|
|
647025
647517
|
|
|
647026
647518
|
// ../api-importers/openapi-to-ir/lib/3.1/OpenAPIConverter.js
|
|
647027
647519
|
var import_openapi_types2 = __toESM(require_dist10(), 1);
|
|
@@ -651446,21 +651938,21 @@ async function loadOpenRpc({ context: context3, absoluteFilePath, absoluteFilePa
|
|
|
651446
651938
|
}
|
|
651447
651939
|
|
|
651448
651940
|
// ../workspace/lazy-fern-workspace/lib/protobuf/ProtobufIRGenerator.js
|
|
651449
|
-
|
|
651450
|
-
|
|
651941
|
+
init_lib7();
|
|
651942
|
+
init_lib11();
|
|
651451
651943
|
var import_promises35 = require("fs/promises");
|
|
651452
651944
|
var import_path41 = __toESM(require("path"), 1);
|
|
651453
651945
|
var import_tmp_promise6 = __toESM(require_tmp_promise(), 1);
|
|
651454
651946
|
|
|
651455
651947
|
// ../workspace/lazy-fern-workspace/lib/protobuf/utils.js
|
|
651456
651948
|
init_lib4();
|
|
651457
|
-
|
|
651458
|
-
|
|
651949
|
+
init_lib7();
|
|
651950
|
+
init_lib11();
|
|
651459
651951
|
var import_promises34 = require("fs/promises");
|
|
651460
651952
|
var import_tmp_promise5 = __toESM(require_tmp_promise(), 1);
|
|
651461
651953
|
|
|
651462
651954
|
// ../workspace/lazy-fern-workspace/lib/protobuf/BufDownloader.js
|
|
651463
|
-
|
|
651955
|
+
init_lib7();
|
|
651464
651956
|
var import_promises33 = require("fs/promises");
|
|
651465
651957
|
var import_os2 = __toESM(require("os"), 1);
|
|
651466
651958
|
var import_path40 = __toESM(require("path"), 1);
|
|
@@ -652023,17 +652515,17 @@ var ProtobufIRGenerator = class {
|
|
|
652023
652515
|
};
|
|
652024
652516
|
|
|
652025
652517
|
// ../workspace/lazy-fern-workspace/lib/utils/getAllOpenAPISpecs.js
|
|
652026
|
-
|
|
652518
|
+
init_lib7();
|
|
652027
652519
|
|
|
652028
652520
|
// ../workspace/lazy-fern-workspace/lib/protobuf/ProtobufOpenAPIGenerator.js
|
|
652029
|
-
|
|
652030
|
-
|
|
652521
|
+
init_lib7();
|
|
652522
|
+
init_lib11();
|
|
652031
652523
|
var import_promises37 = require("fs/promises");
|
|
652032
652524
|
var import_path43 = __toESM(require("path"), 1);
|
|
652033
652525
|
var import_tmp_promise7 = __toESM(require_tmp_promise(), 1);
|
|
652034
652526
|
|
|
652035
652527
|
// ../workspace/lazy-fern-workspace/lib/protobuf/ProtocGenOpenAPIDownloader.js
|
|
652036
|
-
|
|
652528
|
+
init_lib7();
|
|
652037
652529
|
var import_promises36 = require("fs/promises");
|
|
652038
652530
|
var import_os3 = __toESM(require("os"), 1);
|
|
652039
652531
|
var import_path42 = __toESM(require("path"), 1);
|
|
@@ -652680,7 +653172,7 @@ var OSSWorkspace = class _OSSWorkspace extends BaseOpenAPIWorkspace {
|
|
|
652680
653172
|
return Object.keys(this.graphqlTypes).length;
|
|
652681
653173
|
}
|
|
652682
653174
|
async processGraphQLSpecs(context3) {
|
|
652683
|
-
const { GraphQLConverter: GraphQLConverter2 } = await Promise.resolve().then(() => (
|
|
653175
|
+
const { GraphQLConverter: GraphQLConverter2 } = await Promise.resolve().then(() => (init_lib12(), lib_exports9));
|
|
652684
653176
|
const graphqlSpecs = this.allSpecs.filter((spec) => spec.type === "graphql");
|
|
652685
653177
|
for (const spec of graphqlSpecs) {
|
|
652686
653178
|
try {
|
|
@@ -653072,7 +653564,7 @@ async function getAuthFromOverrideFiles(specs) {
|
|
|
653072
653564
|
var import_promises40 = require("fs/promises");
|
|
653073
653565
|
|
|
653074
653566
|
// ../workspace/oss-validator/lib/rules/no-component-schema-collisions/no-component-schema-collisions.js
|
|
653075
|
-
|
|
653567
|
+
init_lib7();
|
|
653076
653568
|
var NoComponentSchemaCollisionsRule = {
|
|
653077
653569
|
name: "no-component-schema-collisions",
|
|
653078
653570
|
run: async ({ workspace, specs, loadedDocuments }) => {
|
|
@@ -653114,7 +653606,7 @@ var NoComponentSchemaCollisionsRule = {
|
|
|
653114
653606
|
};
|
|
653115
653607
|
|
|
653116
653608
|
// ../workspace/oss-validator/lib/rules/no-conflicting-parameter-names/no-conflicting-parameter-names.js
|
|
653117
|
-
|
|
653609
|
+
init_lib7();
|
|
653118
653610
|
var NoConflictingParameterNamesRule = {
|
|
653119
653611
|
name: "no-conflicting-parameter-names",
|
|
653120
653612
|
run: async ({ workspace, specs, loadedDocuments }) => {
|
|
@@ -653238,7 +653730,7 @@ function toCamelCase3(input3) {
|
|
|
653238
653730
|
}
|
|
653239
653731
|
|
|
653240
653732
|
// ../workspace/oss-validator/lib/rules/no-duplicate-auth-header-parameters/no-duplicate-auth-header-parameters.js
|
|
653241
|
-
|
|
653733
|
+
init_lib7();
|
|
653242
653734
|
var NoDuplicateAuthHeaderParametersRule = {
|
|
653243
653735
|
name: "no-duplicate-auth-header-parameters",
|
|
653244
653736
|
run: async ({ workspace, specs, loadedDocuments }) => {
|
|
@@ -653358,7 +653850,7 @@ function isDuplicateAuthHeader(param, authHeaderNames) {
|
|
|
653358
653850
|
}
|
|
653359
653851
|
|
|
653360
653852
|
// ../workspace/oss-validator/lib/rules/no-duplicate-overrides/no-duplicate-overrides.js
|
|
653361
|
-
|
|
653853
|
+
init_lib7();
|
|
653362
653854
|
var NoDuplicateOverridesRule = {
|
|
653363
653855
|
name: "no-duplicate-overrides",
|
|
653364
653856
|
run: async ({ workspace, specs, loadedDocuments }) => {
|
|
@@ -653417,7 +653909,7 @@ function audiencesIntersect(a3, b8) {
|
|
|
653417
653909
|
}
|
|
653418
653910
|
|
|
653419
653911
|
// ../workspace/oss-validator/lib/rules/no-invalid-tag-names-or-frontmatter/no-invalid-tag-names-or-frontmatter.js
|
|
653420
|
-
|
|
653912
|
+
init_lib7();
|
|
653421
653913
|
var NON_ASCII_REGEX2 = new RegExp("[^\\x00-\\x7F]");
|
|
653422
653914
|
var FRONTMATTER_REGEX = /(?:^|\n)\s*---\s*(?:\n|$)/;
|
|
653423
653915
|
var HTTP_METHODS = ["get", "post", "put", "delete", "patch", "options", "head", "trace"];
|
|
@@ -653498,7 +653990,7 @@ var NoInvalidTagNamesOrFrontmatterRule = {
|
|
|
653498
653990
|
};
|
|
653499
653991
|
|
|
653500
653992
|
// ../workspace/oss-validator/lib/rules/no-schema-title-collisions/no-schema-title-collisions.js
|
|
653501
|
-
|
|
653993
|
+
init_lib7();
|
|
653502
653994
|
var NoSchemaTitleCollisionsRule = {
|
|
653503
653995
|
name: "no-schema-title-collisions",
|
|
653504
653996
|
run: async ({ workspace, specs, loadedDocuments }) => {
|
|
@@ -653588,6 +654080,12 @@ async function runRulesOnOSSWorkspace({ workspace, context: context3, rules }) {
|
|
|
653588
654080
|
return ruleResults.flat();
|
|
653589
654081
|
}
|
|
653590
654082
|
|
|
654083
|
+
// ../cli-v2/lib/context/adapter/TaskContextAdapter.js
|
|
654084
|
+
init_lib5();
|
|
654085
|
+
|
|
654086
|
+
// ../cli-v2/lib/context/withContext.js
|
|
654087
|
+
init_lib5();
|
|
654088
|
+
|
|
653591
654089
|
// ../cli-v2/lib/auth/errors/KeyringUnavailableError.js
|
|
653592
654090
|
var KeyringUnavailableError = class _KeyringUnavailableError extends CliError {
|
|
653593
654091
|
platform;
|
|
@@ -653783,7 +654281,7 @@ async function createOrganizationIfDoesNotExist({ organization, token, context:
|
|
|
653783
654281
|
}
|
|
653784
654282
|
|
|
653785
654283
|
// ../auth/lib/persistence/getPathToTokenFile.js
|
|
653786
|
-
|
|
654284
|
+
init_lib7();
|
|
653787
654285
|
var import_os4 = require("os");
|
|
653788
654286
|
var TOKEN_FILENAME = "token";
|
|
653789
654287
|
var LOCAL_STORAGE_FOLDER2 = ".fern-dev";
|
|
@@ -653792,7 +654290,7 @@ function getPathToTokenFile() {
|
|
|
653792
654290
|
}
|
|
653793
654291
|
|
|
653794
654292
|
// ../auth/lib/persistence/getToken.js
|
|
653795
|
-
|
|
654293
|
+
init_lib7();
|
|
653796
654294
|
var import_promises41 = require("fs/promises");
|
|
653797
654295
|
var FERN_TOKEN_ENV_VAR = "FERN_TOKEN";
|
|
653798
654296
|
async function getToken2() {
|
|
@@ -654805,7 +655303,8 @@ function resolveOutputObjectSchema(output2) {
|
|
|
654805
655303
|
}
|
|
654806
655304
|
|
|
654807
655305
|
// ../cli-v2/lib/context/Context.js
|
|
654808
|
-
|
|
655306
|
+
init_lib7();
|
|
655307
|
+
init_lib5();
|
|
654809
655308
|
|
|
654810
655309
|
// ../../../node_modules/.pnpm/inquirer@9.3.8_@types+node@22.19.17/node_modules/inquirer/lib/prompts/list.js
|
|
654811
655310
|
var import_ansi_escapes4 = __toESM(require_ansi_escapes(), 1);
|
|
@@ -661252,7 +661751,7 @@ var AccessTokenPosthogManager = class {
|
|
|
661252
661751
|
properties: {
|
|
661253
661752
|
...event,
|
|
661254
661753
|
...event.properties,
|
|
661255
|
-
version: "5.22.
|
|
661754
|
+
version: "5.22.1-1-g08a6ca02787",
|
|
661256
661755
|
usingAccessToken: true,
|
|
661257
661756
|
...getRunIdProperties()
|
|
661258
661757
|
}
|
|
@@ -661278,7 +661777,7 @@ var NoopPosthogManager = class {
|
|
|
661278
661777
|
};
|
|
661279
661778
|
|
|
661280
661779
|
// ../posthog-manager/lib/UserPosthogManager.js
|
|
661281
|
-
|
|
661780
|
+
init_lib7();
|
|
661282
661781
|
var import_promises44 = require("fs/promises");
|
|
661283
661782
|
var import_os5 = require("os");
|
|
661284
661783
|
var import_path46 = require("path");
|
|
@@ -661307,7 +661806,7 @@ var UserPosthogManager = class {
|
|
|
661307
661806
|
distinctId: this.userId ?? await this.getPersistedDistinctId(),
|
|
661308
661807
|
event: "CLI",
|
|
661309
661808
|
properties: {
|
|
661310
|
-
version: "5.22.
|
|
661809
|
+
version: "5.22.1-1-g08a6ca02787",
|
|
661311
661810
|
...event,
|
|
661312
661811
|
...event.properties,
|
|
661313
661812
|
usingAccessToken: false,
|
|
@@ -662877,7 +663376,7 @@ function constructAuth0LogoutUrl(returnTo) {
|
|
|
662877
663376
|
var import_promises52 = require("fs/promises");
|
|
662878
663377
|
|
|
662879
663378
|
// ../cli-v2/lib/auth/PlatformKeyring.js
|
|
662880
|
-
|
|
663379
|
+
init_lib11();
|
|
662881
663380
|
var PlatformKeyring = class {
|
|
662882
663381
|
async setPassword(service, account, password) {
|
|
662883
663382
|
switch (process.platform) {
|
|
@@ -663318,7 +663817,7 @@ var FernRcAccountManager = class {
|
|
|
663318
663817
|
};
|
|
663319
663818
|
|
|
663320
663819
|
// ../cli-v2/lib/config/fern-rc/FernRcSchemaLoader.js
|
|
663321
|
-
|
|
663820
|
+
init_lib7();
|
|
663322
663821
|
var import_fs21 = require("fs");
|
|
663323
663822
|
var import_promises45 = require("fs/promises");
|
|
663324
663823
|
init_js_yaml();
|
|
@@ -663467,7 +663966,7 @@ var FernRcTelemetryManager = class {
|
|
|
663467
663966
|
};
|
|
663468
663967
|
|
|
663469
663968
|
// ../cli-v2/lib/config/fern-rc/LegacyTokenMigrator.js
|
|
663470
|
-
|
|
663969
|
+
init_lib7();
|
|
663471
663970
|
var import_promises46 = require("fs/promises");
|
|
663472
663971
|
var DEFAULT_USER = "default";
|
|
663473
663972
|
var LegacyTokenMigrator = class {
|
|
@@ -663725,11 +664224,11 @@ var TokenService = class {
|
|
|
663725
664224
|
};
|
|
663726
664225
|
|
|
663727
664226
|
// ../cli-v2/lib/cache/Cache.js
|
|
663728
|
-
|
|
664227
|
+
init_lib7();
|
|
663729
664228
|
var import_os7 = __toESM(require("os"), 1);
|
|
663730
664229
|
|
|
663731
664230
|
// ../cli-v2/lib/cache/ir/IrCache.js
|
|
663732
|
-
|
|
664231
|
+
init_lib7();
|
|
663733
664232
|
var import_crypto5 = __toESM(require("crypto"), 1);
|
|
663734
664233
|
var import_promises47 = __toESM(require("fs/promises"), 1);
|
|
663735
664234
|
var IrCache = class {
|
|
@@ -664108,10 +664607,10 @@ var Cache = class {
|
|
|
664108
664607
|
};
|
|
664109
664608
|
|
|
664110
664609
|
// ../cli-v2/lib/config/fern-yml/FernYmlSchemaLoader.js
|
|
664111
|
-
|
|
664610
|
+
init_lib7();
|
|
664112
664611
|
|
|
664113
664612
|
// ../yaml/loader/lib/ReferenceResolver.js
|
|
664114
|
-
|
|
664613
|
+
init_lib7();
|
|
664115
664614
|
|
|
664116
664615
|
// ../source/lib/constants.js
|
|
664117
664616
|
var LOCATION_PROPERTY = "$loc";
|
|
@@ -664715,7 +665214,7 @@ var ReferenceResolver = class {
|
|
|
664715
665214
|
|
|
664716
665215
|
// ../yaml/loader/lib/YamlConfigLoader.js
|
|
664717
665216
|
init_lib4();
|
|
664718
|
-
|
|
665217
|
+
init_lib7();
|
|
664719
665218
|
|
|
664720
665219
|
// ../yaml/loader/lib/deepStrict.js
|
|
664721
665220
|
function deepStrict(schema2) {
|
|
@@ -664790,7 +665289,7 @@ function deepStrictImpl(schema2, cache2) {
|
|
|
664790
665289
|
}
|
|
664791
665290
|
|
|
664792
665291
|
// ../yaml/loader/lib/YamlParser.js
|
|
664793
|
-
|
|
665292
|
+
init_lib6();
|
|
664794
665293
|
var import_promises50 = require("fs/promises");
|
|
664795
665294
|
var import_yaml3 = __toESM(require_dist9(), 1);
|
|
664796
665295
|
var YamlParser = class {
|
|
@@ -665043,7 +665542,7 @@ var YamlConfigLoader = class {
|
|
|
665043
665542
|
};
|
|
665044
665543
|
|
|
665045
665544
|
// ../cli-v2/lib/config/FileFinder.js
|
|
665046
|
-
|
|
665545
|
+
init_lib7();
|
|
665047
665546
|
var FileFinder = class {
|
|
665048
665547
|
from;
|
|
665049
665548
|
constructor(options2) {
|
|
@@ -665143,7 +665642,7 @@ var FernYmlSchemaLoader = class {
|
|
|
665143
665642
|
};
|
|
665144
665643
|
|
|
665145
665644
|
// ../cli-v2/lib/telemetry/TelemetryClient.js
|
|
665146
|
-
|
|
665645
|
+
init_lib7();
|
|
665147
665646
|
var import_promises51 = require("fs/promises");
|
|
665148
665647
|
var import_is_ci2 = __toESM(require_is_ci(), 1);
|
|
665149
665648
|
var os10 = __toESM(require("os"), 1);
|
|
@@ -665466,7 +665965,7 @@ var TtyAwareLogger2 = class {
|
|
|
665466
665965
|
};
|
|
665467
665966
|
|
|
665468
665967
|
// ../cli-v2/lib/api/config/converter/ApiDefinitionConverter.js
|
|
665469
|
-
|
|
665968
|
+
init_lib7();
|
|
665470
665969
|
var DEFAULT_API_NAME = "api";
|
|
665471
665970
|
var ApiDefinitionConverter = class {
|
|
665472
665971
|
cwd;
|
|
@@ -666312,7 +666811,7 @@ function parseFlags(argv) {
|
|
|
666312
666811
|
}
|
|
666313
666812
|
|
|
666314
666813
|
// ../cli-v2/lib/context/LogFileWriter.js
|
|
666315
|
-
|
|
666814
|
+
init_lib7();
|
|
666316
666815
|
var import_fs22 = require("fs");
|
|
666317
666816
|
var LogFileWriter = class {
|
|
666318
666817
|
absoluteFilePath;
|
|
@@ -666805,6 +667304,7 @@ function parseLogLevel(level) {
|
|
|
666805
667304
|
}
|
|
666806
667305
|
|
|
666807
667306
|
// ../cli-v2/lib/context/adapter/TaskContextLogger.js
|
|
667307
|
+
init_lib5();
|
|
666808
667308
|
var TaskContextLogger = class {
|
|
666809
667309
|
context;
|
|
666810
667310
|
task;
|
|
@@ -667072,7 +667572,7 @@ var TaskContextAdapter = class {
|
|
|
667072
667572
|
};
|
|
667073
667573
|
|
|
667074
667574
|
// ../cli-v2/lib/api/adapter/LegacyApiSpecAdapter.js
|
|
667075
|
-
|
|
667575
|
+
init_lib7();
|
|
667076
667576
|
|
|
667077
667577
|
// ../cli-v2/lib/api/config/GraphQlSpec.js
|
|
667078
667578
|
function isGraphQlSpec(spec) {
|
|
@@ -667730,7 +668230,7 @@ function addCheckCommand(cli) {
|
|
|
667730
668230
|
}
|
|
667731
668231
|
|
|
667732
668232
|
// ../cli-source-resolver/lib/SourceResolverImpl.js
|
|
667733
|
-
|
|
668233
|
+
init_lib7();
|
|
667734
668234
|
|
|
667735
668235
|
// ../cli-source-resolver/lib/parsers/ProtobufParser.js
|
|
667736
668236
|
var import_fs24 = require("fs");
|
|
@@ -806055,7 +806555,7 @@ function migrateIntermediateRepresentationThroughVersion({ intermediateRepresent
|
|
|
806055
806555
|
}
|
|
806056
806556
|
|
|
806057
806557
|
// ../cli-v2/lib/api/adapter/LegacyFernWorkspaceAdapter.js
|
|
806058
|
-
|
|
806558
|
+
init_lib7();
|
|
806059
806559
|
|
|
806060
806560
|
// ../cli-v2/lib/api/adapter/LegacyOSSWorkspaceAdapter.js
|
|
806061
806561
|
var LegacyOSSWorkspaceAdapter = class {
|
|
@@ -806253,7 +806753,7 @@ var IrCompiler = class {
|
|
|
806253
806753
|
};
|
|
806254
806754
|
|
|
806255
806755
|
// ../cli-v2/lib/io/stdio.js
|
|
806256
|
-
|
|
806756
|
+
init_lib7();
|
|
806257
806757
|
var import_promises53 = require("fs/promises");
|
|
806258
806758
|
init_esm15();
|
|
806259
806759
|
var import_stream8 = require("stream");
|
|
@@ -806437,7 +806937,7 @@ var FERN_YML_FILENAME = "fern.yml";
|
|
|
806437
806937
|
var REF_KEY2 = "$ref";
|
|
806438
806938
|
|
|
806439
806939
|
// ../cli-v2/lib/config/fern-yml/FernYmlEditor.js
|
|
806440
|
-
|
|
806940
|
+
init_lib7();
|
|
806441
806941
|
var import_promises55 = require("fs/promises");
|
|
806442
806942
|
var import_path49 = __toESM(require("path"), 1);
|
|
806443
806943
|
var import_yaml4 = __toESM(require_dist9(), 1);
|
|
@@ -807195,7 +807695,7 @@ var import_path51 = __toESM(require("path"), 1);
|
|
|
807195
807695
|
var import_util17 = require("util");
|
|
807196
807696
|
|
|
807197
807697
|
// ../cli-v2/lib/commands/api/split/deriveOutputPath.js
|
|
807198
|
-
|
|
807698
|
+
init_lib7();
|
|
807199
807699
|
var OVERLAY_NAME = "overlay";
|
|
807200
807700
|
var OVERLAY_NAME_ALTERNATIVES = ["overlays"];
|
|
807201
807701
|
var OVERRIDES_NAME = "overrides";
|
|
@@ -807464,6 +807964,7 @@ function addApiCommand(cli) {
|
|
|
807464
807964
|
}
|
|
807465
807965
|
|
|
807466
807966
|
// ../cli-v2/lib/commands/auth/login/command.js
|
|
807967
|
+
init_lib5();
|
|
807467
807968
|
var LoginCommand = class {
|
|
807468
807969
|
async handle(context3, args) {
|
|
807469
807970
|
const useDeviceCodeFlow = args["device-code"];
|
|
@@ -808075,7 +808576,7 @@ function isClaudeCodeSession() {
|
|
|
808075
808576
|
init_lib4();
|
|
808076
808577
|
|
|
808077
808578
|
// ../docs-resolver/lib/index.js
|
|
808078
|
-
|
|
808579
|
+
init_lib40();
|
|
808079
808580
|
|
|
808080
808581
|
// ../docs-resolver/lib/applyTranslatedFrontmatterToNavTree.js
|
|
808081
808582
|
var import_gray_matter5 = __toESM(require_gray_matter(), 1);
|
|
@@ -808521,10 +809022,10 @@ function applyVariantOverlays(variants, overlays) {
|
|
|
808521
809022
|
|
|
808522
809023
|
// ../docs-resolver/lib/DocsDefinitionResolver.js
|
|
808523
809024
|
init_lib4();
|
|
808524
|
-
|
|
809025
|
+
init_lib40();
|
|
808525
809026
|
init_js();
|
|
808526
|
-
|
|
808527
|
-
|
|
809027
|
+
init_lib7();
|
|
809028
|
+
init_lib12();
|
|
808528
809029
|
var import_dayjs3 = __toESM(require_dayjs_min(), 1);
|
|
808529
809030
|
var import_utc3 = __toESM(require_utc(), 1);
|
|
808530
809031
|
var import_fs25 = require("fs");
|
|
@@ -808536,7 +809037,7 @@ init_lodash();
|
|
|
808536
809037
|
// ../docs-resolver/lib/ApiReferenceNodeConverter.js
|
|
808537
809038
|
init_lib4();
|
|
808538
809039
|
init_js();
|
|
808539
|
-
|
|
809040
|
+
init_lib7();
|
|
808540
809041
|
|
|
808541
809042
|
// ../../../node_modules/.pnpm/@fern-api+ui-core-utils@0.145.12-b50d999d1/node_modules/@fern-api/ui-core-utils/dist/assertNever.js
|
|
808542
809043
|
function assertNever4(x5) {
|
|
@@ -808844,7 +809345,7 @@ function getBasePath(environment2) {
|
|
|
808844
809345
|
|
|
808845
809346
|
// ../docs-resolver/lib/ChangelogNodeConverter.js
|
|
808846
809347
|
init_js();
|
|
808847
|
-
|
|
809348
|
+
init_lib7();
|
|
808848
809349
|
var import_dayjs2 = __toESM(require_dayjs_min(), 1);
|
|
808849
809350
|
var import_utc2 = __toESM(require_utc(), 1);
|
|
808850
809351
|
init_lodash();
|
|
@@ -811009,7 +811510,7 @@ init_js();
|
|
|
811009
811510
|
init_lodash();
|
|
811010
811511
|
|
|
811011
811512
|
// ../docs-resolver/lib/utils/toRelativeFilepath.js
|
|
811012
|
-
|
|
811513
|
+
init_lib7();
|
|
811013
811514
|
function toRelativeFilepath(docsWorkspace, filepath) {
|
|
811014
811515
|
if (filepath == null) {
|
|
811015
811516
|
return void 0;
|
|
@@ -813005,7 +813506,7 @@ var SpinnerStatusCoordinator = class _SpinnerStatusCoordinator {
|
|
|
813005
813506
|
};
|
|
813006
813507
|
|
|
813007
813508
|
// ../register/lib/ai-example-enhancer/validateAiExamples.js
|
|
813008
|
-
|
|
813509
|
+
init_lib7();
|
|
813009
813510
|
var import_promises61 = require("fs/promises");
|
|
813010
813511
|
init_js_yaml();
|
|
813011
813512
|
async function parseAiExamplesOverride(sourceFilePath, context3) {
|
|
@@ -813164,7 +813665,7 @@ async function removeInvalidAiExamples({ sourceFilePath, context: context3 }) {
|
|
|
813164
813665
|
}
|
|
813165
813666
|
|
|
813166
813667
|
// ../register/lib/ai-example-enhancer/writeAiExamplesOverride.js
|
|
813167
|
-
|
|
813668
|
+
init_lib7();
|
|
813168
813669
|
var import_promises62 = require("fs/promises");
|
|
813169
813670
|
init_js_yaml();
|
|
813170
813671
|
async function loadExistingOverrideCoverage(sourceFilePath, context3) {
|
|
@@ -816416,7 +816917,7 @@ async function collectIconsFromNavigationItem({ item, filepaths }) {
|
|
|
816416
816917
|
}
|
|
816417
816918
|
|
|
816418
816919
|
// ../docs-resolver/lib/utils/resolveDescriptionLinks.js
|
|
816419
|
-
|
|
816920
|
+
init_lib40();
|
|
816420
816921
|
function resolveLinksInMarkdownString(markdown, markdownFilesToPathName, metadata) {
|
|
816421
816922
|
return markdown.replace(/\[([^\]]*)\]\(([^)]+\.mdx?(?:#[^)]*)?)\)/g, (match3, text9, fullHref) => {
|
|
816422
816923
|
const hashIndex = fullHref.indexOf("#");
|
|
@@ -818295,7 +818796,7 @@ function convertAvailability5(availability) {
|
|
|
818295
818796
|
}
|
|
818296
818797
|
|
|
818297
818798
|
// ../docs-resolver/lib/stitchGlobalTheme.js
|
|
818298
|
-
|
|
818799
|
+
init_lib7();
|
|
818299
818800
|
var import_promises65 = require("fs/promises");
|
|
818300
818801
|
var import_mime_types = __toESM(require_mime_types(), 1);
|
|
818301
818802
|
var import_path54 = __toESM(require("path"), 1);
|
|
@@ -820668,7 +821169,7 @@ async function validateVersionConfigFileSchema({ value: value2 }) {
|
|
|
820668
821169
|
|
|
820669
821170
|
// ../yaml/docs-validator/lib/docsAst/visitDocsConfigFileYamlAst.js
|
|
820670
821171
|
init_lib4();
|
|
820671
|
-
|
|
821172
|
+
init_lib7();
|
|
820672
821173
|
var import_promises67 = require("fs/promises");
|
|
820673
821174
|
init_js_yaml();
|
|
820674
821175
|
|
|
@@ -822734,7 +823235,7 @@ async function validateProductConfigFileSchema({ value: value2 }) {
|
|
|
822734
823235
|
}
|
|
822735
823236
|
|
|
822736
823237
|
// ../yaml/docs-validator/lib/docsAst/visitFilepath.js
|
|
822737
|
-
|
|
823238
|
+
init_lib7();
|
|
822738
823239
|
async function visitFilepath({ absoluteFilepathToConfiguration, rawUnresolvedFilepath, visitor, nodePath, willBeUploaded = true }) {
|
|
822739
823240
|
const absoluteFilepath = resolve6(dirname6(absoluteFilepathToConfiguration), rawUnresolvedFilepath);
|
|
822740
823241
|
await visitor.filepath?.(
|
|
@@ -822750,8 +823251,8 @@ async function visitFilepath({ absoluteFilepathToConfiguration, rawUnresolvedFil
|
|
|
822750
823251
|
|
|
822751
823252
|
// ../yaml/docs-validator/lib/docsAst/visitNavigationAst.js
|
|
822752
823253
|
init_lib4();
|
|
822753
|
-
|
|
822754
|
-
|
|
823254
|
+
init_lib40();
|
|
823255
|
+
init_lib7();
|
|
822755
823256
|
var import_promises66 = require("fs/promises");
|
|
822756
823257
|
|
|
822757
823258
|
// ../yaml/docs-validator/lib/utils/asyncPool.js
|
|
@@ -823541,7 +824042,7 @@ var AllRolesMustBeDeclaredRule = {
|
|
|
823541
824042
|
};
|
|
823542
824043
|
|
|
823543
824044
|
// ../yaml/docs-validator/lib/rules/filepaths-exist/filepaths-exist.js
|
|
823544
|
-
|
|
824045
|
+
init_lib7();
|
|
823545
824046
|
var FilepathsExistRule = {
|
|
823546
824047
|
name: "filepaths-exist",
|
|
823547
824048
|
create: () => {
|
|
@@ -823564,6 +824065,7 @@ var FilepathsExistRule = {
|
|
|
823564
824065
|
// ../yaml/docs-validator/lib/rules/missing-redirects/missing-redirects.js
|
|
823565
824066
|
init_lib4();
|
|
823566
824067
|
init_js();
|
|
824068
|
+
init_lib5();
|
|
823567
824069
|
|
|
823568
824070
|
// ../yaml/docs-validator/lib/rules/valid-markdown-link/url-utils.js
|
|
823569
824071
|
function stripAnchorsAndSearchParams(pathnameWithAnchorsOrSearchParams) {
|
|
@@ -824381,7 +824883,7 @@ function tabbedNavigationItemHasVariants4(item) {
|
|
|
824381
824883
|
}
|
|
824382
824884
|
|
|
824383
824885
|
// ../yaml/docs-validator/lib/rules/translation-directories-exist/translation-directories-exist.js
|
|
824384
|
-
|
|
824886
|
+
init_lib7();
|
|
824385
824887
|
var TranslationDirectoriesExistRule = {
|
|
824386
824888
|
name: "translation-directories-exist",
|
|
824387
824889
|
create: ({ workspace }) => {
|
|
@@ -824663,7 +825165,7 @@ function validEndpoint(endpoint3) {
|
|
|
824663
825165
|
}
|
|
824664
825166
|
|
|
824665
825167
|
// ../yaml/docs-validator/lib/rules/valid-file-types/valid-file-types.js
|
|
824666
|
-
|
|
825168
|
+
init_lib7();
|
|
824667
825169
|
var import_chardet2 = __toESM(require_lib9(), 1);
|
|
824668
825170
|
|
|
824669
825171
|
// ../../../node_modules/.pnpm/file-type@21.3.4/node_modules/file-type/index.js
|
|
@@ -828736,8 +829238,8 @@ var ValidFrontmatter = {
|
|
|
828736
829238
|
|
|
828737
829239
|
// ../yaml/docs-validator/lib/rules/valid-markdown/valid-markdown.js
|
|
828738
829240
|
init_lib4();
|
|
828739
|
-
|
|
828740
|
-
|
|
829241
|
+
init_lib40();
|
|
829242
|
+
init_lib7();
|
|
828741
829243
|
|
|
828742
829244
|
// ../../../node_modules/.pnpm/vfile@6.0.3/node_modules/vfile/lib/index.js
|
|
828743
829245
|
init_vfile_message();
|
|
@@ -845528,8 +846030,8 @@ async function parseMarkdown({ markdown, absoluteFilepath, absolutePathToFernFol
|
|
|
845528
846030
|
}
|
|
845529
846031
|
|
|
845530
846032
|
// ../yaml/docs-validator/lib/rules/valid-markdown-file-reference/valid-markdown-file-reference.js
|
|
845531
|
-
|
|
845532
|
-
|
|
846033
|
+
init_lib40();
|
|
846034
|
+
init_lib7();
|
|
845533
846035
|
var import_promises73 = require("fs/promises");
|
|
845534
846036
|
var import_gray_matter8 = __toESM(require_gray_matter(), 1);
|
|
845535
846037
|
init_unist_util_visit();
|
|
@@ -845579,14 +846081,15 @@ var ValidMarkdownFileReferences = {
|
|
|
845579
846081
|
|
|
845580
846082
|
// ../yaml/docs-validator/lib/rules/valid-markdown-link/valid-markdown-link.js
|
|
845581
846083
|
init_lib4();
|
|
845582
|
-
|
|
846084
|
+
init_lib40();
|
|
845583
846085
|
init_js();
|
|
845584
|
-
|
|
846086
|
+
init_lib7();
|
|
846087
|
+
init_lib5();
|
|
845585
846088
|
var import_crypto7 = require("crypto");
|
|
845586
846089
|
var import_path56 = __toESM(require("path"), 1);
|
|
845587
846090
|
|
|
845588
846091
|
// ../yaml/docs-validator/lib/rules/valid-markdown-link/check-if-pathname-exists.js
|
|
845589
|
-
|
|
846092
|
+
init_lib7();
|
|
845590
846093
|
|
|
845591
846094
|
// ../yaml/docs-validator/lib/rules/valid-markdown-link/redirect-for-path.js
|
|
845592
846095
|
var import_url_join22 = __toESM(require_url_join(), 1);
|
|
@@ -845754,8 +846257,8 @@ function isExternalUrl2(path107) {
|
|
|
845754
846257
|
|
|
845755
846258
|
// ../yaml/docs-validator/lib/rules/valid-markdown-link/collect-links.js
|
|
845756
846259
|
var import_node_fs14 = require("fs");
|
|
845757
|
-
|
|
845758
|
-
|
|
846260
|
+
init_lib40();
|
|
846261
|
+
init_lib7();
|
|
845759
846262
|
init_src();
|
|
845760
846263
|
init_unist_util_visit();
|
|
845761
846264
|
var MDX_NODE_TYPES = [
|
|
@@ -846582,10 +847085,10 @@ var ValidateVersionFileRule = {
|
|
|
846582
847085
|
|
|
846583
847086
|
// ../yaml/docs-validator/lib/validateDocsWorkspace.js
|
|
846584
847087
|
init_lib4();
|
|
846585
|
-
|
|
847088
|
+
init_lib7();
|
|
846586
847089
|
|
|
846587
847090
|
// ../yaml/docs-validator/lib/createDocsConfigFileAstVisitorForRules.js
|
|
846588
|
-
|
|
847091
|
+
init_lib7();
|
|
846589
847092
|
function createDocsConfigFileAstVisitorForRules({ relativeFilepath, allRulesWithVisitors, severityOverrides, addViolations }) {
|
|
846590
847093
|
function createAstNodeVisitor(nodeType) {
|
|
846591
847094
|
const visit5 = async (node4, nodePath) => {
|
|
@@ -846618,7 +847121,7 @@ function createDocsConfigFileAstVisitorForRules({ relativeFilepath, allRulesWith
|
|
|
846618
847121
|
}
|
|
846619
847122
|
|
|
846620
847123
|
// ../yaml/docs-validator/lib/rules/no-non-component-refs/no-non-component-refs.js
|
|
846621
|
-
|
|
847124
|
+
init_lib7();
|
|
846622
847125
|
var import_promises75 = require("fs/promises");
|
|
846623
847126
|
var NoNonComponentRefsRule = {
|
|
846624
847127
|
name: "no-non-component-refs",
|
|
@@ -846674,7 +847177,7 @@ var NoNonComponentRefsRule = {
|
|
|
846674
847177
|
};
|
|
846675
847178
|
|
|
846676
847179
|
// ../yaml/docs-validator/lib/rules/no-openapi-v2-in-docs/no-openapi-v2-in-docs.js
|
|
846677
|
-
|
|
847180
|
+
init_lib7();
|
|
846678
847181
|
var import_promises76 = require("fs/promises");
|
|
846679
847182
|
var NoOpenApiV2InDocsRule = {
|
|
846680
847183
|
name: "no-openapi-v2-in-docs",
|
|
@@ -846813,7 +847316,7 @@ var ValidInstanceUrlRule = {
|
|
|
846813
847316
|
};
|
|
846814
847317
|
|
|
846815
847318
|
// ../yaml/docs-validator/lib/rules/valid-local-references/valid-local-references.js
|
|
846816
|
-
|
|
847319
|
+
init_lib7();
|
|
846817
847320
|
var import_promises77 = require("fs/promises");
|
|
846818
847321
|
init_js_yaml();
|
|
846819
847322
|
function validateReference(ref2, spec) {
|
|
@@ -846936,7 +847439,7 @@ var ValidLocalReferencesRule = {
|
|
|
846936
847439
|
};
|
|
846937
847440
|
|
|
846938
847441
|
// ../yaml/docs-validator/lib/rules/valid-openapi-examples/valid-openapi-examples.js
|
|
846939
|
-
|
|
847442
|
+
init_lib7();
|
|
846940
847443
|
var import_promises78 = require("fs/promises");
|
|
846941
847444
|
init_js_yaml();
|
|
846942
847445
|
var ValidOpenApiExamples = {
|
|
@@ -847318,7 +847821,7 @@ async function runRulesOnDocsWorkspace({ workspace, rules: selectedRules, contex
|
|
|
847318
847821
|
}
|
|
847319
847822
|
|
|
847320
847823
|
// ../cli-v2/lib/docs/adapter/LegacyDocsWorkspaceAdapter.js
|
|
847321
|
-
|
|
847824
|
+
init_lib7();
|
|
847322
847825
|
var LegacyDocsWorkspaceAdapter = class {
|
|
847323
847826
|
adapt({ docsConfig, absoluteFilePath }) {
|
|
847324
847827
|
const docsFilePath = docsConfig.absoluteFilePath ?? absoluteFilePath;
|
|
@@ -847686,7 +848189,7 @@ var MdxParseValidator = class {
|
|
|
847686
848189
|
navigation: parsedConfig.navigation
|
|
847687
848190
|
});
|
|
847688
848191
|
const filesToCheck = Array.from(new Set(allPages));
|
|
847689
|
-
const { parseMarkdownToTree: parseMarkdownToTree2 } = await Promise.resolve().then(() => (
|
|
848192
|
+
const { parseMarkdownToTree: parseMarkdownToTree2 } = await Promise.resolve().then(() => (init_lib40(), lib_exports10));
|
|
847690
848193
|
const errorOrNulls = await Promise.all(filesToCheck.map(async (filepath) => {
|
|
847691
848194
|
const content5 = await (0, import_promises79.readFile)(filepath, "utf-8");
|
|
847692
848195
|
try {
|
|
@@ -849033,12 +849536,12 @@ function addAiCommand(cli) {
|
|
|
849033
849536
|
}
|
|
849034
849537
|
|
|
849035
849538
|
// ../cli-v2/lib/migrator/Migrator.js
|
|
849036
|
-
|
|
849539
|
+
init_lib7();
|
|
849037
849540
|
var import_promises85 = require("fs/promises");
|
|
849038
849541
|
init_js_yaml();
|
|
849039
849542
|
|
|
849040
849543
|
// ../cli-v2/lib/migrator/converters/convertApiSpecs.js
|
|
849041
|
-
|
|
849544
|
+
init_lib7();
|
|
849042
849545
|
var import_promises81 = require("fs/promises");
|
|
849043
849546
|
|
|
849044
849547
|
// ../cli-v2/lib/migrator/converters/convertSettings.js
|
|
@@ -849992,7 +850495,7 @@ function convertRawReadme(readme) {
|
|
|
849992
850495
|
}
|
|
849993
850496
|
|
|
849994
850497
|
// ../cli-v2/lib/migrator/docs-yml/DocsYmlMigrator.js
|
|
849995
|
-
|
|
850498
|
+
init_lib7();
|
|
849996
850499
|
async function migrateDocsYml(fernDir) {
|
|
849997
850500
|
const filePath = join8(fernDir, RelativeFilePath2.of(DOCS_CONFIGURATION_FILENAME));
|
|
849998
850501
|
if (!await doesPathExist(filePath, "file")) {
|
|
@@ -850003,7 +850506,7 @@ async function migrateDocsYml(fernDir) {
|
|
|
850003
850506
|
|
|
850004
850507
|
// ../cli-v2/lib/migrator/fern-config-json/FernConfigJsonMigrator.js
|
|
850005
850508
|
init_lib4();
|
|
850006
|
-
|
|
850509
|
+
init_lib7();
|
|
850007
850510
|
var import_promises82 = require("fs/promises");
|
|
850008
850511
|
var FernConfigJsonMigrator = class {
|
|
850009
850512
|
cwd;
|
|
@@ -850075,7 +850578,7 @@ var FernConfigJsonMigrator = class {
|
|
|
850075
850578
|
|
|
850076
850579
|
// ../cli-v2/lib/migrator/generators-yml/GeneratorsYmlMigrator.js
|
|
850077
850580
|
init_lib4();
|
|
850078
|
-
|
|
850581
|
+
init_lib7();
|
|
850079
850582
|
var import_promises83 = require("fs/promises");
|
|
850080
850583
|
init_js_yaml();
|
|
850081
850584
|
var GeneratorsYmlMigrator = class {
|
|
@@ -850253,7 +850756,7 @@ var GeneratorsYmlMigrator = class {
|
|
|
850253
850756
|
};
|
|
850254
850757
|
|
|
850255
850758
|
// ../cli-v2/lib/migrator/github-workflows/GithubWorkflowMigrator.js
|
|
850256
|
-
|
|
850759
|
+
init_lib7();
|
|
850257
850760
|
var import_promises84 = require("fs/promises");
|
|
850258
850761
|
var WORKFLOWS_DIR = ".github/workflows";
|
|
850259
850762
|
async function migrateGithubWorkflows(cwd2) {
|
|
@@ -850728,6 +851231,9 @@ function addCheckCommand3(cli) {
|
|
|
850728
851231
|
}));
|
|
850729
851232
|
}
|
|
850730
851233
|
|
|
851234
|
+
// ../cli-v2/lib/commands/docs/dev/command.js
|
|
851235
|
+
init_lib5();
|
|
851236
|
+
|
|
850731
851237
|
// ../../../node_modules/.pnpm/get-port@7.2.0/node_modules/get-port/index.js
|
|
850732
851238
|
var import_node_net = __toESM(require("net"), 1);
|
|
850733
851239
|
var import_node_os3 = __toESM(require("os"), 1);
|
|
@@ -850894,8 +851400,8 @@ function buildPreviewDomain({ orgId, previewId }) {
|
|
|
850894
851400
|
// ../docs-preview/lib/runAppPreviewServer.js
|
|
850895
851401
|
init_lib4();
|
|
850896
851402
|
init_js();
|
|
850897
|
-
|
|
850898
|
-
|
|
851403
|
+
init_lib7();
|
|
851404
|
+
init_lib11();
|
|
850899
851405
|
var import_child_process7 = require("child_process");
|
|
850900
851406
|
var import_cors = __toESM(require_lib14(), 1);
|
|
850901
851407
|
var import_express3 = __toESM(require_express3(), 1);
|
|
@@ -852572,7 +853078,7 @@ var watcher_default = Watcher;
|
|
|
852572
853078
|
init_wrapper();
|
|
852573
853079
|
|
|
852574
853080
|
// ../docs-preview/lib/DebugLogger.js
|
|
852575
|
-
|
|
853081
|
+
init_lib7();
|
|
852576
853082
|
var import_promises86 = require("fs/promises");
|
|
852577
853083
|
var import_os9 = require("os");
|
|
852578
853084
|
var import_path62 = __toESM(require("path"), 1);
|
|
@@ -852580,7 +853086,7 @@ var LOCAL_STORAGE_FOLDER4 = ".fern-dev";
|
|
|
852580
853086
|
var LOGS_FOLDER_NAME = "logs";
|
|
852581
853087
|
var MAX_LOGS_DIR_SIZE_BYTES = 100 * 1024 * 1024;
|
|
852582
853088
|
function getCliSource() {
|
|
852583
|
-
const version7 = "5.22.
|
|
853089
|
+
const version7 = "5.22.1-1-g08a6ca02787";
|
|
852584
853090
|
return `cli@${version7}`;
|
|
852585
853091
|
}
|
|
852586
853092
|
var DebugLogger = class {
|
|
@@ -852915,8 +853421,8 @@ function getBun() {
|
|
|
852915
853421
|
}
|
|
852916
853422
|
|
|
852917
853423
|
// ../docs-preview/lib/downloadLocalDocsBundle.js
|
|
852918
|
-
|
|
852919
|
-
|
|
853424
|
+
init_lib7();
|
|
853425
|
+
init_lib11();
|
|
852920
853426
|
var import_child_process6 = require("child_process");
|
|
852921
853427
|
var import_cli_progress = __toESM(require_cli_progress(), 1);
|
|
852922
853428
|
var import_decompress = __toESM(require_decompress(), 1);
|
|
@@ -853279,6 +853785,10 @@ async function downloadBundle({ bucketUrl, logger: logger4, preferCached, app =
|
|
|
853279
853785
|
code: CliError.Code.EnvironmentError
|
|
853280
853786
|
});
|
|
853281
853787
|
}
|
|
853788
|
+
const workspaceConfigPath = import_path63.default.join(absolutePathToBundleFolder, "pnpm-workspace.yaml");
|
|
853789
|
+
if (!(0, import_fs27.existsSync)(workspaceConfigPath)) {
|
|
853790
|
+
await (0, import_promises87.writeFile)(workspaceConfigPath, "onlyBuiltDependencies:\n - esbuild\n");
|
|
853791
|
+
}
|
|
853282
853792
|
try {
|
|
853283
853793
|
logger4.debug("Installing esbuild");
|
|
853284
853794
|
await loggingExeca(logger4, "pnpm", ["i", "esbuild"], {
|
|
@@ -853517,9 +854027,9 @@ function writeNodePolyfillScript(dir) {
|
|
|
853517
854027
|
|
|
853518
854028
|
// ../docs-preview/lib/previewDocs.js
|
|
853519
854029
|
init_lib4();
|
|
853520
|
-
|
|
854030
|
+
init_lib40();
|
|
853521
854031
|
init_js();
|
|
853522
|
-
|
|
854032
|
+
init_lib7();
|
|
853523
854033
|
var import_promises88 = require("fs/promises");
|
|
853524
854034
|
var import_gray_matter9 = __toESM(require_gray_matter(), 1);
|
|
853525
854035
|
var frontmatterPositionCache = /* @__PURE__ */ new Map();
|
|
@@ -854821,7 +855331,7 @@ ${err.stack}`);
|
|
|
854821
855331
|
|
|
854822
855332
|
// ../docs-preview/lib/runPreviewServer.js
|
|
854823
855333
|
init_js();
|
|
854824
|
-
|
|
855334
|
+
init_lib7();
|
|
854825
855335
|
var import_cors2 = __toESM(require_lib14(), 1);
|
|
854826
855336
|
var import_express4 = __toESM(require_express3(), 1);
|
|
854827
855337
|
var import_promises90 = require("fs/promises");
|
|
@@ -855595,6 +856105,7 @@ function extractPublishTarget(packages) {
|
|
|
855595
856105
|
|
|
855596
856106
|
// ../workspace/api-workspace-validator/lib/logViolations.js
|
|
855597
856107
|
init_lib4();
|
|
856108
|
+
init_lib5();
|
|
855598
856109
|
init_lodash();
|
|
855599
856110
|
function logViolations({ context: context3, violations, logWarnings, logSummary = true, logBreadcrumbs = true, elapsedMillis = 0 }) {
|
|
855600
856111
|
const deduplicatedViolations = [];
|
|
@@ -855751,7 +856262,7 @@ function getViolationStats(violations) {
|
|
|
855751
856262
|
}
|
|
855752
856263
|
|
|
855753
856264
|
// ../yaml/generators-validator/lib/validateGeneratorsWorkspace.js
|
|
855754
|
-
|
|
856265
|
+
init_lib7();
|
|
855755
856266
|
|
|
855756
856267
|
// ../yaml/generators-validator/lib/ast/visitGeneratorsYamlAst.js
|
|
855757
856268
|
init_lib4();
|
|
@@ -856138,13 +856649,13 @@ function parseIssue(issue2) {
|
|
|
856138
856649
|
}
|
|
856139
856650
|
|
|
856140
856651
|
// ../workspace/loader/lib/loadAPIWorkspace.js
|
|
856141
|
-
|
|
856652
|
+
init_lib7();
|
|
856142
856653
|
|
|
856143
856654
|
// ../workspace/loader/lib/loadAPIChangelog.js
|
|
856144
|
-
|
|
856655
|
+
init_lib7();
|
|
856145
856656
|
|
|
856146
856657
|
// ../workspace/loader/lib/listFernFiles.js
|
|
856147
|
-
|
|
856658
|
+
init_lib7();
|
|
856148
856659
|
var import_promises92 = require("fs/promises");
|
|
856149
856660
|
async function listFernFiles2(root6, extensionGlob) {
|
|
856150
856661
|
const files = [];
|
|
@@ -856466,7 +856977,7 @@ async function loadAPIWorkspace({ absolutePathToWorkspace, context: context3, cl
|
|
|
856466
856977
|
|
|
856467
856978
|
// ../workspace/loader/lib/loadDocsWorkspace.js
|
|
856468
856979
|
init_lib4();
|
|
856469
|
-
|
|
856980
|
+
init_lib7();
|
|
856470
856981
|
var import_promises93 = require("fs/promises");
|
|
856471
856982
|
init_js_yaml();
|
|
856472
856983
|
|
|
@@ -862656,7 +863167,7 @@ ${result.error?.message ?? "Unknown error"}`,
|
|
|
862656
863167
|
}
|
|
862657
863168
|
|
|
862658
863169
|
// ../generation/remote-generation/remote-workspace-runner/lib/downloadSnippetsForTask.js
|
|
862659
|
-
|
|
863170
|
+
init_lib7();
|
|
862660
863171
|
var import_fs30 = require("fs");
|
|
862661
863172
|
var import_promises94 = require("fs/promises");
|
|
862662
863173
|
var import_promises95 = require("stream/promises");
|
|
@@ -862683,7 +863194,7 @@ async function downloadFileForTask({ s3PreSignedReadUrl, absolutePathToLocalOutp
|
|
|
862683
863194
|
}
|
|
862684
863195
|
|
|
862685
863196
|
// ../generation/remote-generation/remote-workspace-runner/lib/resolveAutoDiscoveredFernignorePath.js
|
|
862686
|
-
|
|
863197
|
+
init_lib7();
|
|
862687
863198
|
async function resolveAutoDiscoveredFernignorePath({ generatorInvocation, context: context3 }) {
|
|
862688
863199
|
if (generatorInvocation.absolutePathToLocalOutput == null) {
|
|
862689
863200
|
return void 0;
|
|
@@ -862702,7 +863213,7 @@ init_js();
|
|
|
862702
863213
|
var import_autoversion = __toESM(require_autoversion(), 1);
|
|
862703
863214
|
|
|
862704
863215
|
// ../generation/remote-generation/remote-workspace-runner/lib/createAndStartJob.js
|
|
862705
|
-
|
|
863216
|
+
init_lib7();
|
|
862706
863217
|
var import_form_data4 = __toESM(require_form_data(), 1);
|
|
862707
863218
|
var import_promises96 = require("fs/promises");
|
|
862708
863219
|
init_js_yaml();
|
|
@@ -863049,13 +863560,14 @@ function pollJobAndReportStatus({ job, taskId, taskHandler, context: context3 })
|
|
|
863049
863560
|
|
|
863050
863561
|
// ../generation/remote-generation/remote-workspace-runner/lib/RemoteTaskHandler.js
|
|
863051
863562
|
init_lib4();
|
|
863052
|
-
|
|
863563
|
+
init_lib7();
|
|
863053
863564
|
var import_pipeline = __toESM(require_pipeline2(), 1);
|
|
863054
|
-
|
|
863565
|
+
init_lib5();
|
|
863566
|
+
init_lib11();
|
|
863055
863567
|
var import_fs31 = require("fs");
|
|
863056
|
-
var
|
|
863568
|
+
var import_promises98 = require("fs/promises");
|
|
863057
863569
|
var import_path67 = __toESM(require("path"), 1);
|
|
863058
|
-
var
|
|
863570
|
+
var import_promises99 = require("stream/promises");
|
|
863059
863571
|
|
|
863060
863572
|
// ../../../node_modules/.pnpm/terminal-link@3.0.0/node_modules/terminal-link/index.js
|
|
863061
863573
|
var import_supports_hyperlinks = __toESM(require_supports_hyperlinks(), 1);
|
|
@@ -863073,7 +863585,7 @@ terminalLink.stderr = (text9, url3, options2 = {}) => terminalLink(text9, url3,
|
|
|
863073
863585
|
terminalLink.stderr.isSupported = import_supports_hyperlinks.default.stderr;
|
|
863074
863586
|
|
|
863075
863587
|
// ../generation/remote-generation/remote-workspace-runner/lib/RemoteTaskHandler.js
|
|
863076
|
-
var
|
|
863588
|
+
var import_tmp_promise11 = __toESM(require_tmp_promise(), 1);
|
|
863077
863589
|
var import_yauzl = __toESM(require_yauzl(), 1);
|
|
863078
863590
|
var FIDDLE_PIPELINE_RESULT_LOG_REGEX = /^Pipeline: raw result \(\d+ bytes\): (\{.*\})$/;
|
|
863079
863591
|
var RemoteTaskHandler = class {
|
|
@@ -863366,11 +863878,11 @@ async function downloadZipForTask({ s3PreSignedReadUrl, absolutePathToLocalOutpu
|
|
|
863366
863878
|
const request7 = await axios_default.get(s3PreSignedReadUrl, {
|
|
863367
863879
|
responseType: "stream"
|
|
863368
863880
|
});
|
|
863369
|
-
const tmpDir = await
|
|
863881
|
+
const tmpDir = await import_tmp_promise11.default.dir({ prefix: "fern", unsafeCleanup: true });
|
|
863370
863882
|
const outputZipPath = import_path67.default.join(tmpDir.path, "output.zip");
|
|
863371
|
-
await (0,
|
|
863883
|
+
await (0, import_promises99.pipeline)(request7.data, (0, import_fs31.createWriteStream)(outputZipPath));
|
|
863372
863884
|
await forceRemoveDirectory(absolutePathToLocalOutput);
|
|
863373
|
-
await (0,
|
|
863885
|
+
await (0, import_promises98.mkdir)(absolutePathToLocalOutput, { recursive: true });
|
|
863374
863886
|
await extractZipToDirectory(outputZipPath, absolutePathToLocalOutput);
|
|
863375
863887
|
}
|
|
863376
863888
|
async function forceRemoveDirectory(dirPath) {
|
|
@@ -863378,22 +863890,22 @@ async function forceRemoveDirectory(dirPath) {
|
|
|
863378
863890
|
return;
|
|
863379
863891
|
}
|
|
863380
863892
|
await makeWritableRecursive(dirPath);
|
|
863381
|
-
await (0,
|
|
863893
|
+
await (0, import_promises98.rm)(dirPath, { recursive: true, force: true });
|
|
863382
863894
|
}
|
|
863383
863895
|
async function makeWritableRecursive(dirPath) {
|
|
863384
863896
|
try {
|
|
863385
|
-
const entries24 = await (0,
|
|
863897
|
+
const entries24 = await (0, import_promises98.readdir)(dirPath, { withFileTypes: true });
|
|
863386
863898
|
for (const entry of entries24) {
|
|
863387
863899
|
const fullPath = AbsoluteFilePath2.of(import_path67.default.join(dirPath, entry.name));
|
|
863388
863900
|
if (entry.isDirectory()) {
|
|
863389
863901
|
await makeWritableRecursive(fullPath);
|
|
863390
863902
|
}
|
|
863391
863903
|
try {
|
|
863392
|
-
await (0,
|
|
863904
|
+
await (0, import_promises98.chmod)(fullPath, 493);
|
|
863393
863905
|
} catch {
|
|
863394
863906
|
}
|
|
863395
863907
|
}
|
|
863396
|
-
await (0,
|
|
863908
|
+
await (0, import_promises98.chmod)(dirPath, 493);
|
|
863397
863909
|
} catch {
|
|
863398
863910
|
}
|
|
863399
863911
|
}
|
|
@@ -863436,10 +863948,10 @@ async function downloadFilesWithFernIgnoreInExistingRepo({ s3PreSignedReadUrl, a
|
|
|
863436
863948
|
await runGitCommand(["restore", "."], absolutePathToLocalOutput, context3);
|
|
863437
863949
|
}
|
|
863438
863950
|
async function downloadFilesWithFernIgnoreInTempRepo({ s3PreSignedReadUrl, absolutePathToLocalOutput, context: context3 }) {
|
|
863439
|
-
const tmpOutputResolutionDir = AbsoluteFilePath2.of((await
|
|
863951
|
+
const tmpOutputResolutionDir = AbsoluteFilePath2.of((await import_tmp_promise11.default.dir({})).path);
|
|
863440
863952
|
const absolutePathToFernignore = join8(absolutePathToLocalOutput, RelativeFilePath2.of(FERNIGNORE_FILENAME));
|
|
863441
863953
|
const fernIgnorePaths = await getFernIgnorePaths({ absolutePathToFernignore });
|
|
863442
|
-
await (0,
|
|
863954
|
+
await (0, import_promises98.cp)(absolutePathToLocalOutput, tmpOutputResolutionDir, { recursive: true });
|
|
863443
863955
|
await runGitCommand(["init"], tmpOutputResolutionDir, context3);
|
|
863444
863956
|
await runGitCommand(["add", "."], tmpOutputResolutionDir, context3);
|
|
863445
863957
|
await runGitCommand([
|
|
@@ -863462,15 +863974,15 @@ async function downloadFilesWithFernIgnoreInTempRepo({ s3PreSignedReadUrl, absol
|
|
|
863462
863974
|
await runGitCommand(["restore", "."], tmpOutputResolutionDir, context3);
|
|
863463
863975
|
await forceRemoveDirectory(join8(tmpOutputResolutionDir, RelativeFilePath2.of(".git")));
|
|
863464
863976
|
await forceRemoveDirectory(absolutePathToLocalOutput);
|
|
863465
|
-
await (0,
|
|
863977
|
+
await (0, import_promises98.cp)(tmpOutputResolutionDir, absolutePathToLocalOutput, { recursive: true });
|
|
863466
863978
|
}
|
|
863467
863979
|
async function downloadAndExtractZipToDirectory({ s3PreSignedReadUrl, outputPath }) {
|
|
863468
863980
|
const request7 = await axios_default.get(s3PreSignedReadUrl, {
|
|
863469
863981
|
responseType: "stream"
|
|
863470
863982
|
});
|
|
863471
|
-
const tmpDir = await
|
|
863983
|
+
const tmpDir = await import_tmp_promise11.default.dir({ prefix: "fern", unsafeCleanup: true });
|
|
863472
863984
|
const outputZipPath = import_path67.default.join(tmpDir.path, "output.zip");
|
|
863473
|
-
await (0,
|
|
863985
|
+
await (0, import_promises99.pipeline)(request7.data, (0, import_fs31.createWriteStream)(outputZipPath));
|
|
863474
863986
|
await extractZipToDirectory(outputZipPath, outputPath);
|
|
863475
863987
|
}
|
|
863476
863988
|
async function extractZipToDirectory(zipPath, outputDir) {
|
|
@@ -863485,10 +863997,10 @@ async function extractZipToDirectory(zipPath, outputDir) {
|
|
|
863485
863997
|
zipFile.on("entry", (entry) => {
|
|
863486
863998
|
const outputPath = import_path67.default.join(outputDir, entry.fileName);
|
|
863487
863999
|
if (entry.fileName.endsWith("/")) {
|
|
863488
|
-
(0,
|
|
864000
|
+
(0, import_promises98.mkdir)(outputPath, { recursive: true }).then(() => zipFile.readEntry()).catch(reject);
|
|
863489
864001
|
return;
|
|
863490
864002
|
}
|
|
863491
|
-
(0,
|
|
864003
|
+
(0, import_promises98.mkdir)(import_path67.default.dirname(outputPath), { recursive: true }).then(() => {
|
|
863492
864004
|
zipFile.openReadStream(entry, (streamErr, readStream2) => {
|
|
863493
864005
|
if (streamErr || !readStream2) {
|
|
863494
864006
|
reject(streamErr ?? new Error("Failed to open read stream"));
|
|
@@ -863504,10 +864016,10 @@ async function extractZipToDirectory(zipPath, outputDir) {
|
|
|
863504
864016
|
}
|
|
863505
864017
|
|
|
863506
864018
|
// ../generation/remote-generation/remote-workspace-runner/lib/SourceUploader.js
|
|
863507
|
-
|
|
863508
|
-
|
|
863509
|
-
var
|
|
863510
|
-
var
|
|
864019
|
+
init_lib7();
|
|
864020
|
+
init_lib11();
|
|
864021
|
+
var import_promises100 = require("fs/promises");
|
|
864022
|
+
var import_tmp_promise12 = __toESM(require_tmp_promise(), 1);
|
|
863511
864023
|
var PROTOBUF_ZIP_FILENAME = "proto.zip";
|
|
863512
864024
|
var SourceUploader = class {
|
|
863513
864025
|
sourceTypes;
|
|
@@ -863527,7 +864039,7 @@ var SourceUploader = class {
|
|
|
863527
864039
|
}
|
|
863528
864040
|
async uploadSource(source2, uploadURL) {
|
|
863529
864041
|
const uploadCommand = await this.getUploadCommand(source2);
|
|
863530
|
-
const fileData = await (0,
|
|
864042
|
+
const fileData = await (0, import_promises100.readFile)(uploadCommand.absoluteFilePath);
|
|
863531
864043
|
const response = await fetch(uploadURL, {
|
|
863532
864044
|
method: "PUT",
|
|
863533
864045
|
body: fileData,
|
|
@@ -863547,7 +864059,7 @@ var SourceUploader = class {
|
|
|
863547
864059
|
absoluteFilePath,
|
|
863548
864060
|
cleanup: async () => {
|
|
863549
864061
|
this.context.logger.debug(`Removing ${absoluteFilePath}`);
|
|
863550
|
-
await (0,
|
|
864062
|
+
await (0, import_promises100.unlink)(absoluteFilePath);
|
|
863551
864063
|
}
|
|
863552
864064
|
};
|
|
863553
864065
|
}
|
|
@@ -863558,7 +864070,7 @@ var SourceUploader = class {
|
|
|
863558
864070
|
};
|
|
863559
864071
|
}
|
|
863560
864072
|
async zipSource(absolutePathToSource) {
|
|
863561
|
-
const tmpDir = await
|
|
864073
|
+
const tmpDir = await import_tmp_promise12.default.dir();
|
|
863562
864074
|
const destination = join8(AbsoluteFilePath2.of(tmpDir.path), RelativeFilePath2.of(PROTOBUF_ZIP_FILENAME));
|
|
863563
864075
|
this.context.logger.debug(`Zipping source ${absolutePathToSource} into ${destination}`);
|
|
863564
864076
|
await loggingExeca(this.context.logger, "zip", ["-r", destination, "."], {
|
|
@@ -864141,9 +864653,9 @@ init_lib4();
|
|
|
864141
864653
|
// ../generation/remote-generation/remote-workspace-runner/lib/publishDocs.js
|
|
864142
864654
|
init_lib4();
|
|
864143
864655
|
init_js();
|
|
864144
|
-
|
|
864656
|
+
init_lib7();
|
|
864145
864657
|
var import_crypto8 = require("crypto");
|
|
864146
|
-
var
|
|
864658
|
+
var import_promises101 = require("fs/promises");
|
|
864147
864659
|
init_lodash();
|
|
864148
864660
|
var mime2 = __toESM(require_mime_types(), 1);
|
|
864149
864661
|
|
|
@@ -864222,7 +864734,7 @@ async function unlockDeploy({ fdrOrigin, token, domain: domain3, basepath }) {
|
|
|
864222
864734
|
}
|
|
864223
864735
|
}
|
|
864224
864736
|
async function calculateFileHash(absoluteFilePath) {
|
|
864225
|
-
const fileBuffer = await (0,
|
|
864737
|
+
const fileBuffer = await (0, import_promises101.readFile)(absoluteFilePath);
|
|
864226
864738
|
return (0, import_crypto8.createHash)("sha256").update(new Uint8Array(fileBuffer)).digest("hex");
|
|
864227
864739
|
}
|
|
864228
864740
|
function sanitizeRelativePathForS3(relativeFilePath) {
|
|
@@ -864558,13 +865070,13 @@ ${JSON.stringify(errorDetails, void 0, 2)}`);
|
|
|
864558
865070
|
};
|
|
864559
865071
|
const localeAwareMarkdownLoader = async (filepath) => {
|
|
864560
865072
|
const pathToRead = await resolveLocalePath(filepath);
|
|
864561
|
-
const raw = await (0,
|
|
865073
|
+
const raw = await (0, import_promises101.readFile)(pathToRead, "utf-8");
|
|
864562
865074
|
const fmMatch = raw.match(/^---\r?\n[\s\S]*?\r?\n---\r?\n?/);
|
|
864563
865075
|
return fmMatch != null ? raw.slice(fmMatch[0].length) : raw;
|
|
864564
865076
|
};
|
|
864565
865077
|
const localeAwareFileLoader = async (filepath) => {
|
|
864566
865078
|
const pathToRead = await resolveLocalePath(filepath);
|
|
864567
|
-
return (0,
|
|
865079
|
+
return (0, import_promises101.readFile)(pathToRead, "utf-8");
|
|
864568
865080
|
};
|
|
864569
865081
|
const translatedPageEntries = await Promise.all(Object.entries(localePages).map(async ([path107, rawMarkdown]) => {
|
|
864570
865082
|
try {
|
|
@@ -864731,7 +865243,7 @@ async function uploadFiles(filesToUpload, docsWorkspacePath, context3, batchSize
|
|
|
864731
865243
|
try {
|
|
864732
865244
|
const uploadUrl = extractUploadUrl(urlValue);
|
|
864733
865245
|
const mimeType = mime2.lookup(absoluteFilePath);
|
|
864734
|
-
await axios_default.put(uploadUrl, await (0,
|
|
865246
|
+
await axios_default.put(uploadUrl, await (0, import_promises101.readFile)(absoluteFilePath), {
|
|
864735
865247
|
headers: {
|
|
864736
865248
|
"Content-Type": mimeType === false ? "application/octet-stream" : mimeType,
|
|
864737
865249
|
// Set max cache control for S3 uploads
|
|
@@ -865389,7 +865901,7 @@ var LegacyDocsPublisher = class {
|
|
|
865389
865901
|
previewId,
|
|
865390
865902
|
disableTemplates: void 0,
|
|
865391
865903
|
skipUpload,
|
|
865392
|
-
cliVersion: "5.22.
|
|
865904
|
+
cliVersion: "5.22.1-1-g08a6ca02787",
|
|
865393
865905
|
loginCommand: "fern auth login"
|
|
865394
865906
|
});
|
|
865395
865907
|
if (taskContext.getResult() === TaskResult.Failure) {
|
|
@@ -866359,8 +866871,8 @@ function addDocsCommand(cli) {
|
|
|
866359
866871
|
|
|
866360
866872
|
// ../cli-v2/lib/commands/init/command.js
|
|
866361
866873
|
init_lib4();
|
|
866362
|
-
|
|
866363
|
-
var
|
|
866874
|
+
init_lib7();
|
|
866875
|
+
var import_promises102 = require("fs/promises");
|
|
866364
866876
|
var import_path69 = __toESM(require("path"), 1);
|
|
866365
866877
|
|
|
866366
866878
|
// ../cli-v2/lib/config/fern-yml/FernYmlBuilder.js
|
|
@@ -866557,7 +867069,8 @@ components:
|
|
|
866557
867069
|
|
|
866558
867070
|
// ../cli-v2/lib/init/Wizard.js
|
|
866559
867071
|
init_lib4();
|
|
866560
|
-
|
|
867072
|
+
init_lib7();
|
|
867073
|
+
init_lib5();
|
|
866561
867074
|
var import_child_process8 = require("child_process");
|
|
866562
867075
|
var import_path68 = __toESM(require("path"), 1);
|
|
866563
867076
|
|
|
@@ -867239,7 +867752,7 @@ var InitCommand = class {
|
|
|
867239
867752
|
apiPath,
|
|
867240
867753
|
defaultGroup: result.defaultGroup
|
|
867241
867754
|
});
|
|
867242
|
-
await (0,
|
|
867755
|
+
await (0, import_promises102.writeFile)(fernYmlPath, fernYmlContent, "utf-8");
|
|
867243
867756
|
context3.stderr.info(`
|
|
867244
867757
|
${Icons.success} Created ${FERN_YML_FILENAME}`);
|
|
867245
867758
|
}
|
|
@@ -867261,9 +867774,9 @@ var InitCommand = class {
|
|
|
867261
867774
|
}
|
|
867262
867775
|
async writeSpecFile(cwd2, filename, content5) {
|
|
867263
867776
|
const specsDir = join8(cwd2, RelativeFilePath2.of(SPECS_DIR));
|
|
867264
|
-
await (0,
|
|
867777
|
+
await (0, import_promises102.mkdir)(specsDir, { recursive: true });
|
|
867265
867778
|
const filePath = join8(specsDir, RelativeFilePath2.of(filename));
|
|
867266
|
-
await (0,
|
|
867779
|
+
await (0, import_promises102.writeFile)(filePath, content5, "utf-8");
|
|
867267
867780
|
}
|
|
867268
867781
|
resolveApiPath(apiSource) {
|
|
867269
867782
|
switch (apiSource.type) {
|
|
@@ -868708,13 +869221,13 @@ function addCheckCommand4(cli) {
|
|
|
868708
869221
|
|
|
868709
869222
|
// ../cli-v2/lib/commands/sdk/generate/command.js
|
|
868710
869223
|
init_lib4();
|
|
868711
|
-
|
|
869224
|
+
init_lib7();
|
|
868712
869225
|
var import_promises118 = require("fs/promises");
|
|
868713
869226
|
init_js_yaml();
|
|
868714
869227
|
|
|
868715
869228
|
// ../cli-v2/lib/api/resolver/ApiSpecResolver.js
|
|
868716
|
-
|
|
868717
|
-
var
|
|
869229
|
+
init_lib7();
|
|
869230
|
+
var import_promises103 = require("fs/promises");
|
|
868718
869231
|
var import_os11 = require("os");
|
|
868719
869232
|
var import_path73 = __toESM(require("path"), 1);
|
|
868720
869233
|
|
|
@@ -868790,9 +869303,9 @@ var ApiSpecResolver = class {
|
|
|
868790
869303
|
});
|
|
868791
869304
|
}
|
|
868792
869305
|
const extension4 = this.inferExtensionFromContent(content5);
|
|
868793
|
-
const tempDir2 = await (0,
|
|
869306
|
+
const tempDir2 = await (0, import_promises103.mkdtemp)(import_path73.default.join((0, import_os11.tmpdir)(), "fern-"));
|
|
868794
869307
|
const absoluteFilePath = AbsoluteFilePath2.of(import_path73.default.join(tempDir2, `spec${extension4}`));
|
|
868795
|
-
await (0,
|
|
869308
|
+
await (0, import_promises103.writeFile)(absoluteFilePath, content5, "utf-8");
|
|
868796
869309
|
const specType = await this.detector.detect({ absoluteFilePath, content: content5, reference: "stdin" });
|
|
868797
869310
|
return {
|
|
868798
869311
|
absoluteFilePath,
|
|
@@ -868808,9 +869321,9 @@ var ApiSpecResolver = class {
|
|
|
868808
869321
|
async resolveUrl({ reference: reference4 }) {
|
|
868809
869322
|
const { content: content5, contentType } = await this.fetchContent({ url: reference4 });
|
|
868810
869323
|
const extension4 = this.inferExtension({ url: reference4, contentType });
|
|
868811
|
-
const tempDir2 = await (0,
|
|
869324
|
+
const tempDir2 = await (0, import_promises103.mkdtemp)(import_path73.default.join((0, import_os11.tmpdir)(), "fern-"));
|
|
868812
869325
|
const absoluteFilePath = AbsoluteFilePath2.of(import_path73.default.join(tempDir2, `spec${extension4}`));
|
|
868813
|
-
await (0,
|
|
869326
|
+
await (0, import_promises103.writeFile)(absoluteFilePath, content5, "utf-8");
|
|
868814
869327
|
const specType = await this.detector.detect({ absoluteFilePath, content: content5, reference: reference4 });
|
|
868815
869328
|
return {
|
|
868816
869329
|
absoluteFilePath,
|
|
@@ -868826,7 +869339,7 @@ var ApiSpecResolver = class {
|
|
|
868826
869339
|
code: CliError.Code.ConfigError
|
|
868827
869340
|
});
|
|
868828
869341
|
}
|
|
868829
|
-
const content5 = await (0,
|
|
869342
|
+
const content5 = await (0, import_promises103.readFile)(absoluteFilePath, "utf-8");
|
|
868830
869343
|
const specType = await this.detector.detect({ absoluteFilePath, content: content5, reference: reference4 });
|
|
868831
869344
|
return {
|
|
868832
869345
|
absoluteFilePath,
|
|
@@ -868893,82 +869406,10 @@ init_lib4();
|
|
|
868893
869406
|
|
|
868894
869407
|
// ../cli-v2/lib/sdk/generator/LegacyLocalGenerationRunner.js
|
|
868895
869408
|
init_lib4();
|
|
868896
|
-
|
|
869409
|
+
init_lib7();
|
|
868897
869410
|
|
|
868898
|
-
// ../generation/local-generation/
|
|
868899
|
-
|
|
868900
|
-
var import_promises103 = require("fs/promises");
|
|
868901
|
-
var import_tmp_promise12 = __toESM(require_tmp_promise(), 1);
|
|
868902
|
-
async function runContainer({ logger: logger4, imageName, args = [], binds = [], envVars = {}, ports = {}, writeLogsToFile = true, removeAfterCompletion = false, runner, signal }) {
|
|
868903
|
-
const tryRun = () => tryRunContainer({
|
|
868904
|
-
logger: logger4,
|
|
868905
|
-
imageName,
|
|
868906
|
-
args,
|
|
868907
|
-
binds,
|
|
868908
|
-
envVars,
|
|
868909
|
-
ports,
|
|
868910
|
-
removeAfterCompletion,
|
|
868911
|
-
writeLogsToFile,
|
|
868912
|
-
runner,
|
|
868913
|
-
signal
|
|
868914
|
-
});
|
|
868915
|
-
try {
|
|
868916
|
-
await tryRun();
|
|
868917
|
-
} catch (e8) {
|
|
868918
|
-
if (e8 instanceof Error && e8.message.includes("No such image")) {
|
|
868919
|
-
await pullImage(imageName, runner, signal);
|
|
868920
|
-
await tryRun();
|
|
868921
|
-
} else {
|
|
868922
|
-
throw e8;
|
|
868923
|
-
}
|
|
868924
|
-
}
|
|
868925
|
-
}
|
|
868926
|
-
async function tryRunContainer({ logger: logger4, imageName, args, binds, envVars = {}, ports = {}, removeAfterCompletion, writeLogsToFile, runner, signal }) {
|
|
868927
|
-
if (process.env["FERN_STACK_TRACK"]) {
|
|
868928
|
-
envVars["FERN_STACK_TRACK"] = process.env["FERN_STACK_TRACK"];
|
|
868929
|
-
}
|
|
868930
|
-
const containerArgs = [
|
|
868931
|
-
"run",
|
|
868932
|
-
"--user",
|
|
868933
|
-
"root",
|
|
868934
|
-
...binds.flatMap((bind5) => ["-v", bind5]),
|
|
868935
|
-
...Object.entries(envVars).flatMap(([key2, value2]) => ["-e", `${key2}="${value2}"`]),
|
|
868936
|
-
...Object.entries(ports).flatMap(([hostPort, containerPort]) => ["-p", `${hostPort}:${containerPort}`]),
|
|
868937
|
-
removeAfterCompletion ? "--rm" : "",
|
|
868938
|
-
imageName,
|
|
868939
|
-
...args
|
|
868940
|
-
].filter(Boolean);
|
|
868941
|
-
const containerRunner = runner ?? "docker";
|
|
868942
|
-
const { stdout, stderr, exitCode } = await loggingExeca(logger4, containerRunner, containerArgs, {
|
|
868943
|
-
reject: false,
|
|
868944
|
-
all: true,
|
|
868945
|
-
doNotPipeOutput: true,
|
|
868946
|
-
signal
|
|
868947
|
-
});
|
|
868948
|
-
const logs4 = stdout + stderr;
|
|
868949
|
-
if (writeLogsToFile) {
|
|
868950
|
-
const tmpFile = await import_tmp_promise12.default.file();
|
|
868951
|
-
await (0, import_promises103.writeFile)(tmpFile.path, logs4);
|
|
868952
|
-
logger4.info(`Generator logs here: ${tmpFile.path}`);
|
|
868953
|
-
}
|
|
868954
|
-
if (exitCode == null) {
|
|
868955
|
-
throw new Error(`Container runtime '${containerRunner}' is not installed or not found on PATH.
|
|
868956
|
-
${containerRunner === "podman" ? "Seed tests default to Podman. " : ""}Install ${containerRunner}: ${containerRunner === "podman" ? "https://podman.io/docs/installation" : "https://docs.docker.com/get-docker/"}
|
|
868957
|
-
Error details: ${stderr || stdout || "No output"}`);
|
|
868958
|
-
}
|
|
868959
|
-
if (exitCode !== 0) {
|
|
868960
|
-
throw new Error(`Container exited with code ${exitCode}.
|
|
868961
|
-
${stdout}
|
|
868962
|
-
${stderr}`);
|
|
868963
|
-
}
|
|
868964
|
-
}
|
|
868965
|
-
async function pullImage(imageName, runner, signal) {
|
|
868966
|
-
await loggingExeca(void 0, runner ?? "docker", ["pull", imageName], {
|
|
868967
|
-
all: true,
|
|
868968
|
-
doNotPipeOutput: true,
|
|
868969
|
-
signal
|
|
868970
|
-
});
|
|
868971
|
-
}
|
|
869411
|
+
// ../generation/local-generation/local-workspace-runner/lib/ContainerExecutionEnvironment.js
|
|
869412
|
+
init_lib42();
|
|
868972
869413
|
|
|
868973
869414
|
// ../generation/local-generation/local-workspace-runner/lib/constants.js
|
|
868974
869415
|
var import_path74 = __toESM(require("path"), 1);
|
|
@@ -869060,7 +869501,7 @@ var ContainerExecutionEnvironment = class {
|
|
|
869060
869501
|
};
|
|
869061
869502
|
|
|
869062
869503
|
// ../generation/local-generation/local-workspace-runner/lib/GenerationRunner.js
|
|
869063
|
-
|
|
869504
|
+
init_lib7();
|
|
869064
869505
|
|
|
869065
869506
|
// ../../../generators/browser-compatible-base/lib/utils/stacktrace.js
|
|
869066
869507
|
var key = process.env["FERN_STACK_TRACK"]?.toLowerCase() ?? "";
|
|
@@ -887551,7 +887992,7 @@ var DynamicSnippetsGenerator = class extends AbstractDynamicSnippetsGenerator {
|
|
|
887551
887992
|
};
|
|
887552
887993
|
|
|
887553
887994
|
// ../generation/local-generation/local-workspace-runner/lib/dynamic-snippets/csharp/DynamicSnippetsCsharpTestGenerator.js
|
|
887554
|
-
|
|
887995
|
+
init_lib7();
|
|
887555
887996
|
var import_promises104 = require("fs/promises");
|
|
887556
887997
|
var import_path75 = __toESM(require("path"), 1);
|
|
887557
887998
|
|
|
@@ -887704,13 +888145,13 @@ var DynamicSnippetsCsharpTestGenerator = class {
|
|
|
887704
888145
|
};
|
|
887705
888146
|
|
|
887706
888147
|
// ../generation/local-generation/local-workspace-runner/lib/dynamic-snippets/go/DynamicSnippetsGoTestGenerator.js
|
|
887707
|
-
|
|
888148
|
+
init_lib7();
|
|
887708
888149
|
|
|
887709
888150
|
// ../../../generators/go-v2/dynamic-snippets/lib/context/DynamicSnippetsGeneratorContext.js
|
|
887710
888151
|
init_lib4();
|
|
887711
888152
|
|
|
887712
888153
|
// ../../../generators/go-v2/ast/lib/ast/core/Writer.js
|
|
887713
|
-
|
|
888154
|
+
init_lib6();
|
|
887714
888155
|
var INVALID_GO_IDENTIFIER_TOKEN = /[^0-9a-zA-Z_]/g;
|
|
887715
888156
|
var RESERVED_KEYWORDS2 = [
|
|
887716
888157
|
"break",
|
|
@@ -889303,7 +889744,7 @@ function goExportedFieldName(name2) {
|
|
|
889303
889744
|
}
|
|
889304
889745
|
|
|
889305
889746
|
// ../../../generators/go-v2/ast/lib/utils/resolveRootImportPath.js
|
|
889306
|
-
|
|
889747
|
+
init_lib6();
|
|
889307
889748
|
var import_path76 = __toESM(require("path"), 1);
|
|
889308
889749
|
var DEFAULT_MODULE_PATH = "sdk";
|
|
889309
889750
|
function resolveRootImportPath({ config: config5, customConfig }) {
|
|
@@ -891193,7 +891634,7 @@ var DynamicSnippetsGoTestGenerator = class {
|
|
|
891193
891634
|
};
|
|
891194
891635
|
|
|
891195
891636
|
// ../generation/local-generation/local-workspace-runner/lib/dynamic-snippets/java/DynamicSnippetsJavaTestGenerator.js
|
|
891196
|
-
|
|
891637
|
+
init_lib7();
|
|
891197
891638
|
|
|
891198
891639
|
// ../../../generators/java-v2/dynamic-snippets/lib/context/DynamicSnippetsGeneratorContext.js
|
|
891199
891640
|
init_lib4();
|
|
@@ -894571,7 +895012,7 @@ var DynamicSnippetsGenerator3 = class extends AbstractDynamicSnippetsGenerator {
|
|
|
894571
895012
|
};
|
|
894572
895013
|
|
|
894573
895014
|
// ../generation/local-generation/local-workspace-runner/lib/dynamic-snippets/java/DynamicSnippetsJavaTestGenerator.js
|
|
894574
|
-
|
|
895015
|
+
init_lib11();
|
|
894575
895016
|
var import_promises106 = require("fs/promises");
|
|
894576
895017
|
var import_path78 = __toESM(require("path"), 1);
|
|
894577
895018
|
var DynamicSnippetsJavaTestGenerator = class {
|
|
@@ -894658,7 +895099,7 @@ var DynamicSnippetsJavaTestGenerator = class {
|
|
|
894658
895099
|
};
|
|
894659
895100
|
|
|
894660
895101
|
// ../generation/local-generation/local-workspace-runner/lib/dynamic-snippets/php/DynamicSnippetsPhpTestGenerator.js
|
|
894661
|
-
|
|
895102
|
+
init_lib7();
|
|
894662
895103
|
|
|
894663
895104
|
// ../../../generators/php/codegen/lib/ast/core/Constant.js
|
|
894664
895105
|
var GLOBAL_NAMESPACE = "";
|
|
@@ -898157,7 +898598,7 @@ var DynamicSnippetsPhpTestGenerator = class {
|
|
|
898157
898598
|
};
|
|
898158
898599
|
|
|
898159
898600
|
// ../generation/local-generation/local-workspace-runner/lib/dynamic-snippets/python/DynamicSnippetsPythonTestGenerator.js
|
|
898160
|
-
|
|
898601
|
+
init_lib7();
|
|
898161
898602
|
|
|
898162
898603
|
// ../../../generators/python-v2/dynamic-snippets/lib/context/DynamicSnippetsGeneratorContext.js
|
|
898163
898604
|
init_lib4();
|
|
@@ -901448,7 +901889,7 @@ var DynamicSnippetsPythonTestGenerator = class {
|
|
|
901448
901889
|
};
|
|
901449
901890
|
|
|
901450
901891
|
// ../generation/local-generation/local-workspace-runner/lib/dynamic-snippets/ruby/DynamicSnippetsRubyTestGenerator.js
|
|
901451
|
-
|
|
901892
|
+
init_lib7();
|
|
901452
901893
|
|
|
901453
901894
|
// ../../../generators/ruby-v2/ast/lib/ast/core/Writer.js
|
|
901454
901895
|
var TAB_SIZE2 = 2;
|
|
@@ -904355,7 +904796,7 @@ var DynamicSnippetsRubyTestGenerator = class {
|
|
|
904355
904796
|
// ../generation/local-generation/local-workspace-runner/lib/dynamic-snippets/rust/DynamicSnippetsRustTestGenerator.js
|
|
904356
904797
|
var import_promises110 = require("fs/promises");
|
|
904357
904798
|
var import_node_path25 = __toESM(require("path"), 1);
|
|
904358
|
-
|
|
904799
|
+
init_lib7();
|
|
904359
904800
|
|
|
904360
904801
|
// ../../../generators/rust/base/lib/constants/index.js
|
|
904361
904802
|
var RUST_KEYWORDS = /* @__PURE__ */ new Set([
|
|
@@ -909608,7 +910049,7 @@ var DynamicSnippetsRustTestGenerator = class {
|
|
|
909608
910049
|
// ../generation/local-generation/local-workspace-runner/lib/dynamic-snippets/swift/DynamicSnippetsSwiftTestGenerator.js
|
|
909609
910050
|
var import_promises111 = require("fs/promises");
|
|
909610
910051
|
var import_node_path26 = __toESM(require("path"), 1);
|
|
909611
|
-
|
|
910052
|
+
init_lib7();
|
|
909612
910053
|
|
|
909613
910054
|
// ../../../generators/swift/dynamic-snippets/lib/context/DynamicSnippetsGeneratorContext.js
|
|
909614
910055
|
init_lib4();
|
|
@@ -914192,7 +914633,7 @@ var DynamicSnippetsSwiftTestGenerator = class {
|
|
|
914192
914633
|
};
|
|
914193
914634
|
|
|
914194
914635
|
// ../generation/local-generation/local-workspace-runner/lib/dynamic-snippets/typescript/DynamicSnippetsTypeScriptTestGenerator.js
|
|
914195
|
-
|
|
914636
|
+
init_lib7();
|
|
914196
914637
|
|
|
914197
914638
|
// ../../../generators/typescript-v2/ast/lib/ast/core/Writer.js
|
|
914198
914639
|
var Writer9 = class extends AbstractWriter {
|
|
@@ -916647,7 +917088,7 @@ async function generateDynamicSnippetTests({ context: context3, ir: ir11, config
|
|
|
916647
917088
|
}
|
|
916648
917089
|
|
|
916649
917090
|
// ../generation/local-generation/local-workspace-runner/lib/runGenerator.js
|
|
916650
|
-
|
|
917091
|
+
init_lib7();
|
|
916651
917092
|
var import_autoversion3 = __toESM(require_autoversion(), 1);
|
|
916652
917093
|
var import_serialization = __toESM(require_serialization3(), 1);
|
|
916653
917094
|
var import_promises114 = require("fs/promises");
|
|
@@ -916656,7 +917097,7 @@ var import_path84 = require("path");
|
|
|
916656
917097
|
var import_tmp_promise14 = __toESM(require_tmp_promise(), 1);
|
|
916657
917098
|
|
|
916658
917099
|
// ../generation/local-generation/local-workspace-runner/lib/getGeneratorConfig.js
|
|
916659
|
-
|
|
917100
|
+
init_lib8();
|
|
916660
917101
|
var import_generator_exec_sdk = __toESM(require_generator_exec_sdk(), 1);
|
|
916661
917102
|
var import_api50 = __toESM(require_api4(), 1);
|
|
916662
917103
|
var path79 = __toESM(require("path"), 1);
|
|
@@ -917130,11 +917571,11 @@ async function getIntermediateRepresentation({ workspace, audiences, generatorIn
|
|
|
917130
917571
|
}
|
|
917131
917572
|
|
|
917132
917573
|
// ../generation/local-generation/local-workspace-runner/lib/LocalTaskHandler.js
|
|
917133
|
-
|
|
917574
|
+
init_lib41();
|
|
917134
917575
|
init_lib4();
|
|
917135
|
-
|
|
917576
|
+
init_lib7();
|
|
917136
917577
|
var import_autoversion2 = __toESM(require_autoversion(), 1);
|
|
917137
|
-
|
|
917578
|
+
init_lib11();
|
|
917138
917579
|
var import_decompress2 = __toESM(require_decompress(), 1);
|
|
917139
917580
|
var import_promises113 = require("fs/promises");
|
|
917140
917581
|
var import_os12 = require("os");
|
|
@@ -917981,10 +918422,10 @@ function getDockerDestinationForSource(source2) {
|
|
|
917981
918422
|
|
|
917982
918423
|
// ../generation/local-generation/local-workspace-runner/lib/runLocalGenerationForWorkspace.js
|
|
917983
918424
|
init_lib4();
|
|
917984
|
-
|
|
918425
|
+
init_lib7();
|
|
917985
918426
|
var import_autoversion4 = __toESM(require_autoversion(), 1);
|
|
917986
918427
|
var import_pipeline2 = __toESM(require_pipeline2(), 1);
|
|
917987
|
-
|
|
918428
|
+
init_lib8();
|
|
917988
918429
|
var fs17 = __toESM(require("fs/promises"), 1);
|
|
917989
918430
|
var import_os13 = __toESM(require("os"), 1);
|
|
917990
918431
|
var import_path85 = __toESM(require("path"), 1);
|
|
@@ -917997,7 +918438,7 @@ function getGeneratorOutputSubfolder(generatorName) {
|
|
|
917997
918438
|
}
|
|
917998
918439
|
|
|
917999
918440
|
// ../generation/local-generation/local-workspace-runner/lib/runLocalGenerationForWorkspace.js
|
|
918000
|
-
async function runLocalGenerationForWorkspace({ token, projectConfig, workspace, generatorGroup, version: version7, keepDocker, inspect: inspect6, context: context3, absolutePathToPreview, runner, ai: ai10, replay, noReplay, validateWorkspace, requireEnvVars, skipFernignore, publishToRegistry, isPreview: isPreviewOverride, automationMode, autoMerge, skipIfNoDiff, disableTelemetry }) {
|
|
918441
|
+
async function runLocalGenerationForWorkspace({ token, projectConfig, workspace, generatorGroup, version: version7, keepDocker, inspect: inspect6, context: context3, absolutePathToPreview, runner, ai: ai10, replay, noReplay, validateWorkspace, requireEnvVars, skipFernignore, publishToRegistry, isPreview: isPreviewOverride, automationMode, autoMerge, skipIfNoDiff, verify: verify2, disableTelemetry }) {
|
|
918001
918442
|
const userProvidedVersion = version7;
|
|
918002
918443
|
if (userProvidedVersion != null) {
|
|
918003
918444
|
if (absolutePathToPreview != null) {
|
|
@@ -918202,7 +918643,9 @@ generators:
|
|
|
918202
918643
|
disableTelemetry
|
|
918203
918644
|
});
|
|
918204
918645
|
interactiveTaskContext.logger.info(source_default.green("Wrote files to " + absolutePathToLocalOutput));
|
|
918205
|
-
|
|
918646
|
+
const githubPipelineEnabled = selfhostedGithubConfig != null && shouldCommit;
|
|
918647
|
+
const verifyOnlyPipelineEnabled = !githubPipelineEnabled && verify2 === true;
|
|
918648
|
+
if (githubPipelineEnabled || verifyOnlyPipelineEnabled) {
|
|
918206
918649
|
const pipelineLogger = {
|
|
918207
918650
|
debug: (msg) => interactiveTaskContext.logger.debug(msg),
|
|
918208
918651
|
info: (msg) => interactiveTaskContext.logger.info(msg),
|
|
@@ -918212,8 +918655,9 @@ generators:
|
|
|
918212
918655
|
const hasBreakingChanges = autoVersioningVersionBump === "MAJOR";
|
|
918213
918656
|
const pipeline6 = new import_pipeline2.PostGenerationPipeline({
|
|
918214
918657
|
outputDir: absolutePathToLocalOutput,
|
|
918215
|
-
replay: { enabled: replay?.enabled === true, skipApplication: noReplay, stageOnly: false },
|
|
918216
|
-
|
|
918658
|
+
replay: githubPipelineEnabled ? { enabled: replay?.enabled === true, skipApplication: noReplay, stageOnly: false } : void 0,
|
|
918659
|
+
verify: { enabled: verify2 === true, runner },
|
|
918660
|
+
github: githubPipelineEnabled && selfhostedGithubConfig != null ? {
|
|
918217
918661
|
enabled: true,
|
|
918218
918662
|
uri: selfhostedGithubConfig.uri,
|
|
918219
918663
|
token: selfhostedGithubConfig.token,
|
|
@@ -918235,7 +918679,7 @@ generators:
|
|
|
918235
918679
|
breakingChangesSummary: hasBreakingChanges ? autoVersioningPrDescription : void 0,
|
|
918236
918680
|
runId: process.env.FERN_RUN_ID,
|
|
918237
918681
|
apiBaseUrl: getGithubApiBaseUrl(selfhostedGithubConfig.uri)
|
|
918238
|
-
},
|
|
918682
|
+
} : void 0,
|
|
918239
918683
|
cliVersion: workspace.cliVersion ?? "unknown",
|
|
918240
918684
|
generatorVersions: {
|
|
918241
918685
|
[generatorInvocation.name]: generatorInvocation.version
|
|
@@ -918245,7 +918689,7 @@ generators:
|
|
|
918245
918689
|
const pipelineStart = Date.now();
|
|
918246
918690
|
const pipelineResult = await pipeline6.run();
|
|
918247
918691
|
const pipelineDurationMs = Date.now() - pipelineStart;
|
|
918248
|
-
if (pipelineResult.steps.replay != null) {
|
|
918692
|
+
if (pipelineResult.steps.replay != null && selfhostedGithubConfig != null) {
|
|
918249
918693
|
(0, import_pipeline2.logReplaySummary)(pipelineResult.steps.replay, {
|
|
918250
918694
|
debug: (msg) => interactiveTaskContext.logger.debug(msg),
|
|
918251
918695
|
info: (msg) => {
|
|
@@ -918611,12 +919055,13 @@ var GenerationRunner = class {
|
|
|
918611
919055
|
};
|
|
918612
919056
|
|
|
918613
919057
|
// ../cli-v2/lib/sdk/generator/LegacyLocalGenerationRunner.js
|
|
919058
|
+
init_lib5();
|
|
918614
919059
|
var import_promises116 = require("fs/promises");
|
|
918615
919060
|
|
|
918616
919061
|
// ../cli-v2/lib/sdk/adapter/LegacyGeneratorInvocationAdapter.js
|
|
918617
919062
|
init_lib4();
|
|
918618
|
-
init_lib6();
|
|
918619
919063
|
init_lib7();
|
|
919064
|
+
init_lib8();
|
|
918620
919065
|
var import_promises115 = require("fs/promises");
|
|
918621
919066
|
var LegacyGeneratorInvocationAdapter = class {
|
|
918622
919067
|
context;
|
|
@@ -918920,7 +919365,7 @@ var LegacyGeneratorInvocationAdapter = class {
|
|
|
918920
919365
|
};
|
|
918921
919366
|
|
|
918922
919367
|
// ../cli-v2/lib/sdk/generator/utils/resolveTargetOutput.js
|
|
918923
|
-
|
|
919368
|
+
init_lib7();
|
|
918924
919369
|
var import_path86 = require("path");
|
|
918925
919370
|
function resolveTargetOutput({ context: context3, task, target, preview, outputPath }) {
|
|
918926
919371
|
if (preview) {
|
|
@@ -919103,7 +919548,8 @@ var LegacyLocalGenerationRunner = class {
|
|
|
919103
919548
|
|
|
919104
919549
|
// ../cli-v2/lib/sdk/generator/LegacyRemoteGenerationRunner.js
|
|
919105
919550
|
init_lib4();
|
|
919106
|
-
|
|
919551
|
+
init_lib7();
|
|
919552
|
+
init_lib5();
|
|
919107
919553
|
var import_promises117 = require("fs/promises");
|
|
919108
919554
|
var import_os14 = require("os");
|
|
919109
919555
|
var LegacyRemoteGenerationRunner = class {
|
|
@@ -919478,7 +919924,7 @@ var SdkTaskGroup = class {
|
|
|
919478
919924
|
};
|
|
919479
919925
|
|
|
919480
919926
|
// ../cli-v2/lib/workspace/WorkspaceBuilder.js
|
|
919481
|
-
|
|
919927
|
+
init_lib7();
|
|
919482
919928
|
var WorkspaceBuilder = class {
|
|
919483
919929
|
context;
|
|
919484
919930
|
constructor({ context: context3 }) {
|
|
@@ -920336,7 +920782,7 @@ init_lib4();
|
|
|
920336
920782
|
|
|
920337
920783
|
// ../cli-v2/lib/sdk/updater/GeneratorMigrator.js
|
|
920338
920784
|
init_lib4();
|
|
920339
|
-
|
|
920785
|
+
init_lib11();
|
|
920340
920786
|
var import_fs32 = require("fs");
|
|
920341
920787
|
var import_promises119 = require("fs/promises");
|
|
920342
920788
|
var import_path87 = require("path");
|
|
@@ -921077,17 +921523,17 @@ function createCliV2(argv) {
|
|
|
921077
921523
|
|
|
921078
921524
|
// src/cli.ts
|
|
921079
921525
|
init_lib4();
|
|
921080
|
-
|
|
921526
|
+
init_lib7();
|
|
921081
921527
|
var import_generator_cli5 = __toESM(require_api3(), 1);
|
|
921082
921528
|
|
|
921083
921529
|
// ../init/lib/initializeAPI.js
|
|
921084
|
-
|
|
921530
|
+
init_lib7();
|
|
921085
921531
|
var import_promises124 = require("fs/promises");
|
|
921086
921532
|
var import_fs_extra = __toESM(require_lib19(), 1);
|
|
921087
921533
|
var import_path90 = __toESM(require("path"), 1);
|
|
921088
921534
|
|
|
921089
921535
|
// ../init/lib/createFernDirectoryAndOrganization.js
|
|
921090
|
-
|
|
921536
|
+
init_lib7();
|
|
921091
921537
|
var import_promises121 = require("fs/promises");
|
|
921092
921538
|
init_lodash();
|
|
921093
921539
|
var GITIGNORE_CONTENT = "**/.preview\n**/.definition\n";
|
|
@@ -921356,7 +921802,7 @@ async function formatFernWorkspace({ workspace, context: context3, shouldFix })
|
|
|
921356
921802
|
}
|
|
921357
921803
|
|
|
921358
921804
|
// ../init/lib/createWorkspace.js
|
|
921359
|
-
|
|
921805
|
+
init_lib7();
|
|
921360
921806
|
var import_promises123 = require("fs/promises");
|
|
921361
921807
|
init_js_yaml();
|
|
921362
921808
|
|
|
@@ -921757,7 +922203,7 @@ async function hasInlinedOpenAPIWorkspace({ absolutePathToFernDirectory }) {
|
|
|
921757
922203
|
|
|
921758
922204
|
// ../init/lib/initializeDocs.js
|
|
921759
922205
|
init_lib4();
|
|
921760
|
-
|
|
922206
|
+
init_lib7();
|
|
921761
922207
|
var import_promises125 = require("fs/promises");
|
|
921762
922208
|
init_js_yaml();
|
|
921763
922209
|
async function initializeDocs({ organization, taskContext, versionOfCli }) {
|
|
@@ -921803,7 +922249,7 @@ function getDocsConfig(organization) {
|
|
|
921803
922249
|
}
|
|
921804
922250
|
|
|
921805
922251
|
// ../init/lib/initializeWithMintlify.js
|
|
921806
|
-
|
|
922252
|
+
init_lib7();
|
|
921807
922253
|
|
|
921808
922254
|
// ../docs-importers/mintlify/lib/MintlifyImporter.js
|
|
921809
922255
|
init_lib4();
|
|
@@ -921828,7 +922274,7 @@ var FernDocsBuilder = class {
|
|
|
921828
922274
|
};
|
|
921829
922275
|
|
|
921830
922276
|
// ../docs-importers/commons/lib/FernDocsBuilderImpl.js
|
|
921831
|
-
|
|
922277
|
+
init_lib7();
|
|
921832
922278
|
var import_promises126 = require("fs/promises");
|
|
921833
922279
|
init_js_yaml();
|
|
921834
922280
|
var FernDocsBuilderImpl = class extends FernDocsBuilder {
|
|
@@ -921966,7 +922412,7 @@ var NonTabbedNavigationBuilderImpl = class {
|
|
|
921966
922412
|
};
|
|
921967
922413
|
|
|
921968
922414
|
// ../docs-importers/mintlify/lib/MintlifyImporter.js
|
|
921969
|
-
|
|
922415
|
+
init_lib7();
|
|
921970
922416
|
var import_promises128 = require("fs/promises");
|
|
921971
922417
|
|
|
921972
922418
|
// ../docs-importers/mintlify/lib/convertColors.js
|
|
@@ -921986,7 +922432,7 @@ function convertColors(colors19) {
|
|
|
921986
922432
|
|
|
921987
922433
|
// ../docs-importers/mintlify/lib/convertLogo.js
|
|
921988
922434
|
init_lib4();
|
|
921989
|
-
|
|
922435
|
+
init_lib7();
|
|
921990
922436
|
var LOGO_DEFAULT_HEIGHT = 28;
|
|
921991
922437
|
function convertLogo({ logo, builder, absolutePathToMintJson }) {
|
|
921992
922438
|
if (logo == null) {
|
|
@@ -922024,10 +922470,10 @@ function convertLogo({ logo, builder, absolutePathToMintJson }) {
|
|
|
922024
922470
|
|
|
922025
922471
|
// ../docs-importers/mintlify/lib/convertNavigationItem.js
|
|
922026
922472
|
init_lib4();
|
|
922027
|
-
|
|
922473
|
+
init_lib7();
|
|
922028
922474
|
|
|
922029
922475
|
// ../docs-importers/mintlify/lib/convertMarkdown.js
|
|
922030
|
-
|
|
922476
|
+
init_lib7();
|
|
922031
922477
|
var import_promises127 = require("fs/promises");
|
|
922032
922478
|
var import_gray_matter10 = __toESM(require_gray_matter(), 1);
|
|
922033
922479
|
async function convertMarkdown({ absolutePathToMintJson, absoluteFilepathToMarkdown, relativeFilepathFromRoot, builder }) {
|
|
@@ -922319,7 +922765,7 @@ var MintlifyImporter = class extends DocsImporter {
|
|
|
922319
922765
|
};
|
|
922320
922766
|
|
|
922321
922767
|
// ../docs-importers/mintlify/lib/runMintlifyMigration.js
|
|
922322
|
-
|
|
922768
|
+
init_lib7();
|
|
922323
922769
|
var import_promises129 = require("fs/promises");
|
|
922324
922770
|
async function runMintlifyMigration({ absolutePathToMintJson, outputPath, taskContext, versionOfCli, organization }) {
|
|
922325
922771
|
const mintlifyImporter = new MintlifyImporter({
|
|
@@ -922370,7 +922816,7 @@ var initializeWithMintlify = async ({ pathToMintJson, taskContext, versionOfCli,
|
|
|
922370
922816
|
};
|
|
922371
922817
|
|
|
922372
922818
|
// ../init/lib/initializeWithReadme.js
|
|
922373
|
-
|
|
922819
|
+
init_lib7();
|
|
922374
922820
|
|
|
922375
922821
|
// ../docs-importers/readme/lib/assert.js
|
|
922376
922822
|
init_zod();
|
|
@@ -922389,7 +922835,7 @@ function assertIsStringArray(val) {
|
|
|
922389
922835
|
|
|
922390
922836
|
// ../docs-importers/readme/lib/ReadmeImporter.js
|
|
922391
922837
|
init_lib4();
|
|
922392
|
-
|
|
922838
|
+
init_lib7();
|
|
922393
922839
|
var import_promises134 = require("fs/promises");
|
|
922394
922840
|
|
|
922395
922841
|
// ../docs-importers/readme/lib/extract/favicon.js
|
|
@@ -925401,7 +925847,7 @@ async function getColors(hast) {
|
|
|
925401
925847
|
|
|
925402
925848
|
// ../docs-importers/readme/lib/utils/files/logo.js
|
|
925403
925849
|
init_lib4();
|
|
925404
|
-
|
|
925850
|
+
init_lib7();
|
|
925405
925851
|
|
|
925406
925852
|
// ../docs-importers/readme/lib/extract/logo.js
|
|
925407
925853
|
init_unist_util_visit();
|
|
@@ -935781,7 +936227,7 @@ var ReadmeImporter = class extends DocsImporter {
|
|
|
935781
936227
|
};
|
|
935782
936228
|
|
|
935783
936229
|
// ../docs-importers/readme/lib/runReadmeMigration.js
|
|
935784
|
-
|
|
936230
|
+
init_lib7();
|
|
935785
936231
|
var import_promises135 = require("fs/promises");
|
|
935786
936232
|
async function runReadmeMigration({ readmeUrl, outputPath, taskContext, versionOfCli, organization }) {
|
|
935787
936233
|
const builder = new FernDocsBuilderImpl();
|
|
@@ -935866,10 +936312,14 @@ async function fetchOpenAPIFromUrl({ url: url3, logger: logger4 }) {
|
|
|
935866
936312
|
return dump(response.data);
|
|
935867
936313
|
}
|
|
935868
936314
|
|
|
936315
|
+
// src/cli.ts
|
|
936316
|
+
init_lib5();
|
|
936317
|
+
|
|
935869
936318
|
// ../generation/protoc-gen-fern/package.json
|
|
935870
936319
|
var version6 = "0.0.0";
|
|
935871
936320
|
|
|
935872
936321
|
// ../generation/protoc-gen-fern/lib/commons/logging.js
|
|
936322
|
+
init_lib5();
|
|
935873
936323
|
var Logger4 = class {
|
|
935874
936324
|
enabled = true;
|
|
935875
936325
|
write(level, ...messages2) {
|
|
@@ -937604,6 +938054,9 @@ Yargs2.hideBin = processArgv.hideBin;
|
|
|
937604
938054
|
Yargs2.Parser = Parser8;
|
|
937605
938055
|
var yargs_default2 = Yargs2;
|
|
937606
938056
|
|
|
938057
|
+
// src/cli-context/CliContext.ts
|
|
938058
|
+
init_lib5();
|
|
938059
|
+
|
|
937607
938060
|
// ../../../node_modules/.pnpm/@inquirer+core@10.3.2_@types+node@22.19.17/node_modules/@inquirer/core/dist/esm/lib/key.js
|
|
937608
938061
|
var isUpKey = (key2, keybindings = []) => (
|
|
937609
938062
|
// The up key
|
|
@@ -939646,6 +940099,7 @@ var StdoutRedirector = class {
|
|
|
939646
940099
|
|
|
939647
940100
|
// src/cli-context/TaskContextImpl.ts
|
|
939648
940101
|
init_lib4();
|
|
940102
|
+
init_lib5();
|
|
939649
940103
|
var TaskContextImpl = class {
|
|
939650
940104
|
result = TaskResult.Success;
|
|
939651
940105
|
lastFailureMessage = void 0;
|
|
@@ -940192,7 +940646,7 @@ var CliContext = class _CliContext {
|
|
|
940192
940646
|
if (false) {
|
|
940193
940647
|
this.logger.error("CLI_VERSION is not defined");
|
|
940194
940648
|
}
|
|
940195
|
-
return "5.22.
|
|
940649
|
+
return "5.22.1-1-g08a6ca02787";
|
|
940196
940650
|
}
|
|
940197
940651
|
getCliName() {
|
|
940198
940652
|
if (false) {
|
|
@@ -940489,7 +940943,7 @@ function wrapWorkspaceNameForPrefix(workspaceName) {
|
|
|
940489
940943
|
}
|
|
940490
940944
|
|
|
940491
940945
|
// ../project-loader/lib/loadProject.js
|
|
940492
|
-
|
|
940946
|
+
init_lib7();
|
|
940493
940947
|
var import_promises137 = require("fs/promises");
|
|
940494
940948
|
|
|
940495
940949
|
// ../project-loader/lib/normalizeCommandLineApiWorkspace.js
|
|
@@ -940802,7 +941256,7 @@ async function getOrganization({
|
|
|
940802
941256
|
}
|
|
940803
941257
|
|
|
940804
941258
|
// src/commands/upgrade/upgradeGenerator.ts
|
|
940805
|
-
|
|
941259
|
+
init_lib7();
|
|
940806
941260
|
var import_promises141 = require("fs/promises");
|
|
940807
941261
|
var import_path93 = __toESM(require("path"), 1);
|
|
940808
941262
|
var import_semver16 = __toESM(require_semver2(), 1);
|
|
@@ -940810,7 +941264,7 @@ var import_yaml6 = __toESM(require_dist9(), 1);
|
|
|
940810
941264
|
|
|
940811
941265
|
// src/commands/upgrade/migrations/loader.ts
|
|
940812
941266
|
init_lib4();
|
|
940813
|
-
|
|
941267
|
+
init_lib11();
|
|
940814
941268
|
var import_fs36 = require("fs");
|
|
940815
941269
|
var import_promises140 = require("fs/promises");
|
|
940816
941270
|
var import_os15 = require("os");
|
|
@@ -941835,7 +942289,7 @@ function filterGenerators({
|
|
|
941835
942289
|
}
|
|
941836
942290
|
|
|
941837
942291
|
// src/commands/generate/generateAPIWorkspaces.ts
|
|
941838
|
-
|
|
942292
|
+
init_lib7();
|
|
941839
942293
|
|
|
941840
942294
|
// src/constants.ts
|
|
941841
942295
|
var API_CLI_OPTION = "api";
|
|
@@ -941845,15 +942299,15 @@ var APPROVED_DIRECTORIES_FILENAME = "approved-output-directories";
|
|
|
941845
942299
|
var LOCAL_STORAGE_FOLDER6 = ".fern-dev";
|
|
941846
942300
|
|
|
941847
942301
|
// src/commands/generate/checkOutputDirectory.ts
|
|
941848
|
-
|
|
942302
|
+
init_lib7();
|
|
941849
942303
|
var import_promises146 = require("fs/promises");
|
|
941850
942304
|
|
|
941851
942305
|
// src/persistence/output-directories/getOutputDirectories.ts
|
|
941852
|
-
|
|
942306
|
+
init_lib7();
|
|
941853
942307
|
var import_promises144 = require("fs/promises");
|
|
941854
942308
|
|
|
941855
942309
|
// src/persistence/output-directories/getPathToOutputDirectoriesFile.ts
|
|
941856
|
-
|
|
942310
|
+
init_lib7();
|
|
941857
942311
|
var import_os16 = require("os");
|
|
941858
942312
|
function getPathToOutputDirectoriesFile() {
|
|
941859
942313
|
return join8(
|
|
@@ -941941,7 +942395,7 @@ function expandGroupFilter(groupNames, generatorsConfiguration) {
|
|
|
941941
942395
|
}
|
|
941942
942396
|
|
|
941943
942397
|
// src/commands/generate/generateAPIWorkspace.ts
|
|
941944
|
-
|
|
942398
|
+
init_lib7();
|
|
941945
942399
|
|
|
941946
942400
|
// src/commands/generate/describeSkipReason.ts
|
|
941947
942401
|
function classifySkipReason(generator, rootAutorelease) {
|
|
@@ -942050,6 +942504,7 @@ async function generateWorkspace({
|
|
|
942050
942504
|
skipFernignore,
|
|
942051
942505
|
dynamicIrOnly,
|
|
942052
942506
|
noReplay,
|
|
942507
|
+
verify: verify2,
|
|
942053
942508
|
retryRateLimited,
|
|
942054
942509
|
requireEnvVars,
|
|
942055
942510
|
automationMode,
|
|
@@ -942117,6 +942572,7 @@ async function generateWorkspace({
|
|
|
942117
942572
|
automationMode,
|
|
942118
942573
|
autoMerge,
|
|
942119
942574
|
skipIfNoDiff,
|
|
942575
|
+
verify: verify2,
|
|
942120
942576
|
disableTelemetry: isTelemetryDisabled()
|
|
942121
942577
|
});
|
|
942122
942578
|
} else if (token != null) {
|
|
@@ -942511,6 +942967,7 @@ async function generateAPIWorkspaces({
|
|
|
942511
942967
|
dynamicIrOnly,
|
|
942512
942968
|
outputDir,
|
|
942513
942969
|
noReplay,
|
|
942970
|
+
verify: verify2,
|
|
942514
942971
|
retryRateLimited,
|
|
942515
942972
|
requireEnvVars,
|
|
942516
942973
|
automationMode,
|
|
@@ -942586,6 +943043,7 @@ async function generateAPIWorkspaces({
|
|
|
942586
943043
|
skipFernignore,
|
|
942587
943044
|
dynamicIrOnly,
|
|
942588
943045
|
noReplay,
|
|
943046
|
+
verify: verify2,
|
|
942589
943047
|
retryRateLimited,
|
|
942590
943048
|
requireEnvVars,
|
|
942591
943049
|
automationMode,
|
|
@@ -943126,6 +943584,7 @@ async function executeAutomationsGenerate({
|
|
|
943126
943584
|
dynamicIrOnly: false,
|
|
943127
943585
|
outputDir: void 0,
|
|
943128
943586
|
noReplay: false,
|
|
943587
|
+
verify: false,
|
|
943129
943588
|
// Automation runs are unattended; transient 429s should be retried
|
|
943130
943589
|
// automatically rather than failing the run and asking a human to
|
|
943131
943590
|
// re-trigger with a flag. The retry policy is bounded (5 attempts,
|
|
@@ -943383,7 +943842,7 @@ init_lib4();
|
|
|
943383
943842
|
var import_promises148 = require("fs/promises");
|
|
943384
943843
|
|
|
943385
943844
|
// ../cli-migrations/lib/migrations/0.0.191/discriminant/getAllYamlFiles.js
|
|
943386
|
-
|
|
943845
|
+
init_lib7();
|
|
943387
943846
|
init_esm14();
|
|
943388
943847
|
var FERN_DIRECTORY2 = "fern";
|
|
943389
943848
|
async function getAllYamlFiles(context3) {
|
|
@@ -943457,7 +943916,7 @@ var import_promises149 = require("fs/promises");
|
|
|
943457
943916
|
var import_yaml7 = __toESM(require_dist9(), 1);
|
|
943458
943917
|
|
|
943459
943918
|
// ../cli-migrations/lib/migrations/0.0.203/union-single-property-key/getAllYamlFiles.js
|
|
943460
|
-
|
|
943919
|
+
init_lib7();
|
|
943461
943920
|
init_esm14();
|
|
943462
943921
|
var FERN_DIRECTORY3 = "fern";
|
|
943463
943922
|
async function getAllYamlFiles2(context3) {
|
|
@@ -943543,7 +944002,7 @@ var import_promises150 = require("fs/promises");
|
|
|
943543
944002
|
var import_yaml8 = __toESM(require_dist9(), 1);
|
|
943544
944003
|
|
|
943545
944004
|
// ../cli-migrations/lib/migrations/0.0.207/add-mode-to-draft-generators/getAllGeneratorYamlFiles.js
|
|
943546
|
-
|
|
944005
|
+
init_lib7();
|
|
943547
944006
|
init_esm14();
|
|
943548
944007
|
var FERN_DIRECTORY4 = "fern";
|
|
943549
944008
|
async function getAllGeneratorYamlFiles(context3) {
|
|
@@ -943624,7 +944083,7 @@ var import_promises151 = require("fs/promises");
|
|
|
943624
944083
|
var import_yaml9 = __toESM(require_dist9(), 1);
|
|
943625
944084
|
|
|
943626
944085
|
// ../cli-migrations/lib/migrations/0.0.210/remove-inline-error-declarations/getAllYamlFiles.js
|
|
943627
|
-
|
|
944086
|
+
init_lib7();
|
|
943628
944087
|
init_esm14();
|
|
943629
944088
|
var FERN_DIRECTORY5 = "fern";
|
|
943630
944089
|
async function getAllYamlFiles3(context3) {
|
|
@@ -943722,7 +944181,7 @@ var import_promises152 = require("fs/promises");
|
|
|
943722
944181
|
var import_yaml10 = __toESM(require_dist9(), 1);
|
|
943723
944182
|
|
|
943724
944183
|
// ../cli-migrations/lib/migrations/0.0.212/add-publishing-to-release-generators/getAllGeneratorYamlFiles.js
|
|
943725
|
-
|
|
944184
|
+
init_lib7();
|
|
943726
944185
|
init_esm14();
|
|
943727
944186
|
var FERN_DIRECTORY6 = "fern";
|
|
943728
944187
|
async function getAllGeneratorYamlFiles2(context3) {
|
|
@@ -943813,7 +944272,7 @@ var __default5 = versionMigrations5;
|
|
|
943813
944272
|
var import_promises153 = require("fs/promises");
|
|
943814
944273
|
|
|
943815
944274
|
// ../cli-migrations/lib/migrations/0.0.220/rename-alias-key-to-type/getAllYamlFiles.js
|
|
943816
|
-
|
|
944275
|
+
init_lib7();
|
|
943817
944276
|
init_esm14();
|
|
943818
944277
|
var FERN_DIRECTORY7 = "fern";
|
|
943819
944278
|
async function getAllYamlFiles4(context3) {
|
|
@@ -943861,7 +944320,7 @@ var __default6 = versionMigrations6;
|
|
|
943861
944320
|
var import_promises154 = require("fs/promises");
|
|
943862
944321
|
|
|
943863
944322
|
// ../cli-migrations/lib/migrations/0.0.221/add-error-discriminant/getAllRootApiYamlFiles.js
|
|
943864
|
-
|
|
944323
|
+
init_lib7();
|
|
943865
944324
|
init_esm14();
|
|
943866
944325
|
var FERN_DIRECTORY8 = "fern";
|
|
943867
944326
|
async function getAllRootApiYamlFiles(context3) {
|
|
@@ -943911,7 +944370,7 @@ var import_promises155 = require("fs/promises");
|
|
|
943911
944370
|
init_js_yaml();
|
|
943912
944371
|
|
|
943913
944372
|
// ../cli-migrations/lib/migrations/0.0.241/add-generator-groups/getAllGeneratorYamlFiles.js
|
|
943914
|
-
|
|
944373
|
+
init_lib7();
|
|
943915
944374
|
init_esm14();
|
|
943916
944375
|
var FERN_DIRECTORY9 = "fern";
|
|
943917
944376
|
async function getAllGeneratorYamlFiles3(context3) {
|
|
@@ -944137,7 +944596,7 @@ var import_promises156 = require("fs/promises");
|
|
|
944137
944596
|
var import_yaml11 = __toESM(require_dist9(), 1);
|
|
944138
944597
|
|
|
944139
944598
|
// ../cli-migrations/lib/migrations/0.0.248/add-error-discrimination-config/getAllRootApiYamlFiles.js
|
|
944140
|
-
|
|
944599
|
+
init_lib7();
|
|
944141
944600
|
init_esm14();
|
|
944142
944601
|
var FERN_DIRECTORY10 = "fern";
|
|
944143
944602
|
async function getAllRootApiYamlFiles2(context3) {
|
|
@@ -944202,7 +944661,7 @@ var import_promises157 = require("fs/promises");
|
|
|
944202
944661
|
var import_yaml12 = __toESM(require_dist9(), 1);
|
|
944203
944662
|
|
|
944204
944663
|
// ../cli-migrations/lib/migrations/0.1.3-rc3/add-inline-requests/getAllYamlFiles.js
|
|
944205
|
-
|
|
944664
|
+
init_lib7();
|
|
944206
944665
|
init_esm14();
|
|
944207
944666
|
var FERN_DIRECTORY11 = "fern";
|
|
944208
944667
|
async function getAllYamlFiles5(context3) {
|
|
@@ -944364,7 +944823,7 @@ var import_promises158 = require("fs/promises");
|
|
|
944364
944823
|
var import_yaml13 = __toESM(require_dist9(), 1);
|
|
944365
944824
|
|
|
944366
944825
|
// ../cli-migrations/lib/migrations/0.3.0-rc12/add-value-key-to-type-examples/getAllYamlFiles.js
|
|
944367
|
-
|
|
944826
|
+
init_lib7();
|
|
944368
944827
|
init_esm14();
|
|
944369
944828
|
var FERN_DIRECTORY12 = "fern";
|
|
944370
944829
|
async function getAllYamlFiles6(context3) {
|
|
@@ -944444,7 +944903,7 @@ var import_promises159 = require("fs/promises");
|
|
|
944444
944903
|
var import_yaml14 = __toESM(require_dist9(), 1);
|
|
944445
944904
|
|
|
944446
944905
|
// ../cli-migrations/lib/migrations/0.3.23/change-services-key-to-service/getAllYamlFiles.js
|
|
944447
|
-
|
|
944906
|
+
init_lib7();
|
|
944448
944907
|
init_esm14();
|
|
944449
944908
|
var FERN_DIRECTORY13 = "fern";
|
|
944450
944909
|
async function getAllYamlFiles7(context3) {
|
|
@@ -944528,7 +944987,7 @@ var import_promises160 = require("fs/promises");
|
|
|
944528
944987
|
var import_yaml15 = __toESM(require_dist9(), 1);
|
|
944529
944988
|
|
|
944530
944989
|
// ../cli-migrations/lib/migrations/0.5.4/move-service-docs-to-top-level/getAllYamlFiles.js
|
|
944531
|
-
|
|
944990
|
+
init_lib7();
|
|
944532
944991
|
init_esm14();
|
|
944533
944992
|
var FERN_DIRECTORY14 = "fern";
|
|
944534
944993
|
async function getAllYamlFiles8(context3) {
|
|
@@ -944600,7 +945059,7 @@ var __default13 = versionMigrations13;
|
|
|
944600
945059
|
var import_promises161 = require("fs/promises");
|
|
944601
945060
|
|
|
944602
945061
|
// ../cli-migrations/lib/migrations/0.9.10/add-suffix-to-docs-domain/getAllGeneratorYamlFiles.js
|
|
944603
|
-
|
|
945062
|
+
init_lib7();
|
|
944604
945063
|
init_esm14();
|
|
944605
945064
|
var FERN_DIRECTORY15 = "fern";
|
|
944606
945065
|
async function getAllGeneratorYamlFiles4(context3) {
|
|
@@ -944657,7 +945116,7 @@ var versionMigrations14 = {
|
|
|
944657
945116
|
var __default14 = versionMigrations14;
|
|
944658
945117
|
|
|
944659
945118
|
// ../cli-migrations/lib/migrations/0.15.0-rc0/update-directory-structure/migration.js
|
|
944660
|
-
|
|
945119
|
+
init_lib7();
|
|
944661
945120
|
|
|
944662
945121
|
// ../cli-migrations/lib/migrations/0.15.0-rc0/update-directory-structure/docs-config/index.js
|
|
944663
945122
|
var import_docs_config = __toESM(require_docs_config(), 1);
|
|
@@ -944665,7 +945124,7 @@ var import_legacy_docs_config = __toESM(require_legacy_docs_config(), 1);
|
|
|
944665
945124
|
var LegacyDocsSerializers = __toESM(require_serialization4(), 1);
|
|
944666
945125
|
|
|
944667
945126
|
// ../cli-migrations/lib/migrations/0.15.0-rc0/update-directory-structure/docs-config/loadRawDocsConfiguration.js
|
|
944668
|
-
|
|
945127
|
+
init_lib7();
|
|
944669
945128
|
var import_promises162 = require("fs/promises");
|
|
944670
945129
|
init_js_yaml();
|
|
944671
945130
|
async function loadRawDocsConfiguration2({ absolutePathToWorkspace }) {
|
|
@@ -944688,7 +945147,7 @@ function getAbsolutePathToDocsFolder({ absolutePathToWorkspace }) {
|
|
|
944688
945147
|
}
|
|
944689
945148
|
|
|
944690
945149
|
// ../cli-migrations/lib/migrations/0.15.0-rc0/update-directory-structure/migrateDocsAndMultipleAPIs.js
|
|
944691
|
-
|
|
945150
|
+
init_lib7();
|
|
944692
945151
|
var import_promises164 = require("fs/promises");
|
|
944693
945152
|
init_js_yaml();
|
|
944694
945153
|
|
|
@@ -944719,7 +945178,7 @@ function isAPIReferenceSection(item) {
|
|
|
944719
945178
|
|
|
944720
945179
|
// ../cli-migrations/lib/migrations/0.15.0-rc0/update-directory-structure/generators-configuration/convertLegacyGeneratorsConfiguration.js
|
|
944721
945180
|
init_lib4();
|
|
944722
|
-
|
|
945181
|
+
init_lib7();
|
|
944723
945182
|
|
|
944724
945183
|
// ../cli-migrations/lib/migrations/0.15.0-rc0/update-directory-structure/generators-configuration/legacy/GeneratorsConfigurationSchema.js
|
|
944725
945184
|
init_zod();
|
|
@@ -944897,7 +945356,7 @@ __export(legacy_exports, {
|
|
|
944897
945356
|
});
|
|
944898
945357
|
|
|
944899
945358
|
// ../cli-migrations/lib/migrations/0.15.0-rc0/update-directory-structure/generators-configuration/loadRawGeneratorsConfiguration.js
|
|
944900
|
-
|
|
945359
|
+
init_lib7();
|
|
944901
945360
|
var import_promises163 = require("fs/promises");
|
|
944902
945361
|
init_js_yaml();
|
|
944903
945362
|
async function loadRawGeneratorsConfiguration2({ absolutePathToWorkspace }) {
|
|
@@ -944975,7 +945434,7 @@ async function migrateAndWriteDocsYml({ absolutePathToWorkspace, docsURLs, apiNa
|
|
|
944975
945434
|
}
|
|
944976
945435
|
|
|
944977
945436
|
// ../cli-migrations/lib/migrations/0.15.0-rc0/update-directory-structure/migrateDocsAndSingleAPI.js
|
|
944978
|
-
|
|
945437
|
+
init_lib7();
|
|
944979
945438
|
var import_promises165 = require("fs/promises");
|
|
944980
945439
|
init_js_yaml();
|
|
944981
945440
|
async function migrateDocsAndSingleAPI({ absolutePathToFernDirectory, absolutePathToWorkspace }) {
|
|
@@ -945015,7 +945474,7 @@ async function migrateAndWriteGeneratorsYml2({ absolutePathToWorkspace }) {
|
|
|
945015
945474
|
}
|
|
945016
945475
|
|
|
945017
945476
|
// ../cli-migrations/lib/migrations/0.15.0-rc0/update-directory-structure/migrateOnlyMultipleAPIs.js
|
|
945018
|
-
|
|
945477
|
+
init_lib7();
|
|
945019
945478
|
var import_promises166 = require("fs/promises");
|
|
945020
945479
|
init_js_yaml();
|
|
945021
945480
|
var APIS_DIRECTORY3 = "apis";
|
|
@@ -945044,7 +945503,7 @@ async function migrateAndWriteGeneratorsYml3({ absolutePathToWorkspace }) {
|
|
|
945044
945503
|
}
|
|
945045
945504
|
|
|
945046
945505
|
// ../cli-migrations/lib/migrations/0.15.0-rc0/update-directory-structure/migrateOnlySingleAPI.js
|
|
945047
|
-
|
|
945506
|
+
init_lib7();
|
|
945048
945507
|
var import_promises167 = require("fs/promises");
|
|
945049
945508
|
init_js_yaml();
|
|
945050
945509
|
async function migrateOnlySingleAPI({ absolutePathToFernDirectory, absolutePathToWorkspace }) {
|
|
@@ -945139,7 +945598,7 @@ var versionMigrations15 = {
|
|
|
945139
945598
|
var __default15 = versionMigrations15;
|
|
945140
945599
|
|
|
945141
945600
|
// ../cli-migrations/lib/migrations/0.41.0-rc0/require-generators-yml/migration.js
|
|
945142
|
-
|
|
945601
|
+
init_lib7();
|
|
945143
945602
|
var import_promises168 = require("fs/promises");
|
|
945144
945603
|
init_js_yaml();
|
|
945145
945604
|
var import_yaml16 = __toESM(require_dist9(), 1);
|
|
@@ -945226,7 +945685,7 @@ var versionMigrations16 = {
|
|
|
945226
945685
|
var __default16 = versionMigrations16;
|
|
945227
945686
|
|
|
945228
945687
|
// ../cli-migrations/lib/migrations/0.54.0-rc0/use-generators-yml-specs/migration.js
|
|
945229
|
-
|
|
945688
|
+
init_lib7();
|
|
945230
945689
|
var import_promises169 = require("fs/promises");
|
|
945231
945690
|
init_js_yaml();
|
|
945232
945691
|
var import_yaml17 = __toESM(require_dist9(), 1);
|
|
@@ -945558,7 +946017,7 @@ var versionMigrations17 = {
|
|
|
945558
946017
|
var __default17 = versionMigrations17;
|
|
945559
946018
|
|
|
945560
946019
|
// ../cli-migrations/lib/migrations/0.82.1/add-path-parameter-order-setting/migration.js
|
|
945561
|
-
|
|
946020
|
+
init_lib7();
|
|
945562
946021
|
var import_promises170 = require("fs/promises");
|
|
945563
946022
|
init_js_yaml();
|
|
945564
946023
|
var migration18 = {
|
|
@@ -945684,7 +946143,7 @@ var versionMigrations18 = {
|
|
|
945684
946143
|
var __default18 = versionMigrations18;
|
|
945685
946144
|
|
|
945686
946145
|
// ../cli-migrations/lib/migrations/1.0.0/update-settings-defaults/migration.js
|
|
945687
|
-
|
|
946146
|
+
init_lib7();
|
|
945688
946147
|
var import_promises171 = require("fs/promises");
|
|
945689
946148
|
init_js_yaml();
|
|
945690
946149
|
var migration19 = {
|
|
@@ -945930,7 +946389,7 @@ var versionMigrations19 = {
|
|
|
945930
946389
|
var __default19 = versionMigrations19;
|
|
945931
946390
|
|
|
945932
946391
|
// ../cli-migrations/lib/migrations/2.0.0-rc0/update-settings-defaults/migration.js
|
|
945933
|
-
|
|
946392
|
+
init_lib7();
|
|
945934
946393
|
var import_promises172 = require("fs/promises");
|
|
945935
946394
|
init_js_yaml();
|
|
945936
946395
|
var migration20 = {
|
|
@@ -946153,7 +946612,7 @@ var versionMigrations20 = {
|
|
|
946153
946612
|
var __default20 = versionMigrations20;
|
|
946154
946613
|
|
|
946155
946614
|
// ../cli-migrations/lib/migrations/2.13.0/migrate-deprecated-generator-api-settings/migration.js
|
|
946156
|
-
|
|
946615
|
+
init_lib7();
|
|
946157
946616
|
var import_promises173 = require("fs/promises");
|
|
946158
946617
|
init_js_yaml();
|
|
946159
946618
|
var migration21 = {
|
|
@@ -946292,7 +946751,7 @@ var versionMigrations21 = {
|
|
|
946292
946751
|
var __default21 = versionMigrations21;
|
|
946293
946752
|
|
|
946294
946753
|
// ../cli-migrations/lib/migrations/3.0.0/enable-smart-casing/migration.js
|
|
946295
|
-
|
|
946754
|
+
init_lib7();
|
|
946296
946755
|
var import_promises174 = require("fs/promises");
|
|
946297
946756
|
init_js_yaml();
|
|
946298
946757
|
var migration22 = {
|
|
@@ -946519,7 +946978,7 @@ ${source_default.dim(migration23.summary)}`
|
|
|
946519
946978
|
}
|
|
946520
946979
|
|
|
946521
946980
|
// src/commands/upgrade/upgrade.ts
|
|
946522
|
-
|
|
946981
|
+
init_lib11();
|
|
946523
946982
|
var import_promises175 = require("fs/promises");
|
|
946524
946983
|
|
|
946525
946984
|
// ../../../node_modules/.pnpm/immer@10.2.0/node_modules/immer/dist/immer.mjs
|
|
@@ -947247,7 +947706,7 @@ var immer = new Immer2();
|
|
|
947247
947706
|
var produce = immer.produce;
|
|
947248
947707
|
|
|
947249
947708
|
// src/rerunFernCliAtVersion.ts
|
|
947250
|
-
|
|
947709
|
+
init_lib11();
|
|
947251
947710
|
|
|
947252
947711
|
// src/cwd.ts
|
|
947253
947712
|
var FERN_CWD_ENV_VAR = "FERN_CWD";
|
|
@@ -947838,7 +948297,7 @@ function buildPrSuggestion({
|
|
|
947838
948297
|
|
|
947839
948298
|
// src/commands/diff/diff.ts
|
|
947840
948299
|
init_lib4();
|
|
947841
|
-
|
|
948300
|
+
init_lib7();
|
|
947842
948301
|
var import_semver17 = __toESM(require_semver2(), 1);
|
|
947843
948302
|
async function diff({
|
|
947844
948303
|
context: context3,
|
|
@@ -948199,7 +948658,7 @@ async function previewDocsWorkspace({
|
|
|
948199
948658
|
}
|
|
948200
948659
|
|
|
948201
948660
|
// src/commands/docs-diff/docsDiff.ts
|
|
948202
|
-
|
|
948661
|
+
init_lib7();
|
|
948203
948662
|
var import_promises177 = require("fs/promises");
|
|
948204
948663
|
var import_pngjs = __toESM(require_png2(), 1);
|
|
948205
948664
|
async function getSlugForFiles({
|
|
@@ -948630,7 +949089,7 @@ async function docsDiff({
|
|
|
948630
949089
|
|
|
948631
949090
|
// src/commands/docs-md-generate/generateLibraryDocs.ts
|
|
948632
949091
|
init_lib4();
|
|
948633
|
-
|
|
949092
|
+
init_lib7();
|
|
948634
949093
|
|
|
948635
949094
|
// ../library-docs-generator/lib/cpp/src/context.js
|
|
948636
949095
|
var entityRegistry = /* @__PURE__ */ new Map();
|
|
@@ -953438,7 +953897,7 @@ Found ${previewDeployments.length} preview deployment(s):
|
|
|
953438
953897
|
}
|
|
953439
953898
|
|
|
953440
953899
|
// src/commands/docs-theme/ThemeExporter.ts
|
|
953441
|
-
|
|
953900
|
+
init_lib7();
|
|
953442
953901
|
var import_promises179 = require("fs/promises");
|
|
953443
953902
|
init_js_yaml();
|
|
953444
953903
|
var import_path97 = __toESM(require("path"), 1);
|
|
@@ -953613,7 +954072,7 @@ init_js_yaml();
|
|
|
953613
954072
|
var import_path99 = __toESM(require("path"), 1);
|
|
953614
954073
|
|
|
953615
954074
|
// src/commands/docs-theme/ThemeConfigProcessor.ts
|
|
953616
|
-
|
|
954075
|
+
init_lib7();
|
|
953617
954076
|
var import_child_process12 = require("child_process");
|
|
953618
954077
|
var import_crypto9 = require("crypto");
|
|
953619
954078
|
var import_promises180 = require("fs/promises");
|
|
@@ -954023,7 +954482,7 @@ async function downgrade({
|
|
|
954023
954482
|
}
|
|
954024
954483
|
|
|
954025
954484
|
// src/commands/export/generateOpenAPIForWorkspaces.ts
|
|
954026
|
-
|
|
954485
|
+
init_lib7();
|
|
954027
954486
|
var import_promises183 = require("fs/promises");
|
|
954028
954487
|
init_js_yaml();
|
|
954029
954488
|
|
|
@@ -955443,7 +955902,7 @@ async function formatWorkspaces({
|
|
|
955443
955902
|
// src/commands/generate/generateDocsWorkspace.ts
|
|
955444
955903
|
init_lib4();
|
|
955445
955904
|
init_js();
|
|
955446
|
-
|
|
955905
|
+
init_lib7();
|
|
955447
955906
|
|
|
955448
955907
|
// src/utils/environment.ts
|
|
955449
955908
|
function detectCISource() {
|
|
@@ -955734,7 +956193,7 @@ function summarizeValidationErrors(errors4) {
|
|
|
955734
956193
|
}
|
|
955735
956194
|
|
|
955736
956195
|
// src/commands/generate-dynamic-ir/generateDynamicIrForWorkspaces.ts
|
|
955737
|
-
|
|
956196
|
+
init_lib7();
|
|
955738
956197
|
var import_path100 = __toESM(require("path"), 1);
|
|
955739
956198
|
|
|
955740
956199
|
// src/commands/generate-ir/generateIrForFernWorkspace.ts
|
|
@@ -955809,7 +956268,7 @@ async function generateDynamicIrForWorkspaces({
|
|
|
955809
956268
|
}
|
|
955810
956269
|
|
|
955811
956270
|
// src/commands/generate-fdr/generateFdrApiDefinitionForWorkspaces.ts
|
|
955812
|
-
|
|
956271
|
+
init_lib7();
|
|
955813
956272
|
var import_path101 = __toESM(require("path"), 1);
|
|
955814
956273
|
async function generateFdrApiDefinitionForWorkspaces({
|
|
955815
956274
|
project,
|
|
@@ -955856,7 +956315,7 @@ async function generateFdrApiDefinitionForWorkspaces({
|
|
|
955856
956315
|
}
|
|
955857
956316
|
|
|
955858
956317
|
// src/commands/generate-ir/generateIrForWorkspaces.ts
|
|
955859
|
-
|
|
956318
|
+
init_lib7();
|
|
955860
956319
|
var import_path102 = __toESM(require("path"), 1);
|
|
955861
956320
|
async function generateIrForWorkspaces({
|
|
955862
956321
|
project,
|
|
@@ -955942,7 +956401,7 @@ async function getIntermediateRepresentation2({
|
|
|
955942
956401
|
}
|
|
955943
956402
|
|
|
955944
956403
|
// src/commands/generate-openapi-fdr/generateOpenApiToFdrApiDefinitionForWorkspaces.ts
|
|
955945
|
-
|
|
956404
|
+
init_lib7();
|
|
955946
956405
|
var import_path103 = __toESM(require("path"), 1);
|
|
955947
956406
|
async function generateOpenApiToFdrApiDefinitionForWorkspaces({
|
|
955948
956407
|
project,
|
|
@@ -955963,7 +956422,7 @@ async function generateOpenApiToFdrApiDefinitionForWorkspaces({
|
|
|
955963
956422
|
}
|
|
955964
956423
|
|
|
955965
956424
|
// src/commands/generate-openapi-ir/generateOpenAPIIrForWorkspaces.ts
|
|
955966
|
-
|
|
956425
|
+
init_lib7();
|
|
955967
956426
|
var import_path104 = __toESM(require("path"), 1);
|
|
955968
956427
|
async function generateOpenAPIIrForWorkspaces({
|
|
955969
956428
|
project,
|
|
@@ -955998,7 +956457,7 @@ async function generateOpenAPIIrForWorkspaces({
|
|
|
955998
956457
|
}
|
|
955999
956458
|
|
|
956000
956459
|
// src/commands/generate-overrides/compareOpenAPISpecs.ts
|
|
956001
|
-
|
|
956460
|
+
init_lib7();
|
|
956002
956461
|
var import_promises184 = require("fs/promises");
|
|
956003
956462
|
init_js_yaml();
|
|
956004
956463
|
async function compareOpenAPISpecs({
|
|
@@ -956149,7 +956608,7 @@ function deepEqual(a3, b8) {
|
|
|
956149
956608
|
}
|
|
956150
956609
|
|
|
956151
956610
|
// src/commands/generate-overrides/writeOverridesForWorkspaces.ts
|
|
956152
|
-
|
|
956611
|
+
init_lib7();
|
|
956153
956612
|
var import_promises185 = require("fs/promises");
|
|
956154
956613
|
init_js_yaml();
|
|
956155
956614
|
async function writeOverridesForWorkspaces({
|
|
@@ -956309,7 +956768,7 @@ async function installDependencies({ cliContext }) {
|
|
|
956309
956768
|
}
|
|
956310
956769
|
|
|
956311
956770
|
// src/commands/jsonschema/generateJsonschemaForWorkspace.ts
|
|
956312
|
-
|
|
956771
|
+
init_lib7();
|
|
956313
956772
|
|
|
956314
956773
|
// ../fern-definition/ir-to-jsonschema/lib/converters/convertTypeDeclarationToJsonSchema.js
|
|
956315
956774
|
init_lib4();
|
|
@@ -956729,7 +957188,7 @@ async function generateJsonschemaForWorkspaces({
|
|
|
956729
957188
|
}
|
|
956730
957189
|
|
|
956731
957190
|
// src/commands/merge/mergeOpenAPIWithOverrides.ts
|
|
956732
|
-
|
|
957191
|
+
init_lib7();
|
|
956733
957192
|
var import_promises187 = require("fs/promises");
|
|
956734
957193
|
init_js_yaml();
|
|
956735
957194
|
var HTTP_METHODS2 = /* @__PURE__ */ new Set(["get", "put", "post", "delete", "options", "head", "patch", "trace"]);
|
|
@@ -957500,9 +957959,9 @@ function getAIEnhancerConfig2() {
|
|
|
957500
957959
|
}
|
|
957501
957960
|
|
|
957502
957961
|
// src/commands/sdk-diff/sdkDiffCommand.ts
|
|
957503
|
-
|
|
957962
|
+
init_lib41();
|
|
957504
957963
|
init_lib4();
|
|
957505
|
-
|
|
957964
|
+
init_lib7();
|
|
957506
957965
|
var import_autoversion5 = __toESM(require_autoversion(), 1);
|
|
957507
957966
|
var import_child_process13 = require("child_process");
|
|
957508
957967
|
var import_util70 = require("util");
|
|
@@ -957693,7 +958152,7 @@ async function generateDiff({
|
|
|
957693
958152
|
}
|
|
957694
958153
|
|
|
957695
958154
|
// src/commands/sdk-preview/sdkPreview.ts
|
|
957696
|
-
|
|
958155
|
+
init_lib7();
|
|
957697
958156
|
var import_promises189 = __toESM(require("fs/promises"), 1);
|
|
957698
958157
|
|
|
957699
958158
|
// src/commands/sdk-preview/computePreviewVersion.ts
|
|
@@ -958000,7 +958459,7 @@ async function sdkPreview({
|
|
|
958000
958459
|
}
|
|
958001
958460
|
|
|
958002
958461
|
// src/commands/self-update/selfUpdate.ts
|
|
958003
|
-
|
|
958462
|
+
init_lib11();
|
|
958004
958463
|
var import_promises190 = require("fs/promises");
|
|
958005
958464
|
var import_path106 = require("path");
|
|
958006
958465
|
async function getPackageManagerBinDir(logger4, pm2) {
|
|
@@ -958235,7 +958694,7 @@ Resolved to: ${installationMethod.resolvedPath}`;
|
|
|
958235
958694
|
}
|
|
958236
958695
|
|
|
958237
958696
|
// src/commands/test/testOutput.ts
|
|
958238
|
-
|
|
958697
|
+
init_lib11();
|
|
958239
958698
|
async function testOutput({
|
|
958240
958699
|
cliContext,
|
|
958241
958700
|
project,
|
|
@@ -958349,7 +958808,7 @@ async function generateToken({
|
|
|
958349
958808
|
}
|
|
958350
958809
|
|
|
958351
958810
|
// src/commands/upgrade/updateApiSpec.ts
|
|
958352
|
-
|
|
958811
|
+
init_lib7();
|
|
958353
958812
|
var fs27 = __toESM(require("fs"), 1);
|
|
958354
958813
|
var import_promises191 = require("fs/promises");
|
|
958355
958814
|
init_graphql();
|
|
@@ -958671,7 +959130,7 @@ async function validateDocsBrokenLinks({
|
|
|
958671
959130
|
}
|
|
958672
959131
|
|
|
958673
959132
|
// src/commands/validate/validateMdx.ts
|
|
958674
|
-
|
|
959133
|
+
init_lib40();
|
|
958675
959134
|
var import_fs40 = require("fs");
|
|
958676
959135
|
var import_gray_matter11 = __toESM(require_gray_matter(), 1);
|
|
958677
959136
|
var import_path107 = __toESM(require("path"), 1);
|
|
@@ -958807,7 +959266,7 @@ function logMdxValidationResults({
|
|
|
958807
959266
|
}
|
|
958808
959267
|
|
|
958809
959268
|
// src/commands/validate/validateWorkspaces.ts
|
|
958810
|
-
|
|
959269
|
+
init_lib7();
|
|
958811
959270
|
|
|
958812
959271
|
// src/commands/validate/buildCheckJsonResult.ts
|
|
958813
959272
|
function buildCheckJsonResult({
|
|
@@ -959196,7 +959655,7 @@ async function validateWorkspaces({
|
|
|
959196
959655
|
}
|
|
959197
959656
|
|
|
959198
959657
|
// src/commands/write-definition/writeDefinitionForWorkspaces.ts
|
|
959199
|
-
|
|
959658
|
+
init_lib7();
|
|
959200
959659
|
var import_promises193 = require("fs/promises");
|
|
959201
959660
|
init_js_yaml();
|
|
959202
959661
|
var import_path108 = __toESM(require("path"), 1);
|
|
@@ -959299,7 +959758,7 @@ async function writeFernDefinition({
|
|
|
959299
959758
|
}
|
|
959300
959759
|
|
|
959301
959760
|
// src/commands/write-docs-definition/writeDocsDefinitionForProject.ts
|
|
959302
|
-
|
|
959761
|
+
init_lib7();
|
|
959303
959762
|
var import_promises194 = require("fs/promises");
|
|
959304
959763
|
async function writeDocsDefinitionForProject({
|
|
959305
959764
|
project,
|
|
@@ -960007,6 +960466,11 @@ function addGenerateCommand2(cli, cliContext) {
|
|
|
960007
960466
|
default: true,
|
|
960008
960467
|
hidden: true,
|
|
960009
960468
|
description: "Run replay after generation (use --no-replay to skip)"
|
|
960469
|
+
}).option("verify", {
|
|
960470
|
+
boolean: true,
|
|
960471
|
+
default: false,
|
|
960472
|
+
hidden: true,
|
|
960473
|
+
description: "Run the generator's verify.sh script in a validator container after generation (local generation only)"
|
|
960010
960474
|
}).option("retry-rate-limited", {
|
|
960011
960475
|
boolean: true,
|
|
960012
960476
|
default: false,
|
|
@@ -960132,6 +960596,7 @@ function addGenerateCommand2(cli, cliContext) {
|
|
|
960132
960596
|
dynamicIrOnly: argv["dynamic-ir-only"],
|
|
960133
960597
|
outputDir: argv.output,
|
|
960134
960598
|
noReplay: !argv.replay,
|
|
960599
|
+
verify: argv.verify,
|
|
960135
960600
|
retryRateLimited: argv["retry-rate-limited"],
|
|
960136
960601
|
requireEnvVars: argv["require-env-vars"],
|
|
960137
960602
|
skipIfNoDiff: argv["skip-if-no-diff"]
|
|
@@ -960192,6 +960657,7 @@ function addGenerateCommand2(cli, cliContext) {
|
|
|
960192
960657
|
dynamicIrOnly: argv["dynamic-ir-only"],
|
|
960193
960658
|
outputDir: argv.output,
|
|
960194
960659
|
noReplay: !argv.replay,
|
|
960660
|
+
verify: argv.verify,
|
|
960195
960661
|
retryRateLimited: argv["retry-rate-limited"],
|
|
960196
960662
|
requireEnvVars: argv["require-env-vars"],
|
|
960197
960663
|
skipIfNoDiff: argv["skip-if-no-diff"]
|