File tree Expand file tree Collapse file tree 5 files changed +44
-3
lines changed Expand file tree Collapse file tree 5 files changed +44
-3
lines changed Original file line number Diff line number Diff line change
1
+ # CHANGE LOG
2
+
3
+ ## v1.0.0 (2020-12-01)
4
+
5
+ - 新增 CODING 授权;
6
+ - 新增 代码仓库列表;
7
+ - 新增 创建仓库;
8
+ - 新增 合并请求列表;
9
+ - 新增 合并请求概览以及合并/允许合并/撤销允许合并/关闭合并请求等操作;
Original file line number Diff line number Diff line change
1
+ ## 安装
2
+
3
+ [ coding-hbuilderx 插件下载地址] ( https://ext.dcloud.net.cn/plugin?name=coding-hbuilderx )
4
+
5
+ ## 使用方法
6
+ 1 . 在插件市场,下载安装插件;
7
+ 2 . 在 hbuilderx 编辑器,点击菜单【视图】-【插件扩展视图】,打开` CODING 代码仓库 ` 视图;
8
+ 3 . 首次使用插件时,需要先登录 DCloud 账号,然后授权 CODING,以获取用户邮箱等信息;
9
+ 4 . 授权后即可使用插件(CODING 代码仓库相关功能)。
10
+
11
+ 注意:首次打开` CODING 代码仓库 ` 视图时,如果页面没有渲染内容,请关掉该视图,然后重新打开即可。
12
+
13
+ ## 插件功能
14
+ - 查看代码仓库列表;
15
+ - 创建代码仓库;
16
+ - 查看合并请求列表;
17
+ - 查看合并请求概览;
18
+ - 合并请求相关操作:合并/允许合并/撤销允许合并/关闭合并请求;
19
+
20
+ ## 界面预览
21
+ ### 用户授权 CODING 代码仓库
22
+ ![ 用户授权 CODING 代码仓库] ( https://codingcorp.coding.net/p/mo-test/d/statics/git/raw/master/2.png )
23
+
24
+ ### 配置 CODING 服务密码
25
+ ![ 配置 CODING 服务密码] ( https://codingcorp.coding.net/p/mo-test/d/statics/git/raw/master/3.png )
26
+
27
+ ### 插件功能主界面
28
+ ![ 插件功能主界面] ( https://codingcorp.coding.net/p/mo-test/d/statics/git/raw/master/5.png )
Original file line number Diff line number Diff line change 1
1
{
2
2
"name" : " coding-hbuilderx" ,
3
- "description" : " " ,
3
+ "description" : " CODING 代码仓库插件,支持查看代码仓库列表、创建代码仓库、查看合并请求列表、合并请求概览以及允许/合并/关闭等操作 " ,
4
4
"displayName" : " CODING 代码仓库插件" ,
5
5
"version" : " 1.0.0" ,
6
6
"publisher" : " coding" ,
94
94
"scripts" : {
95
95
"watch" : " npm-run-all -p watch:*" ,
96
96
"watch:extension" : " tsc --watch -p ./src" ,
97
- "watch:webviews" : " webpack --watch --mode development"
97
+ "watch:webviews" : " webpack --watch" ,
98
+ "build" : " npm-run-all -p build:*" ,
99
+ "build:extension" : " tsc -p ./src" ,
100
+ "build:webviews" : " webpack"
98
101
},
99
102
"husky" : {
100
103
"hooks" : {
Original file line number Diff line number Diff line change 2
2
"compilerOptions" : {
3
3
"module" : " commonjs" ,
4
4
"target" : " es6" ,
5
- "lib" : [" es6" ],
5
+ "lib" : [" es6" , " dom " ],
6
6
"outDir" : " ../out" ,
7
7
"sourceMap" : false ,
8
8
"strict" : true ,
Original file line number Diff line number Diff line change 1
1
const path = require ( 'path' ) ;
2
2
3
3
module . exports = {
4
+ mode : 'development' ,
4
5
entry : {
5
6
main : './webviews/index.tsx'
6
7
} ,
You can’t perform that action at this time.
0 commit comments