release-suite 0.1.0 → 1.0.1
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/.github/workflows/create-release-pr.yml +33 -17
- package/.github/workflows/publish-on-merge.yml +23 -13
- package/CHANGELOG.md +52 -5
- package/README.md +195 -183
- package/bin/compute-version.js +173 -132
- package/bin/create-tag.js +26 -14
- package/bin/generate-changelog.js +229 -192
- package/bin/generate-release-notes.js +135 -123
- package/bin/preview.js +47 -47
- package/docs/api.md +28 -0
- package/docs/ci.md +206 -0
- package/docs/compute-version.md +204 -0
- package/eslint.config.js +89 -47
- package/lib/constants.js +28 -0
- package/lib/git.js +129 -0
- package/lib/utils.js +45 -0
- package/lib/versioning.js +109 -0
- package/package.json +62 -62
package/package.json
CHANGED
|
@@ -1,62 +1,62 @@
|
|
|
1
|
-
{
|
|
2
|
-
"name": "release-suite",
|
|
3
|
-
"version": "0.1
|
|
4
|
-
"description": "Semantic versioning tools for Git-based projects, providing automated version computation, changelog generation and release notes creation.",
|
|
5
|
-
"type": "module",
|
|
6
|
-
"publishConfig": {
|
|
7
|
-
"access": "public"
|
|
8
|
-
},
|
|
9
|
-
"bin": {
|
|
10
|
-
"rs-compute-version": "bin/compute-version.js",
|
|
11
|
-
"rs-generate-changelog": "bin/generate-changelog.js",
|
|
12
|
-
"rs-generate-release-notes": "bin/generate-release-notes.js",
|
|
13
|
-
"rs-preview": "bin/preview.js",
|
|
14
|
-
"rs-create-tag": "bin/create-tag.js"
|
|
15
|
-
},
|
|
16
|
-
"scripts": {
|
|
17
|
-
"lint": "eslint bin/",
|
|
18
|
-
"lint:fix": "eslint bin/ --fix",
|
|
19
|
-
"
|
|
20
|
-
"
|
|
21
|
-
"
|
|
22
|
-
"
|
|
23
|
-
"
|
|
24
|
-
"
|
|
25
|
-
"
|
|
26
|
-
"create-tag
|
|
27
|
-
"test": "echo \"Error: no test specified\" && exit 1"
|
|
28
|
-
},
|
|
29
|
-
"engines": {
|
|
30
|
-
"node": ">=18"
|
|
31
|
-
},
|
|
32
|
-
"repository": {
|
|
33
|
-
"type": "git",
|
|
34
|
-
"url": "https://github.com/jonasmzsouza/release-suite"
|
|
35
|
-
},
|
|
36
|
-
"keywords": [
|
|
37
|
-
"release",
|
|
38
|
-
"tools",
|
|
39
|
-
"semantic",
|
|
40
|
-
"versioning",
|
|
41
|
-
"changelog",
|
|
42
|
-
"release-notes",
|
|
43
|
-
"publish",
|
|
44
|
-
"npm",
|
|
45
|
-
"nodejs"
|
|
46
|
-
],
|
|
47
|
-
"author": {
|
|
48
|
-
"name": "Jonas Souza",
|
|
49
|
-
"email": "jonasmzsouza@gmail.com"
|
|
50
|
-
},
|
|
51
|
-
"license": "MIT",
|
|
52
|
-
"bugs": {
|
|
53
|
-
"url": "https://github.com/jonasmzsouza/release-suite/issues"
|
|
54
|
-
},
|
|
55
|
-
"devDependencies": {
|
|
56
|
-
"esbuild": "^0.25.11",
|
|
57
|
-
"eslint": "9.38.0",
|
|
58
|
-
"eslint-config-prettier": "^10.1.8",
|
|
59
|
-
"eslint-plugin-import": "^2.32.0",
|
|
60
|
-
"globals": "^16.5.0"
|
|
61
|
-
}
|
|
62
|
-
}
|
|
1
|
+
{
|
|
2
|
+
"name": "release-suite",
|
|
3
|
+
"version": "1.0.1",
|
|
4
|
+
"description": "Semantic versioning tools for Git-based projects, providing automated version computation, changelog generation and release notes creation.",
|
|
5
|
+
"type": "module",
|
|
6
|
+
"publishConfig": {
|
|
7
|
+
"access": "public"
|
|
8
|
+
},
|
|
9
|
+
"bin": {
|
|
10
|
+
"rs-compute-version": "bin/compute-version.js",
|
|
11
|
+
"rs-generate-changelog": "bin/generate-changelog.js",
|
|
12
|
+
"rs-generate-release-notes": "bin/generate-release-notes.js",
|
|
13
|
+
"rs-preview": "bin/preview.js",
|
|
14
|
+
"rs-create-tag": "bin/create-tag.js"
|
|
15
|
+
},
|
|
16
|
+
"scripts": {
|
|
17
|
+
"lint": "eslint bin/",
|
|
18
|
+
"lint:fix": "eslint bin/ --fix",
|
|
19
|
+
"preview": "node bin/preview.js create",
|
|
20
|
+
"preview:clean": "node bin/preview.js remove",
|
|
21
|
+
"compute-version": "node bin/compute-version.js",
|
|
22
|
+
"compute-version:ci": "node bin/compute-version.js --ci --json",
|
|
23
|
+
"compute-version:json": "node bin/compute-version.js --json",
|
|
24
|
+
"changelog": "node bin/generate-changelog.js",
|
|
25
|
+
"release-notes": "node bin/generate-release-notes.js",
|
|
26
|
+
"create-tag": "node bin/create-tag.js",
|
|
27
|
+
"test": "echo \"Error: no test specified\" && exit 1"
|
|
28
|
+
},
|
|
29
|
+
"engines": {
|
|
30
|
+
"node": ">=18"
|
|
31
|
+
},
|
|
32
|
+
"repository": {
|
|
33
|
+
"type": "git",
|
|
34
|
+
"url": "https://github.com/jonasmzsouza/release-suite"
|
|
35
|
+
},
|
|
36
|
+
"keywords": [
|
|
37
|
+
"release",
|
|
38
|
+
"tools",
|
|
39
|
+
"semantic",
|
|
40
|
+
"versioning",
|
|
41
|
+
"changelog",
|
|
42
|
+
"release-notes",
|
|
43
|
+
"publish",
|
|
44
|
+
"npm",
|
|
45
|
+
"nodejs"
|
|
46
|
+
],
|
|
47
|
+
"author": {
|
|
48
|
+
"name": "Jonas Souza",
|
|
49
|
+
"email": "jonasmzsouza@gmail.com"
|
|
50
|
+
},
|
|
51
|
+
"license": "MIT",
|
|
52
|
+
"bugs": {
|
|
53
|
+
"url": "https://github.com/jonasmzsouza/release-suite/issues"
|
|
54
|
+
},
|
|
55
|
+
"devDependencies": {
|
|
56
|
+
"esbuild": "^0.25.11",
|
|
57
|
+
"eslint": "9.38.0",
|
|
58
|
+
"eslint-config-prettier": "^10.1.8",
|
|
59
|
+
"eslint-plugin-import": "^2.32.0",
|
|
60
|
+
"globals": "^16.5.0"
|
|
61
|
+
}
|
|
62
|
+
}
|