@pubinfo/commitlint 2.0.2 → 2.0.3

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/LICENSE ADDED
@@ -0,0 +1,21 @@
1
+ MIT License
2
+
3
+ Copyright (c) 2024 PUBINFO 腾龙框架
4
+
5
+ Permission is hereby granted, free of charge, to any person obtaining a copy
6
+ of this software and associated documentation files (the "Software"), to deal
7
+ in the Software without restriction, including without limitation the rights
8
+ to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9
+ copies of the Software, and to permit persons to whom the Software is
10
+ furnished to do so, subject to the following conditions:
11
+
12
+ The above copyright notice and this permission notice shall be included in all
13
+ copies or substantial portions of the Software.
14
+
15
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16
+ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17
+ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18
+ AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19
+ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20
+ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
21
+ SOFTWARE.
package/dist/index.js CHANGED
@@ -1,3 +1,3 @@
1
- import { commitPreset, createCzConfig, createGitMessage, isInsideGitRepo, lintAndReturn, lintMessage, loadCommitConfig, runCzConfig, runGitMessage, runNpx, runPrompt, runSimpleGitHooks } from "./lint.message-N-70APqZ.js";
1
+ import { commitPreset, createCzConfig, createGitMessage, isInsideGitRepo, lintAndReturn, lintMessage, loadCommitConfig, runCzConfig, runGitMessage, runNpx, runPrompt, runSimpleGitHooks } from "./lint.message-CZXQspF4.js";
2
2
 
3
3
  export { commitPreset, createCzConfig, createGitMessage, isInsideGitRepo, lintAndReturn, lintMessage, loadCommitConfig, runCzConfig, runGitMessage, runNpx, runPrompt, runSimpleGitHooks };
@@ -999,8 +999,8 @@ var require_graceful_fs = /* @__PURE__ */ __commonJS({ "../../node_modules/.pnpm
999
999
  }) });
1000
1000
 
1001
1001
  //#endregion
