@cluerise/tools 5.0.2 → 5.1.1
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.
|
@@ -18,7 +18,9 @@ worker-configuration.d.ts
|
|
|
18
18
|
# Dependencies
|
|
19
19
|
node_modules/
|
|
20
20
|
|
|
21
|
-
# .env, .envrc
|
|
21
|
+
# .dev.vars, .env, .envrc
|
|
22
|
+
.dev.vars
|
|
23
|
+
.dev.vars.*
|
|
22
24
|
.env
|
|
23
25
|
.env.*
|
|
24
26
|
.envrc
|
|
@@ -41,6 +43,9 @@ yarn.lock
|
|
|
41
43
|
etc/
|
|
42
44
|
.DS_Store
|
|
43
45
|
|
|
46
|
+
# NPM, PNPM
|
|
47
|
+
.npmrc.*
|
|
48
|
+
|
|
44
49
|
# Stryker
|
|
45
50
|
.stryker-tmp/
|
|
46
51
|
|
package/dist/configs/_gitignore
CHANGED
|
@@ -208,8 +208,16 @@ export default defineConfig([
|
|
|
208
208
|
name: 'cluerise: eslint/unicorn/rules',
|
|
209
209
|
rules: {
|
|
210
210
|
'unicorn/expiring-todo-comments': 'off',
|
|
211
|
+
'unicorn/filename-case': [
|
|
212
|
+
'error',
|
|
213
|
+
{
|
|
214
|
+
case: 'kebabCase',
|
|
215
|
+
ignore: [String.raw`\.md$`]
|
|
216
|
+
}
|
|
217
|
+
],
|
|
211
218
|
'unicorn/no-null': 'off',
|
|
212
219
|
'unicorn/no-static-only-class': 'off',
|
|
220
|
+
'unicorn/no-useless-undefined': 'off',
|
|
213
221
|
'unicorn/prevent-abbreviations': [
|
|
214
222
|
'error',
|
|
215
223
|
{
|
|
@@ -220,6 +228,7 @@ export default defineConfig([
|
|
|
220
228
|
dist: false,
|
|
221
229
|
env: false,
|
|
222
230
|
envs: false,
|
|
231
|
+
e2e: false,
|
|
223
232
|
param: false,
|
|
224
233
|
params: false,
|
|
225
234
|
prev: false,
|
|
@@ -233,8 +242,7 @@ export default defineConfig([
|
|
|
233
242
|
}
|
|
234
243
|
}
|
|
235
244
|
],
|
|
236
|
-
'unicorn/switch-case-braces': ['error', 'avoid']
|
|
237
|
-
'unicorn/filename-case': ['error', { case: 'kebabCase', ignore: [String.raw`\.md$`] }]
|
|
245
|
+
'unicorn/switch-case-braces': ['error', 'avoid']
|
|
238
246
|
}
|
|
239
247
|
},
|
|
240
248
|
// HTML
|
|
@@ -285,7 +293,9 @@ export default defineConfig([
|
|
|
285
293
|
// Dependencies
|
|
286
294
|
'**/node_modules/',
|
|
287
295
|
|
|
288
|
-
// .env, .envrc
|
|
296
|
+
// .dev.vars, .env, .envrc
|
|
297
|
+
'**/.dev.vars',
|
|
298
|
+
'**/.dev.vars.*',
|
|
289
299
|
'**/.env',
|
|
290
300
|
'**/.env.*',
|
|
291
301
|
'**/.envrc',
|
|
@@ -328,6 +338,9 @@ export default defineConfig([
|
|
|
328
338
|
'**/etc/',
|
|
329
339
|
'**/.DS_Store',
|
|
330
340
|
|
|
341
|
+
// NPM, PNPM
|
|
342
|
+
'**/.npmrc.*',
|
|
343
|
+
|
|
331
344
|
// Stryker
|
|
332
345
|
'**/.stryker-tmp/',
|
|
333
346
|
|
|
@@ -7,8 +7,8 @@
|
|
|
7
7
|
"isolatedModules": true,
|
|
8
8
|
"jsx": "preserve",
|
|
9
9
|
"lib": ["esnext"],
|
|
10
|
-
"module": "
|
|
11
|
-
"moduleResolution": "
|
|
10
|
+
"module": "nodenext",
|
|
11
|
+
"moduleResolution": "nodenext",
|
|
12
12
|
"noEmit": true,
|
|
13
13
|
"noUncheckedIndexedAccess": true,
|
|
14
14
|
"noUnusedLocals": true,
|
|
@@ -315,7 +315,7 @@ class ToolInitializer {
|
|
|
315
315
|
async #initCommitlint() {
|
|
316
316
|
const configName = "commitlint.config";
|
|
317
317
|
const configPath = `${configName}.ts`;
|
|
318
|
-
const configContent = `export { default } from '${this.#configPackage}/${configName}';
|
|
318
|
+
const configContent = `export { default } from '${this.#configPackage}/${configName}.js';
|
|
319
319
|
`;
|
|
320
320
|
await FileUtils.createFile(configPath, configContent);
|
|
321
321
|
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@cluerise/tools",
|
|
3
|
-
"version": "5.
|
|
3
|
+
"version": "5.1.1",
|
|
4
4
|
"description": "Tools for maintaining TypeScript projects.",
|
|
5
5
|
"author": "Branislav Holý <brano@holy.am>",
|
|
6
6
|
"repository": "github:cluerise/tools",
|
|
@@ -22,14 +22,14 @@
|
|
|
22
22
|
"@commitlint/config-conventional": "19.8.1",
|
|
23
23
|
"@commitlint/load": "19.8.1",
|
|
24
24
|
"@commitlint/types": "19.8.1",
|
|
25
|
-
"@eslint/js": "9.
|
|
25
|
+
"@eslint/js": "9.30.0",
|
|
26
26
|
"@eslint/json": "0.12.0",
|
|
27
27
|
"@eslint/markdown": "6.6.0",
|
|
28
28
|
"@html-eslint/eslint-plugin": "0.42.0",
|
|
29
29
|
"@html-eslint/parser": "0.42.0",
|
|
30
30
|
"@typescript-eslint/parser": "8.35.0",
|
|
31
31
|
"conventional-changelog-conventionalcommits": "9.0.0",
|
|
32
|
-
"eslint": "9.
|
|
32
|
+
"eslint": "9.30.0",
|
|
33
33
|
"eslint-config-prettier": "10.1.5",
|
|
34
34
|
"eslint-import-resolver-typescript": "4.4.4",
|
|
35
35
|
"eslint-plugin-import": "2.32.0",
|
|
@@ -40,11 +40,11 @@
|
|
|
40
40
|
"glob": "11.0.3",
|
|
41
41
|
"globals": "16.2.0",
|
|
42
42
|
"lint-staged": "16.1.2",
|
|
43
|
-
"prettier": "3.6.
|
|
43
|
+
"prettier": "3.6.2",
|
|
44
44
|
"prettier-plugin-sh": "0.18.0",
|
|
45
45
|
"semantic-release": "24.2.5",
|
|
46
46
|
"semver": "7.7.2",
|
|
47
|
-
"smol-toml": "1.
|
|
47
|
+
"smol-toml": "1.4.0",
|
|
48
48
|
"typescript-eslint": "8.35.0",
|
|
49
49
|
"zod": "3.25.67"
|
|
50
50
|
}
|