@itcase/config 1.6.8 → 1.6.10
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 +1 -0
- package/package.json +1 -1
- package/semantic-release/indexProject.js +52 -0
package/README.md
CHANGED
|
@@ -25,6 +25,7 @@ npm install --save-dev @itcase/config
|
|
|
25
25
|
- `postcss/nextVite.js` — для Next.js/Vite проектов
|
|
26
26
|
|
|
27
27
|
- **Semantic Release** — автоматическое управление версиями
|
|
28
|
+
- `semantic-release/config.js` — конфигурация
|
|
28
29
|
- `semantic-release/index.js` — стандартная конфигурация
|
|
29
30
|
- `semantic-release/indexLerna.js` — для Lerna монорепозиториев
|
|
30
31
|
- `semantic-release/indexVSMarketplace.js` — для VS Code расширений
|
package/package.json
CHANGED
|
@@ -0,0 +1,52 @@
|
|
|
1
|
+
/* eslint-disable perfectionist/sort-objects */
|
|
2
|
+
|
|
3
|
+
import { releaseNotesTypes, releaseRules } from './config.js'
|
|
4
|
+
|
|
5
|
+
// Keywords for important notes. This value is case insensitive.
|
|
6
|
+
const noteKeywords = ['BREAKING CHANGE', 'BREAKING CHANGES', 'BREAKING']
|
|
7
|
+
|
|
8
|
+
const semanticReleaseConfig = {
|
|
9
|
+
branches: ['docker/master'],
|
|
10
|
+
preset: 'conventionalcommits',
|
|
11
|
+
plugins: [
|
|
12
|
+
[
|
|
13
|
+
'@semantic-release/commit-analyzer',
|
|
14
|
+
{
|
|
15
|
+
parserOpts: { noteKeywords: noteKeywords },
|
|
16
|
+
releaseRules: releaseRules,
|
|
17
|
+
},
|
|
18
|
+
],
|
|
19
|
+
[
|
|
20
|
+
'@semantic-release/release-notes-generator',
|
|
21
|
+
{
|
|
22
|
+
presetConfig: {
|
|
23
|
+
types: releaseNotesTypes,
|
|
24
|
+
},
|
|
25
|
+
parserOpts: { noteKeywords: noteKeywords },
|
|
26
|
+
writerOpts: { commitsSort: ['subject', 'scope'] },
|
|
27
|
+
},
|
|
28
|
+
],
|
|
29
|
+
[
|
|
30
|
+
'@semantic-release/changelog',
|
|
31
|
+
{
|
|
32
|
+
changelogFile: 'CHANGELOG.md',
|
|
33
|
+
},
|
|
34
|
+
],
|
|
35
|
+
'@semantic-release/npm',
|
|
36
|
+
{
|
|
37
|
+
npmPublish: false,
|
|
38
|
+
},
|
|
39
|
+
[
|
|
40
|
+
'@semantic-release/git',
|
|
41
|
+
{
|
|
42
|
+
message:
|
|
43
|
+
'release: publishing new version ${nextRelease.version} [skip ci]',
|
|
44
|
+
assets: ['package.json', 'package-lock.json', 'CHANGELOG.md'],
|
|
45
|
+
},
|
|
46
|
+
],
|
|
47
|
+
'@semantic-release/github',
|
|
48
|
+
],
|
|
49
|
+
}
|
|
50
|
+
|
|
51
|
+
export { noteKeywords, releaseRules }
|
|
52
|
+
export default semanticReleaseConfig
|