1002
- //#region ../../node_modules/.pnpm/fs-extra@11.3.2/node_modules/fs-extra/lib/fs/index.js
1003
- var require_fs = /* @__PURE__ */ __commonJS({ "../../node_modules/.pnpm/fs-extra@11.3.2/node_modules/fs-extra/lib/fs/index.js": ((exports) => {
1002
+ //#region ../../node_modules/.pnpm/fs-extra@11.3.0/node_modules/fs-extra/lib/fs/index.js
1003
+ var require_fs = /* @__PURE__ */ __commonJS({ "../../node_modules/.pnpm/fs-extra@11.3.0/node_modules/fs-extra/lib/fs/index.js": ((exports) => {
1004
1004
  const u$15 = require_universalify().fromCallback;
1005
1005
  const fs$20 = require_graceful_fs();
1006
1006
  const api = [
@@ -1108,8 +1108,8 @@ var require_fs = /* @__PURE__ */ __commonJS({ "../../node_modules/.pnpm/fs-extra
1108
1108
  }) });
1109
1109
 
1110
1110
  //#endregion
1111
- //#region ../../node_modules/.pnpm/fs-extra@11.3.2/node_modules/fs-extra/lib/mkdirs/utils.js
1112
- var require_utils$1 = /* @__PURE__ */ __commonJS({ "../../node_modules/.pnpm/fs-extra@11.3.2/node_modules/fs-extra/lib/mkdirs/utils.js": ((exports, module) => {
1111
+ //#region ../../node_modules/.pnpm/fs-extra@11.3.0/node_modules/fs-extra/lib/mkdirs/utils.js
1112
+ var require_utils$1 = /* @__PURE__ */ __commonJS({ "../../node_modules/.pnpm/fs-extra@11.3.0/node_modules/fs-extra/lib/mkdirs/utils.js": ((exports, module) => {
1113
1113
  const path$11 = __require("path");
1114
1114
  module.exports.checkPath = function checkPath$1(pth) {
1115
1115
  if (process.platform === "win32") {
@@ -1123,8 +1123,8 @@ var require_utils$1 = /* @__PURE__ */ __commonJS({ "../../node_modules/.pnpm/fs-
1123
1123
  }) });
1124
1124
 
1125
1125
  //#endregion
1126
- //#region ../../node_modules/.pnpm/fs-extra@11.3.2/node_modules/fs-extra/lib/mkdirs/make-dir.js
1127
- var require_make_dir = /* @__PURE__ */ __commonJS({ "../../node_modules/.pnpm/fs-extra@11.3.2/node_modules/fs-extra/lib/mkdirs/make-dir.js": ((exports, module) => {
1126
+ //#region ../../node_modules/.pnpm/fs-extra@11.3.0/node_modules/fs-extra/lib/mkdirs/make-dir.js
1127
+ var require_make_dir = /* @__PURE__ */ __commonJS({ "../../node_modules/.pnpm/fs-extra@11.3.0/node_modules/fs-extra/lib/mkdirs/make-dir.js": ((exports, module) => {
1128
1128
  const fs$19 = require_fs();
1129
1129
  const { checkPath } = require_utils$1();
1130
1130
  const getMode = (options) => {
@@ -1152,8 +1152,8 @@ var require_make_dir = /* @__PURE__ */ __commonJS({ "../../node_modules/.pnpm/fs
1152
1152
  }) });
1153
1153
 
1154
1154
  //#endregion
1155
- //#region ../../node_modules/.pnpm/fs-extra@11.3.2/node_modules/fs-extra/lib/mkdirs/index.js
1156
- var require_mkdirs = /* @__PURE__ */ __commonJS({ "../../node_modules/.pnpm/fs-extra@11.3.2/node_modules/fs-extra/lib/mkdirs/index.js": ((exports, module) => {
1155
+ //#region ../../node_modules/.pnpm/fs-extra@11.3.0/node_modules/fs-extra/lib/mkdirs/index.js
1156
+ var require_mkdirs = /* @__PURE__ */ __commonJS({ "../../node_modules/.pnpm/fs-extra@11.3.0/node_modules/fs-extra/lib/mkdirs/index.js": ((exports, module) => {
1157
1157
  const u$14 = require_universalify().fromPromise;
1158
1158
  const { makeDir: _makeDir, makeDirSync } = require_make_dir();
1159
1159
  const makeDir = u$14(_makeDir);
@@ -1168,8 +1168,8 @@ var require_mkdirs = /* @__PURE__ */ __commonJS({ "../../node_modules/.pnpm/fs-e
1168
1168
  }) });
1169
1169
 
1170
1170
  //#endregion
1171
- //#region ../../node_modules/.pnpm/fs-extra@11.3.2/node_modules/fs-extra/lib/path-exists/index.js
1172
- var require_path_exists = /* @__PURE__ */ __commonJS({ "../../node_modules/.pnpm/fs-extra@11.3.2/node_modules/fs-extra/lib/path-exists/index.js": ((exports, module) => {
1171
+ //#region ../../node_modules/.pnpm/fs-extra@11.3.0/node_modules/fs-extra/lib/path-exists/index.js
1172
+ var require_path_exists = /* @__PURE__ */ __commonJS({ "../../node_modules/.pnpm/fs-extra@11.3.0/node_modules/fs-extra/lib/path-exists/index.js": ((exports, module) => {
1173
1173
  const u$13 = require_universalify().fromPromise;
1174
1174
  const fs$18 = require_fs();
1175
1175
  function pathExists$6(path$12) {
@@ -1182,8 +1182,8 @@ var require_path_exists = /* @__PURE__ */ __commonJS({ "../../node_modules/.pnpm
1182
1182
  }) });
1183
1183
 
1184
1184
  //#endregion
1185
- //#region ../../node_modules/.pnpm/fs-extra@11.3.2/node_modules/fs-extra/lib/util/utimes.js
1186
- var require_utimes = /* @__PURE__ */ __commonJS({ "../../node_modules/.pnpm/fs-extra@11.3.2/node_modules/fs-extra/lib/util/utimes.js": ((exports, module) => {
1185
+ //#region ../../node_modules/.pnpm/fs-extra@11.3.0/node_modules/fs-extra/lib/util/utimes.js
1186
+ var require_utimes = /* @__PURE__ */ __commonJS({ "../../node_modules/.pnpm/fs-extra@11.3.0/node_modules/fs-extra/lib/util/utimes.js": ((exports, module) => {
1187
1187
  const fs$17 = require_fs();
1188
1188
  const u$12 = require_universalify().fromPromise;
1189
1189
  async function utimesMillis$1(path$12, atime, mtime) {
@@ -1212,8 +1212,8 @@ var require_utimes = /* @__PURE__ */ __commonJS({ "../../node_modules/.pnpm/fs-e
1212
1212
  }) });
1213
1213
 
1214
1214
  //#endregion
1215
- //#region ../../node_modules/.pnpm/fs-extra@11.3.2/node_modules/fs-extra/lib/util/stat.js
1216
- var require_stat = /* @__PURE__ */ __commonJS({ "../../node_modules/.pnpm/fs-extra@11.3.2/node_modules/fs-extra/lib/util/stat.js": ((exports, module) => {
1215
+ //#region ../../node_modules/.pnpm/fs-extra@11.3.0/node_modules/fs-extra/lib/util/stat.js
1216
+ var require_stat = /* @__PURE__ */ __commonJS({ "../../node_modules/.pnpm/fs-extra@11.3.0/node_modules/fs-extra/lib/util/stat.js": ((exports, module) => {
1217
1217
  const fs$16 = require_fs();
1218
1218
  const path$10 = __require("path");
1219
1219
  const u$11 = require_universalify().fromPromise;
@@ -1318,7 +1318,7 @@ var require_stat = /* @__PURE__ */ __commonJS({ "../../node_modules/.pnpm/fs-ext
1318
1318
  return checkParentPathsSync(src, srcStat, destParent, funcName);
1319
1319
  }
1320
1320
  function areIdentical$2(srcStat, destStat) {
1321
- return destStat.ino !== void 0 && destStat.dev !== void 0 && destStat.ino === srcStat.ino && destStat.dev === srcStat.dev;
1321
+ return destStat.ino && destStat.dev && destStat.ino === srcStat.ino && destStat.dev === srcStat.dev;
1322
1322
  }
1323
1323
  function isSrcSubdir(src, dest) {
1324
1324
  const srcArr = path$10.resolve(src).split(path$10.sep).filter((i) => i);
@@ -1339,28 +1339,14 @@ var require_stat = /* @__PURE__ */ __commonJS({ "../../node_modules/.pnpm/fs-ext
1339
1339
  }) });
1340
1340
 
1341
1341
  //#endregion
1342
- //#region ../../node_modules/.pnpm/fs-extra@11.3.2/node_modules/fs-extra/lib/util/async.js
1343
- var require_async = /* @__PURE__ */ __commonJS({ "../../node_modules/.pnpm/fs-extra@11.3.2/node_modules/fs-extra/lib/util/async.js": ((exports, module) => {
1344
- async function asyncIteratorConcurrentProcess$1(iterator, fn) {
1345
- const promises = [];
1346
- for await (const item of iterator) promises.push(fn(item).then(() => null, (err) => err ?? /* @__PURE__ */ new Error("unknown error")));
1347
- await Promise.all(promises.map((promise) => promise.then((possibleErr) => {
1348
- if (possibleErr !== null) throw possibleErr;
1349
- })));
1350
- }
1351
- module.exports = { asyncIteratorConcurrentProcess: asyncIteratorConcurrentProcess$1 };
1352
- }) });
1353
-
1354
- //#endregion
1355
- //#region ../../node_modules/.pnpm/fs-extra@11.3.2/node_modules/fs-extra/lib/copy/copy.js
1356
- var require_copy$1 = /* @__PURE__ */ __commonJS({ "../../node_modules/.pnpm/fs-extra@11.3.2/node_modules/fs-extra/lib/copy/copy.js": ((exports, module) => {
1342
+ //#region ../../node_modules/.pnpm/fs-extra@11.3.0/node_modules/fs-extra/lib/copy/copy.js
1343
+ var require_copy$1 = /* @__PURE__ */ __commonJS({ "../../node_modules/.pnpm/fs-extra@11.3.0/node_modules/fs-extra/lib/copy/copy.js": ((exports, module) => {
1357
1344
  const fs$15 = require_fs();
1358
1345
  const path$9 = __require("path");
1359
1346
  const { mkdirs: mkdirs$1 } = require_mkdirs();
1360
1347
  const { pathExists: pathExists$5 } = require_path_exists();
1361
1348
  const { utimesMillis } = require_utimes();
1362
1349
  const stat$3 = require_stat();
1363
- const { asyncIteratorConcurrentProcess } = require_async();
1364
1350
  async function copy$1(src, dest, opts = {}) {
1365
1351
  if (typeof opts === "function") opts = { filter: opts };
1366
1352
  opts.clobber = "clobber" in opts ? !!opts.clobber : true;
@@ -1411,14 +1397,17 @@ var require_copy$1 = /* @__PURE__ */ __commonJS({ "../../node_modules/.pnpm/fs-e
1411
1397
  }
1412
1398
  async function onDir$1(srcStat, destStat, src, dest, opts) {
1413
1399
  if (!destStat) await fs$15.mkdir(dest);
1414
- await asyncIteratorConcurrentProcess(await fs$15.opendir(src), async (item) => {
1400
+ const promises = [];
1401
+ for await (const item of await fs$15.opendir(src)) {
1415
1402
  const srcItem = path$9.join(src, item.name);
1416
1403
  const destItem = path$9.join(dest, item.name);
1417
- if (await runFilter(srcItem, destItem, opts)) {
1418
- const { destStat: destStat$1 } = await stat$3.checkPaths(srcItem, destItem, "copy", opts);
1419
- await getStatsAndPerformCopy(destStat$1, srcItem, destItem, opts);
1420
- }
1421
- });
1404
+ promises.push(runFilter(srcItem, destItem, opts).then((include) => {
1405
+ if (include) return stat$3.checkPaths(srcItem, destItem, "copy", opts).then(({ destStat: destStat$1 }) => {
1406
+ return getStatsAndPerformCopy(destStat$1, srcItem, destItem, opts);
1407
+ });
1408
+ }));
1409
+ }
1410
+ await Promise.all(promises);
1422
1411
  if (!destStat) await fs$15.chmod(dest, srcStat.mode);
1423
1412
  }
1424
1413
  async function onLink$1(destStat, src, dest, opts) {
@@ -1442,8 +1431,8 @@ var require_copy$1 = /* @__PURE__ */ __commonJS({ "../../node_modules/.pnpm/fs-e
1442
1431
  }) });
1443
1432
 
1444
1433
  //#endregion
1445
- //#region ../../node_modules/.pnpm/fs-extra@11.3.2/node_modules/fs-extra/lib/copy/copy-sync.js
1446
- var require_copy_sync = /* @__PURE__ */ __commonJS({ "../../node_modules/.pnpm/fs-extra@11.3.2/node_modules/fs-extra/lib/copy/copy-sync.js": ((exports, module) => {
1434
+ //#region ../../node_modules/.pnpm/fs-extra@11.3.0/node_modules/fs-extra/lib/copy/copy-sync.js
1435
+ var require_copy_sync = /* @__PURE__ */ __commonJS({ "../../node_modules/.pnpm/fs-extra@11.3.0/node_modules/fs-extra/lib/copy/copy-sync.js": ((exports, module) => {
1447
1436
  const fs$14 = require_graceful_fs();
1448
1437
  const path$8 = __require("path");
1449
1438
  const mkdirsSync$1 = require_mkdirs().mkdirsSync;
@@ -1554,8 +1543,8 @@ var require_copy_sync = /* @__PURE__ */ __commonJS({ "../../node_modules/.pnpm/f
1554
1543
  }) });
1555
1544
 
1556
1545
  //#endregion
1557
- //#region ../../node_modules/.pnpm/fs-extra@11.3.2/node_modules/fs-extra/lib/copy/index.js
1558
- var require_copy = /* @__PURE__ */ __commonJS({ "../../node_modules/.pnpm/fs-extra@11.3.2/node_modules/fs-extra/lib/copy/index.js": ((exports, module) => {
1546
+ //#region ../../node_modules/.pnpm/fs-extra@11.3.0/node_modules/fs-extra/lib/copy/index.js
1547
+ var require_copy = /* @__PURE__ */ __commonJS({ "../../node_modules/.pnpm/fs-extra@11.3.0/node_modules/fs-extra/lib/copy/index.js": ((exports, module) => {
1559
1548
  const u$10 = require_universalify().fromPromise;
1560
1549
  module.exports = {
1561
1550
  copy: u$10(require_copy$1()),
@@ -1564,8 +1553,8 @@ var require_copy = /* @__PURE__ */ __commonJS({ "../../node_modules/.pnpm/fs-ext
1564
1553
  }) });
1565
1554
 
1566
1555
  //#endregion
1567
- //#region ../../node_modules/.pnpm/fs-extra@11.3.2/node_modules/fs-extra/lib/remove/index.js
1568
- var require_remove = /* @__PURE__ */ __commonJS({ "../../node_modules/.pnpm/fs-extra@11.3.2/node_modules/fs-extra/lib/remove/index.js": ((exports, module) => {
1556
+ //#region ../../node_modules/.pnpm/fs-extra@11.3.0/node_modules/fs-extra/lib/remove/index.js
1557
+ var require_remove = /* @__PURE__ */ __commonJS({ "../../node_modules/.pnpm/fs-extra@11.3.0/node_modules/fs-extra/lib/remove/index.js": ((exports, module) => {
1569
1558
  const fs$13 = require_graceful_fs();
1570
1559
  const u$9 = require_universalify().fromCallback;
1571
1560
  function remove$2(path$12, callback) {
@@ -1587,8 +1576,8 @@ var require_remove = /* @__PURE__ */ __commonJS({ "../../node_modules/.pnpm/fs-e
1587
1576
  }) });
1588
1577
 
1589
1578
  //#endregion
1590
- //#region ../../node_modules/.pnpm/fs-extra@11.3.2/node_modules/fs-extra/lib/empty/index.js
1591
- var require_empty = /* @__PURE__ */ __commonJS({ "../../node_modules/.pnpm/fs-extra@11.3.2/node_modules/fs-extra/lib/empty/index.js": ((exports, module) => {
1579
+ //#region ../../node_modules/.pnpm/fs-extra@11.3.0/node_modules/fs-extra/lib/empty/index.js
1580
+ var require_empty = /* @__PURE__ */ __commonJS({ "../../node_modules/.pnpm/fs-extra@11.3.0/node_modules/fs-extra/lib/empty/index.js": ((exports, module) => {
1592
1581
  const u$8 = require_universalify().fromPromise;
1593
1582
  const fs$12 = require_fs();
1594
1583
  const path$7 = __require("path");
@@ -1624,8 +1613,8 @@ var require_empty = /* @__PURE__ */ __commonJS({ "../../node_modules/.pnpm/fs-ex
1624
1613
  }) });
1625
1614
 
1626
1615
  //#endregion
1627
- //#region ../../node_modules/.pnpm/fs-extra@11.3.2/node_modules/fs-extra/lib/ensure/file.js
1628
- var require_file = /* @__PURE__ */ __commonJS({ "../../node_modules/.pnpm/fs-extra@11.3.2/node_modules/fs-extra/lib/ensure/file.js": ((exports, module) => {
1616
+ //#region ../../node_modules/.pnpm/fs-extra@11.3.0/node_modules/fs-extra/lib/ensure/file.js
1617
+ var require_file = /* @__PURE__ */ __commonJS({ "../../node_modules/.pnpm/fs-extra@11.3.0/node_modules/fs-extra/lib/ensure/file.js": ((exports, module) => {
1629
1618
  const u$7 = require_universalify().fromPromise;
1630
1619
  const path$6 = __require("path");
1631
1620
  const fs$11 = require_fs();
@@ -1672,8 +1661,8 @@ var require_file = /* @__PURE__ */ __commonJS({ "../../node_modules/.pnpm/fs-ext
1672
1661
  }) });
1673
1662
 
1674
1663
  //#endregion
1675
- //#region ../../node_modules/.pnpm/fs-extra@11.3.2/node_modules/fs-extra/lib/ensure/link.js
1676
- var require_link = /* @__PURE__ */ __commonJS({ "../../node_modules/.pnpm/fs-extra@11.3.2/node_modules/fs-extra/lib/ensure/link.js": ((exports, module) => {
1664
+ //#region ../../node_modules/.pnpm/fs-extra@11.3.0/node_modules/fs-extra/lib/ensure/link.js
1665
+ var require_link = /* @__PURE__ */ __commonJS({ "../../node_modules/.pnpm/fs-extra@11.3.0/node_modules/fs-extra/lib/ensure/link.js": ((exports, module) => {
1677
1666
  const u$6 = require_universalify().fromPromise;
1678
1667
  const path$5 = __require("path");
1679
1668
  const fs$10 = require_fs();
@@ -1721,8 +1710,8 @@ var require_link = /* @__PURE__ */ __commonJS({ "../../node_modules/.pnpm/fs-ext
1721
1710
  }) });
1722
1711
 
1723
1712
  //#endregion
1724
- //#region ../../node_modules/.pnpm/fs-extra@11.3.2/node_modules/fs-extra/lib/ensure/symlink-paths.js
1725
- var require_symlink_paths = /* @__PURE__ */ __commonJS({ "../../node_modules/.pnpm/fs-extra@11.3.2/node_modules/fs-extra/lib/ensure/symlink-paths.js": ((exports, module) => {
1713
+ //#region ../../node_modules/.pnpm/fs-extra@11.3.0/node_modules/fs-extra/lib/ensure/symlink-paths.js
1714
+ var require_symlink_paths = /* @__PURE__ */ __commonJS({ "../../node_modules/.pnpm/fs-extra@11.3.0/node_modules/fs-extra/lib/ensure/symlink-paths.js": ((exports, module) => {
1726
1715
  const path$4 = __require("path");
1727
1716
  const fs$9 = require_fs();
1728
1717
  const { pathExists: pathExists$3 } = require_path_exists();
@@ -1805,8 +1794,8 @@ var require_symlink_paths = /* @__PURE__ */ __commonJS({ "../../node_modules/.pn
1805
1794
  }) });
1806
1795
 
1807
1796
  //#endregion
1808
- //#region ../../node_modules/.pnpm/fs-extra@11.3.2/node_modules/fs-extra/lib/ensure/symlink-type.js
1809
- var require_symlink_type = /* @__PURE__ */ __commonJS({ "../../node_modules/.pnpm/fs-extra@11.3.2/node_modules/fs-extra/lib/ensure/symlink-type.js": ((exports, module) => {
1797
+ //#region ../../node_modules/.pnpm/fs-extra@11.3.0/node_modules/fs-extra/lib/ensure/symlink-type.js
1798
+ var require_symlink_type = /* @__PURE__ */ __commonJS({ "../../node_modules/.pnpm/fs-extra@11.3.0/node_modules/fs-extra/lib/ensure/symlink-type.js": ((exports, module) => {
1810
1799
  const fs$8 = require_fs();
1811
1800
  const u$4 = require_universalify().fromPromise;
1812
1801
  async function symlinkType$1(srcpath, type) {
@@ -1836,8 +1825,8 @@ var require_symlink_type = /* @__PURE__ */ __commonJS({ "../../node_modules/.pnp
1836
1825
  }) });
1837
1826
 
1838
1827
  //#endregion
1839
- //#region ../../node_modules/.pnpm/fs-extra@11.3.2/node_modules/fs-extra/lib/ensure/symlink.js
1840
- var require_symlink = /* @__PURE__ */ __commonJS({ "../../node_modules/.pnpm/fs-extra@11.3.2/node_modules/fs-extra/lib/ensure/symlink.js": ((exports, module) => {
1828
+ //#region ../../node_modules/.pnpm/fs-extra@11.3.0/node_modules/fs-extra/lib/ensure/symlink.js
1829
+ var require_symlink = /* @__PURE__ */ __commonJS({ "../../node_modules/.pnpm/fs-extra@11.3.0/node_modules/fs-extra/lib/ensure/symlink.js": ((exports, module) => {
1841
1830
  const u$3 = require_universalify().fromPromise;
1842
1831
  const path$3 = __require("path");
1843
1832
  const fs$7 = require_fs();
@@ -1887,8 +1876,8 @@ var require_symlink = /* @__PURE__ */ __commonJS({ "../../node_modules/.pnpm/fs-
1887
1876
  }) });
1888
1877
 
1889
1878
  //#endregion
1890
- //#region ../../node_modules/.pnpm/fs-extra@11.3.2/node_modules/fs-extra/lib/ensure/index.js
1891
- var require_ensure = /* @__PURE__ */ __commonJS({ "../../node_modules/.pnpm/fs-extra@11.3.2/node_modules/fs-extra/lib/ensure/index.js": ((exports, module) => {
1879
+ //#region ../../node_modules/.pnpm/fs-extra@11.3.0/node_modules/fs-extra/lib/ensure/index.js
1880
+ var require_ensure = /* @__PURE__ */ __commonJS({ "../../node_modules/.pnpm/fs-extra@11.3.0/node_modules/fs-extra/lib/ensure/index.js": ((exports, module) => {
1892
1881
  const { createFile, createFileSync } = require_file();
1893
1882
  const { createLink, createLinkSync } = require_link();
1894
1883
  const { createSymlink, createSymlinkSync } = require_symlink();
@@ -1990,8 +1979,8 @@ var require_jsonfile$1 = /* @__PURE__ */ __commonJS({ "../../node_modules/.pnpm/
1990
1979
  }) });
1991
1980
 
1992
1981
  //#endregion
1993
- //#region ../../node_modules/.pnpm/fs-extra@11.3.2/node_modules/fs-extra/lib/json/jsonfile.js
1994
- var require_jsonfile = /* @__PURE__ */ __commonJS({ "../../node_modules/.pnpm/fs-extra@11.3.2/node_modules/fs-extra/lib/json/jsonfile.js": ((exports, module) => {
1982
+ //#region ../../node_modules/.pnpm/fs-extra@11.3.0/node_modules/fs-extra/lib/json/jsonfile.js
1983
+ var require_jsonfile = /* @__PURE__ */ __commonJS({ "../../node_modules/.pnpm/fs-extra@11.3.0/node_modules/fs-extra/lib/json/jsonfile.js": ((exports, module) => {
1995
1984
  const jsonFile$1 = require_jsonfile$1();
1996
1985
  module.exports = {
1997
1986
  readJson: jsonFile$1.readFile,
@@ -2002,8 +1991,8 @@ var require_jsonfile = /* @__PURE__ */ __commonJS({ "../../node_modules/.pnpm/fs
2002
1991
  }) });
2003
1992
 
2004
1993
  //#endregion
2005
- //#region ../../node_modules/.pnpm/fs-extra@11.3.2/node_modules/fs-extra/lib/output-file/index.js
2006
- var require_output_file = /* @__PURE__ */ __commonJS({ "../../node_modules/.pnpm/fs-extra@11.3.2/node_modules/fs-extra/lib/output-file/index.js": ((exports, module) => {
1994
+ //#region ../../node_modules/.pnpm/fs-extra@11.3.0/node_modules/fs-extra/lib/output-file/index.js
1995
+ var require_output_file = /* @__PURE__ */ __commonJS({ "../../node_modules/.pnpm/fs-extra@11.3.0/node_modules/fs-extra/lib/output-file/index.js": ((exports, module) => {
2007
1996
  const u$2 = require_universalify().fromPromise;
2008
1997
  const fs$6 = require_fs();
2009
1998
  const path$2 = __require("path");
@@ -2026,8 +2015,8 @@ var require_output_file = /* @__PURE__ */ __commonJS({ "../../node_modules/.pnpm
2026
2015
  }) });
2027
2016
 
2028
2017
  //#endregion
2029
- //#region ../../node_modules/.pnpm/fs-extra@11.3.2/node_modules/fs-extra/lib/json/output-json.js
2030
- var require_output_json = /* @__PURE__ */ __commonJS({ "../../node_modules/.pnpm/fs-extra@11.3.2/node_modules/fs-extra/lib/json/output-json.js": ((exports, module) => {
2018
+ //#region ../../node_modules/.pnpm/fs-extra@11.3.0/node_modules/fs-extra/lib/json/output-json.js
2019
+ var require_output_json = /* @__PURE__ */ __commonJS({ "../../node_modules/.pnpm/fs-extra@11.3.0/node_modules/fs-extra/lib/json/output-json.js": ((exports, module) => {
2031
2020
  const { stringify: stringify$1 } = require_utils();
2032
2021
  const { outputFile } = require_output_file();
2033
2022
  async function outputJson(file, data, options = {}) {
@@ -2038,8 +2027,8 @@ var require_output_json = /* @__PURE__ */ __commonJS({ "../../node_modules/.pnpm
2038
2027
  }) });
2039
2028
 
2040
2029
  //#endregion
2041
- //#region ../../node_modules/.pnpm/fs-extra@11.3.2/node_modules/fs-extra/lib/json/output-json-sync.js
2042
- var require_output_json_sync = /* @__PURE__ */ __commonJS({ "../../node_modules/.pnpm/fs-extra@11.3.2/node_modules/fs-extra/lib/json/output-json-sync.js": ((exports, module) => {
2030
+ //#region ../../node_modules/.pnpm/fs-extra@11.3.0/node_modules/fs-extra/lib/json/output-json-sync.js
2031
+ var require_output_json_sync = /* @__PURE__ */ __commonJS({ "../../node_modules/.pnpm/fs-extra@11.3.0/node_modules/fs-extra/lib/json/output-json-sync.js": ((exports, module) => {
2043
2032
  const { stringify } = require_utils();
2044
2033
  const { outputFileSync } = require_output_file();
2045
2034
  function outputJsonSync(file, data, options) {
@@ -2050,8 +2039,8 @@ var require_output_json_sync = /* @__PURE__ */ __commonJS({ "../../node_modules/
2050
2039
  }) });
2051
2040
 
2052
2041
  //#endregion
2053
- //#region ../../node_modules/.pnpm/fs-extra@11.3.2/node_modules/fs-extra/lib/json/index.js
2054
- var require_json = /* @__PURE__ */ __commonJS({ "../../node_modules/.pnpm/fs-extra@11.3.2/node_modules/fs-extra/lib/json/index.js": ((exports, module) => {
2042
+ //#region ../../node_modules/.pnpm/fs-extra@11.3.0/node_modules/fs-extra/lib/json/index.js
2043
+ var require_json = /* @__PURE__ */ __commonJS({ "../../node_modules/.pnpm/fs-extra@11.3.0/node_modules/fs-extra/lib/json/index.js": ((exports, module) => {
2055
2044
  const u$1 = require_universalify().fromPromise;
2056
2045
  const jsonFile = require_jsonfile();
2057
2046
  jsonFile.outputJson = u$1(require_output_json());
@@ -2066,8 +2055,8 @@ var require_json = /* @__PURE__ */ __commonJS({ "../../node_modules/.pnpm/fs-ext
2066
2055
  }) });
2067
2056
 
2068
2057
  //#endregion
2069
- //#region ../../node_modules/.pnpm/fs-extra@11.3.2/node_modules/fs-extra/lib/move/move.js
2070
- var require_move$1 = /* @__PURE__ */ __commonJS({ "../../node_modules/.pnpm/fs-extra@11.3.2/node_modules/fs-extra/lib/move/move.js": ((exports, module) => {
2058
+ //#region ../../node_modules/.pnpm/fs-extra@11.3.0/node_modules/fs-extra/lib/move/move.js
2059
+ var require_move$1 = /* @__PURE__ */ __commonJS({ "../../node_modules/.pnpm/fs-extra@11.3.0/node_modules/fs-extra/lib/move/move.js": ((exports, module) => {
2071
2060
  const fs$5 = require_fs();
2072
2061
  const path$1 = __require("path");
2073
2062
  const { copy } = require_copy();
@@ -2107,8 +2096,8 @@ var require_move$1 = /* @__PURE__ */ __commonJS({ "../../node_modules/.pnpm/fs-e
2107
2096
  }) });
2108
2097
 
2109
2098
  //#endregion
2110
- //#region ../../node_modules/.pnpm/fs-extra@11.3.2/node_modules/fs-extra/lib/move/move-sync.js
2111
- var require_move_sync = /* @__PURE__ */ __commonJS({ "../../node_modules/.pnpm/fs-extra@11.3.2/node_modules/fs-extra/lib/move/move-sync.js": ((exports, module) => {
2099
+ //#region ../../node_modules/.pnpm/fs-extra@11.3.0/node_modules/fs-extra/lib/move/move-sync.js
2100
+ var require_move_sync = /* @__PURE__ */ __commonJS({ "../../node_modules/.pnpm/fs-extra@11.3.0/node_modules/fs-extra/lib/move/move-sync.js": ((exports, module) => {
2112
2101
  const fs$4 = require_graceful_fs();
2113
2102
  const path = __require("path");
2114
2103
  const copySync = require_copy().copySync;
@@ -2156,8 +2145,8 @@ var require_move_sync = /* @__PURE__ */ __commonJS({ "../../node_modules/.pnpm/f
2156
2145
  }) });
2157
2146
 
2158
2147
  //#endregion
2159
- //#region ../../node_modules/.pnpm/fs-extra@11.3.2/node_modules/fs-extra/lib/move/index.js
2160
- var require_move = /* @__PURE__ */ __commonJS({ "../../node_modules/.pnpm/fs-extra@11.3.2/node_modules/fs-extra/lib/move/index.js": ((exports, module) => {
2148
+ //#region ../../node_modules/.pnpm/fs-extra@11.3.0/node_modules/fs-extra/lib/move/index.js
2149
+ var require_move = /* @__PURE__ */ __commonJS({ "../../node_modules/.pnpm/fs-extra@11.3.0/node_modules/fs-extra/lib/move/index.js": ((exports, module) => {
2161
2150
  const u = require_universalify().fromPromise;
2162
2151
  module.exports = {
2163
2152
  move: u(require_move$1()),
@@ -2166,8 +2155,8 @@ var require_move = /* @__PURE__ */ __commonJS({ "../../node_modules/.pnpm/fs-ext
2166
2155
  }) });
2167
2156
 
2168
2157
  //#endregion
2169
- //#region ../../node_modules/.pnpm/fs-extra@11.3.2/node_modules/fs-extra/lib/index.js
2170
- var require_lib = /* @__PURE__ */ __commonJS({ "../../node_modules/.pnpm/fs-extra@11.3.2/node_modules/fs-extra/lib/index.js": ((exports, module) => {
2158
+ //#region ../../node_modules/.pnpm/fs-extra@11.3.0/node_modules/fs-extra/lib/index.js
2159
+ var require_lib = /* @__PURE__ */ __commonJS({ "../../node_modules/.pnpm/fs-extra@11.3.0/node_modules/fs-extra/lib/index.js": ((exports, module) => {
2171
2160
  module.exports = {
2172
2161
  ...require_fs(),
2173
2162
  ...require_copy(),
package/dist/run.js CHANGED
@@ -1,4 +1,4 @@
1
- import { createCzConfig, createGitMessage, isInsideGitRepo, lintMessage, runCzConfig, runGitMessage, runNpx, runPrompt, runSimpleGitHooks } from "./lint.message-N-70APqZ.js";
1
+ import { createCzConfig, createGitMessage, isInsideGitRepo, lintMessage, runCzConfig, runGitMessage, runNpx, runPrompt, runSimpleGitHooks } from "./lint.message-CZXQspF4.js";
2
2
  import process from "node:process";
3
3
  import fs from "node:fs";
4
4
  import { defineCommand, runMain as runMain$1 } from "citty";
@@ -6,7 +6,7 @@ import { defineCommand, runMain as runMain$1 } from "citty";
6
6
  //#region package.json
7
7
  var name = "@pubinfo/commitlint";
8
8
  var type = "module";
9
- var version = "2.0.2";
9
+ var version = "2.0.3";
10
10
  var description = "commitlint config for Pubinfo projects";
11
11
  var exports = { ".": "./dist/index.js" };
12
12
  var main$1 = "./dist/index.js";
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@pubinfo/commitlint",
3
3
  "type": "module",
4
- "version": "2.0.2",
4
+ "version": "2.0.3",
5
5
  "description": "commitlint config for Pubinfo projects",
6
6
  "exports": {
7
7
  ".": "./dist/index.js"