@anolilab/multi-semantic-release 1.0.4 → 1.1.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/CHANGELOG.md +13 -0
- package/README.md +4 -4
- package/lib/update-deps.js +4 -4
- package/package.json +128 -142
package/CHANGELOG.md
CHANGED
|
@@ -1,3 +1,16 @@
|
|
|
1
|
+
## @anolilab/multi-semantic-release [1.1.0](https://github.com/anolilab/semantic-release/compare/@anolilab/multi-semantic-release@1.0.4...@anolilab/multi-semantic-release@1.1.0) (2024-05-23)
|
|
2
|
+
|
|
3
|
+
|
|
4
|
+
### Features
|
|
5
|
+
|
|
6
|
+
* moved semantic-release preset, added new presets for yarn and pnpm ([#26](https://github.com/anolilab/semantic-release/issues/26)) ([7c057c4](https://github.com/anolilab/semantic-release/commit/7c057c45977c00a06c057a360a13a7f1993d808d))
|
|
7
|
+
|
|
8
|
+
|
|
9
|
+
|
|
10
|
+
### Dependencies
|
|
11
|
+
|
|
12
|
+
* **@anolilab/semantic-release-pnpm:** upgraded to 1.1.0
|
|
13
|
+
|
|
1
14
|
## [1.0.4](https://github.com/anolilab/multi-semantic-release/compare/v1.0.3...v1.0.4) (2024-05-14)
|
|
2
15
|
|
|
3
16
|
|
package/README.md
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
<div align="center">
|
|
2
2
|
|
|
3
|
-
<img src=".github/logo.svg" alt="Logo" width="200">
|
|
3
|
+
<img src="https://github.com/anolilab/semantic-release/blob/main/.github/logo.svg" alt="Logo" width="200">
|
|
4
4
|
|
|
5
5
|
<h1>Multi Semantic Release</h1>
|
|
6
6
|
|
|
@@ -249,7 +249,7 @@ You can also combine the CLI ignore options with the `!` operator at each packag
|
|
|
249
249
|
|
|
250
250
|
We use this tool to release our JS platform code inhouse (GitHub Enterprise + JB TeamCity) and for our OSS (GitHub + Travis CI). Guaranteed working configurations available in projects.
|
|
251
251
|
|
|
252
|
-
- [anolilab/multi-semantic-release](https://github.com/anolilab/
|
|
252
|
+
- [anolilab/multi-semantic-release](https://github.com/anolilab/semantic-release)
|
|
253
253
|
- [visulima/visulima](https://github.com/visulima/visulima)
|
|
254
254
|
- [qiwi/substrate](https://github.com/qiwi/substrate)
|
|
255
255
|
- [qiwi/json-rpc](https://github.com/qiwi/json-rpc)
|
|
@@ -389,14 +389,14 @@ post on why we think this is important](https://medium.com/the-node-js-collectio
|
|
|
389
389
|
|
|
390
390
|
## Contributing
|
|
391
391
|
|
|
392
|
-
If you would like to help take a look at the [list of issues](https://github.com/anolilab/
|
|
392
|
+
If you would like to help take a look at the [list of issues](https://github.com/anolilab/semantic-release/issues) and check our [Contributing](.github/CONTRIBUTING.md) guild.
|
|
393
393
|
|
|
394
394
|
> **Note:** please note that this project is released with a Contributor Code of Conduct. By participating in this project you agree to abide by its terms.
|
|
395
395
|
|
|
396
396
|
## Credits
|
|
397
397
|
|
|
398
398
|
- [Daniel Bannert](https://github.com/prisis)
|
|
399
|
-
- [All Contributors](https://github.com/anolilab/
|
|
399
|
+
- [All Contributors](https://github.com/anolilab/semantic-release/graphs/contributors)
|
|
400
400
|
- [hanseltime](https://github.com/hanseltime) -> https://github.com/qiwi/multi-semantic-release/pull/96
|
|
401
401
|
- [lyh543](https://github.com/lyh543) -> https://github.com/dhoulb/multi-semantic-release/issues/111
|
|
402
402
|
- [dhoub/multi-semantic-release](https://github.com/dhoulb/multi-semantic-release)
|
package/lib/update-deps.js
CHANGED
|
@@ -101,13 +101,13 @@ const getDependentRelease = (package_, bumpStrategy, releaseStrategy, ignore, pr
|
|
|
101
101
|
const nextVersion = nextType
|
|
102
102
|
? // Update the nextVersion only if there is a next type to be bumped
|
|
103
103
|
|
|
104
|
-
|
|
104
|
+
p._preRelease
|
|
105
105
|
? // eslint-disable-next-line no-use-before-define
|
|
106
|
-
|
|
106
|
+
getNextPreVersion(p)
|
|
107
107
|
: // eslint-disable-next-line no-use-before-define
|
|
108
|
-
|
|
108
|
+
getNextVersion(p)
|
|
109
109
|
: // Set the nextVersion fallback to the last local dependency package last version
|
|
110
|
-
|
|
110
|
+
p._lastRelease && p._lastRelease.version;
|
|
111
111
|
|
|
112
112
|
// 3. And this change should correspond to the manifest updating rule.
|
|
113
113
|
const requireRelease = scopes
|
package/package.json
CHANGED
|
@@ -1,144 +1,130 @@
|
|
|
1
1
|
{
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
],
|
|
17
|
-
"type": "module",
|
|
18
|
-
"exports": {
|
|
19
|
-
".": "./lib/multi-semantic-release.js",
|
|
20
|
-
"./*": "./*",
|
|
21
|
-
"./package.json": "./package.json"
|
|
22
|
-
},
|
|
23
|
-
"bin": {
|
|
24
|
-
"multi-semantic-release": "./bin/cli.js"
|
|
25
|
-
},
|
|
26
|
-
"files": [
|
|
27
|
-
"README.md",
|
|
28
|
-
"CHANGELOG.md",
|
|
29
|
-
"lib",
|
|
30
|
-
"bin"
|
|
31
|
-
],
|
|
32
|
-
"scripts": {
|
|
33
|
-
"build": "echo 'There is no need for build' && exit 0",
|
|
34
|
-
"lint:eslint": "eslint . --ext js,cjs,mjs,jsx,ts,tsx,json,yaml,yml,md,mdx --max-warnings=0 --config .eslintrc.cjs",
|
|
35
|
-
"lint:eslint:fix": "pnpm run lint:eslint --fix",
|
|
36
|
-
"lint:prettier": "prettier --config=.prettierrc.cjs --check .",
|
|
37
|
-
"lint:prettier:fix": "prettier --config=.prettierrc.cjs --write .",
|
|
38
|
-
"lint:secrets": "secretlint **/*",
|
|
39
|
-
"lint:staged": "lint-staged --verbose --concurrent false --debug",
|
|
40
|
-
"lint:text": "textlint ./.github/ ./README.md ./UPGRADE.md --parallel --experimental --cache --dry-run",
|
|
41
|
-
"lint:text:fix": "textlint ./.github/ ./README.md ./UPGRADE.md --parallel --experimental --fix",
|
|
42
|
-
"prepare": "is-ci || (node verify-node-version.cjs && pnpx only-allow pnpm && husky install)",
|
|
43
|
-
"sort-package-json": "sort-package-json ./package.json",
|
|
44
|
-
"test": "vitest run",
|
|
45
|
-
"test:bench": "vitest bench",
|
|
46
|
-
"test:coverage": "vitest run --coverage",
|
|
47
|
-
"test:watch": "vitest",
|
|
48
|
-
"update:deps": "taze",
|
|
49
|
-
"validate:package": "pnpx publint"
|
|
50
|
-
},
|
|
51
|
-
"dependencies": {
|
|
52
|
-
"@semrel-extra/topo": "^1.14.1",
|
|
53
|
-
"blork": "^9.3.0",
|
|
54
|
-
"cosmiconfig": "^9.0.0",
|
|
55
|
-
"debug": "^4.3.4",
|
|
56
|
-
"detect-indent": "^7.0.1",
|
|
57
|
-
"detect-newline": "^4.0.1",
|
|
58
|
-
"execa": "^9.1.0",
|
|
59
|
-
"git-log-parser": "^1.2.0",
|
|
60
|
-
"lodash-es": "^4.17.21",
|
|
61
|
-
"resolve-from": "^5.0.0",
|
|
62
|
-
"semver": "^7.6.2",
|
|
63
|
-
"signale": "^1.4.0",
|
|
64
|
-
"stream-buffers": "^3.0.2",
|
|
65
|
-
"yargs": "^17.7.2"
|
|
66
|
-
},
|
|
67
|
-
"devDependencies": {
|
|
68
|
-
"@anolilab/commitlint-config": "^5.0.3",
|
|
69
|
-
"@anolilab/eslint-config": "^15.0.3",
|
|
70
|
-
"@anolilab/lint-staged-config": "^2.1.7",
|
|
71
|
-
"@anolilab/prettier-config": "^5.0.14",
|
|
72
|
-
"@anolilab/textlint-config": "^8.0.16",
|
|
73
|
-
"@babel/core": "^7.24.5",
|
|
74
|
-
"@babel/eslint-parser": "7.23.3",
|
|
75
|
-
"@commitlint/cli": "^19.3.0",
|
|
76
|
-
"@commitlint/config-conventional": "^19.2.2",
|
|
77
|
-
"@secretlint/secretlint-rule-preset-recommend": "^8.2.4",
|
|
78
|
-
"@semantic-release/changelog": "^6.0.3",
|
|
79
|
-
"@semantic-release/git": "^10.0.1",
|
|
80
|
-
"@semantic-release/github": "^10.0.3",
|
|
81
|
-
"@semantic-release/npm": "^12.0.1",
|
|
82
|
-
"@vitest/coverage-v8": "^1.6.0",
|
|
83
|
-
"commitizen": "^4.3.0",
|
|
84
|
-
"commitlint": "^19.3.0",
|
|
85
|
-
"cross-env": "^7.0.3",
|
|
86
|
-
"cz-conventional-changelog": "^3.3.0",
|
|
87
|
-
"eslint": "^8.55.0",
|
|
88
|
-
"eslint-plugin-editorconfig": "^4.0.3",
|
|
89
|
-
"eslint-plugin-import": "npm:eslint-plugin-i@2.29.0",
|
|
90
|
-
"eslint-plugin-mdx": "^3.1.5",
|
|
91
|
-
"eslint-plugin-n": "^17.7.0",
|
|
92
|
-
"eslint-plugin-vitest": "^0.3.10",
|
|
93
|
-
"eslint-plugin-vitest-globals": "^1.5.0",
|
|
94
|
-
"eslint-plugin-you-dont-need-lodash-underscore": "^6.14.0",
|
|
95
|
-
"file-url": "^4.0.0",
|
|
96
|
-
"husky": "^9.0.11",
|
|
97
|
-
"is-ci": "^3.0.1",
|
|
98
|
-
"lint-staged": "^15.2.2",
|
|
99
|
-
"prettier": "^3.2.5",
|
|
100
|
-
"rimraf": "^5.0.7",
|
|
101
|
-
"secretlint": "8.0.0",
|
|
102
|
-
"semantic-release": "^23.1.1",
|
|
103
|
-
"sort-package-json": "^2.10.0",
|
|
104
|
-
"taze": "^0.13.8",
|
|
105
|
-
"tempy": "^3.1.0",
|
|
106
|
-
"textlint": "^14.0.4",
|
|
107
|
-
"vitest": "^1.6.0"
|
|
108
|
-
},
|
|
109
|
-
"peerDependencies": {
|
|
110
|
-
"semantic-release": "^20.0 || ^21.0 || >=22.0.3"
|
|
111
|
-
},
|
|
112
|
-
"packageManager": "pnpm@9.1.1",
|
|
113
|
-
"engines": {
|
|
114
|
-
"node": ">=18 || >=20.6.1"
|
|
115
|
-
},
|
|
116
|
-
"publishConfig": {
|
|
117
|
-
"access": "public",
|
|
118
|
-
"provenance": true
|
|
119
|
-
},
|
|
120
|
-
"pnpm": {
|
|
121
|
-
"overrides": {
|
|
122
|
-
"chai": ">=5.1.1",
|
|
123
|
-
"chrono-node@<2.2.4": ">=2.7.5",
|
|
124
|
-
"get-func-name@<2.0.1": ">=3.0.0",
|
|
125
|
-
"got@<11.8.5": ">=14.2.1",
|
|
126
|
-
"postcss@<8.4.31": ">=8.4.38",
|
|
127
|
-
"trim@<0.0.3": ">=1.0.1"
|
|
128
|
-
}
|
|
129
|
-
},
|
|
130
|
-
"anolilab": {
|
|
131
|
-
"eslint-config": {
|
|
132
|
-
"plugin": {},
|
|
133
|
-
"warn_on_unsupported_typescript_version": false,
|
|
134
|
-
"info_on_disabling_jsx_react_rule": false,
|
|
135
|
-
"info_on_disabling_prettier_conflict_rule": false,
|
|
136
|
-
"info_on_disabling_jsonc_sort_keys_rule": false,
|
|
137
|
-
"import_ignore_exports": [
|
|
138
|
-
"**/*.cjs",
|
|
139
|
-
"**/__tests__/**/*.js",
|
|
140
|
-
"verify-node-version.cjs"
|
|
141
|
-
]
|
|
142
|
-
}
|
|
2
|
+
"name": "@anolilab/multi-semantic-release",
|
|
3
|
+
"version": "1.1.0",
|
|
4
|
+
"description": "A multi semantic release tool for a monorepo.",
|
|
5
|
+
"repository": {
|
|
6
|
+
"type": "git",
|
|
7
|
+
"url": "https://github.com/anolilab/semantic-release.git",
|
|
8
|
+
"directory": "packages/multi-semantic-release"
|
|
9
|
+
},
|
|
10
|
+
"license": "0BSD",
|
|
11
|
+
"author": "Dave Houlbrooke <dave@shax.com>",
|
|
12
|
+
"maintainers": [
|
|
13
|
+
{
|
|
14
|
+
"name": "Daniel Bannert",
|
|
15
|
+
"email": "d.bannert@anolilab.de"
|
|
143
16
|
}
|
|
144
|
-
|
|
17
|
+
],
|
|
18
|
+
"type": "module",
|
|
19
|
+
"exports": {
|
|
20
|
+
".": "./lib/multi-semantic-release.js",
|
|
21
|
+
"./*": "./*",
|
|
22
|
+
"./package.json": "./package.json"
|
|
23
|
+
},
|
|
24
|
+
"bin": {
|
|
25
|
+
"multi-semantic-release": "./bin/cli.js"
|
|
26
|
+
},
|
|
27
|
+
"files": [
|
|
28
|
+
"README.md",
|
|
29
|
+
"CHANGELOG.md",
|
|
30
|
+
"lib",
|
|
31
|
+
"bin"
|
|
32
|
+
],
|
|
33
|
+
"dependencies": {
|
|
34
|
+
"@semrel-extra/topo": "^1.14.1",
|
|
35
|
+
"blork": "^9.3.0",
|
|
36
|
+
"cosmiconfig": "^9.0.0",
|
|
37
|
+
"debug": "^4.3.4",
|
|
38
|
+
"detect-indent": "^7.0.1",
|
|
39
|
+
"detect-newline": "^4.0.1",
|
|
40
|
+
"execa": "^9.1.0",
|
|
41
|
+
"git-log-parser": "^1.2.0",
|
|
42
|
+
"lodash-es": "^4.17.21",
|
|
43
|
+
"resolve-from": "^5.0.0",
|
|
44
|
+
"semver": "^7.6.2",
|
|
45
|
+
"signale": "^1.4.0",
|
|
46
|
+
"stream-buffers": "^3.0.2",
|
|
47
|
+
"yargs": "^17.7.2"
|
|
48
|
+
},
|
|
49
|
+
"devDependencies": {
|
|
50
|
+
"@anolilab/eslint-config": "^15.0.3",
|
|
51
|
+
"@anolilab/prettier-config": "^5.0.14",
|
|
52
|
+
"@anolilab/semantic-release-pnpm": "1.1.0",
|
|
53
|
+
"@babel/core": "^7.24.5",
|
|
54
|
+
"@rushstack/eslint-plugin-security": "^0.8.1",
|
|
55
|
+
"@secretlint/secretlint-rule-preset-recommend": "^8.2.4",
|
|
56
|
+
"@semantic-release/changelog": "^6.0.3",
|
|
57
|
+
"@semantic-release/commit-analyzer": "11.1.0",
|
|
58
|
+
"@semantic-release/exec": "^6.0.3",
|
|
59
|
+
"@semantic-release/git": "^10.0.1",
|
|
60
|
+
"@semantic-release/github": "^10.0.5",
|
|
61
|
+
"@semantic-release/release-notes-generator": "12.1.0",
|
|
62
|
+
"@vitest/coverage-v8": "^1.6.0",
|
|
63
|
+
"@vitest/ui": "^1.6.0",
|
|
64
|
+
"conventional-changelog-conventionalcommits": "7.0.2",
|
|
65
|
+
"cross-env": "^7.0.3",
|
|
66
|
+
"eslint": "^8.57.0",
|
|
67
|
+
"eslint-plugin-deprecation": "^2.0.0",
|
|
68
|
+
"eslint-plugin-etc": "^2.0.3",
|
|
69
|
+
"eslint-plugin-import": "npm:eslint-plugin-i@^2.29.1",
|
|
70
|
+
"eslint-plugin-mdx": "^3.1.5",
|
|
71
|
+
"eslint-plugin-n": "^17.7.0",
|
|
72
|
+
"eslint-plugin-vitest": "^0.4.1",
|
|
73
|
+
"eslint-plugin-vitest-globals": "^1.5.0",
|
|
74
|
+
"eslint-plugin-you-dont-need-lodash-underscore": "^6.14.0",
|
|
75
|
+
"file-url": "^4.0.0",
|
|
76
|
+
"prettier": "^3.2.5",
|
|
77
|
+
"publint": "^0.2.8",
|
|
78
|
+
"rimraf": "^5.0.7",
|
|
79
|
+
"secretlint": "8.2.3",
|
|
80
|
+
"semantic-release": "^23.1.1",
|
|
81
|
+
"sort-package-json": "^2.10.0",
|
|
82
|
+
"tempy": "^3.1.0",
|
|
83
|
+
"typescript": "^5.4.5",
|
|
84
|
+
"vitest": "^1.6.0"
|
|
85
|
+
},
|
|
86
|
+
"peerDependencies": {
|
|
87
|
+
"semantic-release": "^20.0 || ^21.0 || >=22.0.3"
|
|
88
|
+
},
|
|
89
|
+
"engines": {
|
|
90
|
+
"node": ">=18 || >=20.6.1"
|
|
91
|
+
},
|
|
92
|
+
"os": [
|
|
93
|
+
"darwin",
|
|
94
|
+
"linux",
|
|
95
|
+
"win32"
|
|
96
|
+
],
|
|
97
|
+
"publishConfig": {
|
|
98
|
+
"access": "public",
|
|
99
|
+
"provenance": true
|
|
100
|
+
},
|
|
101
|
+
"anolilab": {
|
|
102
|
+
"eslint-config": {
|
|
103
|
+
"plugin": {},
|
|
104
|
+
"warn_on_unsupported_typescript_version": false,
|
|
105
|
+
"info_on_disabling_jsx_react_rule": false,
|
|
106
|
+
"info_on_disabling_prettier_conflict_rule": false,
|
|
107
|
+
"info_on_disabling_jsonc_sort_keys_rule": false,
|
|
108
|
+
"import_ignore_exports": [
|
|
109
|
+
"**/*.cjs",
|
|
110
|
+
"**/__tests__/**/*.js"
|
|
111
|
+
]
|
|
112
|
+
}
|
|
113
|
+
},
|
|
114
|
+
"scripts": {
|
|
115
|
+
"build": "echo 'There is no need for build' && exit 0",
|
|
116
|
+
"build:prod": "echo 'There is no need for build' && exit 0",
|
|
117
|
+
"clean": "rimraf node_modules dist .eslintcache",
|
|
118
|
+
"dev": "echo 'There is no need for dev' && exit 0",
|
|
119
|
+
"lint:eslint": "eslint . --ext js,cjs,mjs,jsx,ts,tsx,json,yaml,yml,md,mdx --max-warnings=0 --config .eslintrc.cjs",
|
|
120
|
+
"lint:eslint:fix": "eslint . --ext js,cjs,mjs,jsx,ts,tsx,json,yaml,yml,md,mdx --max-warnings=0 --config .eslintrc.cjs --fix",
|
|
121
|
+
"lint:packagejson": "publint --strict",
|
|
122
|
+
"lint:prettier": "prettier --config=.prettierrc.cjs --check .",
|
|
123
|
+
"lint:prettier:fix": "prettier --config=.prettierrc.cjs --write .",
|
|
124
|
+
"lint:types": "tsc --noEmit || exit 0",
|
|
125
|
+
"test": "vitest run",
|
|
126
|
+
"test:coverage": "vitest run --coverage",
|
|
127
|
+
"test:ui": "vitest --ui --coverage.enabled=true",
|
|
128
|
+
"test:watch": "vitest"
|
|
129
|
+
}
|
|
130
|
+
}
|