@seniorsistemas/semantic-release-maven-config 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/README.md +42 -0
- package/index.js +21 -0
- package/package.json +40 -0
package/README.md
ADDED
|
@@ -0,0 +1,42 @@
|
|
|
1
|
+
# @seniorsistemas/semantic-release-maven-config
|
|
2
|
+
|
|
3
|
+
[**semantic-release**](https://github.com/semantic-release/semantic-release) shareable config to publish senior maven artifacts with [Senior GitLab](https://git.senior.com.br).
|
|
4
|
+
|
|
5
|
+
[](https://www.npmjs.com/package/@seniorsistemas/semantic-release-maven-config)
|
|
6
|
+
[](https://www.npmjs.com/package/@seniorsistemas/semantic-release-maven-config)
|
|
7
|
+
|
|
8
|
+
## Plugins
|
|
9
|
+
|
|
10
|
+
This shareable configuration use the following plugins:
|
|
11
|
+
|
|
12
|
+
- [`@semantic-release/commit-analyzer`](https://github.com/semantic-release/commit-analyzer)
|
|
13
|
+
- [`@semantic-release/release-notes-generator`](https://github.com/semantic-release/release-notes-generator)
|
|
14
|
+
- [`@semantic-release/gitlab`](https://github.com/semantic-release/gitlab)
|
|
15
|
+
- [`@semantic-release/git`](https://github.com/semantic-release/git)
|
|
16
|
+
- [`@semantic-release/exec`](https://github.com/semantic-release/exec)
|
|
17
|
+
|
|
18
|
+
## Options
|
|
19
|
+
|
|
20
|
+
This shareable configuration use this shared options:
|
|
21
|
+
|
|
22
|
+
- [`@seniorsistemas/semantic-release-base-config`](https://git.senior.com.br/devops/semantic-release-base-config)
|
|
23
|
+
|
|
24
|
+
## Install
|
|
25
|
+
|
|
26
|
+
```bash
|
|
27
|
+
$ npm install --save-dev semantic-release @seniorsistemas/semantic-release-maven-config
|
|
28
|
+
```
|
|
29
|
+
|
|
30
|
+
## Usage
|
|
31
|
+
|
|
32
|
+
The shareable config can be configured in the [**semantic-release** configuration file](https://github.com/semantic-release/semantic-release/blob/master/docs/usage/configuration.md#configuration):
|
|
33
|
+
|
|
34
|
+
```json
|
|
35
|
+
{
|
|
36
|
+
"extends": "@seniorsistemas/semantic-release-maven-config"
|
|
37
|
+
}
|
|
38
|
+
```
|
|
39
|
+
|
|
40
|
+
## Configuration
|
|
41
|
+
|
|
42
|
+
See each [plugin](#plugins) documentation for required installation and configuration steps.
|
package/index.js
ADDED
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
module.exports = {
|
|
2
|
+
extends: "@seniorsistemas/semantic-release-base-config",
|
|
3
|
+
plugins: [
|
|
4
|
+
"@semantic-release/commit-analyzer",
|
|
5
|
+
"@semantic-release/release-notes-generator",
|
|
6
|
+
"@semantic-release/gitlab",
|
|
7
|
+
[
|
|
8
|
+
"@semantic-release/git",
|
|
9
|
+
{
|
|
10
|
+
assets: ["pom.xml"],
|
|
11
|
+
},
|
|
12
|
+
],
|
|
13
|
+
[
|
|
14
|
+
"@semantic-release/exec",
|
|
15
|
+
{
|
|
16
|
+
prepareCmd: "bash scripts/set-version.sh ${nextRelease.version}",
|
|
17
|
+
publishCmd: "bash scripts/publish.sh",
|
|
18
|
+
},
|
|
19
|
+
],
|
|
20
|
+
],
|
|
21
|
+
};
|
package/package.json
ADDED
|
@@ -0,0 +1,40 @@
|
|
|
1
|
+
{
|
|
2
|
+
"name": "@seniorsistemas/semantic-release-maven-config",
|
|
3
|
+
"description": "semantic-release shareable config to create maven packages with Senior GitLab",
|
|
4
|
+
"version": "1.0.1",
|
|
5
|
+
"dependencies": {
|
|
6
|
+
"@semantic-release/commit-analyzer": "^12.0.0",
|
|
7
|
+
"@semantic-release/exec": "^6.0.3",
|
|
8
|
+
"@semantic-release/git": "^10.0.1",
|
|
9
|
+
"@semantic-release/gitlab": "^13.0.3",
|
|
10
|
+
"@semantic-release/release-notes-generator": "^13.0.0",
|
|
11
|
+
"@seniorsistemas/semantic-release-base-config": "^1.0.1"
|
|
12
|
+
},
|
|
13
|
+
"devDependencies": {
|
|
14
|
+
"@commitlint/cli": "^19.2.2",
|
|
15
|
+
"@commitlint/config-conventional": "^19.2.2",
|
|
16
|
+
"@semantic-release/gitlab-config": "^14.0.1",
|
|
17
|
+
"husky": "^9.0.11",
|
|
18
|
+
"prettier": "3.2.5",
|
|
19
|
+
"semantic-release": "^23.0.8"
|
|
20
|
+
},
|
|
21
|
+
"engines": {
|
|
22
|
+
"node": ">=20.12.0"
|
|
23
|
+
},
|
|
24
|
+
"files": [
|
|
25
|
+
"index.js"
|
|
26
|
+
],
|
|
27
|
+
"main": "index.js",
|
|
28
|
+
"scripts": {
|
|
29
|
+
"semantic-release": "semantic-release",
|
|
30
|
+
"lint": "prettier --check \"*.{js,json,md}\"",
|
|
31
|
+
"lint:fix": "prettier --write \"*.{js,json,md}\"",
|
|
32
|
+
"prepare": "husky"
|
|
33
|
+
},
|
|
34
|
+
"peerDependencies": {
|
|
35
|
+
"semantic-release": ">=20.1.0"
|
|
36
|
+
},
|
|
37
|
+
"publishConfig": {
|
|
38
|
+
"access": "public"
|
|
39
|
+
}
|
|
40
|
+
}
|