1
0
mirror of https://github.com/142vip/408CSFamily.git synced 2026-04-24 02:30:36 +08:00

perf: 升级依赖版本,支持锁定node18.18

This commit is contained in:
mmdapl
2023-09-28 11:08:37 +08:00
committed by GitHub
parent f0d5e05936
commit a1dfbaf1d3
22 changed files with 2461 additions and 1924 deletions

View File

@@ -1,13 +1,12 @@
#!/usr/bin/env node
/**
* 脚本执行器执行shell命令
*/
const {join} = require('path')
const cwd = join(__dirname, '..')
process.env.PATH = `${join(cwd, 'node_modules', '.bin')}:${process.env.PATH}`
const {exec,exit} = require('shelljs');
/**
* 监听进程
* - 退出进程
@@ -48,7 +47,6 @@ exports.execShell = async commands => {
/**
* 脚本基础设置
* @type {{currentTime: string, errorLogger: string, successLogger: string, warnLogger: string}}
*/
exports.BaseSetting={
successLogger:"\033[36m",