Skip to content

Commit

Permalink
update
Browse files Browse the repository at this point in the history
  • Loading branch information
aiplat committed May 19, 2021
1 parent 2bdcc7c commit 0026e1c
Show file tree
Hide file tree
Showing 5 changed files with 26 additions and 26 deletions.
6 changes: 3 additions & 3 deletions build.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ class buildClass{
runId:0,
buildType:'dev',
envType:'uat',
type:'binding',
type:'aiplat',
};
}
writeFile(fileData:fileData) {
Expand Down Expand Up @@ -79,7 +79,7 @@ class buildClass{
let envType = argv.original[runId + 2];
envType = envType ? this.isIn(envType, 'env=', 'uat') :'uat';
let type = argv.original[runId + 3];
type = type ? this.isIn(type, 'type=', 'binding') :'binding';
type = type ? this.isIn(type, 'type=', 'aiplat') :'aiplat';
this.buildInfo = {
runId,
buildType,
Expand Down Expand Up @@ -136,7 +136,7 @@ class buildClass{
newFile:`${currentDir}/src/builds/pages.json`,
});
this.buildFile({
oldFile:`${currentDir}/src/projects/${this.buildInfo.type}/manifest/${this.buildInfo.envType}.json`,
oldFile:`${currentDir}/src/projects/${this.buildInfo.type}/manifest/${this.buildInfo.envType}/manifest.json`,
newFile:`${currentDir}/src/manifest.json`,
});
this.buildFile({
Expand Down
46 changes: 23 additions & 23 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -40,21 +40,21 @@
"test:mp-weixin": "cross-env UNI_PLATFORM=mp-weixin jest -i"
},
"dependencies": {
"@dcloudio/uni-app-plus": "^2.0.0-31820210406002",
"@dcloudio/uni-h5": "^2.0.0-31820210406002",
"@dcloudio/uni-app-plus": "^2.0.0-31920210514002",
"@dcloudio/uni-h5": "^2.0.0-31920210514002",
"@dcloudio/uni-helper-json": "*",
"@dcloudio/uni-i18n": "^2.0.0-31820210406002",
"@dcloudio/uni-mp-360": "^2.0.0-31820210406002",
"@dcloudio/uni-mp-alipay": "^2.0.0-31820210406002",
"@dcloudio/uni-mp-baidu": "^2.0.0-31820210406002",
"@dcloudio/uni-mp-kuaishou": "^2.0.0-31820210406002",
"@dcloudio/uni-mp-qq": "^2.0.0-31820210406002",
"@dcloudio/uni-mp-toutiao": "^2.0.0-31820210406002",
"@dcloudio/uni-mp-vue": "^2.0.0-31820210406002",
"@dcloudio/uni-mp-weixin": "^2.0.0-31820210406002",
"@dcloudio/uni-quickapp-native": "^2.0.0-31820210406002",
"@dcloudio/uni-quickapp-webview": "^2.0.0-31820210406002",
"@dcloudio/uni-stat": "^2.0.0-31820210406002",
"@dcloudio/uni-i18n": "^2.0.0-31920210514002",
"@dcloudio/uni-mp-360": "^2.0.0-31920210514002",
"@dcloudio/uni-mp-alipay": "^2.0.0-31920210514002",
"@dcloudio/uni-mp-baidu": "^2.0.0-31920210514002",
"@dcloudio/uni-mp-kuaishou": "^2.0.0-31920210514002",
"@dcloudio/uni-mp-qq": "^2.0.0-31920210514002",
"@dcloudio/uni-mp-toutiao": "^2.0.0-31920210514002",
"@dcloudio/uni-mp-vue": "^2.0.0-31920210514002",
"@dcloudio/uni-mp-weixin": "^2.0.0-31920210514002",
"@dcloudio/uni-quickapp-native": "^2.0.0-31920210514002",
"@dcloudio/uni-quickapp-webview": "^2.0.0-31920210514002",
"@dcloudio/uni-stat": "^2.0.0-31920210514002",
"@vue/shared": "^3.0.0",
"core-js": "^3.6.5",
"html2canvas": "^1.0.0-rc.5",
Expand All @@ -69,15 +69,15 @@
"@babel/plugin-syntax-typescript": "^7.2.0",
"@babel/runtime": "~7.12.0",
"@dcloudio/types": "*",
"@dcloudio/uni-automator": "^2.0.0-31820210406002",
"@dcloudio/uni-cli-shared": "^2.0.0-31820210406002",
"@dcloudio/uni-migration": "^2.0.0-31820210406002",
"@dcloudio/uni-template-compiler": "^2.0.0-31820210406002",
"@dcloudio/vue-cli-plugin-hbuilderx": "^2.0.0-31820210406002",
"@dcloudio/vue-cli-plugin-uni": "^2.0.0-31820210406002",
"@dcloudio/vue-cli-plugin-uni-optimize": "^2.0.0-31820210406002",
"@dcloudio/webpack-uni-mp-loader": "^2.0.0-31820210406002",
"@dcloudio/webpack-uni-pages-loader": "^2.0.0-31820210406002",
"@dcloudio/uni-automator": "^2.0.0-31920210514002",
"@dcloudio/uni-cli-shared": "^2.0.0-31920210514002",
"@dcloudio/uni-migration": "^2.0.0-31920210514002",
"@dcloudio/uni-template-compiler": "^2.0.0-31920210514002",
"@dcloudio/vue-cli-plugin-hbuilderx": "^2.0.0-31920210514002",
"@dcloudio/vue-cli-plugin-uni": "^2.0.0-31920210514002",
"@dcloudio/vue-cli-plugin-uni-optimize": "^2.0.0-31920210514002",
"@dcloudio/webpack-uni-mp-loader": "^2.0.0-31920210514002",
"@dcloudio/webpack-uni-pages-loader": "^2.0.0-31920210514002",
"@vue/cli-plugin-babel": "~4.5.0",
"@vue/cli-plugin-typescript": "*",
"@vue/cli-service": "~4.5.0",
Expand Down
File renamed without changes.
File renamed without changes.
File renamed without changes.

0 comments on commit 0026e1c

Please sign in to comment.