@mrpelz/boilerplate-common 15.7.0 → 16.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/Makefile +12 -41
- package/eslint.config.js +30 -0
- package/package.json +26 -26
package/Makefile
CHANGED
|
@@ -1,41 +1,6 @@
|
|
|
1
|
-
|
|
1
|
+
MAKEFLAGS += --always-make
|
|
2
2
|
|
|
3
|
-
.
|
|
4
|
-
check \
|
|
5
|
-
check_commit \
|
|
6
|
-
check_config \
|
|
7
|
-
check_lint \
|
|
8
|
-
check_package_json \
|
|
9
|
-
check_package_json_name \
|
|
10
|
-
check_package_json_repository \
|
|
11
|
-
check_package_json_sort \
|
|
12
|
-
check_package_json_version \
|
|
13
|
-
check_package_lock \
|
|
14
|
-
check_test \
|
|
15
|
-
check_typescript \
|
|
16
|
-
transform \
|
|
17
|
-
transform_build \
|
|
18
|
-
transform_lint \
|
|
19
|
-
transform_package_json \
|
|
20
|
-
transform_package_json_fix \
|
|
21
|
-
transform_package_json_name \
|
|
22
|
-
transform_package_json_sort \
|
|
23
|
-
transform_package_json_version \
|
|
24
|
-
transform_prod \
|
|
25
|
-
util_clear \
|
|
26
|
-
util_edit \
|
|
27
|
-
util_get_package_json \
|
|
28
|
-
util_get_package_spec \
|
|
29
|
-
util_get_package_spec_inner \
|
|
30
|
-
util_get_next_prerelease_version \
|
|
31
|
-
util_get_version \
|
|
32
|
-
util_install_git_hooks \
|
|
33
|
-
watch \
|
|
34
|
-
watch_build \
|
|
35
|
-
watch_config \
|
|
36
|
-
watch_dev \
|
|
37
|
-
watch_lint \
|
|
38
|
-
watch_test
|
|
3
|
+
.SILENT:
|
|
39
4
|
|
|
40
5
|
SHELL := /usr/bin/env bash
|
|
41
6
|
|
|
@@ -58,16 +23,16 @@ SUB_RUN = \
|
|
|
58
23
|
exit 0; \
|
|
59
24
|
fi; \
|
|
60
25
|
\
|
|
61
|
-
echo; \
|
|
26
|
+
echo >&2; \
|
|
62
27
|
\
|
|
63
28
|
for SUB_PACKAGE in $(SUB_PACKAGE_DIR)/*; do \
|
|
64
|
-
echo "$$SUB_PACKAGE:$(@)"; \
|
|
29
|
+
echo "$$SUB_PACKAGE:$(@)" >&2; \
|
|
65
30
|
\
|
|
66
31
|
$(MAKE) -s -C "$$SUB_PACKAGE" sub_package="$$SUB_PACKAGE" "$(@)" || exit "$$?"; \
|
|
67
|
-
echo; \
|
|
32
|
+
echo >&2; \
|
|
68
33
|
done; \
|
|
69
34
|
\
|
|
70
|
-
echo "parent:$(@)";
|
|
35
|
+
echo "parent:$(@)" >&2;
|
|
71
36
|
|
|
72
37
|
ROOT_DIR := $(shell dirname $(realpath $(lastword $(MAKEFILE_LIST))))
|
|
73
38
|
|
|
@@ -289,6 +254,12 @@ util_get_version:
|
|
|
289
254
|
util_install_git_hooks:
|
|
290
255
|
husky
|
|
291
256
|
|
|
257
|
+
util_update_major:
|
|
258
|
+
$(SUB_RUN)
|
|
259
|
+
|
|
260
|
+
PACKAGE_SPECS=$$(npm outdated --parseable | cat | cut -d ":" -f 4 | sed ':a; N; $!ba; s/\n/ /g'); \
|
|
261
|
+
npm install $${PACKAGE_SPECS} --audit=false --fund=false --save --save-exact;
|
|
262
|
+
|
|
292
263
|
watch:
|
|
293
264
|
scripts/watch.sh
|
|
294
265
|
|
package/eslint.config.js
CHANGED
|
@@ -436,21 +436,51 @@ export const rules = {
|
|
|
436
436
|
'template-curly-spacing': ['error', 'never'],
|
|
437
437
|
'template-tag-spacing': 'error',
|
|
438
438
|
'unicode-bom': ['error', 'never'],
|
|
439
|
+
'unicorn/class-reference-in-static-methods': 'off',
|
|
439
440
|
'unicorn/consistent-boolean-name': 'off',
|
|
441
|
+
'unicorn/consistent-class-member-order': 'off',
|
|
442
|
+
'unicorn/max-nested-calls': 'off',
|
|
440
443
|
'unicorn/name-replacements': 'off',
|
|
444
|
+
'unicorn/no-break-in-nested-loop': 'off',
|
|
445
|
+
'unicorn/no-computed-property-existence-check': 'off',
|
|
446
|
+
'unicorn/no-declarations-before-early-exit': 'off',
|
|
441
447
|
'unicorn/no-exports-in-scripts': 'off',
|
|
448
|
+
'unicorn/no-non-function-verb-prefix': 'off',
|
|
442
449
|
'unicorn/no-null': 'off',
|
|
450
|
+
'unicorn/no-return-array-push': 'off',
|
|
451
|
+
'unicorn/no-top-level-assignment-in-function': 'off',
|
|
452
|
+
'unicorn/no-top-level-side-effects': 'off',
|
|
453
|
+
'unicorn/no-unreadable-for-of-expression': 'off',
|
|
454
|
+
'unicorn/no-unreadable-object-destructuring': 'off',
|
|
455
|
+
'unicorn/no-unsafe-property-key': 'off',
|
|
456
|
+
'unicorn/no-useless-template-literals': 'off',
|
|
443
457
|
'unicorn/no-useless-undefined': 'off',
|
|
444
458
|
'unicorn/number-literal-case': 'off',
|
|
459
|
+
'unicorn/numeric-separators-style': 'off',
|
|
460
|
+
'unicorn/prefer-array-from-map': 'off',
|
|
445
461
|
'unicorn/prefer-await': 'off',
|
|
462
|
+
'unicorn/prefer-block-statement-over-iife': 'off',
|
|
463
|
+
'unicorn/prefer-boolean-return': 'off',
|
|
464
|
+
'unicorn/prefer-direct-iteration': 'off',
|
|
465
|
+
'unicorn/prefer-early-return': 'off',
|
|
466
|
+
'unicorn/prefer-else-if': 'off',
|
|
467
|
+
'unicorn/prefer-global-number-constants': 'off',
|
|
468
|
+
'unicorn/prefer-global-this': 'off',
|
|
469
|
+
'unicorn/prefer-https': 'off',
|
|
446
470
|
'unicorn/prefer-native-coercion-functions': 'off',
|
|
447
471
|
'unicorn/prefer-number-coercion': 'off',
|
|
472
|
+
'unicorn/prefer-number-is-safe-integer': 'off',
|
|
473
|
+
'unicorn/prefer-private-class-fields': 'off',
|
|
474
|
+
'unicorn/prefer-queue-microtask': 'off',
|
|
448
475
|
'unicorn/prefer-regexp-test': 'off',
|
|
449
476
|
'unicorn/prefer-set-has': 'off',
|
|
477
|
+
'unicorn/prefer-single-replace': 'off',
|
|
450
478
|
'unicorn/prefer-split-limit': 'off',
|
|
451
479
|
'unicorn/prefer-spread': 'off',
|
|
452
480
|
'unicorn/prefer-top-level-await': 'off',
|
|
481
|
+
'unicorn/prefer-unicode-code-point-escapes': 'off',
|
|
453
482
|
'unicorn/prevent-abbreviations': 'off',
|
|
483
|
+
'unicorn/require-array-sort-compare': 'off',
|
|
454
484
|
'use-isnan': 'error',
|
|
455
485
|
'vars-on-top': 'error',
|
|
456
486
|
'wrap-regex': 'error',
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@mrpelz/boilerplate-common",
|
|
3
|
-
"version": "
|
|
3
|
+
"version": "16.1.0",
|
|
4
4
|
"repository": {
|
|
5
5
|
"type": "git",
|
|
6
6
|
"url": "https://github.com/mrpelz/boilerplate.git",
|
|
@@ -35,31 +35,31 @@
|
|
|
35
35
|
"tsconfig.meta.json"
|
|
36
36
|
],
|
|
37
37
|
"dependencies": {
|
|
38
|
-
"@commitlint/cli": "
|
|
39
|
-
"@commitlint/config-conventional": "
|
|
40
|
-
"@commitlint/types": "
|
|
41
|
-
"@jest/globals": "
|
|
42
|
-
"@stylistic/eslint-plugin": "
|
|
43
|
-
"@types/eslint": "
|
|
44
|
-
"@typescript-eslint/eslint-plugin": "
|
|
45
|
-
"@typescript-eslint/parser": "
|
|
46
|
-
"@typescript-eslint/types": "
|
|
47
|
-
"deepmerge-ts": "
|
|
48
|
-
"eslint": "
|
|
49
|
-
"eslint-import-resolver-typescript": "
|
|
50
|
-
"eslint-plugin-import": "
|
|
51
|
-
"eslint-plugin-prettier": "
|
|
52
|
-
"eslint-plugin-simple-import-sort": "
|
|
53
|
-
"eslint-plugin-unicorn": "
|
|
54
|
-
"husky": "
|
|
55
|
-
"jest": "
|
|
56
|
-
"lockfile-lint": "
|
|
57
|
-
"nodemon": "
|
|
58
|
-
"prettier": "
|
|
59
|
-
"semver": "
|
|
60
|
-
"sort-package-json": "
|
|
61
|
-
"ts-jest": "
|
|
62
|
-
"typescript": "
|
|
38
|
+
"@commitlint/cli": "21.2.1",
|
|
39
|
+
"@commitlint/config-conventional": "21.2.0",
|
|
40
|
+
"@commitlint/types": "21.2.0",
|
|
41
|
+
"@jest/globals": "30.4.1",
|
|
42
|
+
"@stylistic/eslint-plugin": "5.10.0",
|
|
43
|
+
"@types/eslint": "9.6.1",
|
|
44
|
+
"@typescript-eslint/eslint-plugin": "8.63.0",
|
|
45
|
+
"@typescript-eslint/parser": "8.63.0",
|
|
46
|
+
"@typescript-eslint/types": "8.63.0",
|
|
47
|
+
"deepmerge-ts": "7.1.5",
|
|
48
|
+
"eslint": "10.6.0",
|
|
49
|
+
"eslint-import-resolver-typescript": "4.4.5",
|
|
50
|
+
"eslint-plugin-import": "2.32.0",
|
|
51
|
+
"eslint-plugin-prettier": "5.5.6",
|
|
52
|
+
"eslint-plugin-simple-import-sort": "13.0.0",
|
|
53
|
+
"eslint-plugin-unicorn": "71.1.0",
|
|
54
|
+
"husky": "9.1.7",
|
|
55
|
+
"jest": "30.4.2",
|
|
56
|
+
"lockfile-lint": "5.0.0",
|
|
57
|
+
"nodemon": "3.1.14",
|
|
58
|
+
"prettier": "3.9.4",
|
|
59
|
+
"semver": "7.8.5",
|
|
60
|
+
"sort-package-json": "4.0.0",
|
|
61
|
+
"ts-jest": "29.4.11",
|
|
62
|
+
"typescript": "7.0.2"
|
|
63
63
|
},
|
|
64
64
|
"packageManager": "npm@11.14.1+sha512.6a8a4d67478497a2dbc6815cad72e64c43f33413717e242756047d466241ab39bee61e691683a64658e94496ec5f1a1c05e4a5ec62dcc773280dfd949443a367",
|
|
65
65
|
"devEngines": {
|