@theholocron/semantic-release-config 7.8.1 → 7.9.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/README.md +7 -10
- package/package.json +5 -4
package/README.md
CHANGED
|
@@ -26,12 +26,12 @@ Create a `release.config.js` at your repo root:
|
|
|
26
26
|
import { defineConfig } from "@theholocron/semantic-release-config";
|
|
27
27
|
|
|
28
28
|
export default defineConfig({
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
29
|
+
branches: ["main", { name: "alpha", prerelease: true }],
|
|
30
|
+
exec: {
|
|
31
|
+
prepareCmd: "pnpm exec holocron npm bump-versions ${nextRelease.version}",
|
|
32
|
+
publishCmd:
|
|
33
|
+
"pnpm -r --filter='./packages/*' publish --access public --no-git-checks --tag ${nextRelease.channel || 'latest'}",
|
|
34
|
+
},
|
|
35
35
|
});
|
|
36
36
|
```
|
|
37
37
|
|
|
@@ -67,8 +67,5 @@ The config wires up this fixed plugin order:
|
|
|
67
67
|
For advanced composition, individual plugin configs are also exported:
|
|
68
68
|
|
|
69
69
|
```js
|
|
70
|
-
import {
|
|
71
|
-
commitAnalyzer,
|
|
72
|
-
releaseNotesGenerator,
|
|
73
|
-
} from "@theholocron/semantic-release-config";
|
|
70
|
+
import { commitAnalyzer, releaseNotesGenerator } from "@theholocron/semantic-release-config";
|
|
74
71
|
```
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@theholocron/semantic-release-config",
|
|
3
|
-
"version": "7.
|
|
3
|
+
"version": "7.9.0",
|
|
4
4
|
"description": "A semantic-release configuration for automated versioning and publishing.",
|
|
5
5
|
"homepage": "https://github.com/theholocron/configs/tree/main/packages/semantic-release-config#readme",
|
|
6
6
|
"bugs": "https://github.com/theholocron/configs/issues",
|
|
@@ -24,8 +24,8 @@
|
|
|
24
24
|
"typescript": "^5.9.3",
|
|
25
25
|
"vitest": "^4.1.10",
|
|
26
26
|
"@vitest/coverage-v8": "^4.1.10",
|
|
27
|
-
"@theholocron/tsconfig": "7.
|
|
28
|
-
"@theholocron/vitest-config": "7.
|
|
27
|
+
"@theholocron/tsconfig": "7.9.0",
|
|
28
|
+
"@theholocron/vitest-config": "7.9.0"
|
|
29
29
|
},
|
|
30
30
|
"exports": {
|
|
31
31
|
".": {
|
|
@@ -64,6 +64,7 @@
|
|
|
64
64
|
"scripts": {
|
|
65
65
|
"build": "tsdown",
|
|
66
66
|
"typecheck": "tsc --noEmit",
|
|
67
|
-
"test": "vitest run"
|
|
67
|
+
"test": "vitest run",
|
|
68
|
+
"test:coverage": "vitest run --coverage"
|
|
68
69
|
}
|
|
69
70
|
}
|