mirror of
https://gitee.com/nocobase/nocobase.git
synced 2025-05-05 13:39:24 +08:00
fix: incorrect tsx version on windows
This commit is contained in:
parent
e112a644ea
commit
e4c97651bf
@ -57,6 +57,9 @@ exports.nodeCheck = () => {
|
|||||||
};
|
};
|
||||||
|
|
||||||
exports.run = (command, args, options = {}) => {
|
exports.run = (command, args, options = {}) => {
|
||||||
|
if (command === 'tsx') {
|
||||||
|
command = resolve(process.cwd(), './node_modules/tsx/dist/cli.mjs');
|
||||||
|
}
|
||||||
return execa(command, args, {
|
return execa(command, args, {
|
||||||
shell: true,
|
shell: true,
|
||||||
stdio: 'inherit',
|
stdio: 'inherit',
|
||||||
|
@ -10211,13 +10211,6 @@ cron-parser@4.4.0:
|
|||||||
dependencies:
|
dependencies:
|
||||||
luxon "^1.28.0"
|
luxon "^1.28.0"
|
||||||
|
|
||||||
cron-parser@^4.6.0:
|
|
||||||
version "4.9.0"
|
|
||||||
resolved "https://registry.npmmirror.com/cron-parser/-/cron-parser-4.9.0.tgz#0340694af3e46a0894978c6f52a6dbb5c0f11ad5"
|
|
||||||
integrity sha512-p0SaNjrHOnQeR8/VnfGbmg9te2kfyYSQ7Sc/j/6DtPL3JQvKxmjO9TSjNFpujqV3vEYYBvNNvXSxzyksBWAx1Q==
|
|
||||||
dependencies:
|
|
||||||
luxon "^3.2.1"
|
|
||||||
|
|
||||||
cron@*:
|
cron@*:
|
||||||
version "3.1.6"
|
version "3.1.6"
|
||||||
resolved "https://registry.npmmirror.com/cron/-/cron-3.1.6.tgz#e7e1798a468e017c8d31459ecd7c2d088f97346c"
|
resolved "https://registry.npmmirror.com/cron/-/cron-3.1.6.tgz#e7e1798a468e017c8d31459ecd7c2d088f97346c"
|
||||||
|
Loading…
x
Reference in New Issue
Block a user