fern-api 0.16.19 → 0.16.20

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.
Files changed (2) hide show
  1. package/bundle.cjs +273 -20
  2. package/package.json +1 -1
package/bundle.cjs CHANGED
@@ -4111,9 +4111,9 @@ var require_ua_parser = __commonJS({
4111
4111
  }
4112
4112
  });
4113
4113
 
4114
- // pnp:/home/circleci/project/.yarn/cache/@fern-fern-fiddle-sdk-npm-0.0.351-8167c927e6-dfaf05c6c0.zip/node_modules/@fern-fern/fiddle-sdk/dist/node/index.js
4114
+ // pnp:/home/circleci/project/.yarn/cache/@fern-fern-fiddle-sdk-npm-0.0.379-d1a430e0ee-31ea7af7dc.zip/node_modules/@fern-fern/fiddle-sdk/dist/node/index.js
4115
4115
  var require_node = __commonJS({
4116
- "pnp:/home/circleci/project/.yarn/cache/@fern-fern-fiddle-sdk-npm-0.0.351-8167c927e6-dfaf05c6c0.zip/node_modules/@fern-fern/fiddle-sdk/dist/node/index.js"(exports2, module2) {
4116
+ "pnp:/home/circleci/project/.yarn/cache/@fern-fern-fiddle-sdk-npm-0.0.379-d1a430e0ee-31ea7af7dc.zip/node_modules/@fern-fern/fiddle-sdk/dist/node/index.js"(exports2, module2) {
4117
4117
  "use strict";
4118
4118
  var __create2 = Object.create;
4119
4119
  var __defProp2 = Object.defineProperty;
@@ -4546,6 +4546,15 @@ var require_node = __commonJS({
4546
4546
  }
4547
4547
  };
4548
4548
  },
4549
+ githubV2: (value) => {
4550
+ return {
4551
+ githubV2: value,
4552
+ type: "githubV2",
4553
+ _visit: function(visitor) {
4554
+ return api_exports.OutputMode._visit(this, visitor);
4555
+ }
4556
+ };
4557
+ },
4549
4558
  _unknown: (value) => {
4550
4559
  return {
4551
4560
  ...value,
@@ -4564,6 +4573,8 @@ var require_node = __commonJS({
4564
4573
  return visitor.downloadFiles();
4565
4574
  case "github":
4566
4575
  return visitor.github(value);
4576
+ case "githubV2":
4577
+ return visitor.githubV2(value.githubV2);
4567
4578
  default:
4568
4579
  return visitor._other(value);
4569
4580
  }
@@ -4678,6 +4689,82 @@ var require_node = __commonJS({
4678
4689
  "use strict";
4679
4690
  }
4680
4691
  });
4692
+ var GithubOutputModeV2;
4693
+ var init_GithubOutputModeV2 = __esm2({
4694
+ "src/api/resources/remoteGen/types/GithubOutputModeV2.ts"() {
4695
+ "use strict";
4696
+ init_src();
4697
+ GithubOutputModeV2 = {
4698
+ push: (value) => {
4699
+ return {
4700
+ ...value,
4701
+ type: "push",
4702
+ _visit: function(visitor) {
4703
+ return api_exports.GithubOutputModeV2._visit(this, visitor);
4704
+ }
4705
+ };
4706
+ },
4707
+ commitAndRelease: (value) => {
4708
+ return {
4709
+ ...value,
4710
+ type: "commitAndRelease",
4711
+ _visit: function(visitor) {
4712
+ return api_exports.GithubOutputModeV2._visit(this, visitor);
4713
+ }
4714
+ };
4715
+ },
4716
+ pullRequest: (value) => {
4717
+ return {
4718
+ ...value,
4719
+ type: "pullRequest",
4720
+ _visit: function(visitor) {
4721
+ return api_exports.GithubOutputModeV2._visit(this, visitor);
4722
+ }
4723
+ };
4724
+ },
4725
+ _unknown: (value) => {
4726
+ return {
4727
+ ...value,
4728
+ _visit: function(visitor) {
4729
+ return api_exports.GithubOutputModeV2._visit(this, visitor);
4730
+ }
4731
+ };
4732
+ },
4733
+ _visit: (value, visitor) => {
4734
+ switch (value.type) {
4735
+ case "push":
4736
+ return visitor.push(value);
4737
+ case "commitAndRelease":
4738
+ return visitor.commitAndRelease(value);
4739
+ case "pullRequest":
4740
+ return visitor.pullRequest(value);
4741
+ default:
4742
+ return visitor._other(value);
4743
+ }
4744
+ }
4745
+ };
4746
+ }
4747
+ });
4748
+ var init_BaseGithubInfo = __esm2({
4749
+ "src/api/resources/remoteGen/types/BaseGithubInfo.ts"() {
4750
+ "use strict";
4751
+ }
4752
+ });
4753
+ var init_GithubPushMode = __esm2({
4754
+ "src/api/resources/remoteGen/types/GithubPushMode.ts"() {
4755
+ "use strict";
4756
+ }
4757
+ });
4758
+ var init_GithubCommitAndReleaseMode = __esm2({
4759
+ "src/api/resources/remoteGen/types/GithubCommitAndReleaseMode.ts"() {
4760
+ "use strict";
4761
+ }
4762
+ });
4763
+ var init_GithubPullRequestMode = __esm2({
4764
+ "src/api/resources/remoteGen/types/GithubPullRequestMode.ts"() {
4765
+ "use strict";
4766
+ }
4767
+ });
4681
4768
  var GithubLicense;
4682
4769
  var init_GithubLicense = __esm2({
4683
4770
  "src/api/resources/remoteGen/types/GithubLicense.ts"() {
@@ -5058,6 +5145,11 @@ var require_node = __commonJS({
5058
5145
  init_PypiOutput();
5059
5146
  init_PostmanOutput();
5060
5147
  init_GithubOutputMode();
5148
+ init_GithubOutputModeV2();
5149
+ init_BaseGithubInfo();
5150
+ init_GithubPushMode();
5151
+ init_GithubCommitAndReleaseMode();
5152
+ init_GithubPullRequestMode();
5061
5153
  init_GithubLicense();
5062
5154
  init_GithubLicenseId();
5063
5155
  init_GithubPublishInfo();
@@ -5412,6 +5504,7 @@ var require_node = __commonJS({
5412
5504
  __export2(remoteGen_exports, {
5413
5505
  GithubLicense: () => GithubLicense,
5414
5506
  GithubLicenseId: () => GithubLicenseId,
5507
+ GithubOutputModeV2: () => GithubOutputModeV2,
5415
5508
  GithubPublishInfo: () => GithubPublishInfo,
5416
5509
  LogLevel: () => LogLevel2,
5417
5510
  OutputMode: () => OutputMode,
@@ -5499,6 +5592,7 @@ var require_node = __commonJS({
5499
5592
  CommitSha: () => CommitSha,
5500
5593
  GithubLicense: () => GithubLicense,
5501
5594
  GithubLicenseId: () => GithubLicenseId,
5595
+ GithubOutputModeV2: () => GithubOutputModeV2,
5502
5596
  GithubPublishInfo: () => GithubPublishInfo,
5503
5597
  LogLevel: () => LogLevel2,
5504
5598
  Mode: () => Mode,
@@ -19049,7 +19143,10 @@ var require_node = __commonJS({
19049
19143
  publishV2: schemas_exports2.lazy(async () => (await Promise.resolve().then(() => (init_serialization(), serialization_exports))).PublishOutputModeV2)
19050
19144
  }),
19051
19145
  downloadFiles: schemas_exports2.object({}),
19052
- github: schemas_exports2.lazyObject(async () => (await Promise.resolve().then(() => (init_serialization(), serialization_exports))).GithubOutputMode)
19146
+ github: schemas_exports2.lazyObject(async () => (await Promise.resolve().then(() => (init_serialization(), serialization_exports))).GithubOutputMode),
19147
+ githubV2: schemas_exports2.object({
19148
+ githubV2: schemas_exports2.lazy(async () => (await Promise.resolve().then(() => (init_serialization(), serialization_exports))).GithubOutputModeV2)
19149
+ })
19053
19150
  }).transform({
19054
19151
  transform: (value) => {
19055
19152
  switch (value.type) {
@@ -19061,6 +19158,8 @@ var require_node = __commonJS({
19061
19158
  return api_exports.OutputMode.downloadFiles();
19062
19159
  case "github":
19063
19160
  return api_exports.OutputMode.github(value);
19161
+ case "githubV2":
19162
+ return api_exports.OutputMode.githubV2(value.githubV2);
19064
19163
  default:
19065
19164
  return api_exports.OutputMode._unknown(value);
19066
19165
  }
@@ -19196,10 +19295,79 @@ var require_node = __commonJS({
19196
19295
  repo: schemas_exports2.string(),
19197
19296
  publishInfo: schemas_exports2.lazy(async () => (await Promise.resolve().then(() => (init_serialization(), serialization_exports))).GithubPublishInfo).optional(),
19198
19297
  makePr: schemas_exports2.boolean().optional(),
19298
+ branch: schemas_exports2.string().optional(),
19199
19299
  license: schemas_exports2.lazy(async () => (await Promise.resolve().then(() => (init_serialization(), serialization_exports))).GithubLicense).optional()
19200
19300
  });
19201
19301
  }
19202
19302
  });
19303
+ var GithubOutputModeV22;
19304
+ var init_GithubOutputModeV22 = __esm2({
19305
+ "src/serialization/resources/remoteGen/types/GithubOutputModeV2.ts"() {
19306
+ "use strict";
19307
+ init_src();
19308
+ init_core();
19309
+ GithubOutputModeV22 = schemas_exports2.union("type", {
19310
+ push: schemas_exports2.lazyObject(async () => (await Promise.resolve().then(() => (init_serialization(), serialization_exports))).GithubPushMode),
19311
+ commitAndRelease: schemas_exports2.lazyObject(
19312
+ async () => (await Promise.resolve().then(() => (init_serialization(), serialization_exports))).GithubCommitAndReleaseMode
19313
+ ),
19314
+ pullRequest: schemas_exports2.lazyObject(async () => (await Promise.resolve().then(() => (init_serialization(), serialization_exports))).GithubPullRequestMode)
19315
+ }).transform({
19316
+ transform: (value) => {
19317
+ switch (value.type) {
19318
+ case "push":
19319
+ return api_exports.GithubOutputModeV2.push(value);
19320
+ case "commitAndRelease":
19321
+ return api_exports.GithubOutputModeV2.commitAndRelease(value);
19322
+ case "pullRequest":
19323
+ return api_exports.GithubOutputModeV2.pullRequest(value);
19324
+ default:
19325
+ return api_exports.GithubOutputModeV2._unknown(value);
19326
+ }
19327
+ },
19328
+ untransform: ({ _visit, ...value }) => value
19329
+ });
19330
+ }
19331
+ });
19332
+ var BaseGithubInfo;
19333
+ var init_BaseGithubInfo2 = __esm2({
19334
+ "src/serialization/resources/remoteGen/types/BaseGithubInfo.ts"() {
19335
+ "use strict";
19336
+ init_core();
19337
+ BaseGithubInfo = schemas_exports2.object({
19338
+ owner: schemas_exports2.string(),
19339
+ repo: schemas_exports2.string(),
19340
+ publishInfo: schemas_exports2.lazy(async () => (await Promise.resolve().then(() => (init_serialization(), serialization_exports))).GithubPublishInfo).optional(),
19341
+ license: schemas_exports2.lazy(async () => (await Promise.resolve().then(() => (init_serialization(), serialization_exports))).GithubLicense).optional()
19342
+ });
19343
+ }
19344
+ });
19345
+ var GithubPushMode;
19346
+ var init_GithubPushMode2 = __esm2({
19347
+ "src/serialization/resources/remoteGen/types/GithubPushMode.ts"() {
19348
+ "use strict";
19349
+ init_core();
19350
+ GithubPushMode = schemas_exports2.object({
19351
+ branch: schemas_exports2.string().optional()
19352
+ }).extend(schemas_exports2.lazyObject(async () => (await Promise.resolve().then(() => (init_serialization(), serialization_exports))).BaseGithubInfo));
19353
+ }
19354
+ });
19355
+ var GithubCommitAndReleaseMode;
19356
+ var init_GithubCommitAndReleaseMode2 = __esm2({
19357
+ "src/serialization/resources/remoteGen/types/GithubCommitAndReleaseMode.ts"() {
19358
+ "use strict";
19359
+ init_core();
19360
+ GithubCommitAndReleaseMode = schemas_exports2.object({}).extend(schemas_exports2.lazyObject(async () => (await Promise.resolve().then(() => (init_serialization(), serialization_exports))).BaseGithubInfo));
19361
+ }
19362
+ });
19363
+ var GithubPullRequestMode;
19364
+ var init_GithubPullRequestMode2 = __esm2({
19365
+ "src/serialization/resources/remoteGen/types/GithubPullRequestMode.ts"() {
19366
+ "use strict";
19367
+ init_core();
19368
+ GithubPullRequestMode = schemas_exports2.object({}).extend(schemas_exports2.lazyObject(async () => (await Promise.resolve().then(() => (init_serialization(), serialization_exports))).BaseGithubInfo));
19369
+ }
19370
+ });
19203
19371
  var GithubLicense2;
19204
19372
  var init_GithubLicense2 = __esm2({
19205
19373
  "src/serialization/resources/remoteGen/types/GithubLicense.ts"() {
@@ -19581,6 +19749,11 @@ var require_node = __commonJS({
19581
19749
  init_PypiOutput2();
19582
19750
  init_PostmanOutput2();
19583
19751
  init_GithubOutputMode2();
19752
+ init_GithubOutputModeV22();
19753
+ init_BaseGithubInfo2();
19754
+ init_GithubPushMode2();
19755
+ init_GithubCommitAndReleaseMode2();
19756
+ init_GithubPullRequestMode2();
19584
19757
  init_GithubLicense2();
19585
19758
  init_GithubLicenseId2();
19586
19759
  init_GithubPublishInfo2();
@@ -19831,6 +20004,7 @@ var require_node = __commonJS({
19831
20004
  });
19832
20005
  var remoteGen_exports2 = {};
19833
20006
  __export2(remoteGen_exports2, {
20007
+ BaseGithubInfo: () => BaseGithubInfo,
19834
20008
  CannotPublishPypiPackageDetails: () => CannotPublishPypiPackageDetails,
19835
20009
  CannotPublishToMavenGroupDetails: () => CannotPublishToMavenGroupDetails,
19836
20010
  CannotPublishToNpmScopeDetails: () => CannotPublishToNpmScopeDetails,
@@ -19844,10 +20018,14 @@ var require_node = __commonJS({
19844
20018
  GeneratorIdAndVersion: () => GeneratorIdAndVersion,
19845
20019
  GeneratorOutputs: () => GeneratorOutputs,
19846
20020
  GeneratorsDoNotExistErrorBodyType: () => GeneratorsDoNotExistErrorBodyType,
20021
+ GithubCommitAndReleaseMode: () => GithubCommitAndReleaseMode,
19847
20022
  GithubLicense: () => GithubLicense2,
19848
20023
  GithubLicenseId: () => GithubLicenseId2,
19849
20024
  GithubOutputMode: () => GithubOutputMode,
20025
+ GithubOutputModeV2: () => GithubOutputModeV22,
19850
20026
  GithubPublishInfo: () => GithubPublishInfo2,
20027
+ GithubPullRequestMode: () => GithubPullRequestMode,
20028
+ GithubPushMode: () => GithubPushMode,
19851
20029
  InsufficientPermissionsDetails: () => InsufficientPermissionsDetails,
19852
20030
  LogLevel: () => LogLevel22,
19853
20031
  MavenCoordinate: () => MavenCoordinate,
@@ -19933,6 +20111,7 @@ var require_node = __commonJS({
19933
20111
  __export2(serialization_exports, {
19934
20112
  Api: () => Api,
19935
20113
  ApiId: () => ApiId2,
20114
+ BaseGithubInfo: () => BaseGithubInfo,
19936
20115
  CannotPublishPypiPackageDetails: () => CannotPublishPypiPackageDetails,
19937
20116
  CannotPublishToMavenGroupDetails: () => CannotPublishToMavenGroupDetails,
19938
20117
  CannotPublishToNpmScopeDetails: () => CannotPublishToNpmScopeDetails,
@@ -19947,10 +20126,14 @@ var require_node = __commonJS({
19947
20126
  GeneratorIdAndVersion: () => GeneratorIdAndVersion,
19948
20127
  GeneratorOutputs: () => GeneratorOutputs,
19949
20128
  GeneratorsDoNotExistErrorBodyType: () => GeneratorsDoNotExistErrorBodyType,
20129
+ GithubCommitAndReleaseMode: () => GithubCommitAndReleaseMode,
19950
20130
  GithubLicense: () => GithubLicense2,
19951
20131
  GithubLicenseId: () => GithubLicenseId2,
19952
20132
  GithubOutputMode: () => GithubOutputMode,
20133
+ GithubOutputModeV2: () => GithubOutputModeV22,
19953
20134
  GithubPublishInfo: () => GithubPublishInfo2,
20135
+ GithubPullRequestMode: () => GithubPullRequestMode,
20136
+ GithubPushMode: () => GithubPushMode,
19954
20137
  InsufficientPermissionsDetails: () => InsufficientPermissionsDetails,
19955
20138
  LogLevel: () => LogLevel22,
19956
20139
  MavenCoordinate: () => MavenCoordinate,
@@ -733079,13 +733262,36 @@ var GithubLicenseCustomSchema = z.strictObject({
733079
733262
  // pnp:/home/circleci/project/packages/cli/config-management/generators-configuration/lib/schemas/GithubLicenseSchema.js
733080
733263
  var GithubLicenseSchema = z.union([z.enum(["MIT", "Apache-2.0"]), GithubLicenseCustomSchema]);
733081
733264
 
733082
- // pnp:/home/circleci/project/packages/cli/config-management/generators-configuration/lib/schemas/GithubConfigurationSchema.js
733083
- var GithubConfigurationSchema = z.strictObject({
733265
+ // pnp:/home/circleci/project/packages/cli/config-management/generators-configuration/lib/schemas/GithubCommitAndReleaseSchema.js
733266
+ var GithubCommitAndReleaseSchema = z.strictObject({
733084
733267
  repository: z.string(),
733085
733268
  license: z.optional(GithubLicenseSchema),
733086
- mode: z.optional(z.enum(["pull-request", "commit"]))
733269
+ mode: z.optional(z.enum(["commit", "release"]))
733270
+ });
733271
+
733272
+ // pnp:/home/circleci/project/packages/cli/config-management/generators-configuration/lib/schemas/GithubPullRequestSchema.js
733273
+ var GithubPullRequestSchema = z.strictObject({
733274
+ repository: z.string(),
733275
+ branch: z.optional(z.string()),
733276
+ license: z.optional(GithubLicenseSchema),
733277
+ mode: z.literal("pull-request")
733087
733278
  });
733088
733279
 
733280
+ // pnp:/home/circleci/project/packages/cli/config-management/generators-configuration/lib/schemas/GithubPushSchema.js
733281
+ var GithubPushSchema = z.strictObject({
733282
+ repository: z.string(),
733283
+ license: z.optional(GithubLicenseSchema),
733284
+ mode: z.literal("push"),
733285
+ branch: z.optional(z.string())
733286
+ });
733287
+
733288
+ // pnp:/home/circleci/project/packages/cli/config-management/generators-configuration/lib/schemas/GithubConfigurationSchema.js
733289
+ var GithubConfigurationSchema = z.union([
733290
+ GithubCommitAndReleaseSchema,
733291
+ GithubPullRequestSchema,
733292
+ GithubPushSchema
733293
+ ]);
733294
+
733089
733295
  // pnp:/home/circleci/project/packages/cli/config-management/generators-configuration/lib/schemas/GeneratorInvocationSchema.js
733090
733296
  var GeneratorInvocationSchema = z.strictObject({
733091
733297
  name: z.string(),
@@ -733150,16 +733356,41 @@ async function convertGenerator({ absolutePathToGeneratorsConfiguration, generat
733150
733356
  async function convertOutputMode({ absolutePathToGeneratorsConfiguration, generator }) {
733151
733357
  if (generator.github != null) {
733152
733358
  const indexOfFirstSlash = generator.github.repository.indexOf("/");
733153
- return import_fiddle_sdk.FernFiddle.OutputMode.github({
733154
- owner: generator.github.repository.slice(0, indexOfFirstSlash),
733155
- repo: generator.github.repository.slice(indexOfFirstSlash + 1),
733156
- makePr: generator.github.mode === "pull-request",
733157
- license: generator.github.license != null ? await getGithubLicense({
733158
- absolutePathToGeneratorsConfiguration,
733159
- githubLicense: generator.github.license
733160
- }) : void 0,
733161
- publishInfo: generator.output != null ? getGithubPublishInfo(generator.output) : void 0
733162
- });
733359
+ const owner = generator.github.repository.slice(0, indexOfFirstSlash);
733360
+ const repo = generator.github.repository.slice(indexOfFirstSlash + 1);
733361
+ const publishInfo = generator.output != null ? getGithubPublishInfo(generator.output) : void 0;
733362
+ const license = generator.github.license != null ? await getGithubLicense({
733363
+ absolutePathToGeneratorsConfiguration,
733364
+ githubLicense: generator.github.license
733365
+ }) : void 0;
733366
+ const mode = generator.github.mode ?? "release";
733367
+ switch (mode) {
733368
+ case "commit":
733369
+ case "release":
733370
+ return import_fiddle_sdk.FernFiddle.OutputMode.githubV2(import_fiddle_sdk.FernFiddle.GithubOutputModeV2.commitAndRelease({
733371
+ owner,
733372
+ repo,
733373
+ license,
733374
+ publishInfo
733375
+ }));
733376
+ case "pull-request":
733377
+ return import_fiddle_sdk.FernFiddle.OutputMode.githubV2(import_fiddle_sdk.FernFiddle.GithubOutputModeV2.pullRequest({
733378
+ owner,
733379
+ repo,
733380
+ license,
733381
+ publishInfo
733382
+ }));
733383
+ case "push":
733384
+ return import_fiddle_sdk.FernFiddle.OutputMode.githubV2(import_fiddle_sdk.FernFiddle.GithubOutputModeV2.push({
733385
+ owner,
733386
+ repo,
733387
+ branch: generator.github.mode === "push" ? generator.github.branch : void 0,
733388
+ license,
733389
+ publishInfo
733390
+ }));
733391
+ default:
733392
+ assertNever(mode);
733393
+ }
733163
733394
  }
733164
733395
  if (generator.output == null) {
733165
733396
  return import_fiddle_sdk.FernFiddle.remoteGen.OutputMode.publish({ registryOverrides: {} });
@@ -736714,7 +736945,7 @@ var AccessTokenPosthogManager = class {
736714
736945
  properties: {
736715
736946
  ...event,
736716
736947
  ...event.properties,
736717
- version: "0.16.19",
736948
+ version: "0.16.20",
736718
736949
  usingAccessToken: true
736719
736950
  }
736720
736951
  });
@@ -736776,7 +737007,7 @@ var UserPosthogManager = class {
736776
737007
  distinctId: this.userId ?? await this.getPersistedDistinctId(),
736777
737008
  event: "CLI",
736778
737009
  properties: {
736779
- version: "0.16.19",
737010
+ version: "0.16.20",
736780
737011
  ...event,
736781
737012
  ...event.properties
736782
737013
  }
@@ -761317,10 +761548,10 @@ var CliContext = class {
761317
761548
  return "fern-api";
761318
761549
  }
761319
761550
  getPackageVersion() {
761320
- if ("0.16.19" == null) {
761551
+ if ("0.16.20" == null) {
761321
761552
  this.logger.error("CLI_VERSION is not defined");
761322
761553
  }
761323
- return "0.16.19";
761554
+ return "0.16.20";
761324
761555
  }
761325
761556
  getCliName() {
761326
761557
  if ("fern" == null) {
@@ -775308,6 +775539,28 @@ function getGeneratorConfig({ generatorInvocation, customConfig, workspaceName,
775308
775539
  }
775309
775540
  return outputConfig;
775310
775541
  },
775542
+ githubV2: (value) => {
775543
+ const repoUrl = value._visit({
775544
+ commitAndRelease: (value2) => `https://github.com/${value2.owner}/${value2.repo}`,
775545
+ push: (value2) => `https://github.com/${value2.owner}/${value2.repo}`,
775546
+ pullRequest: (value2) => `https://github.com/${value2.owner}/${value2.repo}`,
775547
+ _other: () => {
775548
+ throw new Error("Encountered unknown github mode");
775549
+ }
775550
+ });
775551
+ const outputConfig = {
775552
+ mode: import_generator_exec_sdk.FernGeneratorExec.OutputMode.github({
775553
+ repoUrl,
775554
+ version: outputVersion
775555
+ }),
775556
+ path: DOCKER_CODEGEN_OUTPUT_DIRECTORY
775557
+ };
775558
+ if (absolutePathToSnippet !== void 0) {
775559
+ binds.push(`${absolutePathToSnippet}:${DOCKER_PATH_TO_SNIPPET}`);
775560
+ outputConfig.snippetFilepath = DOCKER_PATH_TO_SNIPPET;
775561
+ }
775562
+ return outputConfig;
775563
+ },
775311
775564
  _other: () => {
775312
775565
  throw new Error("Output type did not match any of the types supported by Fern");
775313
775566
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "fern-api",
3
- "version": "0.16.19",
3
+ "version": "0.16.20",
4
4
  "repository": {
5
5
  "type": "git",
6
6
  "url": "https://github.com/fern-api/fern.git",