@kcconfigs/commitlint 0.0.1 → 0.1.0-beta.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.
@@ -0,0 +1,142 @@
1
+ // @generated by tsdown, DO NOT edit it manually
2
+ const require_lib = require('./lib-CzUh7oEE.cjs');
3
+
4
+ //#region ../../../node_modules/.pnpm/@commitlint+config-conventional@20.2.0/node_modules/@commitlint/config-conventional/lib/index.js
5
+ var lib_default = {
6
+ parserPreset: "conventional-changelog-conventionalcommits",
7
+ rules: {
8
+ "body-leading-blank": [require_lib.RuleConfigSeverity.Warning, "always"],
9
+ "body-max-line-length": [
10
+ require_lib.RuleConfigSeverity.Error,
11
+ "always",
12
+ 100
13
+ ],
14
+ "footer-leading-blank": [require_lib.RuleConfigSeverity.Warning, "always"],
15
+ "footer-max-line-length": [
16
+ require_lib.RuleConfigSeverity.Error,
17
+ "always",
18
+ 100
19
+ ],
20
+ "header-max-length": [
21
+ require_lib.RuleConfigSeverity.Error,
22
+ "always",
23
+ 100
24
+ ],
25
+ "header-trim": [require_lib.RuleConfigSeverity.Error, "always"],
26
+ "subject-case": [
27
+ require_lib.RuleConfigSeverity.Error,
28
+ "never",
29
+ [
30
+ "sentence-case",
31
+ "start-case",
32
+ "pascal-case",
33
+ "upper-case"
34
+ ]
35
+ ],
36
+ "subject-empty": [require_lib.RuleConfigSeverity.Error, "never"],
37
+ "subject-full-stop": [
38
+ require_lib.RuleConfigSeverity.Error,
39
+ "never",
40
+ "."
41
+ ],
42
+ "type-case": [
43
+ require_lib.RuleConfigSeverity.Error,
44
+ "always",
45
+ "lower-case"
46
+ ],
47
+ "type-empty": [require_lib.RuleConfigSeverity.Error, "never"],
48
+ "type-enum": [
49
+ require_lib.RuleConfigSeverity.Error,
50
+ "always",
51
+ [
52
+ "build",
53
+ "chore",
54
+ "ci",
55
+ "docs",
56
+ "feat",
57
+ "fix",
58
+ "perf",
59
+ "refactor",
60
+ "revert",
61
+ "style",
62
+ "test"
63
+ ]
64
+ ]
65
+ },
66
+ prompt: { questions: {
67
+ type: {
68
+ description: "Select the type of change that you're committing",
69
+ enum: {
70
+ feat: {
71
+ description: "A new feature",
72
+ title: "Features",
73
+ emoji: "✨"
74
+ },
75
+ fix: {
76
+ description: "A bug fix",
77
+ title: "Bug Fixes",
78
+ emoji: "🐛"
79
+ },
80
+ docs: {
81
+ description: "Documentation only changes",
82
+ title: "Documentation",
83
+ emoji: "📚"
84
+ },
85
+ style: {
86
+ description: "Changes that do not affect the meaning of the code (white-space, formatting, missing semi-colons, etc)",
87
+ title: "Styles",
88
+ emoji: "💎"
89
+ },
90
+ refactor: {
91
+ description: "A code change that neither fixes a bug nor adds a feature",
92
+ title: "Code Refactoring",
93
+ emoji: "📦"
94
+ },
95
+ perf: {
96
+ description: "A code change that improves performance",
97
+ title: "Performance Improvements",
98
+ emoji: "🚀"
99
+ },
100
+ test: {
101
+ description: "Adding missing tests or correcting existing tests",
102
+ title: "Tests",
103
+ emoji: "🚨"
104
+ },
105
+ build: {
106
+ description: "Changes that affect the build system or external dependencies (example scopes: gulp, broccoli, npm)",
107
+ title: "Builds",
108
+ emoji: "🛠"
109
+ },
110
+ ci: {
111
+ description: "Changes to our CI configuration files and scripts (example scopes: Travis, Circle, BrowserStack, SauceLabs)",
112
+ title: "Continuous Integrations",
113
+ emoji: "⚙️"
114
+ },
115
+ chore: {
116
+ description: "Other changes that don't modify src or test files",
117
+ title: "Chores",
118
+ emoji: "♻️"
119
+ },
120
+ revert: {
121
+ description: "Reverts a previous commit",
122
+ title: "Reverts",
123
+ emoji: "🗑"
124
+ }
125
+ }
126
+ },
127
+ scope: { description: "What is the scope of this change (e.g. component or file name)" },
128
+ subject: { description: "Write a short, imperative tense description of the change" },
129
+ body: { description: "Provide a longer description of the change" },
130
+ isBreaking: { description: "Are there any breaking changes?" },
131
+ breakingBody: { description: "A BREAKING CHANGE commit requires a body. Please enter a longer description of the commit itself" },
132
+ breaking: { description: "Describe the breaking changes" },
133
+ isIssueAffected: { description: "Does this change affect any open issues?" },
134
+ issuesBody: { description: "If issues are closed, the commit requires a body. Please enter a longer description of the commit itself" },
135
+ issues: { description: "Add issue references (e.g. \"fix #123\", \"re #123\".)" }
136
+ } }
137
+ };
138
+
139
+ //#endregion
140
+ exports.default = lib_default;
141
+ // Generated by @kcconfigs/tsdown
142
+ //# sourceMappingURL=lib-26NWB_Cl.cjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"lib-26NWB_Cl.cjs","names":["RuleConfigSeverity"],"sources":["../../../../node_modules/.pnpm/@commitlint+config-conventional@20.2.0/node_modules/@commitlint/config-conventional/lib/index.js"],"sourcesContent":["import { RuleConfigSeverity, } from \"@commitlint/types\";\nexport default {\n parserPreset: \"conventional-changelog-conventionalcommits\",\n rules: {\n \"body-leading-blank\": [RuleConfigSeverity.Warning, \"always\"],\n \"body-max-line-length\": [RuleConfigSeverity.Error, \"always\", 100],\n \"footer-leading-blank\": [RuleConfigSeverity.Warning, \"always\"],\n \"footer-max-line-length\": [\n RuleConfigSeverity.Error,\n \"always\",\n 100,\n ],\n \"header-max-length\": [RuleConfigSeverity.Error, \"always\", 100],\n \"header-trim\": [RuleConfigSeverity.Error, \"always\"],\n \"subject-case\": [\n RuleConfigSeverity.Error,\n \"never\",\n [\"sentence-case\", \"start-case\", \"pascal-case\", \"upper-case\"],\n ],\n \"subject-empty\": [RuleConfigSeverity.Error, \"never\"],\n \"subject-full-stop\": [RuleConfigSeverity.Error, \"never\", \".\"],\n \"type-case\": [RuleConfigSeverity.Error, \"always\", \"lower-case\"],\n \"type-empty\": [RuleConfigSeverity.Error, \"never\"],\n \"type-enum\": [\n RuleConfigSeverity.Error,\n \"always\",\n [\n \"build\",\n \"chore\",\n \"ci\",\n \"docs\",\n \"feat\",\n \"fix\",\n \"perf\",\n \"refactor\",\n \"revert\",\n \"style\",\n \"test\",\n ],\n ],\n },\n prompt: {\n questions: {\n type: {\n description: \"Select the type of change that you're committing\",\n enum: {\n feat: {\n description: \"A new feature\",\n title: \"Features\",\n emoji: \"✨\",\n },\n fix: {\n description: \"A bug fix\",\n title: \"Bug Fixes\",\n emoji: \"🐛\",\n },\n docs: {\n description: \"Documentation only changes\",\n title: \"Documentation\",\n emoji: \"📚\",\n },\n style: {\n description: \"Changes that do not affect the meaning of the code (white-space, formatting, missing semi-colons, etc)\",\n title: \"Styles\",\n emoji: \"💎\",\n },\n refactor: {\n description: \"A code change that neither fixes a bug nor adds a feature\",\n title: \"Code Refactoring\",\n emoji: \"📦\",\n },\n perf: {\n description: \"A code change that improves performance\",\n title: \"Performance Improvements\",\n emoji: \"🚀\",\n },\n test: {\n description: \"Adding missing tests or correcting existing tests\",\n title: \"Tests\",\n emoji: \"🚨\",\n },\n build: {\n description: \"Changes that affect the build system or external dependencies (example scopes: gulp, broccoli, npm)\",\n title: \"Builds\",\n emoji: \"🛠\",\n },\n ci: {\n description: \"Changes to our CI configuration files and scripts (example scopes: Travis, Circle, BrowserStack, SauceLabs)\",\n title: \"Continuous Integrations\",\n emoji: \"⚙️\",\n },\n chore: {\n description: \"Other changes that don't modify src or test files\",\n title: \"Chores\",\n emoji: \"♻️\",\n },\n revert: {\n description: \"Reverts a previous commit\",\n title: \"Reverts\",\n emoji: \"🗑\",\n },\n },\n },\n scope: {\n description: \"What is the scope of this change (e.g. component or file name)\",\n },\n subject: {\n description: \"Write a short, imperative tense description of the change\",\n },\n body: {\n description: \"Provide a longer description of the change\",\n },\n isBreaking: {\n description: \"Are there any breaking changes?\",\n },\n breakingBody: {\n description: \"A BREAKING CHANGE commit requires a body. Please enter a longer description of the commit itself\",\n },\n breaking: {\n description: \"Describe the breaking changes\",\n },\n isIssueAffected: {\n description: \"Does this change affect any open issues?\",\n },\n issuesBody: {\n description: \"If issues are closed, the commit requires a body. Please enter a longer description of the commit itself\",\n },\n issues: {\n description: 'Add issue references (e.g. \"fix #123\", \"re #123\".)',\n },\n },\n },\n};\n//# sourceMappingURL=index.js.map"],"x_google_ignoreList":[0],"mappings":";;;;AACA,kBAAe;CACX,cAAc;CACd,OAAO;EACH,sBAAsB,CAACA,+BAAmB,SAAS,SAAS;EAC5D,wBAAwB;GAACA,+BAAmB;GAAO;GAAU;GAAI;EACjE,wBAAwB,CAACA,+BAAmB,SAAS,SAAS;EAC9D,0BAA0B;GACtBA,+BAAmB;GACnB;GACA;GACH;EACD,qBAAqB;GAACA,+BAAmB;GAAO;GAAU;GAAI;EAC9D,eAAe,CAACA,+BAAmB,OAAO,SAAS;EACnD,gBAAgB;GACZA,+BAAmB;GACnB;GACA;IAAC;IAAiB;IAAc;IAAe;IAAa;GAC/D;EACD,iBAAiB,CAACA,+BAAmB,OAAO,QAAQ;EACpD,qBAAqB;GAACA,+BAAmB;GAAO;GAAS;GAAI;EAC7D,aAAa;GAACA,+BAAmB;GAAO;GAAU;GAAa;EAC/D,cAAc,CAACA,+BAAmB,OAAO,QAAQ;EACjD,aAAa;GACTA,+BAAmB;GACnB;GACA;IACI;IACA;IACA;IACA;IACA;IACA;IACA;IACA;IACA;IACA;IACA;IACH;GACJ;EACJ;CACD,QAAQ,EACJ,WAAW;EACP,MAAM;GACF,aAAa;GACb,MAAM;IACF,MAAM;KACF,aAAa;KACb,OAAO;KACP,OAAO;KACV;IACD,KAAK;KACD,aAAa;KACb,OAAO;KACP,OAAO;KACV;IACD,MAAM;KACF,aAAa;KACb,OAAO;KACP,OAAO;KACV;IACD,OAAO;KACH,aAAa;KACb,OAAO;KACP,OAAO;KACV;IACD,UAAU;KACN,aAAa;KACb,OAAO;KACP,OAAO;KACV;IACD,MAAM;KACF,aAAa;KACb,OAAO;KACP,OAAO;KACV;IACD,MAAM;KACF,aAAa;KACb,OAAO;KACP,OAAO;KACV;IACD,OAAO;KACH,aAAa;KACb,OAAO;KACP,OAAO;KACV;IACD,IAAI;KACA,aAAa;KACb,OAAO;KACP,OAAO;KACV;IACD,OAAO;KACH,aAAa;KACb,OAAO;KACP,OAAO;KACV;IACD,QAAQ;KACJ,aAAa;KACb,OAAO;KACP,OAAO;KACV;IACJ;GACJ;EACD,OAAO,EACH,aAAa,kEAChB;EACD,SAAS,EACL,aAAa,6DAChB;EACD,MAAM,EACF,aAAa,8CAChB;EACD,YAAY,EACR,aAAa,mCAChB;EACD,cAAc,EACV,aAAa,oGAChB;EACD,UAAU,EACN,aAAa,iCAChB;EACD,iBAAiB,EACb,aAAa,4CAChB;EACD,YAAY,EACR,aAAa,4GAChB;EACD,QAAQ,EACJ,aAAa,0DAChB;EACJ,EACJ;CACJ"}
@@ -0,0 +1,31 @@
1
+ // @generated by tsdown, DO NOT edit it manually
2
+
3
+ //#region ../../../node_modules/.pnpm/@commitlint+types@20.2.0/node_modules/@commitlint/types/lib/rules.js
4
+ /**
5
+ * Rules always have a severity.
6
+ * Severity indicates what to do if the rule is found to be broken
7
+ * 0 - Disable this rule
8
+ * 1 - Warn for violations
9
+ * 2 - Error for violations
10
+ */
11
+ var RuleConfigSeverity;
12
+ (function(RuleConfigSeverity$1) {
13
+ RuleConfigSeverity$1[RuleConfigSeverity$1["Disabled"] = 0] = "Disabled";
14
+ RuleConfigSeverity$1[RuleConfigSeverity$1["Warning"] = 1] = "Warning";
15
+ RuleConfigSeverity$1[RuleConfigSeverity$1["Error"] = 2] = "Error";
16
+ })(RuleConfigSeverity || (RuleConfigSeverity = {}));
17
+ var RuleConfigQuality;
18
+ (function(RuleConfigQuality$1) {
19
+ RuleConfigQuality$1[RuleConfigQuality$1["User"] = 0] = "User";
20
+ RuleConfigQuality$1[RuleConfigQuality$1["Qualified"] = 1] = "Qualified";
21
+ })(RuleConfigQuality || (RuleConfigQuality = {}));
22
+
23
+ //#endregion
24
+ Object.defineProperty(exports, 'RuleConfigSeverity', {
25
+ enumerable: true,
26
+ get: function () {
27
+ return RuleConfigSeverity;
28
+ }
29
+ });
30
+ // Generated by @kcconfigs/tsdown
31
+ //# sourceMappingURL=lib-CzUh7oEE.cjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"lib-CzUh7oEE.cjs","names":[],"sources":["../../../../node_modules/.pnpm/@commitlint+types@20.2.0/node_modules/@commitlint/types/lib/rules.js"],"sourcesContent":["/**\n * Rules always have a severity.\n * Severity indicates what to do if the rule is found to be broken\n * 0 - Disable this rule\n * 1 - Warn for violations\n * 2 - Error for violations\n */\nexport var RuleConfigSeverity;\n(function (RuleConfigSeverity) {\n RuleConfigSeverity[RuleConfigSeverity[\"Disabled\"] = 0] = \"Disabled\";\n RuleConfigSeverity[RuleConfigSeverity[\"Warning\"] = 1] = \"Warning\";\n RuleConfigSeverity[RuleConfigSeverity[\"Error\"] = 2] = \"Error\";\n})(RuleConfigSeverity || (RuleConfigSeverity = {}));\nexport var RuleConfigQuality;\n(function (RuleConfigQuality) {\n RuleConfigQuality[RuleConfigQuality[\"User\"] = 0] = \"User\";\n RuleConfigQuality[RuleConfigQuality[\"Qualified\"] = 1] = \"Qualified\";\n})(RuleConfigQuality || (RuleConfigQuality = {}));\n//# sourceMappingURL=rules.js.map"],"x_google_ignoreList":[0],"mappings":";;;;;;;;;;AAOA,IAAW;CACV,SAAU,sBAAoB;AAC3B,sBAAmB,qBAAmB,cAAc,KAAK;AACzD,sBAAmB,qBAAmB,aAAa,KAAK;AACxD,sBAAmB,qBAAmB,WAAW,KAAK;GACvD,uBAAuB,qBAAqB,EAAE,EAAE;AACnD,IAAW;CACV,SAAU,qBAAmB;AAC1B,qBAAkB,oBAAkB,UAAU,KAAK;AACnD,qBAAkB,oBAAkB,eAAe,KAAK;GACzD,sBAAsB,oBAAoB,EAAE,EAAE"}
@@ -0,0 +1,25 @@
1
+ // @generated by tsdown, DO NOT edit it manually
2
+ //#region ../../../node_modules/.pnpm/@commitlint+types@20.2.0/node_modules/@commitlint/types/lib/rules.js
3
+ /**
4
+ * Rules always have a severity.
5
+ * Severity indicates what to do if the rule is found to be broken
6
+ * 0 - Disable this rule
7
+ * 1 - Warn for violations
8
+ * 2 - Error for violations
9
+ */
10
+ var RuleConfigSeverity;
11
+ (function(RuleConfigSeverity$1) {
12
+ RuleConfigSeverity$1[RuleConfigSeverity$1["Disabled"] = 0] = "Disabled";
13
+ RuleConfigSeverity$1[RuleConfigSeverity$1["Warning"] = 1] = "Warning";
14
+ RuleConfigSeverity$1[RuleConfigSeverity$1["Error"] = 2] = "Error";
15
+ })(RuleConfigSeverity || (RuleConfigSeverity = {}));
16
+ var RuleConfigQuality;
17
+ (function(RuleConfigQuality$1) {
18
+ RuleConfigQuality$1[RuleConfigQuality$1["User"] = 0] = "User";
19
+ RuleConfigQuality$1[RuleConfigQuality$1["Qualified"] = 1] = "Qualified";
20
+ })(RuleConfigQuality || (RuleConfigQuality = {}));
21
+
22
+ //#endregion
23
+ export { RuleConfigSeverity as t };
24
+ // Generated by @kcconfigs/tsdown
25
+ //# sourceMappingURL=lib-D5qzG1z4.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"lib-D5qzG1z4.js","names":[],"sources":["../../../../node_modules/.pnpm/@commitlint+types@20.2.0/node_modules/@commitlint/types/lib/rules.js"],"sourcesContent":["/**\n * Rules always have a severity.\n * Severity indicates what to do if the rule is found to be broken\n * 0 - Disable this rule\n * 1 - Warn for violations\n * 2 - Error for violations\n */\nexport var RuleConfigSeverity;\n(function (RuleConfigSeverity) {\n RuleConfigSeverity[RuleConfigSeverity[\"Disabled\"] = 0] = \"Disabled\";\n RuleConfigSeverity[RuleConfigSeverity[\"Warning\"] = 1] = \"Warning\";\n RuleConfigSeverity[RuleConfigSeverity[\"Error\"] = 2] = \"Error\";\n})(RuleConfigSeverity || (RuleConfigSeverity = {}));\nexport var RuleConfigQuality;\n(function (RuleConfigQuality) {\n RuleConfigQuality[RuleConfigQuality[\"User\"] = 0] = \"User\";\n RuleConfigQuality[RuleConfigQuality[\"Qualified\"] = 1] = \"Qualified\";\n})(RuleConfigQuality || (RuleConfigQuality = {}));\n//# sourceMappingURL=rules.js.map"],"x_google_ignoreList":[0],"mappings":";;;;;;;;;AAOA,IAAW;CACV,SAAU,sBAAoB;AAC3B,sBAAmB,qBAAmB,cAAc,KAAK;AACzD,sBAAmB,qBAAmB,aAAa,KAAK;AACxD,sBAAmB,qBAAmB,WAAW,KAAK;GACvD,uBAAuB,qBAAqB,EAAE,EAAE;AACnD,IAAW;CACV,SAAU,qBAAmB;AAC1B,qBAAkB,oBAAkB,UAAU,KAAK;AACnD,qBAAkB,oBAAkB,eAAe,KAAK;GACzD,sBAAsB,oBAAoB,EAAE,EAAE"}
@@ -0,0 +1,142 @@
1
+ // @generated by tsdown, DO NOT edit it manually
2
+ import { t as RuleConfigSeverity } from "./lib-D5qzG1z4.js";
3
+
4
+ //#region ../../../node_modules/.pnpm/@commitlint+config-conventional@20.2.0/node_modules/@commitlint/config-conventional/lib/index.js
5
+ var lib_default = {
6
+ parserPreset: "conventional-changelog-conventionalcommits",
7
+ rules: {
8
+ "body-leading-blank": [RuleConfigSeverity.Warning, "always"],
9
+ "body-max-line-length": [
10
+ RuleConfigSeverity.Error,
11
+ "always",
12
+ 100
13
+ ],
14
+ "footer-leading-blank": [RuleConfigSeverity.Warning, "always"],
15
+ "footer-max-line-length": [
16
+ RuleConfigSeverity.Error,
17
+ "always",
18
+ 100
19
+ ],
20
+ "header-max-length": [
21
+ RuleConfigSeverity.Error,
22
+ "always",
23
+ 100
24
+ ],
25
+ "header-trim": [RuleConfigSeverity.Error, "always"],
26
+ "subject-case": [
27
+ RuleConfigSeverity.Error,
28
+ "never",
29
+ [
30
+ "sentence-case",
31
+ "start-case",
32
+ "pascal-case",
33
+ "upper-case"
34
+ ]
35
+ ],
36
+ "subject-empty": [RuleConfigSeverity.Error, "never"],
37
+ "subject-full-stop": [
38
+ RuleConfigSeverity.Error,
39
+ "never",
40
+ "."
41
+ ],
42
+ "type-case": [
43
+ RuleConfigSeverity.Error,
44
+ "always",
45
+ "lower-case"
46
+ ],
47
+ "type-empty": [RuleConfigSeverity.Error, "never"],
48
+ "type-enum": [
49
+ RuleConfigSeverity.Error,
50
+ "always",
51
+ [
52
+ "build",
53
+ "chore",
54
+ "ci",
55
+ "docs",
56
+ "feat",
57
+ "fix",
58
+ "perf",
59
+ "refactor",
60
+ "revert",
61
+ "style",
62
+ "test"
63
+ ]
64
+ ]
65
+ },
66
+ prompt: { questions: {
67
+ type: {
68
+ description: "Select the type of change that you're committing",
69
+ enum: {
70
+ feat: {
71
+ description: "A new feature",
72
+ title: "Features",
73
+ emoji: "✨"
74
+ },
75
+ fix: {
76
+ description: "A bug fix",
77
+ title: "Bug Fixes",
78
+ emoji: "🐛"
79
+ },
80
+ docs: {
81
+ description: "Documentation only changes",
82
+ title: "Documentation",
83
+ emoji: "📚"
84
+ },
85
+ style: {
86
+ description: "Changes that do not affect the meaning of the code (white-space, formatting, missing semi-colons, etc)",
87
+ title: "Styles",
88
+ emoji: "💎"
89
+ },
90
+ refactor: {
91
+ description: "A code change that neither fixes a bug nor adds a feature",
92
+ title: "Code Refactoring",
93
+ emoji: "📦"
94
+ },
95
+ perf: {
96
+ description: "A code change that improves performance",
97
+ title: "Performance Improvements",
98
+ emoji: "🚀"
99
+ },
100
+ test: {
101
+ description: "Adding missing tests or correcting existing tests",
102
+ title: "Tests",
103
+ emoji: "🚨"
104
+ },
105
+ build: {
106
+ description: "Changes that affect the build system or external dependencies (example scopes: gulp, broccoli, npm)",
107
+ title: "Builds",
108
+ emoji: "🛠"
109
+ },
110
+ ci: {
111
+ description: "Changes to our CI configuration files and scripts (example scopes: Travis, Circle, BrowserStack, SauceLabs)",
112
+ title: "Continuous Integrations",
113
+ emoji: "⚙️"
114
+ },
115
+ chore: {
116
+ description: "Other changes that don't modify src or test files",
117
+ title: "Chores",
118
+ emoji: "♻️"
119
+ },
120
+ revert: {
121
+ description: "Reverts a previous commit",
122
+ title: "Reverts",
123
+ emoji: "🗑"
124
+ }
125
+ }
126
+ },
127
+ scope: { description: "What is the scope of this change (e.g. component or file name)" },
128
+ subject: { description: "Write a short, imperative tense description of the change" },
129
+ body: { description: "Provide a longer description of the change" },
130
+ isBreaking: { description: "Are there any breaking changes?" },
131
+ breakingBody: { description: "A BREAKING CHANGE commit requires a body. Please enter a longer description of the commit itself" },
132
+ breaking: { description: "Describe the breaking changes" },
133
+ isIssueAffected: { description: "Does this change affect any open issues?" },
134
+ issuesBody: { description: "If issues are closed, the commit requires a body. Please enter a longer description of the commit itself" },
135
+ issues: { description: "Add issue references (e.g. \"fix #123\", \"re #123\".)" }
136
+ } }
137
+ };
138
+
139
+ //#endregion
140
+ export { lib_default as default };
141
+ // Generated by @kcconfigs/tsdown
142
+ //# sourceMappingURL=lib-DPex9ONF.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"lib-DPex9ONF.js","names":[],"sources":["../../../../node_modules/.pnpm/@commitlint+config-conventional@20.2.0/node_modules/@commitlint/config-conventional/lib/index.js"],"sourcesContent":["import { RuleConfigSeverity, } from \"@commitlint/types\";\nexport default {\n parserPreset: \"conventional-changelog-conventionalcommits\",\n rules: {\n \"body-leading-blank\": [RuleConfigSeverity.Warning, \"always\"],\n \"body-max-line-length\": [RuleConfigSeverity.Error, \"always\", 100],\n \"footer-leading-blank\": [RuleConfigSeverity.Warning, \"always\"],\n \"footer-max-line-length\": [\n RuleConfigSeverity.Error,\n \"always\",\n 100,\n ],\n \"header-max-length\": [RuleConfigSeverity.Error, \"always\", 100],\n \"header-trim\": [RuleConfigSeverity.Error, \"always\"],\n \"subject-case\": [\n RuleConfigSeverity.Error,\n \"never\",\n [\"sentence-case\", \"start-case\", \"pascal-case\", \"upper-case\"],\n ],\n \"subject-empty\": [RuleConfigSeverity.Error, \"never\"],\n \"subject-full-stop\": [RuleConfigSeverity.Error, \"never\", \".\"],\n \"type-case\": [RuleConfigSeverity.Error, \"always\", \"lower-case\"],\n \"type-empty\": [RuleConfigSeverity.Error, \"never\"],\n \"type-enum\": [\n RuleConfigSeverity.Error,\n \"always\",\n [\n \"build\",\n \"chore\",\n \"ci\",\n \"docs\",\n \"feat\",\n \"fix\",\n \"perf\",\n \"refactor\",\n \"revert\",\n \"style\",\n \"test\",\n ],\n ],\n },\n prompt: {\n questions: {\n type: {\n description: \"Select the type of change that you're committing\",\n enum: {\n feat: {\n description: \"A new feature\",\n title: \"Features\",\n emoji: \"✨\",\n },\n fix: {\n description: \"A bug fix\",\n title: \"Bug Fixes\",\n emoji: \"🐛\",\n },\n docs: {\n description: \"Documentation only changes\",\n title: \"Documentation\",\n emoji: \"📚\",\n },\n style: {\n description: \"Changes that do not affect the meaning of the code (white-space, formatting, missing semi-colons, etc)\",\n title: \"Styles\",\n emoji: \"💎\",\n },\n refactor: {\n description: \"A code change that neither fixes a bug nor adds a feature\",\n title: \"Code Refactoring\",\n emoji: \"📦\",\n },\n perf: {\n description: \"A code change that improves performance\",\n title: \"Performance Improvements\",\n emoji: \"🚀\",\n },\n test: {\n description: \"Adding missing tests or correcting existing tests\",\n title: \"Tests\",\n emoji: \"🚨\",\n },\n build: {\n description: \"Changes that affect the build system or external dependencies (example scopes: gulp, broccoli, npm)\",\n title: \"Builds\",\n emoji: \"🛠\",\n },\n ci: {\n description: \"Changes to our CI configuration files and scripts (example scopes: Travis, Circle, BrowserStack, SauceLabs)\",\n title: \"Continuous Integrations\",\n emoji: \"⚙️\",\n },\n chore: {\n description: \"Other changes that don't modify src or test files\",\n title: \"Chores\",\n emoji: \"♻️\",\n },\n revert: {\n description: \"Reverts a previous commit\",\n title: \"Reverts\",\n emoji: \"🗑\",\n },\n },\n },\n scope: {\n description: \"What is the scope of this change (e.g. component or file name)\",\n },\n subject: {\n description: \"Write a short, imperative tense description of the change\",\n },\n body: {\n description: \"Provide a longer description of the change\",\n },\n isBreaking: {\n description: \"Are there any breaking changes?\",\n },\n breakingBody: {\n description: \"A BREAKING CHANGE commit requires a body. Please enter a longer description of the commit itself\",\n },\n breaking: {\n description: \"Describe the breaking changes\",\n },\n isIssueAffected: {\n description: \"Does this change affect any open issues?\",\n },\n issuesBody: {\n description: \"If issues are closed, the commit requires a body. Please enter a longer description of the commit itself\",\n },\n issues: {\n description: 'Add issue references (e.g. \"fix #123\", \"re #123\".)',\n },\n },\n },\n};\n//# sourceMappingURL=index.js.map"],"x_google_ignoreList":[0],"mappings":";;;;AACA,kBAAe;CACX,cAAc;CACd,OAAO;EACH,sBAAsB,CAAC,mBAAmB,SAAS,SAAS;EAC5D,wBAAwB;GAAC,mBAAmB;GAAO;GAAU;GAAI;EACjE,wBAAwB,CAAC,mBAAmB,SAAS,SAAS;EAC9D,0BAA0B;GACtB,mBAAmB;GACnB;GACA;GACH;EACD,qBAAqB;GAAC,mBAAmB;GAAO;GAAU;GAAI;EAC9D,eAAe,CAAC,mBAAmB,OAAO,SAAS;EACnD,gBAAgB;GACZ,mBAAmB;GACnB;GACA;IAAC;IAAiB;IAAc;IAAe;IAAa;GAC/D;EACD,iBAAiB,CAAC,mBAAmB,OAAO,QAAQ;EACpD,qBAAqB;GAAC,mBAAmB;GAAO;GAAS;GAAI;EAC7D,aAAa;GAAC,mBAAmB;GAAO;GAAU;GAAa;EAC/D,cAAc,CAAC,mBAAmB,OAAO,QAAQ;EACjD,aAAa;GACT,mBAAmB;GACnB;GACA;IACI;IACA;IACA;IACA;IACA;IACA;IACA;IACA;IACA;IACA;IACA;IACH;GACJ;EACJ;CACD,QAAQ,EACJ,WAAW;EACP,MAAM;GACF,aAAa;GACb,MAAM;IACF,MAAM;KACF,aAAa;KACb,OAAO;KACP,OAAO;KACV;IACD,KAAK;KACD,aAAa;KACb,OAAO;KACP,OAAO;KACV;IACD,MAAM;KACF,aAAa;KACb,OAAO;KACP,OAAO;KACV;IACD,OAAO;KACH,aAAa;KACb,OAAO;KACP,OAAO;KACV;IACD,UAAU;KACN,aAAa;KACb,OAAO;KACP,OAAO;KACV;IACD,MAAM;KACF,aAAa;KACb,OAAO;KACP,OAAO;KACV;IACD,MAAM;KACF,aAAa;KACb,OAAO;KACP,OAAO;KACV;IACD,OAAO;KACH,aAAa;KACb,OAAO;KACP,OAAO;KACV;IACD,IAAI;KACA,aAAa;KACb,OAAO;KACP,OAAO;KACV;IACD,OAAO;KACH,aAAa;KACb,OAAO;KACP,OAAO;KACV;IACD,QAAQ;KACJ,aAAa;KACb,OAAO;KACP,OAAO;KACV;IACJ;GACJ;EACD,OAAO,EACH,aAAa,kEAChB;EACD,SAAS,EACL,aAAa,6DAChB;EACD,MAAM,EACF,aAAa,8CAChB;EACD,YAAY,EACR,aAAa,mCAChB;EACD,cAAc,EACV,aAAa,oGAChB;EACD,UAAU,EACN,aAAa,iCAChB;EACD,iBAAiB,EACb,aAAa,4CAChB;EACD,YAAY,EACR,aAAa,4GAChB;EACD,QAAQ,EACJ,aAAa,0DAChB;EACJ,EACJ;CACJ"}
package/package.json CHANGED
@@ -1,6 +1,39 @@
1
1
  {
2
2
  "name": "@kcconfigs/commitlint",
3
- "version": "0.0.1",
3
+ "version": "0.1.0-beta.0",
4
+ "description": "Shared commitlint configuration",
5
+ "type": "module",
6
+ "dependencies": {
7
+ "@pnpm/workspace.find-packages": "1000.0.49",
8
+ "yaml": "2.8.2"
9
+ },
10
+ "devDependencies": {
11
+ "@biomejs/biome": "2.3.10",
12
+ "@commitlint/config-conventional": "20.2.0",
13
+ "@commitlint/types": "20.2.0",
14
+ "tsdown": "0.18.1",
15
+ "vitest": "4.0.15",
16
+ "@kcconfigs/tsdown": "0.1.0-beta.1",
17
+ "@kcconfigs/vitest": "0.1.0-beta.0",
18
+ "@kcconfigs/biome": "0.1.1",
19
+ "@kcconfigs/tsconfig": "0.1.0-beta.1"
20
+ },
21
+ "main": "./dist/index.js",
22
+ "types": "./dist/index.d.cts",
23
+ "exports": {
24
+ ".": {
25
+ "source": "./src/index.ts",
26
+ "typedoc": "./src/index.ts",
27
+ "require": {
28
+ "types": "./dist/index.d.cts",
29
+ "default": "./dist/index.cjs"
30
+ },
31
+ "default": {
32
+ "types": "./dist/index.d.ts",
33
+ "default": "./dist/index.js"
34
+ }
35
+ }
36
+ },
4
37
  "license": "AGPL-3.0-only",
5
38
  "homepage": "https://github.com/kc-workspace/kcws/tree/main/packages/@kcconfigs/commitlint",
6
39
  "repository": {
@@ -13,10 +46,34 @@
13
46
  "email": "kcws@kc.in.th",
14
47
  "url": "https://github.com/kamontat"
15
48
  },
49
+ "keywords": [
50
+ "config",
51
+ "typescript",
52
+ "commitlint",
53
+ "commit",
54
+ "linter"
55
+ ],
56
+ "files": [
57
+ "CHANGELOG.json",
58
+ "CHANGELOG.md",
59
+ "dist",
60
+ "src"
61
+ ],
16
62
  "engines": {
17
63
  "node": ">=14"
18
64
  },
19
65
  "publishConfig": {
20
66
  "access": "public"
67
+ },
68
+ "scripts": {
69
+ "build": "tsdown",
70
+ "test": "vitest run",
71
+ "fix": "biome check --fix --unsafe",
72
+ "check": "pnpm run lint:check && pnpm run format:check && pnpm run type:check",
73
+ "format": "biome format --fix",
74
+ "format:check": "biome format",
75
+ "lint": "biome lint --fix --unsafe",
76
+ "lint:check": "biome lint",
77
+ "type:check": "tsc --build"
21
78
  }
22
79
  }