@tailor-platform/create-sdk 2.23.0 → 2.24.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.
Files changed (71) hide show
  1. package/CHANGELOG.md +4 -0
  2. package/package.json +2 -2
  3. package/templates/executor/node_modules/.bin/oxfmt +19 -0
  4. package/templates/executor/node_modules/.bin/oxlint +19 -0
  5. package/templates/executor/node_modules/.bin/tailor +19 -0
  6. package/templates/executor/node_modules/.bin/tsc +19 -0
  7. package/templates/executor/node_modules/.bin/tsgolint +19 -0
  8. package/templates/executor/node_modules/.bin/tsserver +19 -0
  9. package/templates/executor/node_modules/.bin/vitest +27 -8
  10. package/templates/executor/package.json +2 -2
  11. package/templates/generators/node_modules/.bin/oxfmt +19 -0
  12. package/templates/generators/node_modules/.bin/oxlint +19 -0
  13. package/templates/generators/node_modules/.bin/tailor +19 -0
  14. package/templates/generators/node_modules/.bin/tailor-seed +19 -0
  15. package/templates/generators/node_modules/.bin/tsc +19 -0
  16. package/templates/generators/node_modules/.bin/tsgolint +19 -0
  17. package/templates/generators/node_modules/.bin/tsserver +19 -0
  18. package/templates/generators/node_modules/.bin/vitest +27 -8
  19. package/templates/generators/package.json +3 -3
  20. package/templates/hello-world/node_modules/.bin/oxfmt +19 -0
  21. package/templates/hello-world/node_modules/.bin/oxlint +19 -0
  22. package/templates/hello-world/node_modules/.bin/tailor +19 -0
  23. package/templates/hello-world/node_modules/.bin/tsc +19 -0
  24. package/templates/hello-world/node_modules/.bin/tsgolint +19 -0
  25. package/templates/hello-world/node_modules/.bin/tsserver +19 -0
  26. package/templates/hello-world/package.json +2 -2
  27. package/templates/inventory-management/node_modules/.bin/oxfmt +19 -0
  28. package/templates/inventory-management/node_modules/.bin/oxlint +19 -0
  29. package/templates/inventory-management/node_modules/.bin/tailor +19 -0
  30. package/templates/inventory-management/node_modules/.bin/tsc +19 -0
  31. package/templates/inventory-management/node_modules/.bin/tsgolint +19 -0
  32. package/templates/inventory-management/node_modules/.bin/tsserver +19 -0
  33. package/templates/inventory-management/package.json +2 -2
  34. package/templates/multi-application/node_modules/.bin/oxfmt +19 -0
  35. package/templates/multi-application/node_modules/.bin/oxlint +19 -0
  36. package/templates/multi-application/node_modules/.bin/tailor +19 -0
  37. package/templates/multi-application/node_modules/.bin/tsc +19 -0
  38. package/templates/multi-application/node_modules/.bin/tsgolint +19 -0
  39. package/templates/multi-application/node_modules/.bin/tsserver +19 -0
  40. package/templates/multi-application/package.json +2 -2
  41. package/templates/resolver/node_modules/.bin/oxfmt +19 -0
  42. package/templates/resolver/node_modules/.bin/oxlint +19 -0
  43. package/templates/resolver/node_modules/.bin/tailor +19 -0
  44. package/templates/resolver/node_modules/.bin/tsc +19 -0
  45. package/templates/resolver/node_modules/.bin/tsgolint +19 -0
  46. package/templates/resolver/node_modules/.bin/tsserver +19 -0
  47. package/templates/resolver/node_modules/.bin/vitest +27 -8
  48. package/templates/resolver/package.json +2 -2
  49. package/templates/static-web-site/node_modules/.bin/oxfmt +19 -0
  50. package/templates/static-web-site/node_modules/.bin/oxlint +19 -0
  51. package/templates/static-web-site/node_modules/.bin/tailor +19 -0
  52. package/templates/static-web-site/node_modules/.bin/tsc +19 -0
  53. package/templates/static-web-site/node_modules/.bin/tsgolint +19 -0
  54. package/templates/static-web-site/node_modules/.bin/tsserver +19 -0
  55. package/templates/static-web-site/package.json +2 -2
  56. package/templates/tailordb/node_modules/.bin/oxfmt +19 -0
  57. package/templates/tailordb/node_modules/.bin/oxlint +19 -0
  58. package/templates/tailordb/node_modules/.bin/tailor +19 -0
  59. package/templates/tailordb/node_modules/.bin/tsc +19 -0
  60. package/templates/tailordb/node_modules/.bin/tsgolint +19 -0
  61. package/templates/tailordb/node_modules/.bin/tsserver +19 -0
  62. package/templates/tailordb/node_modules/.bin/vitest +27 -8
  63. package/templates/tailordb/package.json +2 -2
  64. package/templates/workflow/node_modules/.bin/oxfmt +19 -0
  65. package/templates/workflow/node_modules/.bin/oxlint +19 -0
  66. package/templates/workflow/node_modules/.bin/tailor +19 -0
  67. package/templates/workflow/node_modules/.bin/tsc +19 -0
  68. package/templates/workflow/node_modules/.bin/tsgolint +19 -0
  69. package/templates/workflow/node_modules/.bin/tsserver +19 -0
  70. package/templates/workflow/node_modules/.bin/vitest +27 -8
  71. package/templates/workflow/package.json +2 -2
