@storm-software/git-tools 2.111.23 → 2.111.25

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 (77) hide show
  1. package/README.md +1 -1
  2. package/bin/{chunk-TZL3XJGM.cjs → chunk-2EJN2ZIP.cjs} +20 -20
  3. package/bin/{chunk-Q5ZEC4C5.cjs → chunk-335YPSVH.cjs} +2 -2
  4. package/bin/{chunk-XYD62FTS.js → chunk-5OLGPOTK.js} +2 -2
  5. package/bin/{chunk-X5MITLVZ.js → chunk-5QFXXGFE.js} +2 -2
  6. package/bin/{chunk-RJK377UV.js → chunk-D2AN4H4B.js} +1 -1
  7. package/bin/{chunk-PO476452.js → chunk-DTYNP6HG.js} +2 -2
  8. package/bin/{chunk-MFCWJA4J.js → chunk-EAYXHTXS.js} +9 -9
  9. package/bin/{chunk-PJ25ZY5X.cjs → chunk-FMYKTN2Z.cjs} +12 -12
  10. package/bin/{chunk-BYMJ7HYR.cjs → chunk-GSZ2Y7H4.cjs} +5 -5
  11. package/bin/{chunk-KUVIRKML.cjs → chunk-GWDOCACN.cjs} +2 -2
  12. package/bin/{chunk-GECBUZTX.cjs → chunk-H4MEIOPL.cjs} +5 -5
  13. package/bin/{chunk-BTGWU64R.cjs → chunk-HTVOKCRJ.cjs} +2 -2
  14. package/bin/{chunk-4LEOI3IV.cjs → chunk-IG6EXAQU.cjs} +2 -2
  15. package/bin/{chunk-DZMEESTL.js → chunk-JHBHEVIE.js} +2 -2
  16. package/bin/{chunk-7EI5FZN7.cjs → chunk-MXO7CLUN.cjs} +5 -5
  17. package/bin/{chunk-IS26TOYA.js → chunk-OKG5KNKQ.js} +2 -2
  18. package/bin/{chunk-YYTOYOB5.js → chunk-QWTKUQL3.js} +2 -2
  19. package/bin/{chunk-2725XMGH.js → chunk-R7ZVOQ5D.js} +2 -2
  20. package/bin/{chunk-RYMI7TTY.js → chunk-TDO6B2H4.js} +1 -1
  21. package/bin/{chunk-C7PMT5NV.js → chunk-TOALWLBQ.js} +1 -1
  22. package/bin/{chunk-LRXUZZE5.cjs → chunk-TVPM4C6Y.cjs} +6 -6
  23. package/bin/{chunk-SY4BXQIF.cjs → chunk-UQFYXF6V.cjs} +2 -2
  24. package/bin/{chunk-2PQQD4JP.js → chunk-VU7MBHMN.js} +1 -1
  25. package/bin/{chunk-MMPSAT2O.cjs → chunk-XE275LJT.cjs} +116 -116
  26. package/bin/{dist-JL7ZJY3S.cjs → dist-GTHSKIW6.cjs} +206 -206
  27. package/bin/{dist-OMCYM5H5.js → dist-JFDTSOSQ.js} +2 -2
  28. package/bin/{dist-QQPC7HJQ.js → dist-JIPEOSES.js} +8 -8
  29. package/bin/{dist-W5WNPF7L.cjs → dist-S2SQNR26.cjs} +6 -6
  30. package/bin/{esm-PYTEY6FR.js → esm-MJTK2O7U.js} +1 -1
  31. package/bin/{esm-JRY6AUIL.cjs → esm-NOFJXYSW.cjs} +4 -4
  32. package/bin/git.cjs +2010 -2001
  33. package/bin/git.js +45 -36
  34. package/bin/json5-PMDKQHWU.js +10 -0
  35. package/bin/json5-XWK64HEF.cjs +10 -0
  36. package/bin/{jsonc-ZC2CT6OA.js → jsonc-GWY6R4PV.js} +3 -3
  37. package/bin/jsonc-SBYIKOG2.cjs +15 -0
  38. package/bin/{multipart-parser-6VX752PT.cjs → multipart-parser-HT3QRMAQ.cjs} +7 -7
  39. package/bin/{multipart-parser-FAA3LB3I.js → multipart-parser-LDIDKHXR.js} +2 -2
  40. package/bin/post-checkout.cjs +22 -22
  41. package/bin/post-checkout.js +10 -10
  42. package/bin/post-commit.cjs +22 -22
  43. package/bin/post-commit.js +10 -10
  44. package/bin/post-merge.cjs +22 -22
  45. package/bin/post-merge.js +10 -10
  46. package/bin/pre-commit.cjs +20 -20
  47. package/bin/pre-commit.js +9 -9
  48. package/bin/pre-install.cjs +19 -19
  49. package/bin/pre-install.js +9 -9
  50. package/bin/pre-push.cjs +27 -27
  51. package/bin/pre-push.js +10 -10
  52. package/bin/prepare.cjs +17 -17
  53. package/bin/prepare.js +9 -9
  54. package/bin/toml-CWI7LORJ.cjs +10 -0
  55. package/bin/toml-KVVESQIU.js +10 -0
  56. package/bin/{utils-M5CNNROC.js → utils-EKXINDVD.js} +2 -2
  57. package/bin/{utils-WVP4RB2G.cjs → utils-P2DNOMLG.cjs} +5 -5
  58. package/bin/version-warning.cjs +15 -15
  59. package/bin/version-warning.js +9 -9
  60. package/bin/yaml-WPTJ2ZU5.cjs +10 -0
  61. package/bin/yaml-XEVR3LQS.js +10 -0
  62. package/dist/{chunk-ZKXBGRHW.cjs → chunk-C6VZWVYK.cjs} +4 -0
  63. package/dist/{chunk-JHC42VE5.js → chunk-G57AJLLK.js} +4 -0
  64. package/dist/index.cjs +2 -2
  65. package/dist/index.js +1 -1
  66. package/dist/release/config.cjs +2 -2
  67. package/dist/release/config.d.cts +4 -0
  68. package/dist/release/config.d.ts +4 -0
  69. package/dist/release/config.js +1 -1
  70. package/package.json +2 -1
  71. package/bin/json5-DNPRFFSD.js +0 -10
  72. package/bin/json5-KYNO2WCK.cjs +0 -10
  73. package/bin/jsonc-5R544TFF.cjs +0 -15
  74. package/bin/toml-MLICODTK.js +0 -10
  75. package/bin/toml-RWTIVW46.cjs +0 -10
  76. package/bin/yaml-BEN7RDBU.cjs +0 -10
  77. package/bin/yaml-VWZVYMVY.js +0 -10
