📺 tsc-alias

This commit is contained in:
2026-05-20 15:24:20 +02:00
parent e4e41197b9
commit 7c925d1fdb
9 changed files with 212 additions and 113 deletions
+4
View File
@@ -6,17 +6,21 @@ set -eo pipefail # this can be harmful, see https://www.youtube.com/watch?v=4Jo3
}
# depends on
declare -r tsc='node_modules/.bin/tsc'
declare -r tscAlias='node_modules/.bin/tsc-alias'
help(){
if ! isHelp "${@}"; then return 0; fi
echoReadmeInfo
echo
$tsc --help
$tscAlias --help
exit 0
}
main(){
help "${@}"
$tsc "${@}"
echo "$tscAlias ${@}"
$tscAlias "${@}"
}
main "${@}"
-2
View File
@@ -4,8 +4,6 @@ set -eo pipefail # this can be harmful, see https://www.youtube.com/watch?v=4Jo3
echo 'Please run this script from the project root directory' >&2;
exit 1;
}
# "start:build": "web-dev-server --root-dir dist --app-index index.html --open",
# "start": "tsc && concurrently -k -r \"tsc --watch --preserveWatchOutput\" \"web-dev-server\""
# depends on
declare -r server='node_modules/.bin/web-dev-server'
declare -r lint='bs/lint'
-2
View File
@@ -12,8 +12,6 @@ help(){
if ! isHelp "${@}"; then return 0; fi
echoReadmeInfo
cat <<EOF
Options:
--watch, -w Runs in watch mode
EOF
$wtr --help