@@ -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.
@@ -53,6 +71,7 @@ case `command -p uname -a` in
53
71
  fi
54
72
  ;;
55
73
  esac
74
+ if [ -n "$caller_path_set" ]; then PATH=$caller_path; else unset PATH; fi
56
75
 
57
76
  basedir_abs=$(CDPATH= cd -P -- "$basedir" && pwd -P) || exit $?
58
77
  if [ -z "$NODE_PATH" ]; 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.
@@ -53,6 +71,7 @@ case `command -p uname -a` in
53
71
  fi
54
72
  ;;
55
73
  esac
74
+ if [ -n "$caller_path_set" ]; then PATH=$caller_path; else unset PATH; fi
56
75
 
57
76
  basedir_abs=$(CDPATH= cd -P -- "$basedir" && pwd -P) || exit $?
58
77
  if [ -z "$NODE_PATH" ]; 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.
@@ -53,6 +71,7 @@ case `command -p uname -a` in
53
71
  fi
54
72
  ;;
55
73
  esac
74
+ if [ -n "$caller_path_set" ]; then PATH=$caller_path; else unset PATH; fi
56
75
 
57
76
  basedir_abs=$(CDPATH= cd -P -- "$basedir" && pwd -P) || exit $?
58
77
  if [ -z "$NODE_PATH" ]; 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.
@@ -53,6 +71,7 @@ case `command -p uname -a` in
53
71
  fi
54
72
  ;;
55
73
  esac
74
+ if [ -n "$caller_path_set" ]; then PATH=$caller_path; else unset PATH; fi
56
75
 
57
76
  basedir_abs=$(CDPATH= cd -P -- "$basedir" && pwd -P) || exit $?
58
77
  if [ -z "$NODE_PATH" ]; 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.
@@ -53,6 +71,7 @@ case `command -p uname -a` in
53
71
  fi
54
72
  ;;
55
73
  esac
74
+ if [ -n "$caller_path_set" ]; then PATH=$caller_path; else unset PATH; fi
56
75
 
57
76
  basedir_abs=$(CDPATH= cd -P -- "$basedir" && pwd -P) || exit $?
58
77
  if [ -z "$NODE_PATH" ]; then
@@ -13,8 +13,8 @@
13
13
  },
14
14
  "devDependencies": {
15
15
  "@tailor-platform/eslint-plugin-sdk": "0.3.0",
16
- "@tailor-platform/sdk": "2.23.0",
17
- "@types/node": "24.13.6",
16
+ "@tailor-platform/sdk": "2.24.0",
17
+ "@types/node": "24.19.0",
18
18
  "oxfmt": "0.70.0",
19
19
  "oxlint": "1.85.0",
20
20
  "oxlint-tsgolint": "7.0.2003",
@@ -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.
@@ -53,6 +71,7 @@ case `command -p uname -a` in
53
71
  fi
54
72
  ;;
55
73
  esac
74
+ if [ -n "$caller_path_set" ]; then PATH=$caller_path; else unset PATH; fi
56
75
 
57
76
  basedir_abs=$(CDPATH= cd -P -- "$basedir" && pwd -P) || exit $?
58
77
  if [ -z "$NODE_PATH" ]; 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.
@@ -53,6 +71,7 @@ case `command -p uname -a` in
53
71
  fi
54
72
  ;;
55
73
  esac
74
+ if [ -n "$caller_path_set" ]; then PATH=$caller_path; else unset PATH; fi
56
75
 
57
76
  basedir_abs=$(CDPATH= cd -P -- "$basedir" && pwd -P) || exit $?
58
77
  if [ -z "$NODE_PATH" ]; 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.
@@ -53,6 +71,7 @@ case `command -p uname -a` in
53
71
  fi
54
72
  ;;
55
73
  esac
74
+ if [ -n "$caller_path_set" ]; then PATH=$caller_path; else unset PATH; fi
56
75
 
57
76
  basedir_abs=$(CDPATH= cd -P -- "$basedir" && pwd -P) || exit $?
58
77
  if [ -z "$NODE_PATH" ]; 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.
@@ -53,6 +71,7 @@ case `command -p uname -a` in
53
71
  fi
54
72
  ;;
55
73
  esac
74
+ if [ -n "$caller_path_set" ]; then PATH=$caller_path; else unset PATH; fi
56
75
 
57
76
  basedir_abs=$(CDPATH= cd -P -- "$basedir" && pwd -P) || exit $?
58
77
  if [ -z "$NODE_PATH" ]; 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.
@@ -53,6 +71,7 @@ case `command -p uname -a` in
53
71
  fi
54
72
  ;;
55
73
  esac
74
+ if [ -n "$caller_path_set" ]; then PATH=$caller_path; else unset PATH; fi
56
75
 
57
76
  basedir_abs=$(CDPATH= cd -P -- "$basedir" && pwd -P) || exit $?
58
77
  if [ -z "$NODE_PATH" ]; 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.
@@ -53,6 +71,7 @@ case `command -p uname -a` in
53
71
  fi
54
72
  ;;
55
73
  esac
74
+ if [ -n "$caller_path_set" ]; then PATH=$caller_path; else unset PATH; fi
56
75
 
57
76
  basedir_abs=$(CDPATH= cd -P -- "$basedir" && pwd -P) || exit $?
58
77
  if [ -z "$NODE_PATH" ]; then
@@ -13,8 +13,8 @@
13
13
  },
