@tailor-platform/create-sdk 2.21.0 → 2.23.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 +10 -0
- package/README.md +79 -17
- package/dist/index.js +1 -1
- package/package.json +6 -4
- package/templates/executor/README.md +4 -3
- package/templates/executor/node_modules/.bin/oxfmt +33 -14
- package/templates/executor/node_modules/.bin/oxlint +33 -14
- package/templates/executor/node_modules/.bin/tailor +33 -14
- package/templates/executor/node_modules/.bin/tsc +33 -14
- package/templates/executor/node_modules/.bin/tsgolint +33 -14
- package/templates/executor/node_modules/.bin/tsserver +33 -14
- package/templates/executor/node_modules/.bin/vitest +33 -14
- package/templates/executor/package.json +4 -4
- package/templates/generators/node_modules/.bin/oxfmt +33 -14
- package/templates/generators/node_modules/.bin/oxlint +33 -14
- package/templates/generators/node_modules/.bin/tailor +33 -14
- package/templates/generators/node_modules/.bin/tailor-seed +33 -14
- package/templates/generators/node_modules/.bin/tsc +33 -14
- package/templates/generators/node_modules/.bin/tsgolint +33 -14
- package/templates/generators/node_modules/.bin/tsserver +33 -14
- package/templates/generators/node_modules/.bin/vitest +33 -14
- package/templates/generators/package.json +5 -5
- package/templates/hello-world/node_modules/.bin/oxfmt +33 -14
- package/templates/hello-world/node_modules/.bin/oxlint +33 -14
- package/templates/hello-world/node_modules/.bin/tailor +33 -14
- package/templates/hello-world/node_modules/.bin/tsc +33 -14
- package/templates/hello-world/node_modules/.bin/tsgolint +33 -14
- package/templates/hello-world/node_modules/.bin/tsserver +33 -14
- package/templates/hello-world/package.json +4 -4
- package/templates/inventory-management/node_modules/.bin/oxfmt +33 -14
- package/templates/inventory-management/node_modules/.bin/oxlint +33 -14
- package/templates/inventory-management/node_modules/.bin/tailor +33 -14
- package/templates/inventory-management/node_modules/.bin/tsc +33 -14
- package/templates/inventory-management/node_modules/.bin/tsgolint +33 -14
- package/templates/inventory-management/node_modules/.bin/tsserver +33 -14
- package/templates/inventory-management/package.json +4 -4
- package/templates/multi-application/node_modules/.bin/oxfmt +33 -14
- package/templates/multi-application/node_modules/.bin/oxlint +33 -14
- package/templates/multi-application/node_modules/.bin/tailor +33 -14
- package/templates/multi-application/node_modules/.bin/tsc +33 -14
- package/templates/multi-application/node_modules/.bin/tsgolint +33 -14
- package/templates/multi-application/node_modules/.bin/tsserver +33 -14
- package/templates/multi-application/package.json +4 -4
- package/templates/resolver/node_modules/.bin/oxfmt +33 -14
- package/templates/resolver/node_modules/.bin/oxlint +33 -14
- package/templates/resolver/node_modules/.bin/tailor +33 -14
- package/templates/resolver/node_modules/.bin/tsc +33 -14
- package/templates/resolver/node_modules/.bin/tsgolint +33 -14
- package/templates/resolver/node_modules/.bin/tsserver +33 -14
- package/templates/resolver/node_modules/.bin/vitest +33 -14
- package/templates/resolver/package.json +4 -4
- package/templates/static-web-site/node_modules/.bin/oxfmt +33 -14
- package/templates/static-web-site/node_modules/.bin/oxlint +33 -14
- package/templates/static-web-site/node_modules/.bin/tailor +33 -14
- package/templates/static-web-site/node_modules/.bin/tsc +33 -14
- package/templates/static-web-site/node_modules/.bin/tsgolint +33 -14
- package/templates/static-web-site/node_modules/.bin/tsserver +33 -14
- package/templates/static-web-site/package.json +4 -4
- package/templates/tailordb/node_modules/.bin/oxfmt +33 -14
- package/templates/tailordb/node_modules/.bin/oxlint +33 -14
- package/templates/tailordb/node_modules/.bin/tailor +33 -14
- package/templates/tailordb/node_modules/.bin/tsc +33 -14
- package/templates/tailordb/node_modules/.bin/tsgolint +33 -14
- package/templates/tailordb/node_modules/.bin/tsserver +33 -14
- package/templates/tailordb/node_modules/.bin/vitest +33 -14
- package/templates/tailordb/package.json +4 -4
- package/templates/workflow/node_modules/.bin/oxfmt +33 -14
- package/templates/workflow/node_modules/.bin/oxlint +33 -14
- package/templates/workflow/node_modules/.bin/tailor +33 -14
- package/templates/workflow/node_modules/.bin/tsc +33 -14
- package/templates/workflow/node_modules/.bin/tsgolint +33 -14
- package/templates/workflow/node_modules/.bin/tsserver +33 -14
- package/templates/workflow/node_modules/.bin/vitest +33 -14
- package/templates/workflow/package.json +4 -4
|
@@ -1,31 +1,49 @@
|
|
|
1
1
|
#!/bin/sh
|
|
2
2
|
# Resolve $0 through symlinks so basedir is the shim's real directory.
|
|
3
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.
|
|
4
10
|
link="$0"
|
|
11
|
+
# `${link%/*}` needs a separator to strip. A bare name came from a PATH lookup
|
|
12
|
+
# and stands for a file in the current directory.
|
|
13
|
+
case "$link" in
|
|
14
|
+
*/*|*\\*) ;;
|
|
15
|
+
*) link="./$link" ;;
|
|
16
|
+
esac
|
|
5
17
|
hops=0
|
|
6
18
|
while [ -L "$link" ] && [ "$hops" -lt 40 ]; do
|
|
7
19
|
hops=$((hops+1))
|
|
8
|
-
target=$(readlink "$link")
|
|
20
|
+
target=$(command -p readlink "$link")
|
|
9
21
|
case "$target" in
|
|
10
22
|
/*) link="$target" ;;
|
|
11
|
-
*) link="$
|
|
23
|
+
*) link="${link%/*}/$target" ;;
|
|
12
24
|
esac
|
|
13
25
|
done
|
|
14
|
-
basedir=$(
|
|
26
|
+
basedir=$(command -p printf '%s\n' "$link" | command -p sed -e 's,\\,/,g')
|
|
27
|
+
basedir="${basedir%/*}"
|
|
15
28
|
basedir_win="$basedir"
|
|
16
29
|
exe=""
|
|
17
30
|
msys=""
|
|
18
31
|
|
|
19
|
-
case `uname -a` in
|
|
32
|
+
case `command -p uname -a` in
|
|
20
33
|
*CYGWIN*|*MINGW*|*MSYS*)
|
|
21
|
-
if command -
|
|
34
|
+
if converted=$(command -p cygpath -w "$basedir" 2>/dev/null) && [ -n "$converted" ]; then
|
|
35
|
+
basedir_win="$converted"
|
|
36
|
+
elif command -v cygpath > /dev/null 2>&1; then
|
|
22
37
|
basedir_win=`cygpath -w "$basedir"`
|
|
23
38
|
fi
|
|
24
39
|
exe=".exe"
|
|
25
40
|
msys="true"
|
|
26
41
|
;;
|
|
27
42
|
*WSL2*)
|
|
28
|
-
if command -
|
|
43
|
+
if converted=$(command -p wslpath -w "$basedir" 2>/dev/null) && [ -n "$converted" ]; then
|
|
44
|
+
basedir_win="$converted"
|
|
45
|
+
exe=".exe"
|
|
46
|
+
elif command -v wslpath > /dev/null 2>&1; then
|
|
29
47
|
basedir_win="$(wslpath -w "$basedir" 2> /dev/null)"
|
|
30
48
|
if [ $? -ne 0 ] || [ -z "$basedir_win" ]; then
|
|
31
49
|
basedir_win="$basedir"
|
|
@@ -36,20 +54,21 @@ case `uname -a` in
|
|
|
36
54
|
;;
|
|
37
55
|
esac
|
|
38
56
|
|
|
57
|
+
basedir_abs=$(CDPATH= cd -P -- "$basedir" && pwd -P) || exit $?
|
|
39
58
|
if [ -z "$NODE_PATH" ]; then
|
|
40
|
-
export NODE_PATH="
|
|
59
|
+
export NODE_PATH="$basedir_abs/../../../../../../node_modules/.pnpm/vitest@5.0.1_@opentelemetry+api@1.9.1_@types+node@24.13.6_@vitest+coverage-v8@5.0.1_vit_16406cb23ebd1c0a63d8c9b509531083/node_modules/vitest/node_modules:$basedir_abs/../../../../../../node_modules/.pnpm/vitest@5.0.1_@opentelemetry+api@1.9.1_@types+node@24.13.6_@vitest+coverage-v8@5.0.1_vit_16406cb23ebd1c0a63d8c9b509531083/node_modules:$basedir_abs/../../../../../../node_modules/.pnpm/node_modules"
|
|
41
60
|
else
|
|
42
|
-
export NODE_PATH="
|
|
61
|
+
export NODE_PATH="$basedir_abs/../../../../../../node_modules/.pnpm/vitest@5.0.1_@opentelemetry+api@1.9.1_@types+node@24.13.6_@vitest+coverage-v8@5.0.1_vit_16406cb23ebd1c0a63d8c9b509531083/node_modules/vitest/node_modules:$basedir_abs/../../../../../../node_modules/.pnpm/vitest@5.0.1_@opentelemetry+api@1.9.1_@types+node@24.13.6_@vitest+coverage-v8@5.0.1_vit_16406cb23ebd1c0a63d8c9b509531083/node_modules:$basedir_abs/../../../../../../node_modules/.pnpm/node_modules:$NODE_PATH"
|
|
43
62
|
fi
|
|
44
63
|
if [ -n "$exe" ] && [ -x "$basedir/node.exe" ]; then
|
|
45
|
-
exec "$basedir/node.exe" "$basedir_win
|
|
64
|
+
exec "$basedir/node.exe" "$basedir_win/../../../../../../node_modules/.pnpm/vitest@5.0.1_@opentelemetry+api@1.9.1_@types+node@24.13.6_@vitest+coverage-v8@5.0.1_vit_16406cb23ebd1c0a63d8c9b509531083/node_modules/vitest/vitest.mjs" "$@"
|
|
46
65
|
elif [ -x "$basedir/node" ]; then
|
|
47
|
-
exec "$basedir/node" "$
|
|
66
|
+
exec "$basedir/node" "$basedir_abs/../../../../../../node_modules/.pnpm/vitest@5.0.1_@opentelemetry+api@1.9.1_@types+node@24.13.6_@vitest+coverage-v8@5.0.1_vit_16406cb23ebd1c0a63d8c9b509531083/node_modules/vitest/vitest.mjs" "$@"
|
|
48
67
|
elif command -v node >/dev/null 2>&1; then
|
|
49
|
-
exec node "$
|
|
68
|
+
exec node "$basedir_abs/../../../../../../node_modules/.pnpm/vitest@5.0.1_@opentelemetry+api@1.9.1_@types+node@24.13.6_@vitest+coverage-v8@5.0.1_vit_16406cb23ebd1c0a63d8c9b509531083/node_modules/vitest/vitest.mjs" "$@"
|
|
50
69
|
elif [ -n "$exe" ] && command -v node.exe >/dev/null 2>&1; then
|
|
51
|
-
exec node.exe "$basedir_win
|
|
70
|
+
exec node.exe "$basedir_win/../../../../../../node_modules/.pnpm/vitest@5.0.1_@opentelemetry+api@1.9.1_@types+node@24.13.6_@vitest+coverage-v8@5.0.1_vit_16406cb23ebd1c0a63d8c9b509531083/node_modules/vitest/vitest.mjs" "$@"
|
|
52
71
|
else
|
|
53
|
-
exec node "$
|
|
72
|
+
exec node "$basedir_abs/../../../../../../node_modules/.pnpm/vitest@5.0.1_@opentelemetry+api@1.9.1_@types+node@24.13.6_@vitest+coverage-v8@5.0.1_vit_16406cb23ebd1c0a63d8c9b509531083/node_modules/vitest/vitest.mjs" "$@"
|
|
54
73
|
fi
|
|
55
|
-
# cmd-shim-target
|
|
74
|
+
# cmd-shim-target=../../../../../../node_modules/.pnpm/vitest@5.0.1_@opentelemetry+api@1.9.1_@types+node@24.13.6_@vitest+coverage-v8@5.0.1_vit_16406cb23ebd1c0a63d8c9b509531083/node_modules/vitest/vitest.mjs
|
|
@@ -16,13 +16,13 @@
|
|
|
16
16
|
},
|
|
17
17
|
"devDependencies": {
|
|
18
18
|
"@tailor-platform/eslint-plugin-sdk": "0.3.0",
|
|
19
|
-
"@tailor-platform/sdk": "2.
|
|
19
|
+
"@tailor-platform/sdk": "2.23.0",
|
|
20
20
|
"@types/node": "24.13.6",
|
|
21
21
|
"graphql": "17.0.2",
|
|
22
22
|
"graphql-request": "7.4.0",
|
|
23
|
-
"oxfmt": "0.
|
|
24
|
-
"oxlint": "1.
|
|
25
|
-
"oxlint-tsgolint": "7.0.
|
|
23
|
+
"oxfmt": "0.70.0",
|
|
24
|
+
"oxlint": "1.85.0",
|
|
25
|
+
"oxlint-tsgolint": "7.0.2003",
|
|
26
26
|
"typescript": "6.0.3",
|
|
27
27
|
"vitest": "5.0.1"
|
|
28
28
|
}
|