mirror of
https://github.com/142vip/408CSFamily.git
synced 2026-11-03 22:04:15 +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",
|
||||
|
||||
0
scripts/ci
Normal file → Executable file
0
scripts/ci
Normal file → Executable file
@@ -7,7 +7,7 @@
|
||||
* - ./scripts/network image xxx 镜像相关
|
||||
* - ./scripts/docker network xxx 网络相关
|
||||
*/
|
||||
const { execShell, BaseSetting } = require('./.exec')
|
||||
const { execShell } = require('./.exec')
|
||||
const scriptName = process.argv[2]
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user