@cluerise/tools 5.4.4 → 5.5.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.9.0
|
|
@@ -5,6 +5,7 @@ import eslintPluginHtml from '@html-eslint/eslint-plugin';
|
|
|
5
5
|
import { defineConfig } from 'eslint/config';
|
|
6
6
|
import eslintPluginImport from 'eslint-plugin-import';
|
|
7
7
|
import eslintPluginPrettier from 'eslint-plugin-prettier/recommended';
|
|
8
|
+
import eslintPluginReactHooks from 'eslint-plugin-react-hooks';
|
|
8
9
|
import eslintPluginSimpleImportSort from 'eslint-plugin-simple-import-sort';
|
|
9
10
|
import eslintPluginUnicorn from 'eslint-plugin-unicorn';
|
|
10
11
|
import eslintPluginYml from 'eslint-plugin-yml';
|
|
@@ -275,6 +276,12 @@ export default defineConfig([
|
|
|
275
276
|
'simple-import-sort/imports': 'error',
|
|
276
277
|
},
|
|
277
278
|
},
|
|
279
|
+
// React
|
|
280
|
+
{
|
|
281
|
+
...eslintPluginReactHooks.configs.flat.recommended,
|
|
282
|
+
name: 'cluerise: eslint/react-hooks',
|
|
283
|
+
files: ['**/*.{js,jsx,ts,tsx}'],
|
|
284
|
+
},
|
|
278
285
|
// Unicorn
|
|
279
286
|
{
|
|
280
287
|
...eslintPluginUnicorn.configs.recommended,
|
|
@@ -367,7 +367,7 @@ var ToolInitializer = class {
|
|
|
367
367
|
await FileUtils.copyFile(this.#configDirectory, ".nvmrc");
|
|
368
368
|
}
|
|
369
369
|
async #initPnpm() {
|
|
370
|
-
await FileUtils.createFile("pnpm-workspace.yaml", "engineStrict: true\ngitChecks: false\nincludeWorkspaceRoot: true\n\npublicHoistPattern:\n - '@commitlint/cli'\n - eslint\n - lint-staged\n - prettier\n - prettier-plugin-sh\n");
|
|
370
|
+
await FileUtils.createFile("pnpm-workspace.yaml", "engineStrict: true\ngitChecks: false\nincludeWorkspaceRoot: true\nminimumReleaseAge: 4320 # 3 days\nminimumReleaseAgeExclude:\n - '@cluerise/*'\n\npublicHoistPattern:\n - '@commitlint/cli'\n - eslint\n - lint-staged\n - prettier\n - prettier-plugin-sh\n");
|
|
371
371
|
}
|
|
372
372
|
async #initPrettier() {
|
|
373
373
|
const configPath = "prettier.config.js";
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@cluerise/tools",
|
|
3
|
-
"version": "5.
|
|
3
|
+
"version": "5.5.0",
|
|
4
4
|
"description": "Tools for maintaining TypeScript projects.",
|
|
5
5
|
"author": "Branislav Holý <brano@holy.am>",
|
|
6
6
|
"repository": "github:cluerise/tools",
|
|
@@ -24,16 +24,17 @@
|
|
|
24
24
|
"@commitlint/types": "20.5.0",
|
|
25
25
|
"@eslint/js": "9.39.4",
|
|
26
26
|
"@eslint/json": "1.2.0",
|
|
27
|
-
"@eslint/markdown": "8.0.
|
|
27
|
+
"@eslint/markdown": "8.0.1",
|
|
28
28
|
"@html-eslint/eslint-plugin": "0.58.1",
|
|
29
29
|
"@html-eslint/parser": "0.58.1",
|
|
30
|
-
"@typescript-eslint/parser": "8.
|
|
31
|
-
"conventional-changelog-conventionalcommits": "9.3.
|
|
30
|
+
"@typescript-eslint/parser": "8.58.0",
|
|
31
|
+
"conventional-changelog-conventionalcommits": "9.3.1",
|
|
32
32
|
"eslint": "9.39.4",
|
|
33
33
|
"eslint-config-prettier": "10.1.8",
|
|
34
34
|
"eslint-import-resolver-typescript": "4.4.4",
|
|
35
35
|
"eslint-plugin-import": "2.32.0",
|
|
36
36
|
"eslint-plugin-prettier": "5.5.5",
|
|
37
|
+
"eslint-plugin-react-hooks": "7.0.1",
|
|
37
38
|
"eslint-plugin-simple-import-sort": "12.1.1",
|
|
38
39
|
"eslint-plugin-unicorn": "64.0.0",
|
|
39
40
|
"eslint-plugin-yml": "3.3.1",
|
|
@@ -45,7 +46,7 @@
|
|
|
45
46
|
"semantic-release": "25.0.3",
|
|
46
47
|
"semver": "7.7.4",
|
|
47
48
|
"smol-toml": "1.6.1",
|
|
48
|
-
"typescript-eslint": "8.
|
|
49
|
+
"typescript-eslint": "8.58.0",
|
|
49
50
|
"zod": "4.3.6"
|
|
50
51
|
}
|
|
51
52
|
}
|