@pubinfo/commitlint 2.0.12 → 2.0.13

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/dist/index.js CHANGED
@@ -1,3 +1,3 @@
1
- import { commitPreset, configureGitHooksPath, createCzConfig, createGitMessage, isCommitlintEnabled, isInsideGitRepo, lintAndReturn, lintMessage, loadCommitConfig, runCzConfig, runGitMessage, runNpx, runPrompt, runSimpleGitHooks } from "./lint.message-DjB1N5aR.js";
1
+ import { a as configureGitHooksPath, c as createGitMessage, d as runCzConfig, f as isCommitlintEnabled, i as runPrompt, l as runGitMessage, m as loadCommitConfig, n as lintMessage, o as runNpx, p as commitPreset, r as isInsideGitRepo, s as runSimpleGitHooks, t as lintAndReturn, u as createCzConfig } from "./lint.message-DVvlpU1w.js";
2
2
 
3
3
  export { commitPreset, configureGitHooksPath, createCzConfig, createGitMessage, isCommitlintEnabled, isInsideGitRepo, lintAndReturn, lintMessage, loadCommitConfig, runCzConfig, runGitMessage, runNpx, runPrompt, runSimpleGitHooks };
@@ -2404,4 +2404,4 @@ async function lintAndReturn(message) {
2404
2404
  }
2405
2405
 
2406
2406
  //#endregion
2407
- export { commitPreset, configureGitHooksPath, createCzConfig, createGitMessage, isCommitlintEnabled, isInsideGitRepo, lintAndReturn, lintMessage, loadCommitConfig, runCzConfig, runGitMessage, runNpx, runPrompt, runSimpleGitHooks };
2407
+ export { configureGitHooksPath as a, createGitMessage as c, runCzConfig as d, isCommitlintEnabled as f, runPrompt as i, runGitMessage as l, loadCommitConfig as m, lintMessage as n, runNpx as o, commitPreset as p, isInsideGitRepo as r, runSimpleGitHooks as s, lintAndReturn as t, createCzConfig as u };
package/dist/run.js CHANGED
@@ -1,49 +1,12 @@
1
- import { configureGitHooksPath, createCzConfig, createGitMessage, isCommitlintEnabled, isInsideGitRepo, lintMessage, runCzConfig, runGitMessage, runNpx, runPrompt, runSimpleGitHooks } from "./lint.message-DjB1N5aR.js";
1
+ import { a as configureGitHooksPath, c as createGitMessage, d as runCzConfig, f as isCommitlintEnabled, i as runPrompt, l as runGitMessage, n as lintMessage, o as runNpx, r as isInsideGitRepo, s as runSimpleGitHooks, u as createCzConfig } from "./lint.message-DVvlpU1w.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";
5
5
 
6
6
  //#region package.json
7
7
  var name = "@pubinfo/commitlint";
8
- var type = "module";
9
- var version = "2.0.12";
8
+ var version = "2.0.13";
10
9
  var description = "commitlint config for Pubinfo projects";
11
- var exports = { ".": "./dist/index.js" };
12
- var main$1 = "./dist/index.js";
13
- var module = "./dist/index.js";
14
- var types = "./dist/index.d.ts";
15
- var typesVersions = { "*": { "*": ["./dist/*", "./*"] } };
16
- var bin = { "pubinfo-commit": "./bin/commit.js" };
17
- var files = ["bin", "dist"];
18
- var engines = { "node": "^20.19.0 || >=22.12.0" };
19
- var scripts = {
20
- "build": "tsdown",
21
- "stub": "tsdown --watch"
22
- };
23
- var dependencies = {
24
- "@commitlint/config-conventional": "catalog:commit",
25
- "@commitlint/lint": "catalog:commit",
26
- "@commitlint/load": "catalog:commit",
27
- "citty": "catalog:node",
28
- "czg": "catalog:commit",
29
- "unconfig": "catalog:node"
30
- };
31
- var package_default = {
32
- name,
33
- type,
34
- version,
35
- description,
36
- exports,
37
- main: main$1,
38
- module,
39
- types,
40
- typesVersions,
41
- bin,
42
- files,
43
- engines,
44
- scripts,
45
- dependencies
46
- };
47
10
 
48
11
  //#endregion
49
12
  //#region src/cli.ts
@@ -58,9 +21,9 @@ var package_default = {
58
21
  */
59
22
  const main = defineCommand({
60
23
  meta: {
61
- name: package_default.name,
62
- version: package_default.version,
63
- description: package_default.description
24
+ name,
25
+ version,
26
+ description
64
27
  },
65
28
  args: {
66
29
  edit: {
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@pubinfo/commitlint",
3
3
  "type": "module",
4
- "version": "2.0.12",
4
+ "version": "2.0.13",
5
5
  "description": "commitlint config for Pubinfo projects",
6
6
  "exports": {
7
7
  ".": "./dist/index.js"