@mrpelz/boilerplate-common 8.2.5 → 8.4.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 +14 -19
- package/package.json +1 -1
- package/scripts/bootstrap.sh +4 -4
- package/scripts/watch-dev.sh +1 -1
- package/scripts/watch.sh +1 -1
- package/tsconfig.json +1 -0
package/Makefile
CHANGED
|
@@ -13,7 +13,7 @@
|
|
|
13
13
|
check_test \
|
|
14
14
|
check_typescript \
|
|
15
15
|
transform \
|
|
16
|
-
|
|
16
|
+
transform_build \
|
|
17
17
|
transform_lint \
|
|
18
18
|
transform_package_json \
|
|
19
19
|
transform_package_json_fix \
|
|
@@ -21,18 +21,17 @@
|
|
|
21
21
|
transform_package_json_sort \
|
|
22
22
|
transform_package_json_version \
|
|
23
23
|
transform_prod \
|
|
24
|
-
transform_typescript \
|
|
25
24
|
util_clear \
|
|
26
25
|
util_edit \
|
|
27
26
|
util_get_package_json \
|
|
28
27
|
util_get_version \
|
|
29
28
|
util_install_git_hooks \
|
|
30
29
|
watch \
|
|
30
|
+
watch_build \
|
|
31
31
|
watch_config \
|
|
32
32
|
watch_dev \
|
|
33
33
|
watch_lint \
|
|
34
|
-
watch_test
|
|
35
|
-
watch_typescript
|
|
34
|
+
watch_test
|
|
36
35
|
|
|
37
36
|
SHELL := /usr/bin/env bash
|
|
38
37
|
|
|
@@ -187,11 +186,12 @@ check_typescript:
|
|
|
187
186
|
transform: \
|
|
188
187
|
transform_package_json \
|
|
189
188
|
transform_lint \
|
|
190
|
-
|
|
189
|
+
transform_build
|
|
191
190
|
|
|
192
|
-
|
|
193
|
-
|
|
194
|
-
|
|
191
|
+
transform_build:
|
|
192
|
+
$(SUB_RUN)
|
|
193
|
+
|
|
194
|
+
tsc --project tsconfig.build.json
|
|
195
195
|
|
|
196
196
|
transform_lint:
|
|
197
197
|
$(SUB_RUN)
|
|
@@ -230,12 +230,7 @@ transform_package_json_version:
|
|
|
230
230
|
|
|
231
231
|
transform_prod: \
|
|
232
232
|
util_clear \
|
|
233
|
-
|
|
234
|
-
|
|
235
|
-
transform_typescript:
|
|
236
|
-
$(SUB_RUN)
|
|
237
|
-
|
|
238
|
-
tsc --project tsconfig.build.json
|
|
233
|
+
transform_build
|
|
239
234
|
|
|
240
235
|
util_clear:
|
|
241
236
|
$(SUB_RUN)
|
|
@@ -262,6 +257,9 @@ util_install_git_hooks:
|
|
|
262
257
|
watch:
|
|
263
258
|
scripts/watch.sh
|
|
264
259
|
|
|
260
|
+
watch_build:
|
|
261
|
+
tsc --project tsconfig.build.json --watch
|
|
262
|
+
|
|
265
263
|
watch_config:
|
|
266
264
|
tsc --project tsconfig.meta.json --watch
|
|
267
265
|
|
|
@@ -269,12 +267,9 @@ watch_dev:
|
|
|
269
267
|
scripts/watch-dev.sh
|
|
270
268
|
|
|
271
269
|
watch_lint:
|
|
272
|
-
nodemon --watch "**/*" --watch "src/**/*" --ignore "dist/**/*" --ignore "node_modules/**/*" --ignore "*.d.ts" --ext "js,mjs,ts" \
|
|
273
|
-
--exec 'eslint $(ESLINT_ARGS) .'; \
|
|
270
|
+
nodemon --quiet --watch "**/*" --watch "src/**/*" --ignore "dist/**/*" --ignore "node_modules/**/*" --ignore "*.d.ts" --ext "js,mjs,ts" \
|
|
271
|
+
--exec 'clear; eslint $(ESLINT_ARGS) .'; \
|
|
274
272
|
exit 0;
|
|
275
273
|
|
|
276
274
|
watch_test:
|
|
277
275
|
jest --watch .
|
|
278
|
-
|
|
279
|
-
watch_typescript:
|
|
280
|
-
tsc --project tsconfig.build.json --watch
|
package/package.json
CHANGED
package/scripts/bootstrap.sh
CHANGED
|
@@ -113,10 +113,10 @@ EOF
|
|
|
113
113
|
make_config .gitlab-ci.yml "$(
|
|
114
114
|
cat <<EOF
|
|
115
115
|
include:
|
|
116
|
-
|
|
117
|
-
|
|
118
|
-
|
|
119
|
-
|
|
116
|
+
- project: "mrpelz/boilerplate"
|
|
117
|
+
ref: main
|
|
118
|
+
file: "/gitlab/.gitlab-ci.yml"
|
|
119
|
+
# file: "/gitlab/.monorepo.gitlab-ci.yml"
|
|
120
120
|
EOF
|
|
121
121
|
)"
|
|
122
122
|
fi
|
package/scripts/watch-dev.sh
CHANGED
|
@@ -17,7 +17,7 @@ tmux \
|
|
|
17
17
|
set-option -p pane-border-format "eslint (eslint.config.json, includes files outside \"src\")" \; \
|
|
18
18
|
split-window -h -l 50% "make -s watch_test" \; \
|
|
19
19
|
set-option -p pane-border-format "jest (jest.config.json)" \; \
|
|
20
|
-
split-window -f -v -l 50% "make -s
|
|
20
|
+
split-window -f -v -l 50% "make -s watch_build" \; \
|
|
21
21
|
set-option -p pane-border-format "tsc (tsconfig.build.json, excludes test-files)" \; \
|
|
22
22
|
split-window -h -l 50% "make -s watch_config" \; \
|
|
23
23
|
set-option -p pane-border-format "tsc (tsconfig.meta.json, checks files outside \"src\")" \; \
|
package/scripts/watch.sh
CHANGED
|
@@ -17,7 +17,7 @@ tmux \
|
|
|
17
17
|
set-option -p pane-border-format "eslint (eslint.config.json, includes files outside \"src\")" \; \
|
|
18
18
|
split-window -h -l 50% "make -s watch_test" \; \
|
|
19
19
|
set-option -p pane-border-format "jest (jest.config.json)" \; \
|
|
20
|
-
split-window -f -v -l 50% "make -s
|
|
20
|
+
split-window -f -v -l 50% "make -s watch_build" \; \
|
|
21
21
|
set-option -p pane-border-format "tsc (tsconfig.build.json, excludes test-files)" \; \
|
|
22
22
|
split-window -h -l 50% "make -s watch_config" \; \
|
|
23
23
|
set-option -p pane-border-format "tsc (tsconfig.meta.json, checks files outside \"src\")" \; \
|