@varlet/release 1.1.0 → 1.2.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/dist/cli.js +1 -1
- package/package.json +27 -50
- package/dist/cli.d.ts +0 -1
package/dist/cli.js
CHANGED
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
import { i as release, l as commitLint, o as changelog, r as publish } from "./src-BWrnR5U-.js";
|
|
3
3
|
import { Command } from "commander";
|
|
4
4
|
//#region package.json
|
|
5
|
-
var version = "1.
|
|
5
|
+
var version = "1.2.0";
|
|
6
6
|
//#endregion
|
|
7
7
|
//#region src/cli.ts
|
|
8
8
|
const program = new Command();
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@varlet/release",
|
|
3
|
-
"version": "1.
|
|
3
|
+
"version": "1.2.0",
|
|
4
4
|
"description": "publish all packages, generate changelogs and check commit messages",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"changelog",
|
|
@@ -9,78 +9,55 @@
|
|
|
9
9
|
"varlet"
|
|
10
10
|
],
|
|
11
11
|
"bugs": "https://github.com/varletjs/release/issues",
|
|
12
|
-
"repository": {
|
|
13
|
-
"type": "git",
|
|
14
|
-
"url": "git+https://github.com/varletjs/release"
|
|
15
|
-
},
|
|
16
12
|
"license": "MIT",
|
|
17
13
|
"author": "clencat <2091927351@qq.com>",
|
|
18
|
-
"
|
|
19
|
-
|
|
20
|
-
"
|
|
21
|
-
"types": "./dist/index.d.ts",
|
|
22
|
-
"default": "./dist/index.js"
|
|
23
|
-
}
|
|
14
|
+
"repository": {
|
|
15
|
+
"type": "git",
|
|
16
|
+
"url": "git+https://github.com/varletjs/release.git"
|
|
24
17
|
},
|
|
25
|
-
"types": "./dist/index.d.ts",
|
|
26
18
|
"bin": {
|
|
27
19
|
"vr": "dist/cli.js"
|
|
28
20
|
},
|
|
29
21
|
"files": [
|
|
30
22
|
"dist"
|
|
31
23
|
],
|
|
32
|
-
"
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
"prettier --write",
|
|
40
|
-
"eslint --fix"
|
|
41
|
-
],
|
|
42
|
-
"package.json": "prettier --write"
|
|
24
|
+
"type": "module",
|
|
25
|
+
"types": "./dist/index.d.ts",
|
|
26
|
+
"exports": {
|
|
27
|
+
".": {
|
|
28
|
+
"types": "./dist/index.d.ts",
|
|
29
|
+
"default": "./dist/index.js"
|
|
30
|
+
}
|
|
43
31
|
},
|
|
44
32
|
"dependencies": {
|
|
45
|
-
"@clack/prompts": "^1.
|
|
33
|
+
"@clack/prompts": "^1.2.0",
|
|
46
34
|
"commander": "^11.1.0",
|
|
47
35
|
"conventional-changelog": "^5.1.0",
|
|
48
|
-
"rslog": "^2.
|
|
49
|
-
"semver": "^7.
|
|
50
|
-
"tinyexec": "^1.
|
|
36
|
+
"rslog": "^2.1.1",
|
|
37
|
+
"semver": "^7.7.4",
|
|
38
|
+
"tinyexec": "^1.1.1"
|
|
51
39
|
},
|
|
52
40
|
"devDependencies": {
|
|
53
|
-
"@configurajs/
|
|
54
|
-
"@configurajs/prettier": "^0.1.4",
|
|
55
|
-
"@ianvs/prettier-plugin-sort-imports": "^4.7.1",
|
|
41
|
+
"@configurajs/vite-plus": "^0.2.2",
|
|
56
42
|
"@types/conventional-changelog": "^3.1.5",
|
|
57
43
|
"@types/node": "^22.14.0",
|
|
58
|
-
"@types/semver": "^7.
|
|
59
|
-
"@
|
|
60
|
-
"
|
|
61
|
-
"
|
|
62
|
-
"prettier": "^3.8.1",
|
|
63
|
-
"prettier-plugin-packagejson": "^3.0.0",
|
|
64
|
-
"prettier-plugin-tailwindcss": "^0.7.2",
|
|
65
|
-
"simple-git-hooks": "^2.13.1",
|
|
66
|
-
"tsdown": "^0.21.4",
|
|
67
|
-
"typescript": "^5.9.3",
|
|
68
|
-
"vitest": "^4.1.0"
|
|
44
|
+
"@types/semver": "^7.7.1",
|
|
45
|
+
"@typescript/native-preview": "7.0.0-dev.20260410.1",
|
|
46
|
+
"@vitest/coverage-v8": "^4.1.4",
|
|
47
|
+
"vite-plus": "latest"
|
|
69
48
|
},
|
|
70
49
|
"engines": {
|
|
71
50
|
"node": "^20.19.0 || >=22.12.0",
|
|
72
51
|
"pnpm": ">=10.0"
|
|
73
52
|
},
|
|
74
53
|
"scripts": {
|
|
75
|
-
"build": "
|
|
54
|
+
"build": "vp pack",
|
|
76
55
|
"commit-lint": "node dist/cli.js commit-lint",
|
|
77
|
-
"dev": "
|
|
78
|
-
"
|
|
79
|
-
"
|
|
80
|
-
"
|
|
81
|
-
"
|
|
82
|
-
"
|
|
83
|
-
"test:coverage": "vitest run --coverage",
|
|
84
|
-
"type-check": "tsc --noEmit"
|
|
56
|
+
"dev": "vp pack --watch",
|
|
57
|
+
"release": "vp pack && vp test run && node scripts/release.js",
|
|
58
|
+
"release:dev": "vp pack && node scripts/release.js",
|
|
59
|
+
"test": "vp test",
|
|
60
|
+
"test:coverage": "vp test run --coverage",
|
|
61
|
+
"type-check": "tsgo --noEmit"
|
|
85
62
|
}
|
|
86
63
|
}
|
package/dist/cli.d.ts
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export { };
|