@mrpelz/boilerplate-common 15.3.0 → 15.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/Makefile +6 -0
- package/package.json +3 -2
package/Makefile
CHANGED
|
@@ -10,6 +10,7 @@
|
|
|
10
10
|
check_package_json_repository \
|
|
11
11
|
check_package_json_sort \
|
|
12
12
|
check_package_json_version \
|
|
13
|
+
check_package_lock \
|
|
13
14
|
check_test \
|
|
14
15
|
check_typescript \
|
|
15
16
|
transform \
|
|
@@ -80,6 +81,7 @@ PKG_REPO_TYPE := $(shell npm pkg get --workspaces=false repository.type 2>/dev/n
|
|
|
80
81
|
PKG_REPO_NAME := $(shell npm pkg get --workspaces=false repository.url 2>/dev/null | sed -nr 's/^"(.+)"$$/\1/p' 2>/dev/null | sed -nr 's/^(https|git)(:\/\/|@)(.+@)?([^\/:]+)[\/:]([^\/:]+)\/(.+)\.git$$/\5\/\6/p' 2>/dev/null)
|
|
81
82
|
PKG_REPO_DIRECTORY := $(shell npm pkg get --workspaces=false repository.directory 2>/dev/null | sed -nr 's/^"(.+)"$$/\1/p' 2>/dev/null)
|
|
82
83
|
|
|
84
|
+
PACKAGE_LOCK_LINT_ARGS := --empty-hostname false --validate-https --allowed-hosts npm
|
|
83
85
|
ESLINT_ARGS := --ignore-pattern "dist/**/*" --ignore-pattern "node_modules/**/*" --ignore-pattern "$(SUB_PACKAGE_DIR)/**/*"
|
|
84
86
|
|
|
85
87
|
%:
|
|
@@ -88,6 +90,7 @@ ESLINT_ARGS := --ignore-pattern "dist/**/*" --ignore-pattern "node_modules/**/*"
|
|
|
88
90
|
check: \
|
|
89
91
|
check_commit \
|
|
90
92
|
check_package_json \
|
|
93
|
+
check_package_lock \
|
|
91
94
|
check_lint \
|
|
92
95
|
check_config \
|
|
93
96
|
check_typescript \
|
|
@@ -176,6 +179,9 @@ check_package_json_version:
|
|
|
176
179
|
exit 1; \
|
|
177
180
|
fi;
|
|
178
181
|
|
|
182
|
+
check_package_lock:
|
|
183
|
+
lockfile-lint --path package-lock.json --type npm $(PACKAGE_LOCK_LINT_ARGS)
|
|
184
|
+
|
|
179
185
|
check_test:
|
|
180
186
|
$(SUB_RUN)
|
|
181
187
|
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@mrpelz/boilerplate-common",
|
|
3
|
-
"version": "15.
|
|
3
|
+
"version": "15.5.0",
|
|
4
4
|
"repository": {
|
|
5
5
|
"type": "git",
|
|
6
6
|
"url": "https://github.com/mrpelz/boilerplate.git",
|
|
@@ -53,6 +53,7 @@
|
|
|
53
53
|
"eslint-plugin-unicorn": "latest",
|
|
54
54
|
"husky": "latest",
|
|
55
55
|
"jest": "latest",
|
|
56
|
+
"lockfile-lint": "latest",
|
|
56
57
|
"nodemon": "latest",
|
|
57
58
|
"prettier": "latest",
|
|
58
59
|
"semver": "latest",
|
|
@@ -60,7 +61,7 @@
|
|
|
60
61
|
"ts-jest": "latest",
|
|
61
62
|
"typescript": "latest"
|
|
62
63
|
},
|
|
63
|
-
"packageManager": "npm@11.14.
|
|
64
|
+
"packageManager": "npm@11.14.1+sha512.6a8a4d67478497a2dbc6815cad72e64c43f33413717e242756047d466241ab39bee61e691683a64658e94496ec5f1a1c05e4a5ec62dcc773280dfd949443a367",
|
|
64
65
|
"devEngines": {
|
|
65
66
|
"packageManager": {
|
|
66
67
|
"name": "npm",
|