@pubinfo/cli 2.1.4 → 2.1.5
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.
|
@@ -35,8 +35,7 @@ var commit_default = {
|
|
|
35
35
|
}
|
|
36
36
|
},
|
|
37
37
|
run: async ({ args }) => {
|
|
38
|
-
if (
|
|
39
|
-
else {
|
|
38
|
+
if (isGitRepository()) {
|
|
40
39
|
const { createCzConfig, createGitMessage, runCzConfig, runNpx, runSimpleGitHooks, runGitMessage, lintMessage, runPrompt, isCommitlintEnabled, configureGitHooksPath } = await import("@pubinfo/commitlint");
|
|
41
40
|
const commitlintEnabled = await isCommitlintEnabled();
|
|
42
41
|
if (args.init) {
|
package/dist/index.js
CHANGED
|
@@ -3,7 +3,7 @@ import { fileURLToPath } from "node:url";
|
|
|
3
3
|
|
|
4
4
|
//#region package.json
|
|
5
5
|
var name = "@pubinfo/cli";
|
|
6
|
-
var version = "2.1.
|
|
6
|
+
var version = "2.1.5";
|
|
7
7
|
var description = "CLI for Pubinfo";
|
|
8
8
|
|
|
9
9
|
//#endregion
|
|
@@ -14,7 +14,7 @@ const commands = {
|
|
|
14
14
|
build: () => import("./build-TpYdEV_-.js").then(_rDefault),
|
|
15
15
|
preview: () => import("./preview-BVVgNnhp.js").then(_rDefault),
|
|
16
16
|
setup: () => import("./setup-CACbESTE.js").then(_rDefault),
|
|
17
|
-
commit: () => import("./commit-
|
|
17
|
+
commit: () => import("./commit-BKlPg8Na.js").then(_rDefault),
|
|
18
18
|
icon: () => import("./icon-B2EyVw8p.js").then(_rDefault),
|
|
19
19
|
upgrade: () => import("./upgrade-B-Zl5nkj.js").then(_rDefault),
|
|
20
20
|
generate: () => import("./generate-9OAGGbjc.js").then(_rDefault),
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@pubinfo/cli",
|
|
3
3
|
"type": "module",
|
|
4
|
-
"version": "2.1.
|
|
4
|
+
"version": "2.1.5",
|
|
5
5
|
"description": "CLI for Pubinfo",
|
|
6
6
|
"exports": {
|
|
7
7
|
".": "./bin/pubinfo.mjs"
|
|
@@ -18,7 +18,7 @@
|
|
|
18
18
|
"node": "^20.19.0 || >=22.12.0"
|
|
19
19
|
},
|
|
20
20
|
"peerDependencies": {
|
|
21
|
-
"@pubinfo/vite": "2.1.
|
|
21
|
+
"@pubinfo/vite": "2.1.5"
|
|
22
22
|
},
|
|
23
23
|
"dependencies": {
|
|
24
24
|
"cheerio": "^1.1.2",
|
|
@@ -26,13 +26,13 @@
|
|
|
26
26
|
"execa": "^9.6.0",
|
|
27
27
|
"globby": "^14.1.0",
|
|
28
28
|
"pkg-types": "^2.3.0",
|
|
29
|
-
"@pubinfo/commitlint": "2.1.
|
|
30
|
-
"@pubinfo/shared": "2.1.
|
|
31
|
-
"create-pubinfo": "2.1.
|
|
29
|
+
"@pubinfo/commitlint": "2.1.5",
|
|
30
|
+
"@pubinfo/shared": "2.1.5",
|
|
31
|
+
"create-pubinfo": "2.1.5"
|
|
32
32
|
},
|
|
33
33
|
"devDependencies": {
|
|
34
34
|
"@types/node": "^24.0.10",
|
|
35
|
-
"@pubinfo/vite": "2.1.
|
|
35
|
+
"@pubinfo/vite": "2.1.5"
|
|
36
36
|
},
|
|
37
37
|
"scripts": {
|
|
38
38
|
"dev": "tsdown --watch",
|