@anolilab/semantic-release-clean-package-json 1.0.0-alpha.1 → 1.0.0-alpha.2
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 +6 -0
- package/README.md +8 -4
- package/package.json +6 -2
package/CHANGELOG.md
CHANGED
|
@@ -1,3 +1,9 @@
|
|
|
1
|
+
## @anolilab/semantic-release-clean-package-json [1.0.0-alpha.2](https://github.com/anolilab/semantic-release/compare/@anolilab/semantic-release-clean-package-json@1.0.0-alpha.1...@anolilab/semantic-release-clean-package-json@1.0.0-alpha.2) (2025-01-16)
|
|
2
|
+
|
|
3
|
+
### Bug Fixes
|
|
4
|
+
|
|
5
|
+
* changed plugin order to not publish cleaned package.json to github ([6673e69](https://github.com/anolilab/semantic-release/commit/6673e69723fd340380250fa2d986e4c37091351f))
|
|
6
|
+
|
|
1
7
|
## @anolilab/semantic-release-clean-package-json 1.0.0-alpha.1 (2025-01-15)
|
|
2
8
|
|
|
3
9
|
### Features
|
package/README.md
CHANGED
|
@@ -43,13 +43,17 @@ pnpm add @anolilab/semantic-release-clean-package-json
|
|
|
43
43
|
|
|
44
44
|
The plugin can be configured in the [**semantic-release** configuration file](https://github.com/semantic-release/semantic-release/blob/master/docs/usage/configuration.md#configuration):
|
|
45
45
|
|
|
46
|
+
> [!IMPORTANT]
|
|
47
|
+
> Very important: The plugin must be placed after the `@semantic-release/github` or `@semantic-release/git` and before `@anolilab/semantic-release-pnpm` or `@semantic-release/npm` plugin otherwise the `package.json` will be cleaned and published into GitHub / Your Git Provider.
|
|
48
|
+
|
|
46
49
|
```json
|
|
47
50
|
{
|
|
48
51
|
"plugins": [
|
|
49
52
|
"@semantic-release/commit-analyzer",
|
|
50
53
|
"@semantic-release/release-notes-generator",
|
|
51
|
-
"@
|
|
52
|
-
"@anolilab/semantic-release-clean-package-json"
|
|
54
|
+
"@semantic-release/github",
|
|
55
|
+
"@anolilab/semantic-release-clean-package-json",
|
|
56
|
+
"@anolilab/semantic-release-pnpm"
|
|
53
57
|
]
|
|
54
58
|
}
|
|
55
59
|
```
|
|
@@ -78,14 +82,14 @@ The plugin can be configured in the [**semantic-release** configuration file](ht
|
|
|
78
82
|
"plugins": [
|
|
79
83
|
"@semantic-release/commit-analyzer",
|
|
80
84
|
"@semantic-release/release-notes-generator",
|
|
81
|
-
"@
|
|
85
|
+
"@semantic-release/github",
|
|
82
86
|
[
|
|
83
87
|
"@anolilab/semantic-release-clean-package-json",
|
|
84
88
|
{
|
|
85
89
|
"keep": ["custom filed"]
|
|
86
90
|
}
|
|
87
91
|
],
|
|
88
|
-
"@semantic-release
|
|
92
|
+
"@anolilab/semantic-release-pnpm"
|
|
89
93
|
]
|
|
90
94
|
}
|
|
91
95
|
```
|
package/package.json
CHANGED
|
@@ -1,10 +1,14 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@anolilab/semantic-release-clean-package-json",
|
|
3
|
-
"version": "1.0.0-alpha.
|
|
3
|
+
"version": "1.0.0-alpha.2",
|
|
4
4
|
"description": "Clean package.json before publish by removing unnecessary properties",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"anolilab",
|
|
7
|
-
"semantic-release-clean-package-json"
|
|
7
|
+
"semantic-release-clean-package-json",
|
|
8
|
+
"semantic-release",
|
|
9
|
+
"clean",
|
|
10
|
+
"package.json",
|
|
11
|
+
"publish"
|
|
8
12
|
],
|
|
9
13
|
"homepage": "https://github.com/anolilab/semantic-release/tree/main/packages/semantic-release-clean-package-json",
|
|
10
14
|
"bugs": {
|