@cluerise/tools 5.3.12 → 5.4.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/dist/configs/.nvmrc
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
v25.
|
|
1
|
+
v25.7.0
|
|
@@ -88,6 +88,14 @@ export default defineConfig([
|
|
|
88
88
|
files: ['**/*.{ts,tsx}'],
|
|
89
89
|
rules: {
|
|
90
90
|
'@typescript-eslint/consistent-type-imports': ['error', { fixStyle: 'inline-type-imports' }],
|
|
91
|
+
'@typescript-eslint/no-misused-promises': [
|
|
92
|
+
'error',
|
|
93
|
+
{
|
|
94
|
+
checksVoidReturn: {
|
|
95
|
+
attributes: false,
|
|
96
|
+
},
|
|
97
|
+
},
|
|
98
|
+
],
|
|
91
99
|
},
|
|
92
100
|
},
|
|
93
101
|
{
|
|
@@ -36,6 +36,7 @@ export const createReleaseConfig = ({
|
|
|
36
36
|
repository,
|
|
37
37
|
path = '',
|
|
38
38
|
tagFormat,
|
|
39
|
+
branchFormat,
|
|
39
40
|
releaseRules: inputReleaseRules = defaultReleaseRules,
|
|
40
41
|
changelogTypes: inputChangelogTypes = defaultChangelogTypes,
|
|
41
42
|
dependencyScopes = ['prod'],
|
|
@@ -59,6 +60,7 @@ export const createReleaseConfig = ({
|
|
|
59
60
|
branches: ['main'],
|
|
60
61
|
repositoryUrl: getRepositoryUrl(path),
|
|
61
62
|
tagFormat,
|
|
63
|
+
branchFormat,
|
|
62
64
|
preset: 'conventionalcommits',
|
|
63
65
|
dryRun: true,
|
|
64
66
|
|
|
@@ -405,7 +405,8 @@ class Releaser {
|
|
|
405
405
|
}
|
|
406
406
|
const tagFormat = this.#config.tagFormat ?? "v${version}";
|
|
407
407
|
const tag = tagFormat.replace("${version}", version);
|
|
408
|
-
const
|
|
408
|
+
const branchFormat = this.#config.branchFormat === void 0 ? tagFormat : this.#config.branchFormat;
|
|
409
|
+
const latestBranch = branchFormat === null ? null : branchFormat.replace("v${version}", "latest");
|
|
409
410
|
const changelog = await this.#getLatestReleaseChangelog();
|
|
410
411
|
return {
|
|
411
412
|
name,
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@cluerise/tools",
|
|
3
|
-
"version": "5.
|
|
3
|
+
"version": "5.4.0",
|
|
4
4
|
"description": "Tools for maintaining TypeScript projects.",
|
|
5
5
|
"author": "Branislav Holý <brano@holy.am>",
|
|
6
6
|
"repository": "github:cluerise/tools",
|
|
@@ -17,17 +17,17 @@
|
|
|
17
17
|
"./dist/"
|
|
18
18
|
],
|
|
19
19
|
"dependencies": {
|
|
20
|
-
"@actions/core": "
|
|
21
|
-
"@commitlint/cli": "20.
|
|
22
|
-
"@commitlint/config-conventional": "20.
|
|
23
|
-
"@commitlint/load": "20.
|
|
24
|
-
"@commitlint/types": "20.
|
|
20
|
+
"@actions/core": "3.0.0",
|
|
21
|
+
"@commitlint/cli": "20.4.0",
|
|
22
|
+
"@commitlint/config-conventional": "20.4.0",
|
|
23
|
+
"@commitlint/load": "20.4.0",
|
|
24
|
+
"@commitlint/types": "20.4.0",
|
|
25
25
|
"@eslint/js": "9.39.2",
|
|
26
|
-
"@eslint/json": "0.
|
|
26
|
+
"@eslint/json": "1.0.0",
|
|
27
27
|
"@eslint/markdown": "7.5.1",
|
|
28
|
-
"@html-eslint/eslint-plugin": "0.
|
|
29
|
-
"@html-eslint/parser": "0.
|
|
30
|
-
"@typescript-eslint/parser": "8.
|
|
28
|
+
"@html-eslint/eslint-plugin": "0.54.2",
|
|
29
|
+
"@html-eslint/parser": "0.54.0",
|
|
30
|
+
"@typescript-eslint/parser": "8.54.0",
|
|
31
31
|
"conventional-changelog-conventionalcommits": "9.1.0",
|
|
32
32
|
"eslint": "9.39.2",
|
|
33
33
|
"eslint-config-prettier": "10.1.8",
|
|
@@ -36,16 +36,16 @@
|
|
|
36
36
|
"eslint-plugin-prettier": "5.5.5",
|
|
37
37
|
"eslint-plugin-simple-import-sort": "12.1.1",
|
|
38
38
|
"eslint-plugin-unicorn": "62.0.0",
|
|
39
|
-
"eslint-plugin-yml": "
|
|
39
|
+
"eslint-plugin-yml": "3.0.0",
|
|
40
40
|
"glob": "13.0.0",
|
|
41
|
-
"globals": "17.
|
|
41
|
+
"globals": "17.3.0",
|
|
42
42
|
"lint-staged": "16.2.7",
|
|
43
|
-
"prettier": "3.8.
|
|
43
|
+
"prettier": "3.8.1",
|
|
44
44
|
"prettier-plugin-sh": "0.18.0",
|
|
45
|
-
"semantic-release": "25.0.
|
|
45
|
+
"semantic-release": "25.0.3",
|
|
46
46
|
"semver": "7.7.3",
|
|
47
47
|
"smol-toml": "1.6.0",
|
|
48
|
-
"typescript-eslint": "8.
|
|
49
|
-
"zod": "4.3.
|
|
48
|
+
"typescript-eslint": "8.54.0",
|
|
49
|
+
"zod": "4.3.6"
|
|
50
50
|
}
|
|
51
51
|
}
|