@itcase/config 1.7.4 → 1.7.5
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/package.json
CHANGED
|
@@ -35,7 +35,7 @@ function createSemanticReleaseApp({
|
|
|
35
35
|
versionAssets = DEFAULT_VERSION_ASSETS,
|
|
36
36
|
} = {}) {
|
|
37
37
|
return createSemanticReleaseConfig({
|
|
38
|
-
branches,
|
|
38
|
+
branches: branches,
|
|
39
39
|
gitConfig: {
|
|
40
40
|
message:
|
|
41
41
|
'release: publishing new version ${nextRelease.version} [skip ci]',
|
|
@@ -49,7 +49,7 @@ function createSemanticReleaseApp({
|
|
|
49
49
|
npmConfig: {
|
|
50
50
|
npmPublish: false,
|
|
51
51
|
},
|
|
52
|
-
preparePlugins,
|
|
52
|
+
preparePlugins: preparePlugins,
|
|
53
53
|
})
|
|
54
54
|
}
|
|
55
55
|
|
|
@@ -3,7 +3,10 @@
|
|
|
3
3
|
import { readFile, writeFile } from 'node:fs/promises'
|
|
4
4
|
import { resolve } from 'node:path'
|
|
5
5
|
|
|
6
|
-
import {
|
|
6
|
+
import {
|
|
7
|
+
createSemanticReleaseConfig,
|
|
8
|
+
releaseNotesGeneratorConfig,
|
|
9
|
+
} from './common.js'
|
|
7
10
|
|
|
8
11
|
const RELEASE_ASSETS = [
|
|
9
12
|
'lerna.json',
|
|
@@ -42,8 +45,11 @@ const semanticReleaseMonorepo = createSemanticReleaseConfig({
|
|
|
42
45
|
'semantic-release-lerna',
|
|
43
46
|
{
|
|
44
47
|
generateNotes: true,
|
|
45
|
-
// Плагин не читает version: "independent" и на minor+ бампает все пакеты.
|
|
46
48
|
latch: false,
|
|
49
|
+
...releaseNotesGeneratorConfig,
|
|
50
|
+
host: 'https://github.com',
|
|
51
|
+
commit: 'commit',
|
|
52
|
+
issue: 'issues',
|
|
47
53
|
},
|
|
48
54
|
],
|
|
49
55
|
],
|