@mrpelz/boilerplate-common 16.0.0 → 16.2.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 +45 -4
- package/package.json +2 -2
package/Makefile
CHANGED
|
@@ -30,6 +30,15 @@
|
|
|
30
30
|
util_get_next_prerelease_version \
|
|
31
31
|
util_get_version \
|
|
32
32
|
util_install_git_hooks \
|
|
33
|
+
util_push_release_pre \
|
|
34
|
+
util_push_force_release_pre \
|
|
35
|
+
util_push_release_patch \
|
|
36
|
+
util_push_force_release_patch \
|
|
37
|
+
util_push_release_minor \
|
|
38
|
+
util_push_force_release_minor \
|
|
39
|
+
util_push_release_major \
|
|
40
|
+
util_push_force_release_major \
|
|
41
|
+
util_update_major \
|
|
33
42
|
watch \
|
|
34
43
|
watch_build \
|
|
35
44
|
watch_config \
|
|
@@ -58,16 +67,16 @@ SUB_RUN = \
|
|
|
58
67
|
exit 0; \
|
|
59
68
|
fi; \
|
|
60
69
|
\
|
|
61
|
-
echo; \
|
|
70
|
+
echo >&2; \
|
|
62
71
|
\
|
|
63
72
|
for SUB_PACKAGE in $(SUB_PACKAGE_DIR)/*; do \
|
|
64
|
-
echo "$$SUB_PACKAGE:$(@)"; \
|
|
73
|
+
echo "$$SUB_PACKAGE:$(@)" >&2; \
|
|
65
74
|
\
|
|
66
75
|
$(MAKE) -s -C "$$SUB_PACKAGE" sub_package="$$SUB_PACKAGE" "$(@)" || exit "$$?"; \
|
|
67
|
-
echo; \
|
|
76
|
+
echo >&2; \
|
|
68
77
|
done; \
|
|
69
78
|
\
|
|
70
|
-
echo "parent:$(@)";
|
|
79
|
+
echo "parent:$(@)" >&2;
|
|
71
80
|
|
|
72
81
|
ROOT_DIR := $(shell dirname $(realpath $(lastword $(MAKEFILE_LIST))))
|
|
73
82
|
|
|
@@ -289,6 +298,38 @@ util_get_version:
|
|
|
289
298
|
util_install_git_hooks:
|
|
290
299
|
husky
|
|
291
300
|
|
|
301
|
+
util_push_release_pre:
|
|
302
|
+
git push -u origin HEAD -o ci.variable="CI_RELEASE_TAG=pre" -o merge_request.label="release_pre"
|
|
303
|
+
|
|
304
|
+
util_push_force_release_pre:
|
|
305
|
+
git push -u origin HEAD --force -o ci.variable="CI_RELEASE_TAG=pre" -o merge_request.label="release_pre"
|
|
306
|
+
|
|
307
|
+
util_push_release_patch:
|
|
308
|
+
git push -u origin HEAD -o ci.variable="CI_RELEASE_TAG=patch"
|
|
309
|
+
|
|
310
|
+
util_push_force_release_patch:
|
|
311
|
+
git push -u origin HEAD --force -o ci.variable="CI_RELEASE_TAG=patch"
|
|
312
|
+
|
|
313
|
+
util_push_release_minor:
|
|
314
|
+
git push -u origin HEAD -o ci.variable="CI_RELEASE_TAG=minor"
|
|
315
|
+
|
|
316
|
+
util_push_force_release_minor:
|
|
317
|
+
git push -u origin HEAD --force -o ci.variable="CI_RELEASE_TAG=minor"
|
|
318
|
+
|
|
319
|
+
util_push_release_major:
|
|
320
|
+
git push -u origin HEAD -o ci.variable="CI_RELEASE_TAG=major"
|
|
321
|
+
|
|
322
|
+
util_push_force_release_major:
|
|
323
|
+
git push -u origin HEAD --force -o ci.variable="CI_RELEASE_TAG=major"
|
|
324
|
+
|
|
325
|
+
util_update_major:
|
|
326
|
+
$(SUB_RUN)
|
|
327
|
+
|
|
328
|
+
PACKAGE_SPECS=$$(npm outdated --parseable | cut -d ":" -f 4 | uniq | sed ':a; N; $!ba; s/\n/ /g'); \
|
|
329
|
+
echo "$${PACKAGE_SPECS}"; \
|
|
330
|
+
echo; \
|
|
331
|
+
npm install $${PACKAGE_SPECS} --audit=false --fund=false --save --save-exact;
|
|
332
|
+
|
|
292
333
|
watch:
|
|
293
334
|
scripts/watch.sh
|
|
294
335
|
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@mrpelz/boilerplate-common",
|
|
3
|
-
"version": "16.
|
|
3
|
+
"version": "16.2.0",
|
|
4
4
|
"repository": {
|
|
5
5
|
"type": "git",
|
|
6
6
|
"url": "https://github.com/mrpelz/boilerplate.git",
|
|
@@ -59,7 +59,7 @@
|
|
|
59
59
|
"semver": "7.8.5",
|
|
60
60
|
"sort-package-json": "4.0.0",
|
|
61
61
|
"ts-jest": "29.4.11",
|
|
62
|
-
"typescript": "
|
|
62
|
+
"typescript": "7.0.2"
|
|
63
63
|
},
|
|
64
64
|
"packageManager": "npm@11.14.1+sha512.6a8a4d67478497a2dbc6815cad72e64c43f33413717e242756047d466241ab39bee61e691683a64658e94496ec5f1a1c05e4a5ec62dcc773280dfd949443a367",
|
|
65
65
|
"devEngines": {
|