@storm-software/git-tools 2.27.0 → 2.29.0

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/src/index.js CHANGED
@@ -165680,7 +165680,17 @@ var config_default = {
165680
165680
  closedIssuePrefix: "\u2705 ",
165681
165681
  format: "{type}({scope}): {emoji}{subject}",
165682
165682
  disableEmoji: true,
165683
- list: ["test", "feat", "fix", "chore", "docs", "refactor", "style", "ci", "perf"],
165683
+ list: [
165684
+ "test",
165685
+ "feat",
165686
+ "fix",
165687
+ "chore",
165688
+ "docs",
165689
+ "refactor",
165690
+ "style",
165691
+ "ci",
165692
+ "perf"
165693
+ ],
165684
165694
  maxMessageLength: 75,
165685
165695
  minMessageLength: 3,
165686
165696
  questions: CommitQuestionsKeys,
@@ -165703,7 +165713,7 @@ var config_default = {
165703
165713
  },
165704
165714
  style: {
165705
165715
  description: "Changes that do not affect the meaning of the code (white-space, formatting, missing semi-colons, etc)",
165706
- title: "Styles",
165716
+ title: "Styling",
165707
165717
  emoji: "\u{1F48E}"
165708
165718
  },
165709
165719
  refactor: {
@@ -165718,12 +165728,12 @@ var config_default = {
165718
165728
  },
165719
165729
  test: {
165720
165730
  description: "Adding missing tests or correcting existing tests",
165721
- title: "Tests",
165731
+ title: "Testing",
165722
165732
  emoji: "\u{1F6A8}"
165723
165733
  },
165724
- build: {
165734
+ deps: {
165725
165735
  description: "Changes that affect the build system or external dependencies (example scopes: gulp, broccoli, npm)",
165726
- title: "Builds",
165736
+ title: "Dependency Upgrades",
165727
165737
  emoji: "\u{1F4E6}"
165728
165738
  },
165729
165739
  ci: {
@@ -165754,7 +165764,7 @@ var config_default2 = {
165754
165764
  [
165755
165765
  "chore",
165756
165766
  // Changes that affect the build system or dependency-only changes
165757
- "build",
165767
+ "deps",
165758
165768
  // Changes to CI workflows
165759
165769
  "ci",
165760
165770
  // Documentation-only changes
@@ -165812,6 +165822,101 @@ var config_default2 = {
165812
165822
  }
165813
165823
  }
165814
165824
  };
165825
+ var DEFAULT_CONVENTIONAL_COMMITS_CONFIG = {
165826
+ types: {
165827
+ feat: {
165828
+ semverBump: "minor",
165829
+ changelog: {
165830
+ title: "Features",
165831
+ hidden: false
165832
+ }
165833
+ },
165834
+ fix: {
165835
+ semverBump: "patch",
165836
+ changelog: {
165837
+ title: "Bug Fixes",
165838
+ hidden: false
165839
+ }
165840
+ },
165841
+ perf: {
165842
+ semverBump: "none",
165843
+ changelog: {
165844
+ title: "Performance Improvements",
165845
+ hidden: false
165846
+ }
165847
+ },
165848
+ refactor: {
165849
+ semverBump: "patch",
165850
+ changelog: {
165851
+ title: "Refactoring",
165852
+ hidden: false
165853
+ }
165854
+ },
165855
+ docs: {
165856
+ semverBump: "none",
165857
+ changelog: {
165858
+ title: "Documentation",
165859
+ hidden: true
165860
+ }
165861
+ },
165862
+ deps: {
165863
+ semverBump: "patch",
165864
+ changelog: {
165865
+ title: "Dependency Upgrades",
165866
+ hidden: false
165867
+ }
165868
+ },
165869
+ types: {
165870
+ semverBump: "minor",
165871
+ changelog: {
165872
+ title: "Type Definitions",
165873
+ hidden: false
165874
+ }
165875
+ },
165876
+ chore: {
165877
+ semverBump: "none",
165878
+ changelog: {
165879
+ title: "Chores",
165880
+ hidden: true
165881
+ }
165882
+ },
165883
+ examples: {
165884
+ semverBump: "none",
165885
+ changelog: {
165886
+ title: "Examples",
165887
+ hidden: true
165888
+ }
165889
+ },
165890
+ test: {
165891
+ semverBump: "none",
165892
+ changelog: {
165893
+ title: "Testing",
165894
+ hidden: true
165895
+ }
165896
+ },
165897
+ style: {
165898
+ semverBump: "minor",
165899
+ changelog: {
165900
+ title: "Styling",
165901
+ hidden: false
165902
+ }
165903
+ },
165904
+ ci: {
165905
+ semverBump: "patch",
165906
+ changelog: {
165907
+ title: "Continuous Integration",
165908
+ hidden: false
165909
+ }
165910
+ },
165911
+ revert: {
165912
+ semverBump: "patch",
165913
+ changelog: {
165914
+ title: "Revert",
165915
+ hidden: false
165916
+ }
165917
+ }
165918
+ }
165919
+ };
165815
165920
 
165816
165921
  // packages/git-tools/src/commit/config.ts
165817
165922
  var config = {
@@ -170724,7 +170829,7 @@ import { findMatchingProjects } from "nx/src/utils/find-matching-projects.js";
170724
170829
  import { output } from "nx/src/utils/output.js";
170725
170830
  import { workspaceRoot as workspaceRoot2 } from "nx/src/utils/workspace-root.js";
170726
170831
  var IMPLICIT_DEFAULT_RELEASE_GROUP = "__default__";
170727
- var DEFAULT_CONVENTIONAL_COMMITS_CONFIG = {
170832
+ var DEFAULT_CONVENTIONAL_COMMITS_CONFIG2 = {
170728
170833
  types: {
170729
170834
  feat: {
170730
170835
  semverBump: "minor",
@@ -170872,7 +170977,7 @@ function fillUnspecifiedConventionalCommitsProperties(config2) {
170872
170977
  }
170873
170978
  const types = {};
170874
170979
  for (const [t13, typeConfig] of Object.entries(config2.types)) {
170875
- const defaultTypeConfig = DEFAULT_CONVENTIONAL_COMMITS_CONFIG.types[t13];
170980
+ const defaultTypeConfig = DEFAULT_CONVENTIONAL_COMMITS_CONFIG2.types[t13];
170876
170981
  const semverBump = typeof typeConfig !== "boolean" && typeConfig.semverBump || // preserve our default semver bump if it's not 'none'
170877
170982
  // this prevents a 'feat' from becoming a 'patch' just
170878
170983
  // because they modified the changelog config for 'feat'
@@ -171061,7 +171166,7 @@ async function createNxReleaseConfig2(projectGraph, projectFileMap, userConfig =
171061
171166
  },
171062
171167
  releaseTagPattern: userConfig.releaseTagPattern || // The appropriate default releaseTagPattern is dependent upon the projectRelationships
171063
171168
  (workspaceProjectsRelationship === "independent" ? defaultIndependentReleaseTagPattern : defaultFixedReleaseTagPattern),
171064
- conventionalCommits: DEFAULT_CONVENTIONAL_COMMITS_CONFIG
171169
+ conventionalCommits: DEFAULT_CONVENTIONAL_COMMITS_CONFIG2
171065
171170
  };
171066
171171
  const groupProjectsRelationship = userConfig.projectsRelationship || WORKSPACE_DEFAULTS.projectsRelationship || "independent";
171067
171172
  const GROUP_DEFAULTS = {
@@ -171547,6 +171652,7 @@ var checkPackageVersion = (fields) => {
171547
171652
  };
171548
171653
  export {
171549
171654
  CommitQuestionsKeys,
171655
+ DEFAULT_CONVENTIONAL_COMMITS_CONFIG,
171550
171656
  checkPackageVersion,
171551
171657
  commitAction,
171552
171658
  commitPrompt,
@@ -15871,7 +15871,7 @@ import {
15871
15871
  import { getCommitsRelevantToProjects } from "nx/src/command-line/release/utils/shared.js";
15872
15872
  var changelogRenderer = async ({
15873
15873
  projectGraph,
15874
- commits,
15874
+ commits = [],
15875
15875
  releaseVersion,
15876
15876
  project,
15877
15877
  entryWhenNoChanges,
@@ -15886,7 +15886,7 @@ var changelogRenderer = async ({
15886
15886
  fix: { title: "Bug Fixes" },
15887
15887
  refactor: { title: "Refactoring" },
15888
15888
  docs: { title: "Documentation" },
15889
- build: { title: "Build Improvements" },
15889
+ deps: { title: "Dependency Upgrades" },
15890
15890
  types: { title: "Type Definitions" },
15891
15891
  chore: { title: "Chore" },
15892
15892
  examples: { title: "Examples" },
@@ -16024,7 +16024,7 @@ ${entryWhenNoChanges}`,
16024
16024
  }
16025
16025
  }
16026
16026
  if (breakingChanges.length > 0) {
16027
- markdownLines.push("", "#### \u26A0\uFE0F Breaking Changes", "", ...breakingChanges);
16027
+ markdownLines.push("", "#### Breaking Changes", "", ...breakingChanges);
16028
16028
  }
16029
16029
  if (changelogRenderOptions.authors) {
16030
16030
  const _authors = /* @__PURE__ */ new Map();
@@ -16075,7 +16075,7 @@ ${entryWhenNoChanges}`,
16075
16075
  if (authors.length > 0) {
16076
16076
  markdownLines.push(
16077
16077
  "",
16078
- "### \u2764\uFE0F Thank you to our wonderful contributors",
16078
+ "### Thank you to our wonderful contributors",
16079
16079
  "",
16080
16080
  ...authors.sort((a, b) => a.name.localeCompare(b.name)).map((i) => {
16081
16081
  const github = i.github ? ` @${i.github}` : "";