build(deps): 依赖升级

This commit is contained in:
2024-01-13 16:54:09 +08:00
parent 21ff388259
commit ace2eeed7e
5 changed files with 12513 additions and 5819 deletions

View File

@@ -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: [],