build(deps): 依赖升级
This commit is contained in:
@@ -6,6 +6,21 @@ import { argv } from "yargs";
|
||||
|
||||
const { robot = 1, desc } = argv;
|
||||
|
||||
const CIPluginOptFn = async () => {
|
||||
/**
|
||||
* @typedef { import("@tarojs/plugin-mini-ci").CIOptions } CIOptions
|
||||
* @type {CIOptions}
|
||||
*/
|
||||
return {
|
||||
weapp: {
|
||||
appid: process.env.TARO_APP_ID,
|
||||
privateKeyPath: process.env.TARO_APP_KEY,
|
||||
robot,
|
||||
},
|
||||
desc,
|
||||
};
|
||||
};
|
||||
|
||||
const config = {
|
||||
projectName: "taroApp",
|
||||
date: "2023-8-13",
|
||||
@@ -23,26 +38,7 @@ const config = {
|
||||
},
|
||||
sourceRoot: "src",
|
||||
outputRoot: "dist",
|
||||
plugins: [
|
||||
"@tarojs/plugin-html",
|
||||
[
|
||||
"@tarojs/plugin-mini-ci",
|
||||
() => {
|
||||
/**
|
||||
* @typedef { import("@tarojs/plugin-mini-ci").CIOptions } CIOptions
|
||||
* @type {CIOptions}
|
||||
*/
|
||||
return {
|
||||
weapp: {
|
||||
appid: process.env.TARO_APP_ID,
|
||||
privateKeyPath: process.env.TARO_APP_KEY,
|
||||
robot,
|
||||
},
|
||||
desc,
|
||||
};
|
||||
},
|
||||
],
|
||||
],
|
||||
plugins: ["@tarojs/plugin-html", ["@tarojs/plugin-mini-ci", CIPluginOptFn]],
|
||||
defineConstants: {},
|
||||
copy: {
|
||||
patterns: [],
|
||||
|
||||
Reference in New Issue
Block a user