@tsed/cli-plugin-eslint 3.19.2 → 3.19.3
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/package.json
CHANGED
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@tsed/cli-plugin-eslint",
|
|
3
|
-
"version": "3.19.
|
|
3
|
+
"version": "3.19.3",
|
|
4
4
|
"main": "./lib/index.js",
|
|
5
5
|
"typings": "./lib/index.d.ts",
|
|
6
6
|
"description": "Ts.ED CLI plugin. Add EsLint support",
|
|
7
7
|
"devDependencies": {
|
|
8
|
-
"@tsed/cli": "3.19.
|
|
9
|
-
"@tsed/cli-core": "3.19.
|
|
8
|
+
"@tsed/cli": "3.19.3",
|
|
9
|
+
"@tsed/cli-core": "3.19.3"
|
|
10
10
|
},
|
|
11
11
|
"scripts": {
|
|
12
12
|
"build": "tsc --build tsconfig.compile.json",
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
_
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
*
|
|
@@ -0,0 +1,31 @@
|
|
|
1
|
+
#!/bin/sh
|
|
2
|
+
if [ -z "$husky_skip_init" ]; then
|
|
3
|
+
debug () {
|
|
4
|
+
if [ "$HUSKY_DEBUG" = "1" ]; then
|
|
5
|
+
echo "husky (debug) - $1"
|
|
6
|
+
fi
|
|
7
|
+
}
|
|
8
|
+
|
|
9
|
+
readonly hook_name="$(basename "$0")"
|
|
10
|
+
debug "starting $hook_name..."
|
|
11
|
+
|
|
12
|
+
if [ "$HUSKY" = "0" ]; then
|
|
13
|
+
debug "HUSKY env variable is set to 0, skipping hook"
|
|
14
|
+
exit 0
|
|
15
|
+
fi
|
|
16
|
+
|
|
17
|
+
if [ -f ~/.huskyrc ]; then
|
|
18
|
+
debug "sourcing ~/.huskyrc"
|
|
19
|
+
. ~/.huskyrc
|
|
20
|
+
fi
|
|
21
|
+
|
|
22
|
+
export readonly husky_skip_init=1
|
|
23
|
+
sh -e "$0" "$@"
|
|
24
|
+
exitCode="$?"
|
|
25
|
+
|
|
26
|
+
if [ $exitCode != 0 ]; then
|
|
27
|
+
echo "husky - $hook_name hook exited with code $exitCode (error)"
|
|
28
|
+
fi
|
|
29
|
+
|
|
30
|
+
exit $exitCode
|
|
31
|
+
fi
|