package/bin/git.js CHANGED
@@ -1,7 +1,7 @@
1
1
  #!/usr/bin/env node
2
2
  import {
3
3
  run
4
- } from "./chunk-C7PMT5NV.js";
4
+ } from "./chunk-TOALWLBQ.js";
5
5
  import {
6
6
  exitWithError,
7
7
  exitWithSuccess,
@@ -20,15 +20,15 @@ import {
20
20
  writeSuccess,
21
21
  writeTrace,
22
22
  writeWarning
23
- } from "./chunk-MFCWJA4J.js";
23
+ } from "./chunk-EAYXHTXS.js";
24
24
  import {
25
25
  defu
26
- } from "./chunk-X5MITLVZ.js";
27
- import "./chunk-YYTOYOB5.js";
28
- import "./chunk-XYD62FTS.js";
29
- import "./chunk-2725XMGH.js";
30
- import "./chunk-IS26TOYA.js";
31
- import "./chunk-2PQQD4JP.js";
26
+ } from "./chunk-5QFXXGFE.js";
27
+ import "./chunk-QWTKUQL3.js";
28
+ import "./chunk-5OLGPOTK.js";
29
+ import "./chunk-R7ZVOQ5D.js";
30
+ import "./chunk-OKG5KNKQ.js";
31
+ import "./chunk-VU7MBHMN.js";
32
32
  import {
33
33
  __commonJS,
34
34
  __esm,
@@ -37,7 +37,7 @@ import {
37
37
  __toCommonJS,
38
38
  __toESM,
39
39
  init_esm_shims
40
- } from "./chunk-DZMEESTL.js";
40
+ } from "./chunk-JHBHEVIE.js";
41
41
 
42
42
  // ../../node_modules/.pnpm/commander@12.1.0/node_modules/commander/lib/error.js
