fern-api 0.16.38 → 0.16.39
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/bundle.cjs +23 -6
- package/package.json +1 -1
package/bundle.cjs
CHANGED
|
@@ -735809,6 +735809,14 @@ var NpmOutputLocationSchema = z.strictObject({
|
|
|
735809
735809
|
token: z.optional(z.string())
|
|
735810
735810
|
});
|
|
735811
735811
|
|
|
735812
|
+
// pnp:/home/circleci/project/packages/cli/config-management/generators-configuration/lib/schemas/NugetOutputLocationSchema.js
|
|
735813
|
+
var NugetOutputLocationSchema = z.strictObject({
|
|
735814
|
+
location: z.literal("nuget"),
|
|
735815
|
+
url: z.optional(z.string()),
|
|
735816
|
+
"package-name": z.string(),
|
|
735817
|
+
"api-key": z.optional(z.string())
|
|
735818
|
+
});
|
|
735819
|
+
|
|
735812
735820
|
// pnp:/home/circleci/project/packages/cli/config-management/generators-configuration/lib/schemas/PostmanOutputLocationSchema.js
|
|
735813
735821
|
var PostmanOutputLocationSchema = z.strictObject({
|
|
735814
735822
|
location: z.literal("postman"),
|
|
@@ -735832,7 +735840,8 @@ var GeneratorOutputSchema = z.discriminatedUnion("location", [
|
|
|
735832
735840
|
MavenOutputLocationSchema,
|
|
735833
735841
|
PypiOutputLocationSchema,
|
|
735834
735842
|
PostmanOutputLocationSchema,
|
|
735835
|
-
LocalFileSystemOutputLocationSchema
|
|
735843
|
+
LocalFileSystemOutputLocationSchema,
|
|
735844
|
+
NugetOutputLocationSchema
|
|
735836
735845
|
]);
|
|
735837
735846
|
|
|
735838
735847
|
// pnp:/home/circleci/project/packages/cli/config-management/generators-configuration/lib/schemas/GithubLicenseCustomSchema.js
|
|
@@ -736008,6 +736017,8 @@ async function convertOutputMode({ absolutePathToGeneratorsConfiguration, genera
|
|
|
736008
736017
|
password: generator.output.token ?? generator.output.password ?? "",
|
|
736009
736018
|
coordinate: generator.output["package-name"]
|
|
736010
736019
|
}));
|
|
736020
|
+
case "nuget":
|
|
736021
|
+
throw new Error("Nuget is not supported");
|
|
736011
736022
|
default:
|
|
736012
736023
|
assertNever(generator.output);
|
|
736013
736024
|
}
|
|
@@ -736069,6 +736080,8 @@ function getGithubPublishInfo(output) {
|
|
|
736069
736080
|
password: output.password ?? ""
|
|
736070
736081
|
}
|
|
736071
736082
|
});
|
|
736083
|
+
case "nuget":
|
|
736084
|
+
throw new Error("Nuget is not supported");
|
|
736072
736085
|
default:
|
|
736073
736086
|
assertNever(output);
|
|
736074
736087
|
}
|
|
@@ -739545,7 +739558,7 @@ var AccessTokenPosthogManager = class {
|
|
|
739545
739558
|
properties: {
|
|
739546
739559
|
...event,
|
|
739547
739560
|
...event.properties,
|
|
739548
|
-
version: "0.16.
|
|
739561
|
+
version: "0.16.39",
|
|
739549
739562
|
usingAccessToken: true
|
|
739550
739563
|
}
|
|
739551
739564
|
});
|
|
@@ -739607,7 +739620,7 @@ var UserPosthogManager = class {
|
|
|
739607
739620
|
distinctId: this.userId ?? await this.getPersistedDistinctId(),
|
|
739608
739621
|
event: "CLI",
|
|
739609
739622
|
properties: {
|
|
739610
|
-
version: "0.16.
|
|
739623
|
+
version: "0.16.39",
|
|
739611
739624
|
...event,
|
|
739612
739625
|
...event.properties
|
|
739613
739626
|
}
|
|
@@ -764961,10 +764974,10 @@ var CliContext = class {
|
|
|
764961
764974
|
return "fern-api";
|
|
764962
764975
|
}
|
|
764963
764976
|
getPackageVersion() {
|
|
764964
|
-
if ("0.16.
|
|
764977
|
+
if ("0.16.39" == null) {
|
|
764965
764978
|
this.logger.error("CLI_VERSION is not defined");
|
|
764966
764979
|
}
|
|
764967
|
-
return "0.16.
|
|
764980
|
+
return "0.16.39";
|
|
764968
764981
|
}
|
|
764969
764982
|
getCliName() {
|
|
764970
764983
|
if ("fern" == null) {
|
|
@@ -765185,7 +765198,11 @@ var GENERATOR_INVOCATIONS = {
|
|
|
765185
765198
|
}
|
|
765186
765199
|
},
|
|
765187
765200
|
[GeneratorName.PYTHON_SDK]: {
|
|
765188
|
-
version: "0.
|
|
765201
|
+
version: "0.8.1",
|
|
765202
|
+
output: {
|
|
765203
|
+
location: "local-file-system",
|
|
765204
|
+
path: "../generated/python"
|
|
765205
|
+
}
|
|
765189
765206
|
},
|
|
765190
765207
|
[GeneratorName.GO_FIBER]: {
|
|
765191
765208
|
version: "0.9.0"
|