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:
@@ -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",
|
||||
|
||||
Reference in New Issue
Block a user