@tailor-platform/create-sdk 2.15.0 → 2.17.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 +16 -0
- package/package.json +7 -7
- package/templates/.gitignore +3 -0
- package/templates/executor/.gitignore +2 -0
- package/templates/executor/.oxlintrc.json +9 -0
- package/templates/executor/node_modules/.bin/oxfmt +55 -0
- package/templates/executor/node_modules/.bin/oxlint +55 -0
- package/templates/executor/node_modules/.bin/tailor +55 -0
- package/templates/executor/node_modules/.bin/tsc +55 -0
- package/templates/executor/node_modules/.bin/tsgolint +55 -0
- package/templates/executor/node_modules/.bin/tsserver +55 -0
- package/templates/executor/node_modules/.bin/vitest +55 -0
- package/templates/executor/package.json +3 -3
- package/templates/generators/.gitignore +2 -0
- package/templates/generators/.oxlintrc.json +9 -0
- package/templates/generators/node_modules/.bin/oxfmt +55 -0
- package/templates/generators/node_modules/.bin/oxlint +55 -0
- package/templates/generators/node_modules/.bin/tailor +55 -0
- package/templates/generators/node_modules/.bin/tailor-seed +55 -0
- package/templates/generators/node_modules/.bin/tsc +55 -0
- package/templates/generators/node_modules/.bin/tsgolint +55 -0
- package/templates/generators/node_modules/.bin/tsserver +55 -0
- package/templates/generators/node_modules/.bin/vitest +55 -0
- package/templates/generators/package.json +4 -4
- package/templates/hello-world/.gitignore +2 -0
- package/templates/hello-world/.oxlintrc.json +9 -0
- package/templates/hello-world/node_modules/.bin/oxfmt +55 -0
- package/templates/hello-world/node_modules/.bin/oxlint +55 -0
- package/templates/hello-world/node_modules/.bin/tailor +55 -0
- package/templates/hello-world/node_modules/.bin/tsc +55 -0
- package/templates/hello-world/node_modules/.bin/tsgolint +55 -0
- package/templates/hello-world/node_modules/.bin/tsserver +55 -0
- package/templates/hello-world/package.json +3 -3
- package/templates/inventory-management/.gitignore +2 -0
- package/templates/inventory-management/.oxlintrc.json +9 -0
- package/templates/inventory-management/node_modules/.bin/oxfmt +55 -0
- package/templates/inventory-management/node_modules/.bin/oxlint +55 -0
- package/templates/inventory-management/node_modules/.bin/tailor +55 -0
- package/templates/inventory-management/node_modules/.bin/tsc +55 -0
- package/templates/inventory-management/node_modules/.bin/tsgolint +55 -0
- package/templates/inventory-management/node_modules/.bin/tsserver +55 -0
- package/templates/inventory-management/package.json +3 -3
- package/templates/multi-application/.gitignore +2 -0
- package/templates/multi-application/.oxlintrc.json +9 -0
- package/templates/multi-application/node_modules/.bin/oxfmt +55 -0
- package/templates/multi-application/node_modules/.bin/oxlint +55 -0
- package/templates/multi-application/node_modules/.bin/tailor +55 -0
- package/templates/multi-application/node_modules/.bin/tsc +55 -0
- package/templates/multi-application/node_modules/.bin/tsgolint +55 -0
- package/templates/multi-application/node_modules/.bin/tsserver +55 -0
- package/templates/multi-application/package.json +3 -3
- package/templates/resolver/.gitignore +2 -0
- package/templates/resolver/.oxlintrc.json +9 -0
- package/templates/resolver/node_modules/.bin/oxfmt +55 -0
- package/templates/resolver/node_modules/.bin/oxlint +55 -0
- package/templates/resolver/node_modules/.bin/tailor +55 -0
- package/templates/resolver/node_modules/.bin/tsc +55 -0
- package/templates/resolver/node_modules/.bin/tsgolint +55 -0
- package/templates/resolver/node_modules/.bin/tsserver +55 -0
- package/templates/resolver/node_modules/.bin/vitest +55 -0
- package/templates/resolver/package.json +3 -3
- package/templates/static-web-site/.gitignore +2 -0
- package/templates/static-web-site/.oxlintrc.json +9 -0
- package/templates/static-web-site/node_modules/.bin/oxfmt +55 -0
- package/templates/static-web-site/node_modules/.bin/oxlint +55 -0
- package/templates/static-web-site/node_modules/.bin/tailor +55 -0
- package/templates/static-web-site/node_modules/.bin/tsc +55 -0
- package/templates/static-web-site/node_modules/.bin/tsgolint +55 -0
- package/templates/static-web-site/node_modules/.bin/tsserver +55 -0
- package/templates/static-web-site/package.json +3 -3
- package/templates/tailordb/.gitignore +2 -0
- package/templates/tailordb/.oxlintrc.json +9 -0
- package/templates/tailordb/node_modules/.bin/oxfmt +55 -0
- package/templates/tailordb/node_modules/.bin/oxlint +55 -0
- package/templates/tailordb/node_modules/.bin/tailor +55 -0
- package/templates/tailordb/node_modules/.bin/tsc +55 -0
- package/templates/tailordb/node_modules/.bin/tsgolint +55 -0
- package/templates/tailordb/node_modules/.bin/tsserver +55 -0
- package/templates/tailordb/node_modules/.bin/vitest +55 -0
- package/templates/tailordb/package.json +3 -3
- package/templates/workflow/.gitignore +2 -0
- package/templates/workflow/.oxlintrc.json +9 -0
- package/templates/workflow/node_modules/.bin/oxfmt +55 -0
- package/templates/workflow/node_modules/.bin/oxlint +55 -0
- package/templates/workflow/node_modules/.bin/tailor +55 -0
- package/templates/workflow/node_modules/.bin/tsc +55 -0
- package/templates/workflow/node_modules/.bin/tsgolint +55 -0
- package/templates/workflow/node_modules/.bin/tsserver +55 -0
- package/templates/workflow/node_modules/.bin/vitest +55 -0
- package/templates/workflow/package.json +3 -3
- package/templates/generators/.prettierrc +0 -1
|
@@ -0,0 +1,55 @@
|
|
|
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
|
+
link="$0"
|
|
5
|
+
hops=0
|
|
6
|
+
while [ -L "$link" ] && [ "$hops" -lt 40 ]; do
|
|
7
|
+
hops=$((hops+1))
|
|
8
|
+
target=$(readlink "$link")
|
|
9
|
+
case "$target" in
|
|
10
|
+
/*) link="$target" ;;
|
|
11
|
+
*) link="$(dirname "$link")/$target" ;;
|
|
12
|
+
esac
|
|
13
|
+
done
|
|
14
|
+
basedir=$(dirname "$(echo "$link" | sed -e 's,\\,/,g')")
|
|
15
|
+
basedir_win="$basedir"
|
|
16
|
+
exe=""
|
|
17
|
+
msys=""
|
|
18
|
+
|
|
19
|
+
case `uname -a` in
|
|
20
|
+
*CYGWIN*|*MINGW*|*MSYS*)
|
|
21
|
+
if command -v cygpath > /dev/null 2>&1; then
|
|
22
|
+
basedir_win=`cygpath -w "$basedir"`
|
|
23
|
+
fi
|
|
24
|
+
exe=".exe"
|
|
25
|
+
msys="true"
|
|
26
|
+
;;
|
|
27
|
+
*WSL2*)
|
|
28
|
+
if command -v wslpath > /dev/null 2>&1; then
|
|
29
|
+
basedir_win="$(wslpath -w "$basedir" 2> /dev/null)"
|
|
30
|
+
if [ $? -ne 0 ] || [ -z "$basedir_win" ]; then
|
|
31
|
+
basedir_win="$basedir"
|
|
32
|
+
else
|
|
33
|
+
exe=".exe"
|
|
34
|
+
fi
|
|
35
|
+
fi
|
|
36
|
+
;;
|
|
37
|
+
esac
|
|
38
|
+
|
|
39
|
+
if [ -z "$NODE_PATH" ]; then
|
|
40
|
+
export NODE_PATH="/home/runner/work/sdk/sdk/node_modules/.pnpm/typescript@6.0.3/node_modules/typescript/node_modules:/home/runner/work/sdk/sdk/node_modules/.pnpm/typescript@6.0.3/node_modules:/home/runner/work/sdk/sdk/node_modules/.pnpm/node_modules"
|
|
41
|
+
else
|
|
42
|
+
export NODE_PATH="/home/runner/work/sdk/sdk/node_modules/.pnpm/typescript@6.0.3/node_modules/typescript/node_modules:/home/runner/work/sdk/sdk/node_modules/.pnpm/typescript@6.0.3/node_modules:/home/runner/work/sdk/sdk/node_modules/.pnpm/node_modules:$NODE_PATH"
|
|
43
|
+
fi
|
|
44
|
+
if [ -n "$exe" ] && [ -x "$basedir/node.exe" ]; then
|
|
45
|
+
exec "$basedir/node.exe" "$basedir_win/../typescript/bin/tsserver" "$@"
|
|
46
|
+
elif [ -x "$basedir/node" ]; then
|
|
47
|
+
exec "$basedir/node" "$basedir/../typescript/bin/tsserver" "$@"
|
|
48
|
+
elif command -v node >/dev/null 2>&1; then
|
|
49
|
+
exec node "$basedir/../typescript/bin/tsserver" "$@"
|
|
50
|
+
elif [ -n "$exe" ] && command -v node.exe >/dev/null 2>&1; then
|
|
51
|
+
exec node.exe "$basedir_win/../typescript/bin/tsserver" "$@"
|
|
52
|
+
else
|
|
53
|
+
exec node "$basedir/../typescript/bin/tsserver" "$@"
|
|
54
|
+
fi
|
|
55
|
+
# cmd-shim-target=/home/runner/work/sdk/sdk/packages/create-sdk/templates/tailordb/node_modules/typescript/./bin/tsserver
|
|
@@ -0,0 +1,55 @@
|
|
|
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
|
+
link="$0"
|
|
5
|
+
hops=0
|
|
6
|
+
while [ -L "$link" ] && [ "$hops" -lt 40 ]; do
|
|
7
|
+
hops=$((hops+1))
|
|
8
|
+
target=$(readlink "$link")
|
|
9
|
+
case "$target" in
|
|
10
|
+
/*) link="$target" ;;
|
|
11
|
+
*) link="$(dirname "$link")/$target" ;;
|
|
12
|
+
esac
|
|
13
|
+
done
|
|
14
|
+
basedir=$(dirname "$(echo "$link" | sed -e 's,\\,/,g')")
|
|
15
|
+
basedir_win="$basedir"
|
|
16
|
+
exe=""
|
|
17
|
+
msys=""
|
|
18
|
+
|
|
19
|
+
case `uname -a` in
|
|
20
|
+
*CYGWIN*|*MINGW*|*MSYS*)
|
|
21
|
+
if command -v cygpath > /dev/null 2>&1; then
|
|
22
|
+
basedir_win=`cygpath -w "$basedir"`
|
|
23
|
+
fi
|
|
24
|
+
exe=".exe"
|
|
25
|
+
msys="true"
|
|
26
|
+
;;
|
|
27
|
+
*WSL2*)
|
|
28
|
+
if command -v wslpath > /dev/null 2>&1; then
|
|
29
|
+
basedir_win="$(wslpath -w "$basedir" 2> /dev/null)"
|
|
30
|
+
if [ $? -ne 0 ] || [ -z "$basedir_win" ]; then
|
|
31
|
+
basedir_win="$basedir"
|
|
32
|
+
else
|
|
33
|
+
exe=".exe"
|
|
34
|
+
fi
|
|
35
|
+
fi
|
|
36
|
+
;;
|
|
37
|
+
esac
|
|
38
|
+
|
|
39
|
+
if [ -z "$NODE_PATH" ]; then
|
|
40
|
+
export NODE_PATH="/home/runner/work/sdk/sdk/node_modules/.pnpm/vitest@5.0.0_@opentelemetry+api@1.9.1_@types+node@24.13.4_@vitest+coverage-v8@5.0.0_vit_9537d0eae3d455743a86158ad92f325f/node_modules/vitest/node_modules:/home/runner/work/sdk/sdk/node_modules/.pnpm/vitest@5.0.0_@opentelemetry+api@1.9.1_@types+node@24.13.4_@vitest+coverage-v8@5.0.0_vit_9537d0eae3d455743a86158ad92f325f/node_modules:/home/runner/work/sdk/sdk/node_modules/.pnpm/node_modules"
|
|
41
|
+
else
|
|
42
|
+
export NODE_PATH="/home/runner/work/sdk/sdk/node_modules/.pnpm/vitest@5.0.0_@opentelemetry+api@1.9.1_@types+node@24.13.4_@vitest+coverage-v8@5.0.0_vit_9537d0eae3d455743a86158ad92f325f/node_modules/vitest/node_modules:/home/runner/work/sdk/sdk/node_modules/.pnpm/vitest@5.0.0_@opentelemetry+api@1.9.1_@types+node@24.13.4_@vitest+coverage-v8@5.0.0_vit_9537d0eae3d455743a86158ad92f325f/node_modules:/home/runner/work/sdk/sdk/node_modules/.pnpm/node_modules:$NODE_PATH"
|
|
43
|
+
fi
|
|
44
|
+
if [ -n "$exe" ] && [ -x "$basedir/node.exe" ]; then
|
|
45
|
+
exec "$basedir/node.exe" "$basedir_win/../vitest/vitest.mjs" "$@"
|
|
46
|
+
elif [ -x "$basedir/node" ]; then
|
|
47
|
+
exec "$basedir/node" "$basedir/../vitest/vitest.mjs" "$@"
|
|
48
|
+
elif command -v node >/dev/null 2>&1; then
|
|
49
|
+
exec node "$basedir/../vitest/vitest.mjs" "$@"
|
|
50
|
+
elif [ -n "$exe" ] && command -v node.exe >/dev/null 2>&1; then
|
|
51
|
+
exec node.exe "$basedir_win/../vitest/vitest.mjs" "$@"
|
|
52
|
+
else
|
|
53
|
+
exec node "$basedir/../vitest/vitest.mjs" "$@"
|
|
54
|
+
fi
|
|
55
|
+
# cmd-shim-target=/home/runner/work/sdk/sdk/packages/create-sdk/templates/tailordb/node_modules/vitest/./vitest.mjs
|
|
@@ -14,9 +14,9 @@
|
|
|
14
14
|
"typecheck": "tsc --noEmit"
|
|
15
15
|
},
|
|
16
16
|
"devDependencies": {
|
|
17
|
-
"@tailor-platform/eslint-plugin-sdk": "0.
|
|
18
|
-
"@tailor-platform/sdk": "2.
|
|
19
|
-
"@types/node": "24.13.
|
|
17
|
+
"@tailor-platform/eslint-plugin-sdk": "0.3.0",
|
|
18
|
+
"@tailor-platform/sdk": "2.17.0",
|
|
19
|
+
"@types/node": "24.13.4",
|
|
20
20
|
"oxfmt": "0.66.0",
|
|
21
21
|
"oxlint": "1.81.0",
|
|
22
22
|
"oxlint-tsgolint": "7.0.2001",
|
|
@@ -16,8 +16,17 @@
|
|
|
16
16
|
"ignorePatterns": [".tailor/", "src/generated/", "tailor.d.ts"],
|
|
17
17
|
"rules": {
|
|
18
18
|
"tailor-sdk/no-api-prefix-in-path-pattern": "warn",
|
|
19
|
+
"tailor-sdk/no-direct-exec-job-function": "warn",
|
|
19
20
|
"tailor-sdk/no-execute-script-arg-stringify": "warn",
|
|
21
|
+
"tailor-sdk/no-job-start-outside-body": "warn",
|
|
22
|
+
"tailor-sdk/no-node-builtin-imports": "warn",
|
|
23
|
+
"tailor-sdk/no-node-only-globals": "warn",
|
|
20
24
|
"tailor-sdk/no-unconditional-permit": "warn",
|
|
25
|
+
"tailor-sdk/valid-execution-policy-definition": "warn",
|
|
26
|
+
"tailor-sdk/valid-resolver-permission": "warn",
|
|
27
|
+
"tailor-sdk/valid-workflow-exports": "warn",
|
|
28
|
+
"tailor-sdk/valid-workflow-job-definition": "warn",
|
|
29
|
+
"tailor-sdk/valid-workflow-retry-policy": "warn",
|
|
21
30
|
"import/default": "off",
|
|
22
31
|
"import/namespace": "off",
|
|
23
32
|
"import/no-duplicates": ["error", { "considerQueryString": true }],
|
|
@@ -0,0 +1,55 @@
|
|
|
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
|
+
link="$0"
|
|
5
|
+
hops=0
|
|
6
|
+
while [ -L "$link" ] && [ "$hops" -lt 40 ]; do
|
|
7
|
+
hops=$((hops+1))
|
|
8
|
+
target=$(readlink "$link")
|
|
9
|
+
case "$target" in
|
|
10
|
+
/*) link="$target" ;;
|
|
11
|
+
*) link="$(dirname "$link")/$target" ;;
|
|
12
|
+
esac
|
|
13
|
+
done
|
|
14
|
+
basedir=$(dirname "$(echo "$link" | sed -e 's,\\,/,g')")
|
|
15
|
+
basedir_win="$basedir"
|
|
16
|
+
exe=""
|
|
17
|
+
msys=""
|
|
18
|
+
|
|
19
|
+
case `uname -a` in
|
|
20
|
+
*CYGWIN*|*MINGW*|*MSYS*)
|
|
21
|
+
if command -v cygpath > /dev/null 2>&1; then
|
|
22
|
+
basedir_win=`cygpath -w "$basedir"`
|
|
23
|
+
fi
|
|
24
|
+
exe=".exe"
|
|
25
|
+
msys="true"
|
|
26
|
+
;;
|
|
27
|
+
*WSL2*)
|
|
28
|
+
if command -v wslpath > /dev/null 2>&1; then
|
|
29
|
+
basedir_win="$(wslpath -w "$basedir" 2> /dev/null)"
|
|
30
|
+
if [ $? -ne 0 ] || [ -z "$basedir_win" ]; then
|
|
31
|
+
basedir_win="$basedir"
|
|
32
|
+
else
|
|
33
|
+
exe=".exe"
|
|
34
|
+
fi
|
|
35
|
+
fi
|
|
36
|
+
;;
|
|
37
|
+
esac
|
|
38
|
+
|
|
39
|
+
if [ -z "$NODE_PATH" ]; then
|
|
40
|
+
export NODE_PATH="/home/runner/work/sdk/sdk/node_modules/.pnpm/oxfmt@0.66.0/node_modules/oxfmt/node_modules:/home/runner/work/sdk/sdk/node_modules/.pnpm/oxfmt@0.66.0/node_modules:/home/runner/work/sdk/sdk/node_modules/.pnpm/node_modules"
|
|
41
|
+
else
|
|
42
|
+
export NODE_PATH="/home/runner/work/sdk/sdk/node_modules/.pnpm/oxfmt@0.66.0/node_modules/oxfmt/node_modules:/home/runner/work/sdk/sdk/node_modules/.pnpm/oxfmt@0.66.0/node_modules:/home/runner/work/sdk/sdk/node_modules/.pnpm/node_modules:$NODE_PATH"
|
|
43
|
+
fi
|
|
44
|
+
if [ -n "$exe" ] && [ -x "$basedir/node.exe" ]; then
|
|
45
|
+
exec "$basedir/node.exe" "$basedir_win/../oxfmt/bin/oxfmt" "$@"
|
|
46
|
+
elif [ -x "$basedir/node" ]; then
|
|
47
|
+
exec "$basedir/node" "$basedir/../oxfmt/bin/oxfmt" "$@"
|
|
48
|
+
elif command -v node >/dev/null 2>&1; then
|
|
49
|
+
exec node "$basedir/../oxfmt/bin/oxfmt" "$@"
|
|
50
|
+
elif [ -n "$exe" ] && command -v node.exe >/dev/null 2>&1; then
|
|
51
|
+
exec node.exe "$basedir_win/../oxfmt/bin/oxfmt" "$@"
|
|
52
|
+
else
|
|
53
|
+
exec node "$basedir/../oxfmt/bin/oxfmt" "$@"
|
|
54
|
+
fi
|
|
55
|
+
# cmd-shim-target=/home/runner/work/sdk/sdk/packages/create-sdk/templates/workflow/node_modules/oxfmt/bin/oxfmt
|
|
@@ -0,0 +1,55 @@
|
|
|
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
|
+
link="$0"
|
|
5
|
+
hops=0
|
|
6
|
+
while [ -L "$link" ] && [ "$hops" -lt 40 ]; do
|
|
7
|
+
hops=$((hops+1))
|
|
8
|
+
target=$(readlink "$link")
|
|
9
|
+
case "$target" in
|
|
10
|
+
/*) link="$target" ;;
|
|
11
|
+
*) link="$(dirname "$link")/$target" ;;
|
|
12
|
+
esac
|
|
13
|
+
done
|
|
14
|
+
basedir=$(dirname "$(echo "$link" | sed -e 's,\\,/,g')")
|
|
15
|
+
basedir_win="$basedir"
|
|
16
|
+
exe=""
|
|
17
|
+
msys=""
|
|
18
|
+
|
|
19
|
+
case `uname -a` in
|
|
20
|
+
*CYGWIN*|*MINGW*|*MSYS*)
|
|
21
|
+
if command -v cygpath > /dev/null 2>&1; then
|
|
22
|
+
basedir_win=`cygpath -w "$basedir"`
|
|
23
|
+
fi
|
|
24
|
+
exe=".exe"
|
|
25
|
+
msys="true"
|
|
26
|
+
;;
|
|
27
|
+
*WSL2*)
|
|
28
|
+
if command -v wslpath > /dev/null 2>&1; then
|
|
29
|
+
basedir_win="$(wslpath -w "$basedir" 2> /dev/null)"
|
|
30
|
+
if [ $? -ne 0 ] || [ -z "$basedir_win" ]; then
|
|
31
|
+
basedir_win="$basedir"
|
|
32
|
+
else
|
|
33
|
+
exe=".exe"
|
|
34
|
+
fi
|
|
35
|
+
fi
|
|
36
|
+
;;
|
|
37
|
+
esac
|
|
38
|
+
|
|
39
|
+
if [ -z "$NODE_PATH" ]; then
|
|
40
|
+
export NODE_PATH="/home/runner/work/sdk/sdk/node_modules/.pnpm/oxlint@1.81.0_oxlint-tsgolint@7.0.2001/node_modules/oxlint/node_modules:/home/runner/work/sdk/sdk/node_modules/.pnpm/oxlint@1.81.0_oxlint-tsgolint@7.0.2001/node_modules:/home/runner/work/sdk/sdk/node_modules/.pnpm/node_modules"
|
|
41
|
+
else
|
|
42
|
+
export NODE_PATH="/home/runner/work/sdk/sdk/node_modules/.pnpm/oxlint@1.81.0_oxlint-tsgolint@7.0.2001/node_modules/oxlint/node_modules:/home/runner/work/sdk/sdk/node_modules/.pnpm/oxlint@1.81.0_oxlint-tsgolint@7.0.2001/node_modules:/home/runner/work/sdk/sdk/node_modules/.pnpm/node_modules:$NODE_PATH"
|
|
43
|
+
fi
|
|
44
|
+
if [ -n "$exe" ] && [ -x "$basedir/node.exe" ]; then
|
|
45
|
+
exec "$basedir/node.exe" "$basedir_win/../oxlint/bin/oxlint" "$@"
|
|
46
|
+
elif [ -x "$basedir/node" ]; then
|
|
47
|
+
exec "$basedir/node" "$basedir/../oxlint/bin/oxlint" "$@"
|
|
48
|
+
elif command -v node >/dev/null 2>&1; then
|
|
49
|
+
exec node "$basedir/../oxlint/bin/oxlint" "$@"
|
|
50
|
+
elif [ -n "$exe" ] && command -v node.exe >/dev/null 2>&1; then
|
|
51
|
+
exec node.exe "$basedir_win/../oxlint/bin/oxlint" "$@"
|
|
52
|
+
else
|
|
53
|
+
exec node "$basedir/../oxlint/bin/oxlint" "$@"
|
|
54
|
+
fi
|
|
55
|
+
# cmd-shim-target=/home/runner/work/sdk/sdk/packages/create-sdk/templates/workflow/node_modules/oxlint/bin/oxlint
|
|
@@ -0,0 +1,55 @@
|
|
|
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
|
+
link="$0"
|
|
5
|
+
hops=0
|
|
6
|
+
while [ -L "$link" ] && [ "$hops" -lt 40 ]; do
|
|
7
|
+
hops=$((hops+1))
|
|
8
|
+
target=$(readlink "$link")
|
|
9
|
+
case "$target" in
|
|
10
|
+
/*) link="$target" ;;
|
|
11
|
+
*) link="$(dirname "$link")/$target" ;;
|
|
12
|
+
esac
|
|
13
|
+
done
|
|
14
|
+
basedir=$(dirname "$(echo "$link" | sed -e 's,\\,/,g')")
|
|
15
|
+
basedir_win="$basedir"
|
|
16
|
+
exe=""
|
|
17
|
+
msys=""
|
|
18
|
+
|
|
19
|
+
case `uname -a` in
|
|
20
|
+
*CYGWIN*|*MINGW*|*MSYS*)
|
|
21
|
+
if command -v cygpath > /dev/null 2>&1; then
|
|
22
|
+
basedir_win=`cygpath -w "$basedir"`
|
|
23
|
+
fi
|
|
24
|
+
exe=".exe"
|
|
25
|
+
msys="true"
|
|
26
|
+
;;
|
|
27
|
+
*WSL2*)
|
|
28
|
+
if command -v wslpath > /dev/null 2>&1; then
|
|
29
|
+
basedir_win="$(wslpath -w "$basedir" 2> /dev/null)"
|
|
30
|
+
if [ $? -ne 0 ] || [ -z "$basedir_win" ]; then
|
|
31
|
+
basedir_win="$basedir"
|
|
32
|
+
else
|
|
33
|
+
exe=".exe"
|
|
34
|
+
fi
|
|
35
|
+
fi
|
|
36
|
+
;;
|
|
37
|
+
esac
|
|
38
|
+
|
|
39
|
+
if [ -z "$NODE_PATH" ]; then
|
|
40
|
+
export NODE_PATH="/home/runner/work/sdk/sdk/node_modules/.pnpm/node_modules"
|
|
41
|
+
else
|
|
42
|
+
export NODE_PATH="/home/runner/work/sdk/sdk/node_modules/.pnpm/node_modules:$NODE_PATH"
|
|
43
|
+
fi
|
|
44
|
+
if [ -n "$exe" ] && [ -x "$basedir/node.exe" ]; then
|
|
45
|
+
exec "$basedir/node.exe" "$basedir_win/../@tailor-platform/sdk/bin/tailor.mjs" "$@"
|
|
46
|
+
elif [ -x "$basedir/node" ]; then
|
|
47
|
+
exec "$basedir/node" "$basedir/../@tailor-platform/sdk/bin/tailor.mjs" "$@"
|
|
48
|
+
elif command -v node >/dev/null 2>&1; then
|
|
49
|
+
exec node "$basedir/../@tailor-platform/sdk/bin/tailor.mjs" "$@"
|
|
50
|
+
elif [ -n "$exe" ] && command -v node.exe >/dev/null 2>&1; then
|
|
51
|
+
exec node.exe "$basedir_win/../@tailor-platform/sdk/bin/tailor.mjs" "$@"
|
|
52
|
+
else
|
|
53
|
+
exec node "$basedir/../@tailor-platform/sdk/bin/tailor.mjs" "$@"
|
|
54
|
+
fi
|
|
55
|
+
# cmd-shim-target=/home/runner/work/sdk/sdk/packages/create-sdk/templates/workflow/node_modules/@tailor-platform/sdk/./bin/tailor.mjs
|
|
@@ -0,0 +1,55 @@
|
|
|
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
|
+
link="$0"
|
|
5
|
+
hops=0
|
|
6
|
+
while [ -L "$link" ] && [ "$hops" -lt 40 ]; do
|
|
7
|
+
hops=$((hops+1))
|
|
8
|
+
target=$(readlink "$link")
|
|
9
|
+
case "$target" in
|
|
10
|
+
/*) link="$target" ;;
|
|
11
|
+
*) link="$(dirname "$link")/$target" ;;
|
|
12
|
+
esac
|
|
13
|
+
done
|
|
14
|
+
basedir=$(dirname "$(echo "$link" | sed -e 's,\\,/,g')")
|
|
15
|
+
basedir_win="$basedir"
|
|
16
|
+
exe=""
|
|
17
|
+
msys=""
|
|
18
|
+
|
|
19
|
+
case `uname -a` in
|
|
20
|
+
*CYGWIN*|*MINGW*|*MSYS*)
|
|
21
|
+
if command -v cygpath > /dev/null 2>&1; then
|
|
22
|
+
basedir_win=`cygpath -w "$basedir"`
|
|
23
|
+
fi
|
|
24
|
+
exe=".exe"
|
|
25
|
+
msys="true"
|
|
26
|
+
;;
|
|
27
|
+
*WSL2*)
|
|
28
|
+
if command -v wslpath > /dev/null 2>&1; then
|
|
29
|
+
basedir_win="$(wslpath -w "$basedir" 2> /dev/null)"
|
|
30
|
+
if [ $? -ne 0 ] || [ -z "$basedir_win" ]; then
|
|
31
|
+
basedir_win="$basedir"
|
|
32
|
+
else
|
|
33
|
+
exe=".exe"
|
|
34
|
+
fi
|
|
35
|
+
fi
|
|
36
|
+
;;
|
|
37
|
+
esac
|
|
38
|
+
|
|
39
|
+
if [ -z "$NODE_PATH" ]; then
|
|
40
|
+
export NODE_PATH="/home/runner/work/sdk/sdk/node_modules/.pnpm/typescript@6.0.3/node_modules/typescript/node_modules:/home/runner/work/sdk/sdk/node_modules/.pnpm/typescript@6.0.3/node_modules:/home/runner/work/sdk/sdk/node_modules/.pnpm/node_modules"
|
|
41
|
+
else
|
|
42
|
+
export NODE_PATH="/home/runner/work/sdk/sdk/node_modules/.pnpm/typescript@6.0.3/node_modules/typescript/node_modules:/home/runner/work/sdk/sdk/node_modules/.pnpm/typescript@6.0.3/node_modules:/home/runner/work/sdk/sdk/node_modules/.pnpm/node_modules:$NODE_PATH"
|
|
43
|
+
fi
|
|
44
|
+
if [ -n "$exe" ] && [ -x "$basedir/node.exe" ]; then
|
|
45
|
+
exec "$basedir/node.exe" "$basedir_win/../typescript/bin/tsc" "$@"
|
|
46
|
+
elif [ -x "$basedir/node" ]; then
|
|
47
|
+
exec "$basedir/node" "$basedir/../typescript/bin/tsc" "$@"
|
|
48
|
+
elif command -v node >/dev/null 2>&1; then
|
|
49
|
+
exec node "$basedir/../typescript/bin/tsc" "$@"
|
|
50
|
+
elif [ -n "$exe" ] && command -v node.exe >/dev/null 2>&1; then
|
|
51
|
+
exec node.exe "$basedir_win/../typescript/bin/tsc" "$@"
|
|
52
|
+
else
|
|
53
|
+
exec node "$basedir/../typescript/bin/tsc" "$@"
|
|
54
|
+
fi
|
|
55
|
+
# cmd-shim-target=/home/runner/work/sdk/sdk/packages/create-sdk/templates/workflow/node_modules/typescript/./bin/tsc
|
|
@@ -0,0 +1,55 @@
|
|
|
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
|
+
link="$0"
|
|
5
|
+
hops=0
|
|
6
|
+
while [ -L "$link" ] && [ "$hops" -lt 40 ]; do
|
|
7
|
+
hops=$((hops+1))
|
|
8
|
+
target=$(readlink "$link")
|
|
9
|
+
case "$target" in
|
|
10
|
+
/*) link="$target" ;;
|
|
11
|
+
*) link="$(dirname "$link")/$target" ;;
|
|
12
|
+
esac
|
|
13
|
+
done
|
|
14
|
+
basedir=$(dirname "$(echo "$link" | sed -e 's,\\,/,g')")
|
|
15
|
+
basedir_win="$basedir"
|
|
16
|
+
exe=""
|
|
17
|
+
msys=""
|
|
18
|
+
|
|
19
|
+
case `uname -a` in
|
|
20
|
+
*CYGWIN*|*MINGW*|*MSYS*)
|
|
21
|
+
if command -v cygpath > /dev/null 2>&1; then
|
|
22
|
+
basedir_win=`cygpath -w "$basedir"`
|
|
23
|
+
fi
|
|
24
|
+
exe=".exe"
|
|
25
|
+
msys="true"
|
|
26
|
+
;;
|
|
27
|
+
*WSL2*)
|
|
28
|
+
if command -v wslpath > /dev/null 2>&1; then
|
|
29
|
+
basedir_win="$(wslpath -w "$basedir" 2> /dev/null)"
|
|
30
|
+
if [ $? -ne 0 ] || [ -z "$basedir_win" ]; then
|
|
31
|
+
basedir_win="$basedir"
|
|
32
|
+
else
|
|
33
|
+
exe=".exe"
|
|
34
|
+
fi
|
|
35
|
+
fi
|
|
36
|
+
;;
|
|
37
|
+
esac
|
|
38
|
+
|
|
39
|
+
if [ -z "$NODE_PATH" ]; then
|
|
40
|
+
export NODE_PATH="/home/runner/work/sdk/sdk/node_modules/.pnpm/oxlint-tsgolint@7.0.2001/node_modules/oxlint-tsgolint/node_modules:/home/runner/work/sdk/sdk/node_modules/.pnpm/oxlint-tsgolint@7.0.2001/node_modules:/home/runner/work/sdk/sdk/node_modules/.pnpm/node_modules"
|
|
41
|
+
else
|
|
42
|
+
export NODE_PATH="/home/runner/work/sdk/sdk/node_modules/.pnpm/oxlint-tsgolint@7.0.2001/node_modules/oxlint-tsgolint/node_modules:/home/runner/work/sdk/sdk/node_modules/.pnpm/oxlint-tsgolint@7.0.2001/node_modules:/home/runner/work/sdk/sdk/node_modules/.pnpm/node_modules:$NODE_PATH"
|
|
43
|
+
fi
|
|
44
|
+
if [ -n "$exe" ] && [ -x "$basedir/node.exe" ]; then
|
|
45
|
+
exec "$basedir/node.exe" "$basedir_win/../oxlint-tsgolint/bin/tsgolint.js" "$@"
|
|
46
|
+
elif [ -x "$basedir/node" ]; then
|
|
47
|
+
exec "$basedir/node" "$basedir/../oxlint-tsgolint/bin/tsgolint.js" "$@"
|
|
48
|
+
elif command -v node >/dev/null 2>&1; then
|
|
49
|
+
exec node "$basedir/../oxlint-tsgolint/bin/tsgolint.js" "$@"
|
|
50
|
+
elif [ -n "$exe" ] && command -v node.exe >/dev/null 2>&1; then
|
|
51
|
+
exec node.exe "$basedir_win/../oxlint-tsgolint/bin/tsgolint.js" "$@"
|
|
52
|
+
else
|
|
53
|
+
exec node "$basedir/../oxlint-tsgolint/bin/tsgolint.js" "$@"
|
|
54
|
+
fi
|
|
55
|
+
# cmd-shim-target=/home/runner/work/sdk/sdk/packages/create-sdk/templates/workflow/node_modules/oxlint-tsgolint/./bin/tsgolint.js
|
|
@@ -0,0 +1,55 @@
|
|
|
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
|
+
link="$0"
|
|
5
|
+
hops=0
|
|
6
|
+
while [ -L "$link" ] && [ "$hops" -lt 40 ]; do
|
|
7
|
+
hops=$((hops+1))
|
|
8
|
+
target=$(readlink "$link")
|
|
9
|
+
case "$target" in
|
|
10
|
+
/*) link="$target" ;;
|
|
11
|
+
*) link="$(dirname "$link")/$target" ;;
|
|
12
|
+
esac
|
|
13
|
+
done
|
|
14
|
+
basedir=$(dirname "$(echo "$link" | sed -e 's,\\,/,g')")
|
|
15
|
+
basedir_win="$basedir"
|
|
16
|
+
exe=""
|
|
17
|
+
msys=""
|
|
18
|
+
|
|
19
|
+
case `uname -a` in
|
|
20
|
+
*CYGWIN*|*MINGW*|*MSYS*)
|
|
21
|
+
if command -v cygpath > /dev/null 2>&1; then
|
|
22
|
+
basedir_win=`cygpath -w "$basedir"`
|
|
23
|
+
fi
|
|
24
|
+
exe=".exe"
|
|
25
|
+
msys="true"
|
|
26
|
+
;;
|
|
27
|
+
*WSL2*)
|
|
28
|
+
if command -v wslpath > /dev/null 2>&1; then
|
|
29
|
+
basedir_win="$(wslpath -w "$basedir" 2> /dev/null)"
|
|
30
|
+
if [ $? -ne 0 ] || [ -z "$basedir_win" ]; then
|
|
31
|
+
basedir_win="$basedir"
|
|
32
|
+
else
|
|
33
|
+
exe=".exe"
|
|
34
|
+
fi
|
|
35
|
+
fi
|
|
36
|
+
;;
|
|
37
|
+
esac
|
|
38
|
+
|
|
39
|
+
if [ -z "$NODE_PATH" ]; then
|
|
40
|
+
export NODE_PATH="/home/runner/work/sdk/sdk/node_modules/.pnpm/typescript@6.0.3/node_modules/typescript/node_modules:/home/runner/work/sdk/sdk/node_modules/.pnpm/typescript@6.0.3/node_modules:/home/runner/work/sdk/sdk/node_modules/.pnpm/node_modules"
|
|
41
|
+
else
|
|
42
|
+
export NODE_PATH="/home/runner/work/sdk/sdk/node_modules/.pnpm/typescript@6.0.3/node_modules/typescript/node_modules:/home/runner/work/sdk/sdk/node_modules/.pnpm/typescript@6.0.3/node_modules:/home/runner/work/sdk/sdk/node_modules/.pnpm/node_modules:$NODE_PATH"
|
|
43
|
+
fi
|
|
44
|
+
if [ -n "$exe" ] && [ -x "$basedir/node.exe" ]; then
|
|
45
|
+
exec "$basedir/node.exe" "$basedir_win/../typescript/bin/tsserver" "$@"
|
|
46
|
+
elif [ -x "$basedir/node" ]; then
|
|
47
|
+
exec "$basedir/node" "$basedir/../typescript/bin/tsserver" "$@"
|
|
48
|
+
elif command -v node >/dev/null 2>&1; then
|
|
49
|
+
exec node "$basedir/../typescript/bin/tsserver" "$@"
|
|
50
|
+
elif [ -n "$exe" ] && command -v node.exe >/dev/null 2>&1; then
|
|
51
|
+
exec node.exe "$basedir_win/../typescript/bin/tsserver" "$@"
|
|
52
|
+
else
|
|
53
|
+
exec node "$basedir/../typescript/bin/tsserver" "$@"
|
|
54
|
+
fi
|
|
55
|
+
# cmd-shim-target=/home/runner/work/sdk/sdk/packages/create-sdk/templates/workflow/node_modules/typescript/./bin/tsserver
|
|
@@ -0,0 +1,55 @@
|
|
|
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
|
+
link="$0"
|
|
5
|
+
hops=0
|
|
6
|
+
while [ -L "$link" ] && [ "$hops" -lt 40 ]; do
|
|
7
|
+
hops=$((hops+1))
|
|
8
|
+
target=$(readlink "$link")
|
|
9
|
+
case "$target" in
|
|
10
|
+
/*) link="$target" ;;
|
|
11
|
+
*) link="$(dirname "$link")/$target" ;;
|
|
12
|
+
esac
|
|
13
|
+
done
|
|
14
|
+
basedir=$(dirname "$(echo "$link" | sed -e 's,\\,/,g')")
|
|
15
|
+
basedir_win="$basedir"
|
|
16
|
+
exe=""
|
|
17
|
+
msys=""
|
|
18
|
+
|
|
19
|
+
case `uname -a` in
|
|
20
|
+
*CYGWIN*|*MINGW*|*MSYS*)
|
|
21
|
+
if command -v cygpath > /dev/null 2>&1; then
|
|
22
|
+
basedir_win=`cygpath -w "$basedir"`
|
|
23
|
+
fi
|
|
24
|
+
exe=".exe"
|
|
25
|
+
msys="true"
|
|
26
|
+
;;
|
|
27
|
+
*WSL2*)
|
|
28
|
+
if command -v wslpath > /dev/null 2>&1; then
|
|
29
|
+
basedir_win="$(wslpath -w "$basedir" 2> /dev/null)"
|
|
30
|
+
if [ $? -ne 0 ] || [ -z "$basedir_win" ]; then
|
|
31
|
+
basedir_win="$basedir"
|
|
32
|
+
else
|
|
33
|
+
exe=".exe"
|
|
34
|
+
fi
|
|
35
|
+
fi
|
|
36
|
+
;;
|
|
37
|
+
esac
|
|
38
|
+
|
|
39
|
+
if [ -z "$NODE_PATH" ]; then
|
|
40
|
+
export NODE_PATH="/home/runner/work/sdk/sdk/node_modules/.pnpm/vitest@5.0.0_@opentelemetry+api@1.9.1_@types+node@24.13.4_@vitest+coverage-v8@5.0.0_vit_9537d0eae3d455743a86158ad92f325f/node_modules/vitest/node_modules:/home/runner/work/sdk/sdk/node_modules/.pnpm/vitest@5.0.0_@opentelemetry+api@1.9.1_@types+node@24.13.4_@vitest+coverage-v8@5.0.0_vit_9537d0eae3d455743a86158ad92f325f/node_modules:/home/runner/work/sdk/sdk/node_modules/.pnpm/node_modules"
|
|
41
|
+
else
|
|
42
|
+
export NODE_PATH="/home/runner/work/sdk/sdk/node_modules/.pnpm/vitest@5.0.0_@opentelemetry+api@1.9.1_@types+node@24.13.4_@vitest+coverage-v8@5.0.0_vit_9537d0eae3d455743a86158ad92f325f/node_modules/vitest/node_modules:/home/runner/work/sdk/sdk/node_modules/.pnpm/vitest@5.0.0_@opentelemetry+api@1.9.1_@types+node@24.13.4_@vitest+coverage-v8@5.0.0_vit_9537d0eae3d455743a86158ad92f325f/node_modules:/home/runner/work/sdk/sdk/node_modules/.pnpm/node_modules:$NODE_PATH"
|
|
43
|
+
fi
|
|
44
|
+
if [ -n "$exe" ] && [ -x "$basedir/node.exe" ]; then
|
|
45
|
+
exec "$basedir/node.exe" "$basedir_win/../vitest/vitest.mjs" "$@"
|
|
46
|
+
elif [ -x "$basedir/node" ]; then
|
|
47
|
+
exec "$basedir/node" "$basedir/../vitest/vitest.mjs" "$@"
|
|
48
|
+
elif command -v node >/dev/null 2>&1; then
|
|
49
|
+
exec node "$basedir/../vitest/vitest.mjs" "$@"
|
|
50
|
+
elif [ -n "$exe" ] && command -v node.exe >/dev/null 2>&1; then
|
|
51
|
+
exec node.exe "$basedir_win/../vitest/vitest.mjs" "$@"
|
|
52
|
+
else
|
|
53
|
+
exec node "$basedir/../vitest/vitest.mjs" "$@"
|
|
54
|
+
fi
|
|
55
|
+
# cmd-shim-target=/home/runner/work/sdk/sdk/packages/create-sdk/templates/workflow/node_modules/vitest/./vitest.mjs
|
|
@@ -15,9 +15,9 @@
|
|
|
15
15
|
"typecheck": "tsc --noEmit"
|
|
16
16
|
},
|
|
17
17
|
"devDependencies": {
|
|
18
|
-
"@tailor-platform/eslint-plugin-sdk": "0.
|
|
19
|
-
"@tailor-platform/sdk": "2.
|
|
20
|
-
"@types/node": "24.13.
|
|
18
|
+
"@tailor-platform/eslint-plugin-sdk": "0.3.0",
|
|
19
|
+
"@tailor-platform/sdk": "2.17.0",
|
|
20
|
+
"@types/node": "24.13.4",
|
|
21
21
|
"graphql": "17.0.2",
|
|
22
22
|
"graphql-request": "7.4.0",
|
|
23
23
|
"oxfmt": "0.66.0",
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{}
|