@tailor-platform/create-sdk 2.23.0 → 2.25.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/CHANGELOG.md +8 -0
- package/package.json +3 -3
- package/templates/executor/node_modules/.bin/oxfmt +31 -9
- package/templates/executor/node_modules/.bin/oxlint +31 -9
- package/templates/executor/node_modules/.bin/tailor +23 -1
- package/templates/executor/node_modules/.bin/tsc +23 -1
- package/templates/executor/node_modules/.bin/tsgolint +23 -1
- package/templates/executor/node_modules/.bin/tsserver +23 -1
- package/templates/executor/node_modules/.bin/vite +96 -0
- package/templates/executor/node_modules/.bin/vitest +31 -9
- package/templates/executor/package.json +4 -4
- package/templates/generators/node_modules/.bin/oxfmt +31 -9
- package/templates/generators/node_modules/.bin/oxlint +31 -9
- package/templates/generators/node_modules/.bin/tailor +23 -1
- package/templates/generators/node_modules/.bin/tailor-seed +23 -1
- package/templates/generators/node_modules/.bin/tsc +23 -1
- package/templates/generators/node_modules/.bin/tsgolint +23 -1
- package/templates/generators/node_modules/.bin/tsserver +23 -1
- package/templates/generators/node_modules/.bin/vite +96 -0
- package/templates/generators/node_modules/.bin/vitest +31 -9
- package/templates/generators/package.json +5 -5
- package/templates/hello-world/node_modules/.bin/oxfmt +31 -9
- package/templates/hello-world/node_modules/.bin/oxlint +31 -9
- package/templates/hello-world/node_modules/.bin/tailor +23 -1
- package/templates/hello-world/node_modules/.bin/tsc +23 -1
- package/templates/hello-world/node_modules/.bin/tsgolint +23 -1
- package/templates/hello-world/node_modules/.bin/tsserver +23 -1
- package/templates/hello-world/package.json +4 -4
- package/templates/inventory-management/node_modules/.bin/oxfmt +31 -9
- package/templates/inventory-management/node_modules/.bin/oxlint +31 -9
- package/templates/inventory-management/node_modules/.bin/tailor +23 -1
- package/templates/inventory-management/node_modules/.bin/tsc +23 -1
- package/templates/inventory-management/node_modules/.bin/tsgolint +23 -1
- package/templates/inventory-management/node_modules/.bin/tsserver +23 -1
- package/templates/inventory-management/package.json +4 -4
- package/templates/multi-application/node_modules/.bin/oxfmt +31 -9
- package/templates/multi-application/node_modules/.bin/oxlint +31 -9
- package/templates/multi-application/node_modules/.bin/tailor +23 -1
- package/templates/multi-application/node_modules/.bin/tsc +23 -1
- package/templates/multi-application/node_modules/.bin/tsgolint +23 -1
- package/templates/multi-application/node_modules/.bin/tsserver +23 -1
- package/templates/multi-application/package.json +4 -4
- package/templates/resolver/node_modules/.bin/oxfmt +31 -9
- package/templates/resolver/node_modules/.bin/oxlint +31 -9
- package/templates/resolver/node_modules/.bin/tailor +23 -1
- package/templates/resolver/node_modules/.bin/tsc +23 -1
- package/templates/resolver/node_modules/.bin/tsgolint +23 -1
- package/templates/resolver/node_modules/.bin/tsserver +23 -1
- package/templates/resolver/node_modules/.bin/vite +96 -0
- package/templates/resolver/node_modules/.bin/vitest +31 -9
- package/templates/resolver/package.json +4 -4
- package/templates/static-web-site/node_modules/.bin/oxfmt +31 -9
- package/templates/static-web-site/node_modules/.bin/oxlint +31 -9
- package/templates/static-web-site/node_modules/.bin/tailor +23 -1
- package/templates/static-web-site/node_modules/.bin/tsc +23 -1
- package/templates/static-web-site/node_modules/.bin/tsgolint +23 -1
- package/templates/static-web-site/node_modules/.bin/tsserver +23 -1
- package/templates/static-web-site/package.json +4 -4
- package/templates/tailordb/node_modules/.bin/oxfmt +31 -9
- package/templates/tailordb/node_modules/.bin/oxlint +31 -9
- package/templates/tailordb/node_modules/.bin/tailor +23 -1
- package/templates/tailordb/node_modules/.bin/tsc +23 -1
- package/templates/tailordb/node_modules/.bin/tsgolint +23 -1
- package/templates/tailordb/node_modules/.bin/tsserver +23 -1
- package/templates/tailordb/node_modules/.bin/vite +96 -0
- package/templates/tailordb/node_modules/.bin/vitest +31 -9
- package/templates/tailordb/package.json +4 -4
- package/templates/workflow/node_modules/.bin/oxfmt +31 -9
- package/templates/workflow/node_modules/.bin/oxlint +31 -9
- package/templates/workflow/node_modules/.bin/tailor +23 -1
- package/templates/workflow/node_modules/.bin/tsc +23 -1
- package/templates/workflow/node_modules/.bin/tsgolint +23 -1
- package/templates/workflow/node_modules/.bin/tsserver +23 -1
- package/templates/workflow/node_modules/.bin/vite +96 -0
- package/templates/workflow/node_modules/.bin/vitest +31 -9
- package/templates/workflow/package.json +4 -4
|
@@ -7,6 +7,24 @@
|
|
|
7
7
|
# path instead. A dependency's bin cannot stand in for one of them and take over
|
|
8
8
|
# the shim before it reaches its target. Directories come from `${link%/*}`,
|
|
9
9
|
# which needs no helper at all.
|
|
10
|
+
#
|
|
11
|
+
# Where no default path is compiled in, as on Nix, `command -p` searches PATH
|
|
12
|
+
# instead, so the helpers run with node_modules and relative entries dropped from
|
|
13
|
+
# PATH.
|
|
14
|
+
caller_path_set=${PATH+set}
|
|
15
|
+
caller_path=${PATH-}
|
|
16
|
+
helper_path=
|
|
17
|
+
rest=$caller_path:
|
|
18
|
+
while [ -n "$rest" ]; do
|
|
19
|
+
dir=${rest%%:*}
|
|
20
|
+
rest=${rest#*:}
|
|
21
|
+
case "$dir" in
|
|
22
|
+
*/node_modules/*|*/node_modules) ;;
|
|
23
|
+
/*) helper_path=${helper_path:+$helper_path:}$dir ;;
|
|
24
|
+
esac
|
|
25
|
+
done
|
|
26
|
+
# An empty PATH searches the current directory.
|
|
27
|
+
PATH=${helper_path:-/}
|
|
10
28
|
link="$0"
|
|
11
29
|
# `${link%/*}` needs a separator to strip. A bare name came from a PATH lookup
|
|
12
30
|
# and stands for a file in the current directory.
|
|
@@ -25,6 +43,8 @@ while [ -L "$link" ] && [ "$hops" -lt 40 ]; do
|
|
|
25
43
|
done
|
|
26
44
|
basedir=$(command -p printf '%s\n' "$link" | command -p sed -e 's,\\,/,g')
|
|
27
45
|
basedir="${basedir%/*}"
|
|
46
|
+
basedir_abs=$(CDPATH= cd -P -- "$basedir" && pwd -P) || exit $?
|
|
47
|
+
basedir="$basedir_abs"
|
|
28
48
|
basedir_win="$basedir"
|
|
29
49
|
exe=""
|
|
30
50
|
msys=""
|
|
@@ -53,8 +73,8 @@ case `command -p uname -a` in
|
|
|
53
73
|
fi
|
|
54
74
|
;;
|
|
55
75
|
esac
|
|
76
|
+
if [ -n "$caller_path_set" ]; then PATH=$caller_path; else unset PATH; fi
|
|
56
77
|
|
|
57
|
-
basedir_abs=$(CDPATH= cd -P -- "$basedir" && pwd -P) || exit $?
|
|
58
78
|
if [ -z "$NODE_PATH" ]; then
|
|
59
79
|
export NODE_PATH="$basedir_abs/../../../../../../node_modules/.pnpm/typescript@6.0.3/node_modules/typescript/node_modules:$basedir_abs/../../../../../../node_modules/.pnpm/typescript@6.0.3/node_modules:$basedir_abs/../../../../../../node_modules/.pnpm/node_modules"
|
|
60
80
|
else
|
|
@@ -64,6 +84,8 @@ if [ -n "$exe" ] && [ -x "$basedir/node.exe" ]; then
|
|
|
64
84
|
exec "$basedir/node.exe" "$basedir_win/../../../../../../node_modules/.pnpm/typescript@6.0.3/node_modules/typescript/bin/tsc" "$@"
|
|
65
85
|
elif [ -x "$basedir/node" ]; then
|
|
66
86
|
exec "$basedir/node" "$basedir_abs/../../../../../../node_modules/.pnpm/typescript@6.0.3/node_modules/typescript/bin/tsc" "$@"
|
|
87
|
+
elif [ -n "$msys" ] && command -v node >/dev/null 2>&1; then
|
|
88
|
+
exec node "$basedir_win/../../../../../../node_modules/.pnpm/typescript@6.0.3/node_modules/typescript/bin/tsc" "$@"
|
|
67
89
|
elif command -v node >/dev/null 2>&1; then
|
|
68
90
|
exec node "$basedir_abs/../../../../../../node_modules/.pnpm/typescript@6.0.3/node_modules/typescript/bin/tsc" "$@"
|
|
69
91
|
elif [ -n "$exe" ] && command -v node.exe >/dev/null 2>&1; then
|
|
@@ -7,6 +7,24 @@
|
|
|
7
7
|
# path instead. A dependency's bin cannot stand in for one of them and take over
|
|
8
8
|
# the shim before it reaches its target. Directories come from `${link%/*}`,
|
|
9
9
|
# which needs no helper at all.
|
|
10
|
+
#
|
|
11
|
+
# Where no default path is compiled in, as on Nix, `command -p` searches PATH
|
|
12
|
+
# instead, so the helpers run with node_modules and relative entries dropped from
|
|
13
|
+
# PATH.
|
|
14
|
+
caller_path_set=${PATH+set}
|
|
15
|
+
caller_path=${PATH-}
|
|
16
|
+
helper_path=
|
|
17
|
+
rest=$caller_path:
|
|
18
|
+
while [ -n "$rest" ]; do
|
|
19
|
+
dir=${rest%%:*}
|
|
20
|
+
rest=${rest#*:}
|
|
21
|
+
case "$dir" in
|
|
22
|
+
*/node_modules/*|*/node_modules) ;;
|
|
23
|
+
/*) helper_path=${helper_path:+$helper_path:}$dir ;;
|
|
24
|
+
esac
|
|
25
|
+
done
|
|
26
|
+
# An empty PATH searches the current directory.
|
|
27
|
+
PATH=${helper_path:-/}
|
|
10
28
|
link="$0"
|
|
11
29
|
# `${link%/*}` needs a separator to strip. A bare name came from a PATH lookup
|
|
12
30
|
# and stands for a file in the current directory.
|
|
@@ -25,6 +43,8 @@ while [ -L "$link" ] && [ "$hops" -lt 40 ]; do
|
|
|
25
43
|
done
|
|
26
44
|
basedir=$(command -p printf '%s\n' "$link" | command -p sed -e 's,\\,/,g')
|
|
27
45
|
basedir="${basedir%/*}"
|
|
46
|
+
basedir_abs=$(CDPATH= cd -P -- "$basedir" && pwd -P) || exit $?
|
|
47
|
+
basedir="$basedir_abs"
|
|
28
48
|
basedir_win="$basedir"
|
|
29
49
|
exe=""
|
|
30
50
|
msys=""
|
|
@@ -53,8 +73,8 @@ case `command -p uname -a` in
|
|
|
53
73
|
fi
|
|
54
74
|
;;
|
|
55
75
|
esac
|
|
76
|
+
if [ -n "$caller_path_set" ]; then PATH=$caller_path; else unset PATH; fi
|
|
56
77
|
|
|
57
|
-
basedir_abs=$(CDPATH= cd -P -- "$basedir" && pwd -P) || exit $?
|
|
58
78
|
if [ -z "$NODE_PATH" ]; then
|
|
59
79
|
export NODE_PATH="$basedir_abs/../../../../../../node_modules/.pnpm/oxlint-tsgolint@7.0.2003/node_modules/oxlint-tsgolint/node_modules:$basedir_abs/../../../../../../node_modules/.pnpm/oxlint-tsgolint@7.0.2003/node_modules:$basedir_abs/../../../../../../node_modules/.pnpm/node_modules"
|
|
60
80
|
else
|
|
@@ -64,6 +84,8 @@ if [ -n "$exe" ] && [ -x "$basedir/node.exe" ]; then
|
|
|
64
84
|
exec "$basedir/node.exe" "$basedir_win/../../../../../../node_modules/.pnpm/oxlint-tsgolint@7.0.2003/node_modules/oxlint-tsgolint/bin/tsgolint.js" "$@"
|
|
65
85
|
elif [ -x "$basedir/node" ]; then
|
|
66
86
|
exec "$basedir/node" "$basedir_abs/../../../../../../node_modules/.pnpm/oxlint-tsgolint@7.0.2003/node_modules/oxlint-tsgolint/bin/tsgolint.js" "$@"
|
|
87
|
+
elif [ -n "$msys" ] && command -v node >/dev/null 2>&1; then
|
|
88
|
+
exec node "$basedir_win/../../../../../../node_modules/.pnpm/oxlint-tsgolint@7.0.2003/node_modules/oxlint-tsgolint/bin/tsgolint.js" "$@"
|
|
67
89
|
elif command -v node >/dev/null 2>&1; then
|
|
68
90
|
exec node "$basedir_abs/../../../../../../node_modules/.pnpm/oxlint-tsgolint@7.0.2003/node_modules/oxlint-tsgolint/bin/tsgolint.js" "$@"
|
|
69
91
|
elif [ -n "$exe" ] && command -v node.exe >/dev/null 2>&1; then
|
|
@@ -7,6 +7,24 @@
|
|
|
7
7
|
# path instead. A dependency's bin cannot stand in for one of them and take over
|
|
8
8
|
# the shim before it reaches its target. Directories come from `${link%/*}`,
|
|
9
9
|
# which needs no helper at all.
|
|
10
|
+
#
|
|
11
|
+
# Where no default path is compiled in, as on Nix, `command -p` searches PATH
|
|
12
|
+
# instead, so the helpers run with node_modules and relative entries dropped from
|
|
13
|
+
# PATH.
|
|
14
|
+
caller_path_set=${PATH+set}
|
|
15
|
+
caller_path=${PATH-}
|
|
16
|
+
helper_path=
|
|
17
|
+
rest=$caller_path:
|
|
18
|
+
while [ -n "$rest" ]; do
|
|
19
|
+
dir=${rest%%:*}
|
|
20
|
+
rest=${rest#*:}
|
|
21
|
+
case "$dir" in
|
|
22
|
+
*/node_modules/*|*/node_modules) ;;
|
|
23
|
+
/*) helper_path=${helper_path:+$helper_path:}$dir ;;
|
|
24
|
+
esac
|
|
25
|
+
done
|
|
26
|
+
# An empty PATH searches the current directory.
|
|
27
|
+
PATH=${helper_path:-/}
|
|
10
28
|
link="$0"
|
|
11
29
|
# `${link%/*}` needs a separator to strip. A bare name came from a PATH lookup
|
|
12
30
|
# and stands for a file in the current directory.
|
|
@@ -25,6 +43,8 @@ while [ -L "$link" ] && [ "$hops" -lt 40 ]; do
|
|
|
25
43
|
done
|
|
26
44
|
basedir=$(command -p printf '%s\n' "$link" | command -p sed -e 's,\\,/,g')
|
|
27
45
|
basedir="${basedir%/*}"
|
|
46
|
+
basedir_abs=$(CDPATH= cd -P -- "$basedir" && pwd -P) || exit $?
|
|
47
|
+
basedir="$basedir_abs"
|
|
28
48
|
basedir_win="$basedir"
|
|
29
49
|
exe=""
|
|
30
50
|
msys=""
|
|
@@ -53,8 +73,8 @@ case `command -p uname -a` in
|
|
|
53
73
|
fi
|
|
54
74
|
;;
|
|
55
75
|
esac
|
|
76
|
+
if [ -n "$caller_path_set" ]; then PATH=$caller_path; else unset PATH; fi
|
|
56
77
|
|
|
57
|
-
basedir_abs=$(CDPATH= cd -P -- "$basedir" && pwd -P) || exit $?
|
|
58
78
|
if [ -z "$NODE_PATH" ]; then
|
|
59
79
|
export NODE_PATH="$basedir_abs/../../../../../../node_modules/.pnpm/typescript@6.0.3/node_modules/typescript/node_modules:$basedir_abs/../../../../../../node_modules/.pnpm/typescript@6.0.3/node_modules:$basedir_abs/../../../../../../node_modules/.pnpm/node_modules"
|
|
60
80
|
else
|
|
@@ -64,6 +84,8 @@ if [ -n "$exe" ] && [ -x "$basedir/node.exe" ]; then
|
|
|
64
84
|
exec "$basedir/node.exe" "$basedir_win/../../../../../../node_modules/.pnpm/typescript@6.0.3/node_modules/typescript/bin/tsserver" "$@"
|
|
65
85
|
elif [ -x "$basedir/node" ]; then
|
|
66
86
|
exec "$basedir/node" "$basedir_abs/../../../../../../node_modules/.pnpm/typescript@6.0.3/node_modules/typescript/bin/tsserver" "$@"
|
|
87
|
+
elif [ -n "$msys" ] && command -v node >/dev/null 2>&1; then
|
|
88
|
+
exec node "$basedir_win/../../../../../../node_modules/.pnpm/typescript@6.0.3/node_modules/typescript/bin/tsserver" "$@"
|
|
67
89
|
elif command -v node >/dev/null 2>&1; then
|
|
68
90
|
exec node "$basedir_abs/../../../../../../node_modules/.pnpm/typescript@6.0.3/node_modules/typescript/bin/tsserver" "$@"
|
|
69
91
|
elif [ -n "$exe" ] && command -v node.exe >/dev/null 2>&1; then
|
|
@@ -13,10 +13,10 @@
|
|
|
13
13
|
},
|
|
14
14
|
"devDependencies": {
|
|
15
15
|
"@tailor-platform/eslint-plugin-sdk": "0.3.0",
|
|
16
|
-
"@tailor-platform/sdk": "2.
|
|
17
|
-
"@types/node": "24.
|
|
18
|
-
"oxfmt": "0.
|
|
19
|
-
"oxlint": "1.
|
|
16
|
+
"@tailor-platform/sdk": "2.25.0",
|
|
17
|
+
"@types/node": "24.19.0",
|
|
18
|
+
"oxfmt": "0.71.0",
|
|
19
|
+
"oxlint": "1.86.0",
|
|
20
20
|
"oxlint-tsgolint": "7.0.2003",
|
|
21
21
|
"typescript": "6.0.3"
|
|
22
22
|
}
|
|
@@ -7,6 +7,24 @@
|
|
|
7
7
|
# path instead. A dependency's bin cannot stand in for one of them and take over
|
|
8
8
|
# the shim before it reaches its target. Directories come from `${link%/*}`,
|
|
9
9
|
# which needs no helper at all.
|
|
10
|
+
#
|
|
11
|
+
# Where no default path is compiled in, as on Nix, `command -p` searches PATH
|
|
12
|
+
# instead, so the helpers run with node_modules and relative entries dropped from
|
|
13
|
+
# PATH.
|
|
14
|
+
caller_path_set=${PATH+set}
|
|
15
|
+
caller_path=${PATH-}
|
|
16
|
+
helper_path=
|
|
17
|
+
rest=$caller_path:
|
|
18
|
+
while [ -n "$rest" ]; do
|
|
19
|
+
dir=${rest%%:*}
|
|
20
|
+
rest=${rest#*:}
|
|
21
|
+
case "$dir" in
|
|
22
|
+
*/node_modules/*|*/node_modules) ;;
|
|
23
|
+
/*) helper_path=${helper_path:+$helper_path:}$dir ;;
|
|
24
|
+
esac
|
|
25
|
+
done
|
|
26
|
+
# An empty PATH searches the current directory.
|
|
27
|
+
PATH=${helper_path:-/}
|
|
10
28
|
link="$0"
|
|
11
29
|
# `${link%/*}` needs a separator to strip. A bare name came from a PATH lookup
|
|
12
30
|
# and stands for a file in the current directory.
|
|
@@ -25,6 +43,8 @@ while [ -L "$link" ] && [ "$hops" -lt 40 ]; do
|
|
|
25
43
|
done
|
|
26
44
|
basedir=$(command -p printf '%s\n' "$link" | command -p sed -e 's,\\,/,g')
|
|
27
45
|
basedir="${basedir%/*}"
|
|
46
|
+
basedir_abs=$(CDPATH= cd -P -- "$basedir" && pwd -P) || exit $?
|
|
47
|
+
basedir="$basedir_abs"
|
|
28
48
|
basedir_win="$basedir"
|
|
29
49
|
exe=""
|
|
30
50
|
msys=""
|
|
@@ -53,22 +73,24 @@ case `command -p uname -a` in
|
|
|
53
73
|
fi
|
|
54
74
|
;;
|
|
55
75
|
esac
|
|
76
|
+
if [ -n "$caller_path_set" ]; then PATH=$caller_path; else unset PATH; fi
|
|
56
77
|
|
|
57
|
-
basedir_abs=$(CDPATH= cd -P -- "$basedir" && pwd -P) || exit $?
|
|
58
78
|
if [ -z "$NODE_PATH" ]; then
|
|
59
|
-
export NODE_PATH="$basedir_abs/../../../../../../node_modules/.pnpm/oxfmt@0.
|
|
79
|
+
export NODE_PATH="$basedir_abs/../../../../../../node_modules/.pnpm/oxfmt@0.71.0/node_modules/oxfmt/node_modules:$basedir_abs/../../../../../../node_modules/.pnpm/oxfmt@0.71.0/node_modules:$basedir_abs/../../../../../../node_modules/.pnpm/node_modules"
|
|
60
80
|
else
|
|
61
|
-
export NODE_PATH="$basedir_abs/../../../../../../node_modules/.pnpm/oxfmt@0.
|
|
81
|
+
export NODE_PATH="$basedir_abs/../../../../../../node_modules/.pnpm/oxfmt@0.71.0/node_modules/oxfmt/node_modules:$basedir_abs/../../../../../../node_modules/.pnpm/oxfmt@0.71.0/node_modules:$basedir_abs/../../../../../../node_modules/.pnpm/node_modules:$NODE_PATH"
|
|
62
82
|
fi
|
|
63
83
|
if [ -n "$exe" ] && [ -x "$basedir/node.exe" ]; then
|
|
64
|
-
exec "$basedir/node.exe" "$basedir_win/../../../../../../node_modules/.pnpm/oxfmt@0.
|
|
84
|
+
exec "$basedir/node.exe" "$basedir_win/../../../../../../node_modules/.pnpm/oxfmt@0.71.0/node_modules/oxfmt/bin/oxfmt" "$@"
|
|
65
85
|
elif [ -x "$basedir/node" ]; then
|
|
66
|
-
exec "$basedir/node" "$basedir_abs/../../../../../../node_modules/.pnpm/oxfmt@0.
|
|
86
|
+
exec "$basedir/node" "$basedir_abs/../../../../../../node_modules/.pnpm/oxfmt@0.71.0/node_modules/oxfmt/bin/oxfmt" "$@"
|
|
87
|
+
elif [ -n "$msys" ] && command -v node >/dev/null 2>&1; then
|
|
88
|
+
exec node "$basedir_win/../../../../../../node_modules/.pnpm/oxfmt@0.71.0/node_modules/oxfmt/bin/oxfmt" "$@"
|
|
67
89
|
elif command -v node >/dev/null 2>&1; then
|
|
68
|
-
exec node "$basedir_abs/../../../../../../node_modules/.pnpm/oxfmt@0.
|
|
90
|
+
exec node "$basedir_abs/../../../../../../node_modules/.pnpm/oxfmt@0.71.0/node_modules/oxfmt/bin/oxfmt" "$@"
|
|
69
91
|
elif [ -n "$exe" ] && command -v node.exe >/dev/null 2>&1; then
|
|
70
|
-
exec node.exe "$basedir_win/../../../../../../node_modules/.pnpm/oxfmt@0.
|
|
92
|
+
exec node.exe "$basedir_win/../../../../../../node_modules/.pnpm/oxfmt@0.71.0/node_modules/oxfmt/bin/oxfmt" "$@"
|
|
71
93
|
else
|
|
72
|
-
exec node "$basedir_abs/../../../../../../node_modules/.pnpm/oxfmt@0.
|
|
94
|
+
exec node "$basedir_abs/../../../../../../node_modules/.pnpm/oxfmt@0.71.0/node_modules/oxfmt/bin/oxfmt" "$@"
|
|
73
95
|
fi
|
|
74
|
-
# cmd-shim-target=../../../../../../node_modules/.pnpm/oxfmt@0.
|
|
96
|
+
# cmd-shim-target=../../../../../../node_modules/.pnpm/oxfmt@0.71.0/node_modules/oxfmt/bin/oxfmt
|
|
@@ -7,6 +7,24 @@
|
|
|
7
7
|
# path instead. A dependency's bin cannot stand in for one of them and take over
|
|
8
8
|
# the shim before it reaches its target. Directories come from `${link%/*}`,
|
|
9
9
|
# which needs no helper at all.
|
|
10
|
+
#
|
|
11
|
+
# Where no default path is compiled in, as on Nix, `command -p` searches PATH
|
|
12
|
+
# instead, so the helpers run with node_modules and relative entries dropped from
|
|
13
|
+
# PATH.
|
|
14
|
+
caller_path_set=${PATH+set}
|
|
15
|
+
caller_path=${PATH-}
|
|
16
|
+
helper_path=
|
|
17
|
+
rest=$caller_path:
|
|
18
|
+
while [ -n "$rest" ]; do
|
|
19
|
+
dir=${rest%%:*}
|
|
20
|
+
rest=${rest#*:}
|
|
21
|
+
case "$dir" in
|
|
22
|
+
*/node_modules/*|*/node_modules) ;;
|
|
23
|
+
/*) helper_path=${helper_path:+$helper_path:}$dir ;;
|
|
24
|
+
esac
|
|
25
|
+
done
|
|
26
|
+
# An empty PATH searches the current directory.
|
|
27
|
+
PATH=${helper_path:-/}
|
|
10
28
|
link="$0"
|
|
11
29
|
# `${link%/*}` needs a separator to strip. A bare name came from a PATH lookup
|
|
12
30
|
# and stands for a file in the current directory.
|
|
@@ -25,6 +43,8 @@ while [ -L "$link" ] && [ "$hops" -lt 40 ]; do
|
|
|
25
43
|
done
|
|
26
44
|
basedir=$(command -p printf '%s\n' "$link" | command -p sed -e 's,\\,/,g')
|
|
27
45
|
basedir="${basedir%/*}"
|
|
46
|
+
basedir_abs=$(CDPATH= cd -P -- "$basedir" && pwd -P) || exit $?
|
|
47
|
+
basedir="$basedir_abs"
|
|
28
48
|
basedir_win="$basedir"
|
|
29
49
|
exe=""
|
|
30
50
|
msys=""
|
|
@@ -53,22 +73,24 @@ case `command -p uname -a` in
|
|
|
53
73
|
fi
|
|
54
74
|
;;
|
|
55
75
|
esac
|
|
76
|
+
if [ -n "$caller_path_set" ]; then PATH=$caller_path; else unset PATH; fi
|
|
56
77
|
|
|
57
|
-
basedir_abs=$(CDPATH= cd -P -- "$basedir" && pwd -P) || exit $?
|
|
58
78
|
if [ -z "$NODE_PATH" ]; then
|
|
59
|
-
export NODE_PATH="$basedir_abs/../../../../../../node_modules/.pnpm/oxlint@1.
|
|
79
|
+
export NODE_PATH="$basedir_abs/../../../../../../node_modules/.pnpm/oxlint@1.86.0_oxlint-tsgolint@7.0.2003/node_modules/oxlint/node_modules:$basedir_abs/../../../../../../node_modules/.pnpm/oxlint@1.86.0_oxlint-tsgolint@7.0.2003/node_modules:$basedir_abs/../../../../../../node_modules/.pnpm/node_modules"
|
|
60
80
|
else
|
|
61
|
-
export NODE_PATH="$basedir_abs/../../../../../../node_modules/.pnpm/oxlint@1.
|
|
81
|
+
export NODE_PATH="$basedir_abs/../../../../../../node_modules/.pnpm/oxlint@1.86.0_oxlint-tsgolint@7.0.2003/node_modules/oxlint/node_modules:$basedir_abs/../../../../../../node_modules/.pnpm/oxlint@1.86.0_oxlint-tsgolint@7.0.2003/node_modules:$basedir_abs/../../../../../../node_modules/.pnpm/node_modules:$NODE_PATH"
|
|
62
82
|
fi
|
|
63
83
|
if [ -n "$exe" ] && [ -x "$basedir/node.exe" ]; then
|
|
64
|
-
exec "$basedir/node.exe" "$basedir_win/../../../../../../node_modules/.pnpm/oxlint@1.
|
|
84
|
+
exec "$basedir/node.exe" "$basedir_win/../../../../../../node_modules/.pnpm/oxlint@1.86.0_oxlint-tsgolint@7.0.2003/node_modules/oxlint/bin/oxlint" "$@"
|
|
65
85
|
elif [ -x "$basedir/node" ]; then
|
|
66
|
-
exec "$basedir/node" "$basedir_abs/../../../../../../node_modules/.pnpm/oxlint@1.
|
|
86
|
+
exec "$basedir/node" "$basedir_abs/../../../../../../node_modules/.pnpm/oxlint@1.86.0_oxlint-tsgolint@7.0.2003/node_modules/oxlint/bin/oxlint" "$@"
|
|
87
|
+
elif [ -n "$msys" ] && command -v node >/dev/null 2>&1; then
|
|
88
|
+
exec node "$basedir_win/../../../../../../node_modules/.pnpm/oxlint@1.86.0_oxlint-tsgolint@7.0.2003/node_modules/oxlint/bin/oxlint" "$@"
|
|
67
89
|
elif command -v node >/dev/null 2>&1; then
|
|
68
|
-
exec node "$basedir_abs/../../../../../../node_modules/.pnpm/oxlint@1.
|
|
90
|
+
exec node "$basedir_abs/../../../../../../node_modules/.pnpm/oxlint@1.86.0_oxlint-tsgolint@7.0.2003/node_modules/oxlint/bin/oxlint" "$@"
|
|
69
91
|
elif [ -n "$exe" ] && command -v node.exe >/dev/null 2>&1; then
|
|
70
|
-
exec node.exe "$basedir_win/../../../../../../node_modules/.pnpm/oxlint@1.
|
|
92
|
+
exec node.exe "$basedir_win/../../../../../../node_modules/.pnpm/oxlint@1.86.0_oxlint-tsgolint@7.0.2003/node_modules/oxlint/bin/oxlint" "$@"
|
|
71
93
|
else
|
|
72
|
-
exec node "$basedir_abs/../../../../../../node_modules/.pnpm/oxlint@1.
|
|
94
|
+
exec node "$basedir_abs/../../../../../../node_modules/.pnpm/oxlint@1.86.0_oxlint-tsgolint@7.0.2003/node_modules/oxlint/bin/oxlint" "$@"
|
|
73
95
|
fi
|
|
74
|
-
# cmd-shim-target=../../../../../../node_modules/.pnpm/oxlint@1.
|
|
96
|
+
# cmd-shim-target=../../../../../../node_modules/.pnpm/oxlint@1.86.0_oxlint-tsgolint@7.0.2003/node_modules/oxlint/bin/oxlint
|
|
@@ -7,6 +7,24 @@
|
|
|
7
7
|
# path instead. A dependency's bin cannot stand in for one of them and take over
|
|
8
8
|
# the shim before it reaches its target. Directories come from `${link%/*}`,
|
|
9
9
|
# which needs no helper at all.
|
|
10
|
+
#
|
|
11
|
+
# Where no default path is compiled in, as on Nix, `command -p` searches PATH
|
|
12
|
+
# instead, so the helpers run with node_modules and relative entries dropped from
|
|
13
|
+
# PATH.
|
|
14
|
+
caller_path_set=${PATH+set}
|
|
15
|
+
caller_path=${PATH-}
|
|
16
|
+
helper_path=
|
|
17
|
+
rest=$caller_path:
|
|
18
|
+
while [ -n "$rest" ]; do
|
|
19
|
+
dir=${rest%%:*}
|
|
20
|
+
rest=${rest#*:}
|
|
21
|
+
case "$dir" in
|
|
22
|
+
*/node_modules/*|*/node_modules) ;;
|
|
23
|
+
/*) helper_path=${helper_path:+$helper_path:}$dir ;;
|
|
24
|
+
esac
|
|
25
|
+
done
|
|
26
|
+
# An empty PATH searches the current directory.
|
|
27
|
+
PATH=${helper_path:-/}
|
|
10
28
|
link="$0"
|
|
11
29
|
# `${link%/*}` needs a separator to strip. A bare name came from a PATH lookup
|
|
12
30
|
# and stands for a file in the current directory.
|
|
@@ -25,6 +43,8 @@ while [ -L "$link" ] && [ "$hops" -lt 40 ]; do
|
|
|
25
43
|
done
|
|
26
44
|
basedir=$(command -p printf '%s\n' "$link" | command -p sed -e 's,\\,/,g')
|
|
27
45
|
basedir="${basedir%/*}"
|
|
46
|
+
basedir_abs=$(CDPATH= cd -P -- "$basedir" && pwd -P) || exit $?
|
|
47
|
+
basedir="$basedir_abs"
|
|
28
48
|
basedir_win="$basedir"
|
|
29
49
|
exe=""
|
|
30
50
|
msys=""
|
|
@@ -53,8 +73,8 @@ case `command -p uname -a` in
|
|
|
53
73
|
fi
|
|
54
74
|
;;
|
|
55
75
|
esac
|
|
76
|
+
if [ -n "$caller_path_set" ]; then PATH=$caller_path; else unset PATH; fi
|
|
56
77
|
|
|
57
|
-
basedir_abs=$(CDPATH= cd -P -- "$basedir" && pwd -P) || exit $?
|
|
58
78
|
if [ -z "$NODE_PATH" ]; then
|
|
59
79
|
export NODE_PATH="$basedir_abs/../../../../../../node_modules/.pnpm/node_modules"
|
|
60
80
|
else
|
|
@@ -64,6 +84,8 @@ if [ -n "$exe" ] && [ -x "$basedir/node.exe" ]; then
|
|
|
64
84
|
exec "$basedir/node.exe" "$basedir_win/../../../../../sdk/bin/tailor.mjs" "$@"
|
|
65
85
|
elif [ -x "$basedir/node" ]; then
|
|
66
86
|
exec "$basedir/node" "$basedir_abs/../../../../../sdk/bin/tailor.mjs" "$@"
|
|
87
|
+
elif [ -n "$msys" ] && command -v node >/dev/null 2>&1; then
|
|
88
|
+
exec node "$basedir_win/../../../../../sdk/bin/tailor.mjs" "$@"
|
|
67
89
|
elif command -v node >/dev/null 2>&1; then
|
|
68
90
|
exec node "$basedir_abs/../../../../../sdk/bin/tailor.mjs" "$@"
|
|
69
91
|
elif [ -n "$exe" ] && command -v node.exe >/dev/null 2>&1; then
|
|
@@ -7,6 +7,24 @@
|
|
|
7
7
|
# path instead. A dependency's bin cannot stand in for one of them and take over
|
|
8
8
|
# the shim before it reaches its target. Directories come from `${link%/*}`,
|
|
9
9
|
# which needs no helper at all.
|
|
10
|
+
#
|
|
11
|
+
# Where no default path is compiled in, as on Nix, `command -p` searches PATH
|
|
12
|
+
# instead, so the helpers run with node_modules and relative entries dropped from
|
|
13
|
+
# PATH.
|
|
14
|
+
caller_path_set=${PATH+set}
|
|
15
|
+
caller_path=${PATH-}
|
|
16
|
+
helper_path=
|
|
17
|
+
rest=$caller_path:
|
|
18
|
+
while [ -n "$rest" ]; do
|
|
19
|
+
dir=${rest%%:*}
|
|
20
|
+
rest=${rest#*:}
|
|
21
|
+
case "$dir" in
|
|
22
|
+
*/node_modules/*|*/node_modules) ;;
|
|
23
|
+
/*) helper_path=${helper_path:+$helper_path:}$dir ;;
|
|
24
|
+
esac
|
|
25
|
+
done
|
|
26
|
+
# An empty PATH searches the current directory.
|
|
27
|
+
PATH=${helper_path:-/}
|
|
10
28
|
link="$0"
|
|
11
29
|
# `${link%/*}` needs a separator to strip. A bare name came from a PATH lookup
|
|
12
30
|
# and stands for a file in the current directory.
|
|
@@ -25,6 +43,8 @@ while [ -L "$link" ] && [ "$hops" -lt 40 ]; do
|
|
|
25
43
|
done
|
|
26
44
|
basedir=$(command -p printf '%s\n' "$link" | command -p sed -e 's,\\,/,g')
|
|
27
45
|
basedir="${basedir%/*}"
|
|
46
|
+
basedir_abs=$(CDPATH= cd -P -- "$basedir" && pwd -P) || exit $?
|
|
47
|
+
basedir="$basedir_abs"
|
|
28
48
|
basedir_win="$basedir"
|
|
29
49
|
exe=""
|
|
30
50
|
msys=""
|
|
@@ -53,8 +73,8 @@ case `command -p uname -a` in
|
|
|
53
73
|
fi
|
|
54
74
|
;;
|
|
55
75
|
esac
|
|
76
|
+
if [ -n "$caller_path_set" ]; then PATH=$caller_path; else unset PATH; fi
|
|
56
77
|
|
|
57
|
-
basedir_abs=$(CDPATH= cd -P -- "$basedir" && pwd -P) || exit $?
|
|
58
78
|
if [ -z "$NODE_PATH" ]; then
|
|
59
79
|
export NODE_PATH="$basedir_abs/../../../../../../node_modules/.pnpm/typescript@6.0.3/node_modules/typescript/node_modules:$basedir_abs/../../../../../../node_modules/.pnpm/typescript@6.0.3/node_modules:$basedir_abs/../../../../../../node_modules/.pnpm/node_modules"
|
|
60
80
|
else
|
|
@@ -64,6 +84,8 @@ if [ -n "$exe" ] && [ -x "$basedir/node.exe" ]; then
|
|
|
64
84
|
exec "$basedir/node.exe" "$basedir_win/../../../../../../node_modules/.pnpm/typescript@6.0.3/node_modules/typescript/bin/tsc" "$@"
|
|
65
85
|
elif [ -x "$basedir/node" ]; then
|
|
66
86
|
exec "$basedir/node" "$basedir_abs/../../../../../../node_modules/.pnpm/typescript@6.0.3/node_modules/typescript/bin/tsc" "$@"
|
|
87
|
+
elif [ -n "$msys" ] && command -v node >/dev/null 2>&1; then
|
|
88
|
+
exec node "$basedir_win/../../../../../../node_modules/.pnpm/typescript@6.0.3/node_modules/typescript/bin/tsc" "$@"
|
|
67
89
|
elif command -v node >/dev/null 2>&1; then
|
|
68
90
|
exec node "$basedir_abs/../../../../../../node_modules/.pnpm/typescript@6.0.3/node_modules/typescript/bin/tsc" "$@"
|
|
69
91
|
elif [ -n "$exe" ] && command -v node.exe >/dev/null 2>&1; then
|
|
@@ -7,6 +7,24 @@
|
|
|
7
7
|
# path instead. A dependency's bin cannot stand in for one of them and take over
|
|
8
8
|
# the shim before it reaches its target. Directories come from `${link%/*}`,
|
|
9
9
|
# which needs no helper at all.
|
|
10
|
+
#
|
|
11
|
+
# Where no default path is compiled in, as on Nix, `command -p` searches PATH
|
|
12
|
+
# instead, so the helpers run with node_modules and relative entries dropped from
|
|
13
|
+
# PATH.
|
|
14
|
+
caller_path_set=${PATH+set}
|
|
15
|
+
caller_path=${PATH-}
|
|
16
|
+
helper_path=
|
|
17
|
+
rest=$caller_path:
|
|
18
|
+
while [ -n "$rest" ]; do
|
|
19
|
+
dir=${rest%%:*}
|
|
20
|
+
rest=${rest#*:}
|
|
21
|
+
case "$dir" in
|
|
22
|
+
*/node_modules/*|*/node_modules) ;;
|
|
23
|
+
/*) helper_path=${helper_path:+$helper_path:}$dir ;;
|
|
24
|
+
esac
|
|
25
|
+
done
|
|
26
|
+
# An empty PATH searches the current directory.
|
|
27
|
+
PATH=${helper_path:-/}
|
|
10
28
|
link="$0"
|
|
11
29
|
# `${link%/*}` needs a separator to strip. A bare name came from a PATH lookup
|
|
12
30
|
# and stands for a file in the current directory.
|
|
@@ -25,6 +43,8 @@ while [ -L "$link" ] && [ "$hops" -lt 40 ]; do
|
|
|
25
43
|
done
|
|
26
44
|
basedir=$(command -p printf '%s\n' "$link" | command -p sed -e 's,\\,/,g')
|
|
27
45
|
basedir="${basedir%/*}"
|
|
46
|
+
basedir_abs=$(CDPATH= cd -P -- "$basedir" && pwd -P) || exit $?
|
|
47
|
+
basedir="$basedir_abs"
|
|
28
48
|
basedir_win="$basedir"
|
|
29
49
|
exe=""
|
|
30
50
|
msys=""
|
|
@@ -53,8 +73,8 @@ case `command -p uname -a` in
|
|
|
53
73
|
fi
|
|
54
74
|
;;
|
|
55
75
|
esac
|
|
76
|
+
if [ -n "$caller_path_set" ]; then PATH=$caller_path; else unset PATH; fi
|
|
56
77
|
|
|
57
|
-
basedir_abs=$(CDPATH= cd -P -- "$basedir" && pwd -P) || exit $?
|
|
58
78
|
if [ -z "$NODE_PATH" ]; then
|
|
59
79
|
export NODE_PATH="$basedir_abs/../../../../../../node_modules/.pnpm/oxlint-tsgolint@7.0.2003/node_modules/oxlint-tsgolint/node_modules:$basedir_abs/../../../../../../node_modules/.pnpm/oxlint-tsgolint@7.0.2003/node_modules:$basedir_abs/../../../../../../node_modules/.pnpm/node_modules"
|
|
60
80
|
else
|
|
@@ -64,6 +84,8 @@ if [ -n "$exe" ] && [ -x "$basedir/node.exe" ]; then
|
|
|
64
84
|
exec "$basedir/node.exe" "$basedir_win/../../../../../../node_modules/.pnpm/oxlint-tsgolint@7.0.2003/node_modules/oxlint-tsgolint/bin/tsgolint.js" "$@"
|
|
65
85
|
elif [ -x "$basedir/node" ]; then
|
|
66
86
|
exec "$basedir/node" "$basedir_abs/../../../../../../node_modules/.pnpm/oxlint-tsgolint@7.0.2003/node_modules/oxlint-tsgolint/bin/tsgolint.js" "$@"
|
|
87
|
+
elif [ -n "$msys" ] && command -v node >/dev/null 2>&1; then
|
|
88
|
+
exec node "$basedir_win/../../../../../../node_modules/.pnpm/oxlint-tsgolint@7.0.2003/node_modules/oxlint-tsgolint/bin/tsgolint.js" "$@"
|
|
67
89
|
elif command -v node >/dev/null 2>&1; then
|
|
68
90
|
exec node "$basedir_abs/../../../../../../node_modules/.pnpm/oxlint-tsgolint@7.0.2003/node_modules/oxlint-tsgolint/bin/tsgolint.js" "$@"
|
|
69
91
|
elif [ -n "$exe" ] && command -v node.exe >/dev/null 2>&1; then
|
|
@@ -7,6 +7,24 @@
|
|
|
7
7
|
# path instead. A dependency's bin cannot stand in for one of them and take over
|
|
8
8
|
# the shim before it reaches its target. Directories come from `${link%/*}`,
|
|
9
9
|
# which needs no helper at all.
|
|
10
|
+
#
|
|
11
|
+
# Where no default path is compiled in, as on Nix, `command -p` searches PATH
|
|
12
|
+
# instead, so the helpers run with node_modules and relative entries dropped from
|
|
13
|
+
# PATH.
|
|
14
|
+
caller_path_set=${PATH+set}
|
|
15
|
+
caller_path=${PATH-}
|
|
16
|
+
helper_path=
|
|
17
|
+
rest=$caller_path:
|
|
18
|
+
while [ -n "$rest" ]; do
|
|
19
|
+
dir=${rest%%:*}
|
|
20
|
+
rest=${rest#*:}
|
|
21
|
+
case "$dir" in
|
|
22
|
+
*/node_modules/*|*/node_modules) ;;
|
|
23
|
+
/*) helper_path=${helper_path:+$helper_path:}$dir ;;
|
|
24
|
+
esac
|
|
25
|
+
done
|
|
26
|
+
# An empty PATH searches the current directory.
|
|
27
|
+
PATH=${helper_path:-/}
|
|
10
28
|
link="$0"
|
|
11
29
|
# `${link%/*}` needs a separator to strip. A bare name came from a PATH lookup
|
|
12
30
|
# and stands for a file in the current directory.
|
|
@@ -25,6 +43,8 @@ while [ -L "$link" ] && [ "$hops" -lt 40 ]; do
|
|
|
25
43
|
done
|
|
26
44
|
basedir=$(command -p printf '%s\n' "$link" | command -p sed -e 's,\\,/,g')
|
|
27
45
|
basedir="${basedir%/*}"
|
|
46
|
+
basedir_abs=$(CDPATH= cd -P -- "$basedir" && pwd -P) || exit $?
|
|
47
|
+
basedir="$basedir_abs"
|
|
28
48
|
basedir_win="$basedir"
|
|
29
49
|
exe=""
|
|
30
50
|
msys=""
|
|
@@ -53,8 +73,8 @@ case `command -p uname -a` in
|
|
|
53
73
|
fi
|
|
54
74
|
;;
|
|
55
75
|
esac
|
|
76
|
+
if [ -n "$caller_path_set" ]; then PATH=$caller_path; else unset PATH; fi
|
|
56
77
|
|
|
57
|
-
basedir_abs=$(CDPATH= cd -P -- "$basedir" && pwd -P) || exit $?
|
|
58
78
|
if [ -z "$NODE_PATH" ]; then
|
|
59
79
|
export NODE_PATH="$basedir_abs/../../../../../../node_modules/.pnpm/typescript@6.0.3/node_modules/typescript/node_modules:$basedir_abs/../../../../../../node_modules/.pnpm/typescript@6.0.3/node_modules:$basedir_abs/../../../../../../node_modules/.pnpm/node_modules"
|
|
60
80
|
else
|
|
@@ -64,6 +84,8 @@ if [ -n "$exe" ] && [ -x "$basedir/node.exe" ]; then
|
|
|
64
84
|
exec "$basedir/node.exe" "$basedir_win/../../../../../../node_modules/.pnpm/typescript@6.0.3/node_modules/typescript/bin/tsserver" "$@"
|
|
65
85
|
elif [ -x "$basedir/node" ]; then
|
|
66
86
|
exec "$basedir/node" "$basedir_abs/../../../../../../node_modules/.pnpm/typescript@6.0.3/node_modules/typescript/bin/tsserver" "$@"
|
|
87
|
+
elif [ -n "$msys" ] && command -v node >/dev/null 2>&1; then
|
|
88
|
+
exec node "$basedir_win/../../../../../../node_modules/.pnpm/typescript@6.0.3/node_modules/typescript/bin/tsserver" "$@"
|
|
67
89
|
elif command -v node >/dev/null 2>&1; then
|
|
68
90
|
exec node "$basedir_abs/../../../../../../node_modules/.pnpm/typescript@6.0.3/node_modules/typescript/bin/tsserver" "$@"
|
|
69
91
|
elif [ -n "$exe" ] && command -v node.exe >/dev/null 2>&1; then
|
|
@@ -0,0 +1,96 @@
|
|
|
1
|
+
#!/bin/sh
|
|
2
|
+
# Resolve $0 through symlinks so basedir is the shim's real directory.
|
|
3
|
+
# Cap hops at the kernel's ELOOP limit so a cycle cannot hang the shim.
|
|
4
|
+
#
|
|
5
|
+
# A shim runs with node_modules/.bin at the front of PATH, so readlink, sed,
|
|
6
|
+
# uname, and printf go through `command -p`, which searches the system default
|
|
7
|
+
# path instead. A dependency's bin cannot stand in for one of them and take over
|
|
8
|
+
# the shim before it reaches its target. Directories come from `${link%/*}`,
|
|
9
|
+
# which needs no helper at all.
|
|
10
|
+
#
|
|
11
|
+
# Where no default path is compiled in, as on Nix, `command -p` searches PATH
|
|
12
|
+
# instead, so the helpers run with node_modules and relative entries dropped from
|
|
13
|
+
# PATH.
|
|
14
|
+
caller_path_set=${PATH+set}
|
|
15
|
+
caller_path=${PATH-}
|
|
16
|
+
helper_path=
|
|
17
|
+
rest=$caller_path:
|
|
18
|
+
while [ -n "$rest" ]; do
|
|
19
|
+
dir=${rest%%:*}
|
|
20
|
+
rest=${rest#*:}
|
|
21
|
+
case "$dir" in
|
|
22
|
+
*/node_modules/*|*/node_modules) ;;
|
|
23
|
+
/*) helper_path=${helper_path:+$helper_path:}$dir ;;
|
|
24
|
+
esac
|
|
25
|
+
done
|
|
26
|
+
# An empty PATH searches the current directory.
|
|
27
|
+
PATH=${helper_path:-/}
|
|
28
|
+
link="$0"
|
|
29
|
+
# `${link%/*}` needs a separator to strip. A bare name came from a PATH lookup
|
|
30
|
+
# and stands for a file in the current directory.
|
|
31
|
+
case "$link" in
|
|
32
|
+
*/*|*\\*) ;;
|
|
33
|
+
*) link="./$link" ;;
|
|
34
|
+
esac
|
|
35
|
+
hops=0
|
|
36
|
+
while [ -L "$link" ] && [ "$hops" -lt 40 ]; do
|
|
37
|
+
hops=$((hops+1))
|
|
38
|
+
target=$(command -p readlink "$link")
|
|
39
|
+
case "$target" in
|
|
40
|
+
/*) link="$target" ;;
|
|
41
|
+
*) link="${link%/*}/$target" ;;
|
|
42
|
+
esac
|
|
43
|
+
done
|
|
44
|
+
basedir=$(command -p printf '%s\n' "$link" | command -p sed -e 's,\\,/,g')
|
|
45
|
+
basedir="${basedir%/*}"
|
|
46
|
+
basedir_abs=$(CDPATH= cd -P -- "$basedir" && pwd -P) || exit $?
|
|
47
|
+
basedir="$basedir_abs"
|
|
48
|
+
basedir_win="$basedir"
|
|
49
|
+
exe=""
|
|
50
|
+
msys=""
|
|
51
|
+
|
|
52
|
+
case `command -p uname -a` in
|
|
53
|
+
*CYGWIN*|*MINGW*|*MSYS*)
|
|
54
|
+
if converted=$(command -p cygpath -w "$basedir" 2>/dev/null) && [ -n "$converted" ]; then
|
|
55
|
+
basedir_win="$converted"
|
|
56
|
+
elif command -v cygpath > /dev/null 2>&1; then
|
|
57
|
+
basedir_win=`cygpath -w "$basedir"`
|
|
58
|
+
fi
|
|
59
|
+
exe=".exe"
|
|
60
|
+
msys="true"
|
|
61
|
+
;;
|
|
62
|
+
*WSL2*)
|
|
63
|
+
if converted=$(command -p wslpath -w "$basedir" 2>/dev/null) && [ -n "$converted" ]; then
|
|
64
|
+
basedir_win="$converted"
|
|
65
|
+
exe=".exe"
|
|
66
|
+
elif command -v wslpath > /dev/null 2>&1; then
|
|
67
|
+
basedir_win="$(wslpath -w "$basedir" 2> /dev/null)"
|
|
68
|
+
if [ $? -ne 0 ] || [ -z "$basedir_win" ]; then
|
|
69
|
+
basedir_win="$basedir"
|
|
70
|
+
else
|
|
71
|
+
exe=".exe"
|
|
72
|
+
fi
|
|
73
|
+
fi
|
|
74
|
+
;;
|
|
75
|
+
esac
|
|
76
|
+
if [ -n "$caller_path_set" ]; then PATH=$caller_path; else unset PATH; fi
|
|
77
|
+
|
|
78
|
+
if [ -z "$NODE_PATH" ]; then
|
|
79
|
+
export NODE_PATH="$basedir_abs/../../../../../../node_modules/.pnpm/vite@8.3.2_@types+node@24.19.0_esbuild@0.28.2_jiti@2.7.0_tsx@4.23.15_yaml@2.9.1/node_modules/vite/node_modules:$basedir_abs/../../../../../../node_modules/.pnpm/vite@8.3.2_@types+node@24.19.0_esbuild@0.28.2_jiti@2.7.0_tsx@4.23.15_yaml@2.9.1/node_modules:$basedir_abs/../../../../../../node_modules/.pnpm/node_modules"
|
|
80
|
+
else
|
|
81
|
+
export NODE_PATH="$basedir_abs/../../../../../../node_modules/.pnpm/vite@8.3.2_@types+node@24.19.0_esbuild@0.28.2_jiti@2.7.0_tsx@4.23.15_yaml@2.9.1/node_modules/vite/node_modules:$basedir_abs/../../../../../../node_modules/.pnpm/vite@8.3.2_@types+node@24.19.0_esbuild@0.28.2_jiti@2.7.0_tsx@4.23.15_yaml@2.9.1/node_modules:$basedir_abs/../../../../../../node_modules/.pnpm/node_modules:$NODE_PATH"
|
|
82
|
+
fi
|
|
83
|
+
if [ -n "$exe" ] && [ -x "$basedir/node.exe" ]; then
|
|
84
|
+
exec "$basedir/node.exe" "$basedir_win/../../../../../../node_modules/.pnpm/vite@8.3.2_@types+node@24.19.0_esbuild@0.28.2_jiti@2.7.0_tsx@4.23.15_yaml@2.9.1/node_modules/vite/bin/vite.js" "$@"
|
|
85
|
+
elif [ -x "$basedir/node" ]; then
|
|
86
|
+
exec "$basedir/node" "$basedir_abs/../../../../../../node_modules/.pnpm/vite@8.3.2_@types+node@24.19.0_esbuild@0.28.2_jiti@2.7.0_tsx@4.23.15_yaml@2.9.1/node_modules/vite/bin/vite.js" "$@"
|
|
87
|
+
elif [ -n "$msys" ] && command -v node >/dev/null 2>&1; then
|
|
88
|
+
exec node "$basedir_win/../../../../../../node_modules/.pnpm/vite@8.3.2_@types+node@24.19.0_esbuild@0.28.2_jiti@2.7.0_tsx@4.23.15_yaml@2.9.1/node_modules/vite/bin/vite.js" "$@"
|
|
89
|
+
elif command -v node >/dev/null 2>&1; then
|
|
90
|
+
exec node "$basedir_abs/../../../../../../node_modules/.pnpm/vite@8.3.2_@types+node@24.19.0_esbuild@0.28.2_jiti@2.7.0_tsx@4.23.15_yaml@2.9.1/node_modules/vite/bin/vite.js" "$@"
|
|
91
|
+
elif [ -n "$exe" ] && command -v node.exe >/dev/null 2>&1; then
|
|
92
|
+
exec node.exe "$basedir_win/../../../../../../node_modules/.pnpm/vite@8.3.2_@types+node@24.19.0_esbuild@0.28.2_jiti@2.7.0_tsx@4.23.15_yaml@2.9.1/node_modules/vite/bin/vite.js" "$@"
|
|
93
|
+
else
|
|
94
|
+
exec node "$basedir_abs/../../../../../../node_modules/.pnpm/vite@8.3.2_@types+node@24.19.0_esbuild@0.28.2_jiti@2.7.0_tsx@4.23.15_yaml@2.9.1/node_modules/vite/bin/vite.js" "$@"
|
|
95
|
+
fi
|
|
96
|
+
# cmd-shim-target=../../../../../../node_modules/.pnpm/vite@8.3.2_@types+node@24.19.0_esbuild@0.28.2_jiti@2.7.0_tsx@4.23.15_yaml@2.9.1/node_modules/vite/bin/vite.js
|