43
43
  var require_error = __commonJS({
@@ -87909,6 +87909,7 @@ var chalk3 = __toESM(require_source(), 1);
87909
87909
  var import_enquirer2 = __toESM(require_enquirer(), 1);
87910
87910
  var import_semver2 = __toESM(require_semver4(), 1);
87911
87911
  var import_tmp = __toESM(require_tmp2(), 1);
87912
+ import { titleCase as titleCase2 } from "@stryke/string-format/title-case";
87912
87913
  import { readFileSync as readFileSync4, rmSync as rmSync2, writeFileSync as writeFileSync3 } from "node:fs";
87913
87914
  import {
87914
87915
  createNxReleaseConfig,
@@ -87936,6 +87937,7 @@ import { launchEditor } from "nx/src/command-line/release/utils/launch-editor";
87936
87937
  import { printAndFlushChanges } from "nx/src/command-line/release/utils/print-changes";
87937
87938
  import { printConfigAndExit } from "nx/src/command-line/release/utils/print-config";
87938
87939
  import { defaultCreateReleaseProvider as defaultCreateReleaseProvider2 } from "nx/src/command-line/release/utils/remote-release-clients/github";
87940
+ import { createRemoteReleaseClient } from "nx/src/command-line/release/utils/remote-release-clients/remote-release-client";
87939
87941
  import { resolveNxJsonConfigErrorMessage } from "nx/src/command-line/release/utils/resolve-nx-json-error-message";
87940
87942
  import {
87941
87943
  ReleaseVersion as ReleaseVersion2,
@@ -87962,6 +87964,7 @@ import { workspaceRoot } from "nx/src/utils/workspace-root";
87962
87964
 
87963
87965
  // src/utilities/changelog-utils.ts
87964
87966
  init_esm_shims();
87967
+ import { titleCase } from "@stryke/string-format/title-case";
87965
87968
  import { format, resolveConfig } from "prettier";
87966
87969
  async function generateChangelogContent(releaseVersion, filepath, newContent, currentContent, project, workspaceConfig) {
87967
87970
  const formatOptions = await resolveConfig(filepath) ?? {};
@@ -88004,14 +88007,6 @@ ${changelogContents}`,
88004
88007
  }
88005
88008
  );
88006
88009
  }
88007
- var titleCase = (input) => {
88008
- if (!input) {
88009
- return "";
88010
- }
88011
- return input.split(/(?=[A-Z])|[\.\-\s_]/).map((s) => s.trim()).filter((s) => !!s).map(
88012
- (s) => s ? s.toLowerCase().charAt(0).toUpperCase() + s.toLowerCase().slice(1) : s
88013
- ).join(" ");
88014
- };
88015
88010
  function generateChangelogTitle(version3, project, workspaceConfig) {
88016
88011
  if (!workspaceConfig?.name || !project) {
88017
88012
  return version3;
@@ -91657,13 +91652,10 @@ Follow up in the browser to manually create the release:
91657
91652
  ` + chalk2.underline(chalk2.cyan(result2.url)) + "\n"
91658
91653
  );
91659
91654
  });
91660
- }
91661
- if (result2.status === "manual") {
91662
91655
  if (result2.error) {
91663
91656
  console.error(result2.error);
91664
91657
  process.exitCode = 1;
91665
91658
  }
91666
- const open2 = (init_open(), __toCommonJS(open_exports));
91667
91659
  await open2(result2.url).then(() => {
91668
91660
  console.info(
91669
91661
  `Follow up in the browser to manually create the release.`
@@ -91828,10 +91820,6 @@ function formatReferences(references, repoData) {
91828
91820
 
91829
91821
  // src/release/changelog-renderer.ts
91830
91822
  var StormChangelogRenderer = class extends DefaultChangelogRenderer {
91831
- /**
91832
- * The Storm workspace configuration object, which is loaded from the storm-workspace.json file.
91833
- */
91834
- workspaceConfig = null;
91835
91823
  /**
91836
91824
  * A ChangelogRenderer class takes in the determined changes and other relevant metadata and returns a string, or a Promise of a string of changelog contents (usually markdown).
91837
91825
  *
@@ -91839,7 +91827,12 @@ var StormChangelogRenderer = class extends DefaultChangelogRenderer {
91839
91827
  */
91840
91828
  constructor(config) {
91841
91829
  super(config);
91830
+ this.config = config;
91842
91831
  }
91832
+ /**
91833
+ * The Storm workspace configuration object, which is loaded from the storm-workspace.json file.
91834
+ */
91835
+ workspaceConfig = null;
91843
91836
  async render() {
91844
91837
  this.workspaceConfig = await getWorkspaceConfig();
91845
91838
  return await super.render();
@@ -91940,7 +91933,7 @@ var StormChangelogRenderer = class extends DefaultChangelogRenderer {
91940
91933
  }
91941
91934
  }
91942
91935
  }
91943
- if (this.repoData && this.changelogRenderOptions.mapAuthorsToGitHubUsernames) {
91936
+ if (this.config.repoData && this.changelogRenderOptions.mapAuthorsToGitHubUsernames) {
91944
91937
  await Promise.all(
91945
91938
  [..._authors.keys()].map(async (authorName) => {
91946
91939
  const meta = _authors.get(authorName);
@@ -91997,8 +91990,11 @@ var StormChangelogRenderer = class extends DefaultChangelogRenderer {
91997
91990
  extraLinesStr = extraLines.filter((l2) => l2.trim().length > 0).map((l2) => `${indentation}${l2}`).join("\n");
91998
91991
  }
91999
91992
  let changeLine = "- " + (!this.isVersionPlans && change.scope ? `**${change.scope.trim()}:** ` : "") + description;
92000
- if (this.repoData && this.changelogRenderOptions.commitReferences && change.githubReferences) {
92001
- changeLine += formatReferences(change.githubReferences, this.repoData);
91993
+ if (this.config.repoData && this.changelogRenderOptions.commitReferences && change.githubReferences) {
91994
+ changeLine += formatReferences(
91995
+ change.githubReferences,
91996
+ this.config.repoData
91997
+ );
92002
91998
  }
92003
91999
  if (extraLinesStr) {
92004
92000
  changeLine += "\n\n" + extraLinesStr;
@@ -92691,6 +92687,7 @@ async function applyChangesAndExit(args, nxReleaseConfig, tree, toSHA, postGitTa
92691
92687
  gitRemote: args.gitRemote,
92692
92688
  dryRun: args.dryRun,
92693
92689
  verbose: args.verbose
92690
+ // additionalArgs: ["--signed=if-asked"]
92694
92691
  });
92695
92692
  }
92696
92693
  for (const postGitTask of postGitTasks) {
@@ -92701,11 +92698,9 @@ async function applyChangesAndExit(args, nxReleaseConfig, tree, toSHA, postGitTa
92701
92698
  async function generateChangelogForWorkspace({
92702
92699
  tree,
92703
92700
  args,
92704
- projectGraph,
92705
92701
  nxReleaseConfig,
92706
92702
  workspaceChangelogVersion,
92707
- changes,
92708
- commits
92703
+ changes
92709
92704
  }) {
92710
92705
  const workspaceConfig = await getWorkspaceConfig();
92711
92706
  if (!workspaceConfig) {
@@ -92772,6 +92767,10 @@ async function generateChangelogForWorkspace({
92772
92767
  });
92773
92768
  }
92774
92769
  const githubRepoData = getGitHubRepoData(gitRemote, config.createRelease);
92770
+ const remoteReleaseClient = await createRemoteReleaseClient(
92771
+ config.createRelease,
92772
+ gitRemote
92773
+ );
92775
92774
  const changelogRenderer = new StormChangelogRenderer({
92776
92775
  changes,
92777
92776
  changelogEntryVersion: releaseVersion.rawVersion,
@@ -92780,7 +92779,8 @@ async function generateChangelogForWorkspace({
92780
92779
  repoData: githubRepoData,
92781
92780
  entryWhenNoChanges: config.entryWhenNoChanges,
92782
92781
  changelogRenderOptions: config.renderOptions,
92783
- conventionalCommitsConfig: nxReleaseConfig.conventionalCommits
92782
+ conventionalCommitsConfig: nxReleaseConfig.conventionalCommits,
92783
+ remoteReleaseClient
92784
92784
  });
92785
92785
  let contents = await changelogRenderer.render();
92786
92786
  if (interactive) {
@@ -92865,6 +92865,10 @@ async function generateChangelogForProjects({
92865
92865
  gitRemote,
92866
92866
  config.createRelease
92867
92867
  );
92868
+ const remoteReleaseClient = await createRemoteReleaseClient(
92869
+ config.createRelease,
92870
+ gitRemote
92871
+ );
92868
92872
  const changelogRenderer = new StormChangelogRenderer({
92869
92873
  changes,
92870
92874
  changelogEntryVersion: releaseVersion.rawVersion,
@@ -92878,7 +92882,8 @@ async function generateChangelogForProjects({
92878
92882
  changelogRenderOptions: config.renderOptions,
92879
92883
  isVersionPlans: !!releaseGroup.versionPlans,
92880
92884
  conventionalCommitsConfig: releaseGroup.versionPlans ? null : nxReleaseConfig.conventionalCommits,
92881
- dependencyBumps: projectToAdditionalDependencyBumps.get(project.name)
92885
+ dependencyBumps: projectToAdditionalDependencyBumps.get(project.name),
92886
+ remoteReleaseClient
92882
92887
  });
92883
92888
  let contents = await changelogRenderer.render();
92884
92889
  output2.log({
@@ -93026,16 +93031,16 @@ function formatGithubReleaseNotes(releaseVersion, content, projectName, workspac
93026
93031
  if (!workspaceConfig) {
93027
93032
  return content;
93028
93033
  }
93029
- return `![${titleCase(workspaceConfig.organization)?.replaceAll(" ", "-")}](${workspaceConfig.release.banner})
93034
+ return `![${titleCase2(workspaceConfig.organization)?.replaceAll(" ", "-")}](${workspaceConfig.release.banner})
93030
93035
  ${workspaceConfig.release.header || ""}
93031
93036
 
93032
- # ${projectName ? `${titleCase(projectName)} ` : ""}v${releaseVersion.rawVersion}
93037
+ # ${projectName ? `${titleCase2(projectName)} ` : ""}v${releaseVersion.rawVersion}
93033
93038
 
93034
- We at [${titleCase(workspaceConfig.organization)}](${workspaceConfig.homepage}) are very excited to announce the v${releaseVersion.rawVersion} release of the ${projectName ? titleCase(projectName) : workspaceConfig.name ? titleCase(workspaceConfig.name) : "Storm Software"} project! \u{1F680}
93039
+ We at [${titleCase2(workspaceConfig.organization)}](${workspaceConfig.homepage}) are very excited to announce the v${releaseVersion.rawVersion} release of the ${projectName ? titleCase2(projectName) : workspaceConfig.name ? titleCase2(workspaceConfig.name) : "Storm Software"} project! \u{1F680}
93035
93040
 
93036
93041
  These changes are released under the ${workspaceConfig.license.includes("license") ? workspaceConfig.license : `${workspaceConfig.license} license`}. You can find more details on [our licensing page](${workspaceConfig.licensing}). You can find guides, API references, and other documentation around this release (and much more) on [our documentation site](${workspaceConfig.docs}).
93037
93042
 
93038
- If you have any questions or comments, feel free to reach out to the team on [Discord](${workspaceConfig.account.discord}) or [our contact page](${workspaceConfig.contact}). Please help us spread the word by giving [this repository](https://github.com/${workspaceConfig.organization}/${workspaceConfig.name}) a star \u2B50 on GitHub or [posting on X (Twitter)](https://x.com/intent/tweet?text=Check%20out%20the%20latest%20@${workspaceConfig.account.twitter}%20release%20${projectName ? `${titleCase(projectName)?.replaceAll(" ", "%20")}%20` : ""}v${releaseVersion.rawVersion}%20%F0%9F%9A%80%0D%0A%0D%0Ahttps://github.com/${workspaceConfig.organization}/${workspaceConfig.name}/releases/tag/${releaseVersion.gitTag}) about this release!
93043
+ If you have any questions or comments, feel free to reach out to the team on [Discord](${workspaceConfig.account.discord}) or [our contact page](${workspaceConfig.contact}). Please help us spread the word by giving [this repository](https://github.com/${workspaceConfig.organization}/${workspaceConfig.name}) a star \u2B50 on GitHub or [posting on X (Twitter)](https://x.com/intent/tweet?text=Check%20out%20the%20latest%20@${workspaceConfig.account.twitter}%20release%20${projectName ? `${titleCase2(projectName)?.replaceAll(" ", "%20")}%20` : ""}v${releaseVersion.rawVersion}%20%F0%9F%9A%80%0D%0A%0D%0Ahttps://github.com/${workspaceConfig.organization}/${workspaceConfig.name}/releases/tag/${releaseVersion.gitTag}) about this release!
93039
93044
 
93040
93045
  ## Release Notes
93041
93046
 
@@ -93072,6 +93077,8 @@ var DEFAULT_RELEASE_GROUP_CONFIG = {
93072
93077
  version: {
93073
93078
  groupPreVersionCommand: "pnpm build",
93074
93079
  useLegacyVersioning: true,
93080
+ currentVersionResolver: "git-tag",
93081
+ specifierSource: "conventional-commits",
93075
93082
  generator: "@storm-software/workspace-tools:release-version",
93076
93083
  generatorOptions: {
93077
93084
  currentVersionResolver: "git-tag",
@@ -93102,6 +93109,8 @@ var DEFAULT_RELEASE_CONFIG = {
93102
93109
  version: {
93103
93110
  preVersionCommand: "pnpm build",
93104
93111
  useLegacyVersioning: true,
93112
+ currentVersionResolver: "git-tag",
93113
+ specifierSource: "conventional-commits",
93105
93114
  generator: "@storm-software/workspace-tools:release-version",
93106
93115
  generatorOptions: {
93107
93116
  currentVersionResolver: "git-tag",
@@ -0,0 +1,10 @@
1
+ import {
2
+ cu,
3
+ ou
4
+ } from "./chunk-QWTKUQL3.js";
5
+ import "./chunk-VU7MBHMN.js";
6
+ import "./chunk-JHBHEVIE.js";
7
+ export {
8
+ ou as parseJSON5,
9
+ cu as stringifyJSON5
10
+ };
@@ -0,0 +1,10 @@
1
+ "use strict";Object.defineProperty(exports, "__esModule", {value: true});
2
+
3
+
4
+ var _chunkMXO7CLUNcjs = require('./chunk-MXO7CLUN.cjs');
5
+ require('./chunk-UQFYXF6V.cjs');
6
+ require('./chunk-IG6EXAQU.cjs');
7
+
8
+
9
+
10
+ exports.parseJSON5 = _chunkMXO7CLUNcjs.ou; exports.stringifyJSON5 = _chunkMXO7CLUNcjs.cu;
@@ -1,11 +1,11 @@
1
1
  import {
2
2
  d,
3
3
  h
4
- } from "./chunk-IS26TOYA.js";
5
- import "./chunk-2PQQD4JP.js";
4
+ } from "./chunk-OKG5KNKQ.js";
5
+ import "./chunk-VU7MBHMN.js";
6
6
  import {
7
7
  init_esm_shims
8
- } from "./chunk-DZMEESTL.js";
8
+ } from "./chunk-JHBHEVIE.js";
9
9
 
10
10
  // ../../node_modules/.pnpm/confbox@0.1.8/node_modules/confbox/dist/jsonc.mjs
11
11
  init_esm_shims();
@@ -0,0 +1,15 @@
1
+ "use strict";Object.defineProperty(exports, "__esModule", {value: true});
2
+
3
+
4
+ var _chunkTVPM4C6Ycjs = require('./chunk-TVPM4C6Y.cjs');
5
+ require('./chunk-UQFYXF6V.cjs');
6
+
7
+
8
+ var _chunkIG6EXAQUcjs = require('./chunk-IG6EXAQU.cjs');
9
+
10
+ // ../../node_modules/.pnpm/confbox@0.1.8/node_modules/confbox/dist/jsonc.mjs
11
+ _chunkIG6EXAQUcjs.init_cjs_shims.call(void 0, );
12
+
13
+
14
+
15
+ exports.parseJSONC = _chunkTVPM4C6Ycjs.h; exports.stringifyJSONC = _chunkTVPM4C6Ycjs.d;
@@ -1,22 +1,22 @@
1
1
  "use strict";Object.defineProperty(exports, "__esModule", {value: true});
2
2
 
3
3
 
4
- var _chunkTZL3XJGMcjs = require('./chunk-TZL3XJGM.cjs');
4
+ var _chunk2EJN2ZIPcjs = require('./chunk-2EJN2ZIP.cjs');
5
5
 
6
6
 
7
7
 
8
8
 
9
- var _chunk4LEOI3IVcjs = require('./chunk-4LEOI3IV.cjs');
9
+ var _chunkIG6EXAQUcjs = require('./chunk-IG6EXAQU.cjs');
10
10
 
11
11
  // ../../node_modules/.pnpm/node-fetch-native@1.6.6/node_modules/node-fetch-native/dist/chunks/multipart-parser.cjs
12
- var require_multipart_parser = _chunk4LEOI3IVcjs.__commonJS.call(void 0, {
12
+ var require_multipart_parser = _chunkIG6EXAQUcjs.__commonJS.call(void 0, {
13
13
  "../../node_modules/.pnpm/node-fetch-native@1.6.6/node_modules/node-fetch-native/dist/chunks/multipart-parser.cjs"(exports) {
14
- _chunk4LEOI3IVcjs.init_cjs_shims.call(void 0, );
14
+ _chunkIG6EXAQUcjs.init_cjs_shims.call(void 0, );
15
15
  var N = Object.defineProperty;
16
16
  var c = (_, a) => N(_, "name", { value: a, configurable: true });
17
- _chunk4LEOI3IVcjs.__require.call(void 0, "fs"), _chunk4LEOI3IVcjs.__require.call(void 0, "path");
18
- var node = _chunkTZL3XJGMcjs.require_node.call(void 0, );
19
- _chunk4LEOI3IVcjs.__require.call(void 0, "http"), _chunk4LEOI3IVcjs.__require.call(void 0, "https"), _chunk4LEOI3IVcjs.__require.call(void 0, "zlib"), _chunk4LEOI3IVcjs.__require.call(void 0, "stream"), _chunk4LEOI3IVcjs.__require.call(void 0, "buffer"), _chunk4LEOI3IVcjs.__require.call(void 0, "util"), _chunkTZL3XJGMcjs.require_node_fetch_native_DhEqb06g.call(void 0, ), _chunk4LEOI3IVcjs.__require.call(void 0, "url"), _chunk4LEOI3IVcjs.__require.call(void 0, "net");
17
+ _chunkIG6EXAQUcjs.__require.call(void 0, "fs"), _chunkIG6EXAQUcjs.__require.call(void 0, "path");
18
+ var node = _chunk2EJN2ZIPcjs.require_node.call(void 0, );
19
+ _chunkIG6EXAQUcjs.__require.call(void 0, "http"), _chunkIG6EXAQUcjs.__require.call(void 0, "https"), _chunkIG6EXAQUcjs.__require.call(void 0, "zlib"), _chunkIG6EXAQUcjs.__require.call(void 0, "stream"), _chunkIG6EXAQUcjs.__require.call(void 0, "buffer"), _chunkIG6EXAQUcjs.__require.call(void 0, "util"), _chunk2EJN2ZIPcjs.require_node_fetch_native_DhEqb06g.call(void 0, ), _chunkIG6EXAQUcjs.__require.call(void 0, "url"), _chunkIG6EXAQUcjs.__require.call(void 0, "net");
20
20
  var s = 0;
21
21
  var S = { START_BOUNDARY: s++, HEADER_FIELD_START: s++, HEADER_FIELD: s++, HEADER_VALUE_START: s++, HEADER_VALUE: s++, HEADER_VALUE_ALMOST_DONE: s++, HEADERS_ALMOST_DONE: s++, PART_DATA_START: s++, PART_DATA: s++, END: s++ };
22
22
  var f = 1;
@@ -3,11 +3,11 @@ import {
3
3
  Zt,
4
4
  init_node,
5
5
  init_node_fetch_native_DfbY2q_x
6
- } from "./chunk-PO476452.js";
6
+ } from "./chunk-DTYNP6HG.js";
7
7
  import {
8
8
  __esm,
9
9
  init_esm_shims
10
- } from "./chunk-DZMEESTL.js";
10
+ } from "./chunk-JHBHEVIE.js";
11
11
 
12
12
  // ../../node_modules/.pnpm/node-fetch-native@1.6.6/node_modules/node-fetch-native/dist/chunks/multipart-parser.mjs
13
13
  function $(_) {
@@ -1,10 +1,10 @@
1
1
  #!/usr/bin/env node
2
2
  "use strict"; function _optionalChain(ops) { let lastAccessLHS = undefined; let value = ops[0]; let i = 1; while (i < ops.length) { const op = ops[i]; const fn = ops[i + 1]; i += 2; if ((op === 'optionalAccess' || op === 'optionalCall') && value == null) { return undefined; } if (op === 'access' || op === 'optionalAccess') { lastAccessLHS = value; value = fn(value); } else if (op === 'call' || op === 'optionalCall') { value = fn((...args) => value.call(lastAccessLHS, ...args)); lastAccessLHS = undefined; } } return value; }
3
3
 
4
- var _chunkBTGWU64Rcjs = require('./chunk-BTGWU64R.cjs');
4
+ var _chunkHTVOKCRJcjs = require('./chunk-HTVOKCRJ.cjs');
5
5
 
6
6
 
7
- var _chunkKUVIRKMLcjs = require('./chunk-KUVIRKML.cjs');
7
+ var _chunkGWDOCACNcjs = require('./chunk-GWDOCACN.cjs');
8
8
 
9
9
 
10
10
 
@@ -13,43 +13,43 @@ var _chunkKUVIRKMLcjs = require('./chunk-KUVIRKML.cjs');
13
13
 
14
14
 
15
15
 
16
- var _chunkMMPSAT2Ocjs = require('./chunk-MMPSAT2O.cjs');
17
- require('./chunk-PJ25ZY5X.cjs');
18
- require('./chunk-7EI5FZN7.cjs');
19
- require('./chunk-BYMJ7HYR.cjs');
20
- require('./chunk-GECBUZTX.cjs');
21
- require('./chunk-LRXUZZE5.cjs');
22
- require('./chunk-SY4BXQIF.cjs');
16
+ var _chunkXE275LJTcjs = require('./chunk-XE275LJT.cjs');
17
+ require('./chunk-FMYKTN2Z.cjs');
18
+ require('./chunk-MXO7CLUN.cjs');
19
+ require('./chunk-GSZ2Y7H4.cjs');
20
+ require('./chunk-H4MEIOPL.cjs');
21
+ require('./chunk-TVPM4C6Y.cjs');
22
+ require('./chunk-UQFYXF6V.cjs');
23
23
 
24
24
 
25
- var _chunk4LEOI3IVcjs = require('./chunk-4LEOI3IV.cjs');
25
+ var _chunkIG6EXAQUcjs = require('./chunk-IG6EXAQU.cjs');
26
26
 
27
27
  // bin/post-checkout.ts
28
- _chunk4LEOI3IVcjs.init_cjs_shims.call(void 0, );
28
+ _chunkIG6EXAQUcjs.init_cjs_shims.call(void 0, );
29
29
  void (async () => {
30
- const config = await _chunkMMPSAT2Ocjs.getConfig.call(void 0, );
30
+ const config = await _chunkXE275LJTcjs.getConfig.call(void 0, );
31
31
  try {
32
- _chunkMMPSAT2Ocjs.handleProcess.call(void 0, config);
33
- _chunkMMPSAT2Ocjs.writeInfo.call(void 0, "Running post-checkout hook...", config);
34
- _chunkBTGWU64Rcjs.checkPackageVersion.call(void 0, _optionalChain([process, 'access', _ => _.argv, 'optionalAccess', _2 => _2.slice, 'call', _3 => _3(1)]));
32
+ _chunkXE275LJTcjs.handleProcess.call(void 0, config);
33
+ _chunkXE275LJTcjs.writeInfo.call(void 0, "Running post-checkout hook...", config);
34
+ _chunkHTVOKCRJcjs.checkPackageVersion.call(void 0, _optionalChain([process, 'access', _ => _.argv, 'optionalAccess', _2 => _2.slice, 'call', _3 => _3(1)]));
35
35
  try {
36
- _chunkKUVIRKMLcjs.run.call(void 0, config, "git-lfs version");
36
+ _chunkGWDOCACNcjs.run.call(void 0, config, "git-lfs version");
37
37
  } catch (error) {
38
- _chunkMMPSAT2Ocjs.writeError.call(void 0,
38
+ _chunkXE275LJTcjs.writeError.call(void 0,
39
39
  `This repository is configured for Git LFS but 'git-lfs' was not found on your path. If you no longer wish to use Git LFS, remove this hook by deleting .git/hooks/post-checkout.
40
40
  Error: ${_optionalChain([error, 'optionalAccess', _4 => _4.message])}`,
41
41
  config
42
42
  );
43
- _chunkMMPSAT2Ocjs.exitWithError.call(void 0, config);
43
+ _chunkXE275LJTcjs.exitWithError.call(void 0, config);
44
44
  }
45
- _chunkKUVIRKMLcjs.run.call(void 0, config, "git lfs post-checkout");
46
- _chunkMMPSAT2Ocjs.exitWithSuccess.call(void 0, config);
45
+ _chunkGWDOCACNcjs.run.call(void 0, config, "git lfs post-checkout");
46
+ _chunkXE275LJTcjs.exitWithSuccess.call(void 0, config);
47
47
  } catch (error) {
48
- _chunkMMPSAT2Ocjs.writeFatal.call(void 0,
48
+ _chunkXE275LJTcjs.writeFatal.call(void 0,
49
49
  `A fatal error occurred while running the program: ${error.message}`,
50
50
  config
51
51
  );
52
- _chunkMMPSAT2Ocjs.exitWithError.call(void 0, config);
52
+ _chunkXE275LJTcjs.exitWithError.call(void 0, config);
53
53
  process.exit(1);
54
54
  }
55
55
  })();
@@ -1,10 +1,10 @@
1
1
  #!/usr/bin/env node
2
2
  import {
3
3
  checkPackageVersion
4
- } from "./chunk-RYMI7TTY.js";
4
+ } from "./chunk-TDO6B2H4.js";
5
5
  import {
6
6
  run
7
- } from "./chunk-C7PMT5NV.js";
7
+ } from "./chunk-TOALWLBQ.js";
8
8
  import {
9
9
  exitWithError,
10
10
  exitWithSuccess,
@@ -13,16 +13,16 @@ import {
13
13
  writeError,
14
14
  writeFatal,
15
15
  writeInfo
16
- } from "./chunk-MFCWJA4J.js";
17
- import "./chunk-X5MITLVZ.js";
18
- import "./chunk-YYTOYOB5.js";
19
- import "./chunk-XYD62FTS.js";
20
- import "./chunk-2725XMGH.js";
21
- import "./chunk-IS26TOYA.js";
22
- import "./chunk-2PQQD4JP.js";
16
+ } from "./chunk-EAYXHTXS.js";
17
+ import "./chunk-5QFXXGFE.js";
18
+ import "./chunk-QWTKUQL3.js";
19
+ import "./chunk-5OLGPOTK.js";
20
+ import "./chunk-R7ZVOQ5D.js";
21
+ import "./chunk-OKG5KNKQ.js";
22
+ import "./chunk-VU7MBHMN.js";
23
23
  import {
24
24
  init_esm_shims
25
- } from "./chunk-DZMEESTL.js";
25
+ } from "./chunk-JHBHEVIE.js";
26
26
 
27
27
  // bin/post-checkout.ts
28
28
  init_esm_shims();
@@ -1,10 +1,10 @@
1
1
  #!/usr/bin/env node
2
2
  "use strict"; function _optionalChain(ops) { let lastAccessLHS = undefined; let value = ops[0]; let i = 1; while (i < ops.length) { const op = ops[i]; const fn = ops[i + 1]; i += 2; if ((op === 'optionalAccess' || op === 'optionalCall') && value == null) { return undefined; } if (op === 'access' || op === 'optionalAccess') { lastAccessLHS = value; value = fn(value); } else if (op === 'call' || op === 'optionalCall') { value = fn((...args) => value.call(lastAccessLHS, ...args)); lastAccessLHS = undefined; } } return value; }
3
3
 
4
- var _chunkBTGWU64Rcjs = require('./chunk-BTGWU64R.cjs');
4
+ var _chunkHTVOKCRJcjs = require('./chunk-HTVOKCRJ.cjs');
5
5
 
6
6
 
7
- var _chunkKUVIRKMLcjs = require('./chunk-KUVIRKML.cjs');
7
+ var _chunkGWDOCACNcjs = require('./chunk-GWDOCACN.cjs');
8
8
 
9
9
 
10
10
 
@@ -13,43 +13,43 @@ var _chunkKUVIRKMLcjs = require('./chunk-KUVIRKML.cjs');
13
13
 
14
14
 
15
15
 
16
- var _chunkMMPSAT2Ocjs = require('./chunk-MMPSAT2O.cjs');
17
- require('./chunk-PJ25ZY5X.cjs');
18
- require('./chunk-7EI5FZN7.cjs');
19
- require('./chunk-BYMJ7HYR.cjs');
20
- require('./chunk-GECBUZTX.cjs');
21
- require('./chunk-LRXUZZE5.cjs');
22
- require('./chunk-SY4BXQIF.cjs');
16
+ var _chunkXE275LJTcjs = require('./chunk-XE275LJT.cjs');
17
+ require('./chunk-FMYKTN2Z.cjs');
18
+ require('./chunk-MXO7CLUN.cjs');
19
+ require('./chunk-GSZ2Y7H4.cjs');
20
+ require('./chunk-H4MEIOPL.cjs');
21
+ require('./chunk-TVPM4C6Y.cjs');
22
+ require('./chunk-UQFYXF6V.cjs');
23
23
 
24
24
 
25
- var _chunk4LEOI3IVcjs = require('./chunk-4LEOI3IV.cjs');
25
+ var _chunkIG6EXAQUcjs = require('./chunk-IG6EXAQU.cjs');
26
26
 
27
27
  // bin/post-commit.ts
28
- _chunk4LEOI3IVcjs.init_cjs_shims.call(void 0, );
28
+ _chunkIG6EXAQUcjs.init_cjs_shims.call(void 0, );
29
29
  void (async () => {
30
- const config = await _chunkMMPSAT2Ocjs.getConfig.call(void 0, );
30
+ const config = await _chunkXE275LJTcjs.getConfig.call(void 0, );
31
31
  try {
32
- _chunkMMPSAT2Ocjs.handleProcess.call(void 0, config);
33
- _chunkMMPSAT2Ocjs.writeInfo.call(void 0, "Running post-commit hook...", config);
34
- _chunkBTGWU64Rcjs.checkPackageVersion.call(void 0, _optionalChain([process, 'access', _ => _.argv, 'optionalAccess', _2 => _2.slice, 'call', _3 => _3(1)]));
32
+ _chunkXE275LJTcjs.handleProcess.call(void 0, config);
33
+ _chunkXE275LJTcjs.writeInfo.call(void 0, "Running post-commit hook...", config);
34
+ _chunkHTVOKCRJcjs.checkPackageVersion.call(void 0, _optionalChain([process, 'access', _ => _.argv, 'optionalAccess', _2 => _2.slice, 'call', _3 => _3(1)]));
35
35
  try {
36
- _chunkKUVIRKMLcjs.run.call(void 0, config, "git-lfs version");
36
+ _chunkGWDOCACNcjs.run.call(void 0, config, "git-lfs version");
37
37
  } catch (error) {
38
- _chunkMMPSAT2Ocjs.writeError.call(void 0,
38
+ _chunkXE275LJTcjs.writeError.call(void 0,
39
39
  `This repository is configured for Git LFS but 'git-lfs' was not found on your path. If you no longer wish to use Git LFS, remove this hook by deleting .git/hooks/post-commit.
40
40
  Error: ${_optionalChain([error, 'optionalAccess', _4 => _4.message])}`,
41
41
  config
42
42
  );
43
- _chunkMMPSAT2Ocjs.exitWithError.call(void 0, config);
43
+ _chunkXE275LJTcjs.exitWithError.call(void 0, config);
44
44
  }
45
- _chunkKUVIRKMLcjs.run.call(void 0, config, "git lfs post-commit");
46
- _chunkMMPSAT2Ocjs.exitWithSuccess.call(void 0, config);
45
+ _chunkGWDOCACNcjs.run.call(void 0, config, "git lfs post-commit");
46
+ _chunkXE275LJTcjs.exitWithSuccess.call(void 0, config);
47
47
  } catch (error) {
48
- _chunkMMPSAT2Ocjs.writeFatal.call(void 0,
48
+ _chunkXE275LJTcjs.writeFatal.call(void 0,
49
49
  `A fatal error occurred while running the program: ${error.message}`,
50
50
  config
51
51
  );
52
- _chunkMMPSAT2Ocjs.exitWithError.call(void 0, config);
52
+ _chunkXE275LJTcjs.exitWithError.call(void 0, config);
53
53
  process.exit(1);
54
54
  }
55
55
  })();
@@ -1,10 +1,10 @@
1
1
  #!/usr/bin/env node
2
2
  import {
3
3
  checkPackageVersion
4
- } from "./chunk-RYMI7TTY.js";
4
+ } from "./chunk-TDO6B2H4.js";
5
5
  import {
6
6
  run
7
- } from "./chunk-C7PMT5NV.js";
7
+ } from "./chunk-TOALWLBQ.js";
8
8
  import {
9
9
  exitWithError,
10
10
  exitWithSuccess,
@@ -13,16 +13,16 @@ import {
13
13
  writeError,
14
14
  writeFatal,
15
15
  writeInfo
16
- } from "./chunk-MFCWJA4J.js";
17
- import "./chunk-X5MITLVZ.js";
18
- import "./chunk-YYTOYOB5.js";
19
- import "./chunk-XYD62FTS.js";
20
- import "./chunk-2725XMGH.js";
21
- import "./chunk-IS26TOYA.js";
22
- import "./chunk-2PQQD4JP.js";
16
+ } from "./chunk-EAYXHTXS.js";
17
+ import "./chunk-5QFXXGFE.js";
18
+ import "./chunk-QWTKUQL3.js";
19
+ import "./chunk-5OLGPOTK.js";
20
+ import "./chunk-R7ZVOQ5D.js";
21
+ import "./chunk-OKG5KNKQ.js";
22
+ import "./chunk-VU7MBHMN.js";
23
23
  import {
24
24
  init_esm_shims
25
- } from "./chunk-DZMEESTL.js";
25
+ } from "./chunk-JHBHEVIE.js";
26
26
 
27
27
  // bin/post-commit.ts
28
28
  init_esm_shims();
@@ -1,10 +1,10 @@
1
1
  #!/usr/bin/env node
2
2
  "use strict"; function _optionalChain(ops) { let lastAccessLHS = undefined; let value = ops[0]; let i = 1; while (i < ops.length) { const op = ops[i]; const fn = ops[i + 1]; i += 2; if ((op === 'optionalAccess' || op === 'optionalCall') && value == null) { return undefined; } if (op === 'access' || op === 'optionalAccess') { lastAccessLHS = value; value = fn(value); } else if (op === 'call' || op === 'optionalCall') { value = fn((...args) => value.call(lastAccessLHS, ...args)); lastAccessLHS = undefined; } } return value; }
3
3
 
4
- var _chunkBTGWU64Rcjs = require('./chunk-BTGWU64R.cjs');
4
+ var _chunkHTVOKCRJcjs = require('./chunk-HTVOKCRJ.cjs');
5
5
 
6
6
 
7
- var _chunkKUVIRKMLcjs = require('./chunk-KUVIRKML.cjs');
7
+ var _chunkGWDOCACNcjs = require('./chunk-GWDOCACN.cjs');
8
8
 
9
9
 
10
10
 
@@ -13,43 +13,43 @@ var _chunkKUVIRKMLcjs = require('./chunk-KUVIRKML.cjs');
13
13
 
14
14
 
15
15
 
16
- var _chunkMMPSAT2Ocjs = require('./chunk-MMPSAT2O.cjs');
17
- require('./chunk-PJ25ZY5X.cjs');
18
- require('./chunk-7EI5FZN7.cjs');
19
- require('./chunk-BYMJ7HYR.cjs');
20
- require('./chunk-GECBUZTX.cjs');
21
- require('./chunk-LRXUZZE5.cjs');
22
- require('./chunk-SY4BXQIF.cjs');
16
+ var _chunkXE275LJTcjs = require('./chunk-XE275LJT.cjs');
17
+ require('./chunk-FMYKTN2Z.cjs');
18
+ require('./chunk-MXO7CLUN.cjs');
19
+ require('./chunk-GSZ2Y7H4.cjs');
20
+ require('./chunk-H4MEIOPL.cjs');
21
+ require('./chunk-TVPM4C6Y.cjs');
22
+ require('./chunk-UQFYXF6V.cjs');
23
23
 
24
24
 
25
- var _chunk4LEOI3IVcjs = require('./chunk-4LEOI3IV.cjs');
25
+ var _chunkIG6EXAQUcjs = require('./chunk-IG6EXAQU.cjs');
26
26
 
27
27
  // bin/post-merge.ts
28
- _chunk4LEOI3IVcjs.init_cjs_shims.call(void 0, );
28
+ _chunkIG6EXAQUcjs.init_cjs_shims.call(void 0, );
29
29
  void (async () => {
30
- const config = await _chunkMMPSAT2Ocjs.getConfig.call(void 0, );
30
+ const config = await _chunkXE275LJTcjs.getConfig.call(void 0, );
31
31
  try {
32
- _chunkMMPSAT2Ocjs.handleProcess.call(void 0, config);
33
- _chunkMMPSAT2Ocjs.writeInfo.call(void 0, "Running post-merge hook...", config);
34
- _chunkBTGWU64Rcjs.checkPackageVersion.call(void 0, _optionalChain([process, 'access', _ => _.argv, 'optionalAccess', _2 => _2.slice, 'call', _3 => _3(1)]));
32
+ _chunkXE275LJTcjs.handleProcess.call(void 0, config);
33
+ _chunkXE275LJTcjs.writeInfo.call(void 0, "Running post-merge hook...", config);
34
+ _chunkHTVOKCRJcjs.checkPackageVersion.call(void 0, _optionalChain([process, 'access', _ => _.argv, 'optionalAccess', _2 => _2.slice, 'call', _3 => _3(1)]));
35
35
  try {
36
- _chunkKUVIRKMLcjs.run.call(void 0, config, "git-lfs version");
36
+ _chunkGWDOCACNcjs.run.call(void 0, config, "git-lfs version");
37
37
  } catch (error) {
38
- _chunkMMPSAT2Ocjs.writeError.call(void 0,
38
+ _chunkXE275LJTcjs.writeError.call(void 0,
39
39
  `This repository is configured for Git LFS but 'git-lfs' was not found on your path. If you no longer wish to use Git LFS, remove this hook by deleting .git/hooks/post-merge.
40
40
  Error: ${_optionalChain([error, 'optionalAccess', _4 => _4.message])}`,
41
41
  config
42
42
  );
43
- _chunkMMPSAT2Ocjs.exitWithError.call(void 0, config);
43
+ _chunkXE275LJTcjs.exitWithError.call(void 0, config);
44
44
  }
45
- _chunkKUVIRKMLcjs.run.call(void 0, config, "git lfs post-merge");
46
- _chunkMMPSAT2Ocjs.exitWithSuccess.call(void 0, config);
45
+ _chunkGWDOCACNcjs.run.call(void 0, config, "git lfs post-merge");
46
+ _chunkXE275LJTcjs.exitWithSuccess.call(void 0, config);
47
47
  } catch (error) {
48
- _chunkMMPSAT2Ocjs.writeFatal.call(void 0,
48
+ _chunkXE275LJTcjs.writeFatal.call(void 0,
49
49
  `A fatal error occurred while running the program: ${error.message}`,
50
50
  config
51
51
  );
52
- _chunkMMPSAT2Ocjs.exitWithError.call(void 0, config);
52
+ _chunkXE275LJTcjs.exitWithError.call(void 0, config);
53
53
  process.exit(1);
54
54
  }
55
55
  })();