@halospv3/hce.shared-config 1.2.1 → 1.2.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/CHANGELOG.md +9 -0
- package/README.md +20 -0
- package/dotnet/.github/workflows/dotnet-release.yml +1 -1
- package/dotnet/GitVersion.yml +1 -1
- package/package.json +3 -3
package/CHANGELOG.md
CHANGED
|
@@ -1,3 +1,12 @@
|
|
|
1
|
+
## [1.2.3](https://github.com/halospv3/hce.shared/compare/v1.2.2...v1.2.3) (2023-11-09)
|
|
2
|
+
|
|
3
|
+
|
|
4
|
+
### Bug Fixes
|
|
5
|
+
|
|
6
|
+
* **dotnet:** change "MainLine" to "Mainline" ([430d588](https://github.com/halospv3/hce.shared/commit/430d5886d4e142d7a2d5c776457d5044346ce598))
|
|
7
|
+
|
|
8
|
+
## [1.2.2](https://github.com/halospv3/hce.shared/compare/v1.2.1...v1.2.2) (2023-11-09)
|
|
9
|
+
|
|
1
10
|
## [1.2.1](https://github.com/halospv3/hce.shared/compare/v1.2.0...v1.2.1) (2023-11-09)
|
|
2
11
|
|
|
3
12
|
## [1.2.0](https://github.com/halospv3/hce.shared/compare/v1.1.2...v1.2.0) (2023-10-24)
|
package/README.md
CHANGED
|
@@ -11,6 +11,24 @@ It is recommended to "install" this repo via [Node Package Manager](#npm)
|
|
|
11
11
|
|
|
12
12
|
See [package.json](package.json), [src/index.ts](src/index.ts), and [static/.releaserc.yml](static/.releaserc.yml)
|
|
13
13
|
|
|
14
|
+
#### Set Up CommitLint
|
|
15
|
+
|
|
16
|
+
```json
|
|
17
|
+
// package.json
|
|
18
|
+
{
|
|
19
|
+
"commitlint": {
|
|
20
|
+
"extends": [
|
|
21
|
+
"@commitlint/config-conventional"
|
|
22
|
+
]
|
|
23
|
+
}
|
|
24
|
+
}
|
|
25
|
+
```
|
|
26
|
+
|
|
27
|
+
```bash
|
|
28
|
+
npx husky install
|
|
29
|
+
npx husky add .husky/commit-msg 'npx --no -- commitlint --edit ${1}'
|
|
30
|
+
```
|
|
31
|
+
|
|
14
32
|
### Help
|
|
15
33
|
|
|
16
34
|
#### Need your VersionInfo before the actual release?
|
|
@@ -18,6 +36,8 @@ See [package.json](package.json), [src/index.ts](src/index.ts), and [static/.rel
|
|
|
18
36
|
Make sure you are synced up before doing a dry-run! Semantic-release will fail before printing the version if you aren't synced with the remote!
|
|
19
37
|
Yes, I know that's ridiculous.
|
|
20
38
|
Run `npx semantic-release --dry-run --plugins "@semantic-release/commit-analyzer,semantic-release-export-data"`
|
|
39
|
+
If the first plugin doesn't run into any issues and infers a version bump from unreleased commits, it will print the next version to the console.
|
|
40
|
+
The [second plugin](https://github.com/felipecrs/semantic-release-export-data#readme) will export the next version and other information as GitHub Action Step exports.
|
|
21
41
|
|
|
22
42
|
#### Don't want to publish a Node package?
|
|
23
43
|
|
package/dotnet/GitVersion.yml
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
# https://gitversion.net/docs/reference/configuration
|
|
2
|
-
mode:
|
|
2
|
+
mode: Mainline
|
|
3
3
|
major-version-bump-message: "^(build|chore|ci|docs|feat|fix|perf|refactor|revert|style|test)(\\([\\w\\s-]*\\))?(!:|:.*\\n\\n((.+\\n)+\\n)?BREAKING CHANGE:\\s.+)"
|
|
4
4
|
minor-version-bump-message: "^(feat)(\\([\\w\\s-]*\\))?:"
|
|
5
5
|
patch-version-bump-message: "^(build|chore|ci|docs|fix|perf|refactor|revert|style|test)(\\([\\w\\s-]*\\))?:"
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@halospv3/hce.shared-config",
|
|
3
|
-
"version": "1.2.
|
|
3
|
+
"version": "1.2.3",
|
|
4
4
|
"description": "Automate commit message quality, changelogs, and CI/CD releases. Exports a semantic-release shareable configuration deserialized from this package's '.releaserc.yml'. Shared resources for .NET projects are also distributed with this package.",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"halo",
|
|
@@ -35,7 +35,7 @@
|
|
|
35
35
|
"prepare": "husky install",
|
|
36
36
|
"presemantic-release": "npm run pack && npm run check",
|
|
37
37
|
"semantic-release": "npx semantic-release",
|
|
38
|
-
"test": "
|
|
38
|
+
"test": "tsx --test ./tests/index.test.mts",
|
|
39
39
|
"type": "tsc",
|
|
40
40
|
"validate": "packemon validate",
|
|
41
41
|
"watch": "packemon watch"
|
|
@@ -78,7 +78,7 @@
|
|
|
78
78
|
"prettier-config-moon": "^1.1.2",
|
|
79
79
|
"tsconfig-moon": "^1.3.0",
|
|
80
80
|
"tslib": "^2.6.2",
|
|
81
|
-
"tsx": "^
|
|
81
|
+
"tsx": "^4.0.0",
|
|
82
82
|
"typescript": "^5.2.2"
|
|
83
83
|
},
|
|
84
84
|
"engines": {
|