@tailor-platform/create-sdk 2.16.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 +6 -0
- package/package.json +7 -7
- package/templates/.gitignore +3 -0
- package/templates/executor/.gitignore +2 -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 +2 -2
- package/templates/generators/.gitignore +2 -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 +3 -3
- package/templates/hello-world/.gitignore +2 -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 +2 -2
- package/templates/inventory-management/.gitignore +2 -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 +2 -2
- package/templates/multi-application/.gitignore +2 -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 +2 -2
- package/templates/resolver/.gitignore +2 -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 +2 -2
- package/templates/static-web-site/.gitignore +2 -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 +2 -2
- package/templates/tailordb/.gitignore +2 -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 +2 -2
- package/templates/workflow/.gitignore +2 -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 +2 -2
- package/templates/generators/.prettierrc +0 -1
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,11 @@
|
|
|
1
1
|
# @tailor-platform/create-sdk
|
|
2
2
|
|
|
3
|
+
## 2.17.0
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- [#2364](https://github.com/tailor-platform/sdk/pull/2364) [`fa5b087`](https://github.com/tailor-platform/sdk/commit/fa5b0872e637d1b4c5d1fb9c7f8f38074dffd545) Thanks [@dqn](https://github.com/dqn)! - Remove the unused empty `.prettierrc` from the `generators` template, completing the same cleanup already applied to the other templates. The template formats with `oxfmt`, and `.oxfmtrc.json` keeps the generated `src/generated/` and `src/seed/` output out of formatting.
|
|
8
|
+
|
|
3
9
|
## 2.16.0
|
|
4
10
|
|
|
5
11
|
### Minor Changes
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@tailor-platform/create-sdk",
|
|
3
|
-
"version": "2.
|
|
3
|
+
"version": "2.17.0",
|
|
4
4
|
"description": "A CLI tool to quickly create a new Tailor Platform SDK project",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"repository": {
|
|
@@ -8,6 +8,9 @@
|
|
|
8
8
|
"url": "git+https://github.com/tailor-platform/sdk.git",
|
|
9
9
|
"directory": "packages/create-sdk"
|
|
10
10
|
},
|
|
11
|
+
"bin": {
|
|
12
|
+
"create-sdk": "dist/index.js"
|
|
13
|
+
},
|
|
11
14
|
"files": [
|
|
12
15
|
"CHANGELOG.md",
|
|
13
16
|
"dist",
|
|
@@ -21,12 +24,12 @@
|
|
|
21
24
|
"@politty/zod": "0.2.1",
|
|
22
25
|
"execa": "10.0.1",
|
|
23
26
|
"picocolors": "1.1.1",
|
|
24
|
-
"pkg-types": "2.3.
|
|
27
|
+
"pkg-types": "2.3.3",
|
|
25
28
|
"zod": "4.5.4"
|
|
26
29
|
},
|
|
27
30
|
"devDependencies": {
|
|
28
|
-
"@types/node": "24.13.
|
|
29
|
-
"eslint-plugin-zod": "4.12.
|
|
31
|
+
"@types/node": "24.13.4",
|
|
32
|
+
"eslint-plugin-zod": "4.12.1",
|
|
30
33
|
"oxlint": "1.81.0",
|
|
31
34
|
"oxlint-tsgolint": "7.0.2001",
|
|
32
35
|
"tsdown": "0.23.0",
|
|
@@ -39,8 +42,5 @@
|
|
|
39
42
|
"knip": "knip",
|
|
40
43
|
"typecheck": "tsc --noEmit",
|
|
41
44
|
"publint": "publint --strict"
|
|
42
|
-
},
|
|
43
|
-
"bin": {
|
|
44
|
-
"create-sdk": "dist/index.js"
|
|
45
45
|
}
|
|
46
46
|
}
|
|
@@ -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/executor/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/executor/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/executor/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/executor/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/executor/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/executor/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/executor/node_modules/vitest/./vitest.mjs
|
|
@@ -15,8 +15,8 @@
|
|
|
15
15
|
},
|
|
16
16
|
"devDependencies": {
|
|
17
17
|
"@tailor-platform/eslint-plugin-sdk": "0.3.0",
|
|
18
|
-
"@tailor-platform/sdk": "2.
|
|
19
|
-
"@types/node": "24.13.
|
|
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",
|
|
@@ -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/generators/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/generators/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/generators/node_modules/@tailor-platform/sdk/./bin/tailor.mjs
|