@fern-api/fern-api-dev 3.95.4 → 3.95.6-1-g47a8ffd45fd

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/cli.cjs +33 -26
  2. package/package.json +1 -1
package/cli.cjs CHANGED
@@ -466349,7 +466349,10 @@ Base generation: ${bootstrapResult.generationCommit.sha.slice(0, 7)}`;
466349
466349
  `user.name=${replay_1.FERN_BOT_NAME}`,
466350
466350
  "-c",
466351
466351
  `user.email=${replay_1.FERN_BOT_EMAIL}`,
466352
+ "-c",
466353
+ "commit.gpgsign=false",
466352
466354
  "commit",
466355
+ "--no-verify",
466353
466356
  "-m",
466354
466357
  commitMessage
466355
466358
  ]);
@@ -577366,7 +577369,7 @@ var AccessTokenPosthogManager = class {
577366
577369
  properties: {
577367
577370
  ...event,
577368
577371
  ...event.properties,
577369
- version: "3.95.4",
577372
+ version: "3.95.6-1-g47a8ffd45fd",
577370
577373
  usingAccessToken: true
577371
577374
  }
577372
577375
  });
@@ -577475,7 +577478,7 @@ var UserPosthogManager = class {
577475
577478
  distinctId: this.userId ?? await this.getPersistedDistinctId(),
577476
577479
  event: "CLI",
577477
577480
  properties: {
577478
- version: "3.95.4",
577481
+ version: "3.95.6-1-g47a8ffd45fd",
577479
577482
  ...event,
577480
577483
  ...event.properties,
577481
577484
  usingAccessToken: false,
@@ -763360,7 +763363,7 @@ var import_path40 = __toESM(require("path"), 1);
763360
763363
  var LOCAL_STORAGE_FOLDER4 = ".fern-dev";
763361
763364
  var LOGS_FOLDER_NAME = "logs";
763362
763365
  function getCliSource() {
763363
- const version7 = "3.95.4";
763366
+ const version7 = "3.95.6-1-g47a8ffd45fd";
763364
763367
  return `cli@${version7}`;
763365
763368
  }
763366
763369
  var DebugLogger = class {
@@ -1085230,11 +1085233,6 @@ var LocalTaskHandler = class {
1085230
1085233
  const absolutePathToFernignore = AbsoluteFilePath2.of(join4(this.absolutePathToLocalOutput, RelativeFilePath2.of(FERNIGNORE_FILENAME)));
1085231
1085234
  const fernIgnorePaths = await getFernIgnorePaths({ absolutePathToFernignore });
1085232
1085235
  const pathsToPreserve = await this.getPathsToPreserve(fernIgnorePaths);
1085233
- const response = await this.runGitCommand(["config", "--list"], this.absolutePathToLocalOutput);
1085234
- if (!response.includes("user.name")) {
1085235
- await this.runGitCommand(["config", "user.name", "fern-api"], this.absolutePathToLocalOutput);
1085236
- await this.runGitCommand(["config", "user.email", "info@buildwithfern.com"], this.absolutePathToLocalOutput);
1085237
- }
1085238
1085236
  await this.runGitCommand(["rm", "-rf", "."], this.absolutePathToLocalOutput);
1085239
1085237
  await this.copyGeneratedFilesToDirectory(this.absolutePathToLocalOutput);
1085240
1085238
  await this.runGitCommand(["add", "."], this.absolutePathToLocalOutput);
@@ -1085250,12 +1085248,19 @@ var LocalTaskHandler = class {
1085250
1085248
  await (0, import_promises75.cp)(this.absolutePathToLocalOutput, tmpOutputResolutionDir, { recursive: true });
1085251
1085249
  await this.runGitCommand(["init"], tmpOutputResolutionDir);
1085252
1085250
  await this.runGitCommand(["add", "."], tmpOutputResolutionDir);
1085253
- const response = await this.runGitCommand(["config", "--list"], tmpOutputResolutionDir);
1085254
- if (!response.includes("user.name")) {
1085255
- await this.runGitCommand(["config", "user.name", "fern-api"], tmpOutputResolutionDir);
1085256
- await this.runGitCommand(["config", "user.email", "info@buildwithfern.com"], tmpOutputResolutionDir);
1085257
- }
1085258
- await this.runGitCommand(["commit", "--allow-empty", "-m", '"init"'], tmpOutputResolutionDir);
1085251
+ await this.runGitCommand([
1085252
+ "-c",
1085253
+ "user.name=fern",
1085254
+ "-c",
1085255
+ "user.email=hey@buildwithfern.com",
1085256
+ "-c",
1085257
+ "commit.gpgsign=false",
1085258
+ "commit",
1085259
+ "--allow-empty",
1085260
+ "--no-verify",
1085261
+ "-m",
1085262
+ "init"
1085263
+ ], tmpOutputResolutionDir);
1085259
1085264
  await this.runGitCommand(["rm", "-rf", "."], tmpOutputResolutionDir);
1085260
1085265
  await this.copyGeneratedFilesToDirectory(tmpOutputResolutionDir);
1085261
1085266
  await this.runGitCommand(["add", "."], tmpOutputResolutionDir);
@@ -1092677,11 +1092682,6 @@ async function runGitCommand(options2, cwd2, context2) {
1092677
1092682
  async function downloadFilesWithFernIgnoreInExistingRepo({ s3PreSignedReadUrl, absolutePathToLocalOutput, context: context2 }) {
1092678
1092683
  const absolutePathToFernignore = join4(absolutePathToLocalOutput, RelativeFilePath2.of(FERNIGNORE_FILENAME));
1092679
1092684
  const fernIgnorePaths = await getFernIgnorePaths({ absolutePathToFernignore });
1092680
- const gitConfigResponse = await runGitCommand(["config", "--list"], absolutePathToLocalOutput, context2);
1092681
- if (!gitConfigResponse.includes("user.name")) {
1092682
- await runGitCommand(["config", "user.name", "fern-api"], absolutePathToLocalOutput, context2);
1092683
- await runGitCommand(["config", "user.email", "info@buildwithfern.com"], absolutePathToLocalOutput, context2);
1092684
- }
1092685
1092685
  await runGitCommand(["rm", "-rf", "."], absolutePathToLocalOutput, context2);
1092686
1092686
  await downloadAndExtractZipToDirectory({ s3PreSignedReadUrl, outputPath: absolutePathToLocalOutput });
1092687
1092687
  await runGitCommand(["add", "."], absolutePathToLocalOutput, context2);
@@ -1092695,12 +1092695,19 @@ async function downloadFilesWithFernIgnoreInTempRepo({ s3PreSignedReadUrl, absol
1092695
1092695
  await (0, import_promises82.cp)(absolutePathToLocalOutput, tmpOutputResolutionDir, { recursive: true });
1092696
1092696
  await runGitCommand(["init"], tmpOutputResolutionDir, context2);
1092697
1092697
  await runGitCommand(["add", "."], tmpOutputResolutionDir, context2);
1092698
- const gitConfigResponse = await runGitCommand(["config", "--list"], tmpOutputResolutionDir, context2);
1092699
- if (!gitConfigResponse.includes("user.name")) {
1092700
- await runGitCommand(["config", "user.name", "fern-api"], tmpOutputResolutionDir, context2);
1092701
- await runGitCommand(["config", "user.email", "info@buildwithfern.com"], tmpOutputResolutionDir, context2);
1092702
- }
1092703
- await runGitCommand(["commit", "--allow-empty", "-m", '"init"'], tmpOutputResolutionDir, context2);
1092698
+ await runGitCommand([
1092699
+ "-c",
1092700
+ "user.name=fern",
1092701
+ "-c",
1092702
+ "user.email=hey@buildwithfern.com",
1092703
+ "-c",
1092704
+ "commit.gpgsign=false",
1092705
+ "commit",
1092706
+ "--allow-empty",
1092707
+ "--no-verify",
1092708
+ "-m",
1092709
+ "init"
1092710
+ ], tmpOutputResolutionDir, context2);
1092704
1092711
  await runGitCommand(["rm", "-rf", "."], tmpOutputResolutionDir, context2);
1092705
1092712
  await downloadAndExtractZipToDirectory({ s3PreSignedReadUrl, outputPath: tmpOutputResolutionDir });
1092706
1092713
  await runGitCommand(["add", "."], tmpOutputResolutionDir, context2);
@@ -1127062,7 +1127069,7 @@ var CliContext = class {
1127062
1127069
  if (false) {
1127063
1127070
  this.logger.error("CLI_VERSION is not defined");
1127064
1127071
  }
1127065
- return "3.95.4";
1127072
+ return "3.95.6-1-g47a8ffd45fd";
1127066
1127073
  }
1127067
1127074
  getCliName() {
1127068
1127075
  if (false) {
package/package.json CHANGED
@@ -1,5 +1,5 @@
1
1
  {
2
- "version": "3.95.4",
2
+ "version": "3.95.6-1-g47a8ffd45fd",
3
3
  "repository": {
4
4
  "type": "git",
5
5
  "url": "git+https://github.com/fern-api/fern.git",