@mrpelz/boilerplate-common 8.3.0 → 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 CHANGED
@@ -13,7 +13,7 @@
13
13
  check_test \
14
14
  check_typescript \
15
15
  transform \
16
- transform_clear \
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
- transform_typescript
189
+ transform_build
191
190
 
192
- transform_clear: \
193
- util_clear \
194
- transform
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
- transform_typescript
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
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@mrpelz/boilerplate-common",
3
- "version": "8.3.0",
3
+ "version": "8.4.0",
4
4
  "repository": {
5
5
  "type": "git",
6
6
  "url": "https://github.com/mrpelz/boilerplate.git",
@@ -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 watch_typescript" \; \
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 watch_typescript" \; \
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/tsconfig.json CHANGED
@@ -15,6 +15,7 @@
15
15
  "noEmit": true,
16
16
  "noImplicitAny": true,
17
17
  "noImplicitReturns": true,
18
+ "outDir": "dist",
18
19
  "sourceMap": true,
19
20
  "strictNullChecks": true,
20
21
  "target": "ESNext",