14
14
  "devDependencies": {
15
15
  "@tailor-platform/eslint-plugin-sdk": "0.3.0",
16
- "@tailor-platform/sdk": "2.23.0",
17
- "@types/node": "24.13.6",
16
+ "@tailor-platform/sdk": "2.24.0",
17
+ "@types/node": "24.19.0",
18
18
  "oxfmt": "0.70.0",
19
19
  "oxlint": "1.85.0",
20
20
  "oxlint-tsgolint": "7.0.2003",
@@ -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.
@@ -53,6 +71,7 @@ case `command -p uname -a` in
53
71
  fi
54
72
  ;;
55
73
  esac
74
+ if [ -n "$caller_path_set" ]; then PATH=$caller_path; else unset PATH; fi
56
75
 
57
76
  basedir_abs=$(CDPATH= cd -P -- "$basedir" && pwd -P) || exit $?
58
77
  if [ -z "$NODE_PATH" ]; 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.
@@ -53,6 +71,7 @@ case `command -p uname -a` in
53
71
  fi
54
72
  ;;
55
73
  esac
74
+ if [ -n "$caller_path_set" ]; then PATH=$caller_path; else unset PATH; fi
56
75
 
57
76
  basedir_abs=$(CDPATH= cd -P -- "$basedir" && pwd -P) || exit $?
58
77
  if [ -z "$NODE_PATH" ]; 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.
@@ -53,6 +71,7 @@ case `command -p uname -a` in
53
71
  fi
54
72
  ;;
55
73
  esac
74
+ if [ -n "$caller_path_set" ]; then PATH=$caller_path; else unset PATH; fi
56
75
 
57
76
  basedir_abs=$(CDPATH= cd -P -- "$basedir" && pwd -P) || exit $?
58
77
  if [ -z "$NODE_PATH" ]; 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.
@@ -53,6 +71,7 @@ case `command -p uname -a` in
53
71
  fi
54
72
  ;;
55
73
  esac
74
+ if [ -n "$caller_path_set" ]; then PATH=$caller_path; else unset PATH; fi
56
75
 
57
76
  basedir_abs=$(CDPATH= cd -P -- "$basedir" && pwd -P) || exit $?
58
77
  if [ -z "$NODE_PATH" ]; 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.
@@ -53,6 +71,7 @@ case `command -p uname -a` in
53
71
  fi
54
72
  ;;
55
73
  esac
74
+ if [ -n "$caller_path_set" ]; then PATH=$caller_path; else unset PATH; fi
56
75
 
57
76
  basedir_abs=$(CDPATH= cd -P -- "$basedir" && pwd -P) || exit $?
58
77
  if [ -z "$NODE_PATH" ]; 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.
@@ -53,6 +71,7 @@ case `command -p uname -a` in
53
71
  fi
54
72
  ;;
55
73
  esac
74
+ if [ -n "$caller_path_set" ]; then PATH=$caller_path; else unset PATH; fi
56
75
 
57
76
  basedir_abs=$(CDPATH= cd -P -- "$basedir" && pwd -P) || exit $?
58
77
  if [ -z "$NODE_PATH" ]; then
@@ -14,8 +14,8 @@
14
14
  },
15
15
  "devDependencies": {
16
16
  "@tailor-platform/eslint-plugin-sdk": "0.3.0",
17
- "@tailor-platform/sdk": "2.23.0",
18
- "@types/node": "24.13.6",
17
+ "@tailor-platform/sdk": "2.24.0",
18
+ "@types/node": "24.19.0",
19
19
  "oxfmt": "0.70.0",
20
20
  "oxlint": "1.85.0",
21
21
  "oxlint-tsgolint": "7.0.2003",
@@ -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.
@@ -53,6 +71,7 @@ case `command -p uname -a` in
53
71
  fi
54
72
  ;;
55
73
  esac
74
+ if [ -n "$caller_path_set" ]; then PATH=$caller_path; else unset PATH; fi
56
75
 
57
76
  basedir_abs=$(CDPATH= cd -P -- "$basedir" && pwd -P) || exit $?
58
77
  if [ -z "$NODE_PATH" ]; 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.
@@ -53,6 +71,7 @@ case `command -p uname -a` in
53
71
  fi
54
72
  ;;
55
73
  esac
74
+ if [ -n "$caller_path_set" ]; then PATH=$caller_path; else unset PATH; fi
56
75
 
57
76
  basedir_abs=$(CDPATH= cd -P -- "$basedir" && pwd -P) || exit $?
58
77
  if [ -z "$NODE_PATH" ]; then