File tree 5 files changed +46
-25
lines changed 5 files changed +46
-25
lines changed Original file line number Diff line number Diff line change
1
+ ---
2
+ order: 2
3
+ title: 更新日志
4
+ toc: false
5
+ timeline: true
6
+ ---
7
+ # Changelog
8
+ All notable changes to this project will be documented in this file.
9
+
10
+ The format is based on [Keep a Changelog](http://keepachangelog.com/)
11
+ and this project adheres to [Semantic Versioning](http://semver.org/).
12
+
13
+
14
+ ## 0.0.1-alpha.05
15
+ ADDED:
16
+ - injectComponent 支持
17
+
18
+ ## 0.0.1
19
+
20
+ ### Main
21
+ ADDED: 增加基础的sdk功能
Original file line number Diff line number Diff line change 1
1
{
2
2
"name" : " WebIDE-Plugin-AccessUrl" ,
3
- "version" : " 0.0.1-alpha.04 " ,
3
+ "version" : " 0.0.1-alpha.05 " ,
4
4
"description" : " WebIDE-Plugin-AccessUrl for Coding WebIDE" ,
5
5
"repository" : {
6
- "url" : " https:// github.com/blizzardzheng /WebIDE-Plugin-Env.git"
6
+ "url" : " git@ github.com:Coding /WebIDE-Plugin-Env.git"
7
7
},
8
8
"license" : " ISC" ,
9
9
"author" : " candy <candy.zhengxq@gmail.com>" ,
15
15
"name" : " access-url" ,
16
16
"displayName" : " Access URL" ,
17
17
"description" : " WebIDE-Plugin-AccessUrl for Coding WebIDE" ,
18
- "type" : " extension" ,
19
- "ui" : {
20
- "position" : " right" ,
21
- "label" : {
22
- "text" : " Access URL" ,
23
- "icon" : " fa fa-external-link"
24
- }
25
- }
18
+ "type" : " extension"
26
19
},
27
20
"devDependencies" : {
28
21
"babel-cli" : " ^6.14.0" ,
34
27
"babel-preset-react" : " ^6.23.0" ,
35
28
"babel-preset-stage-0" : " ^6.22.0" ,
36
29
"chai" : " ^3.5.0" ,
37
- "codingSDK" : " https://git@github.com/blizzardzheng/WebIDE-Plugin-SDK.git" ,
38
30
"css-loader" : " ^0.26.1" ,
39
31
"enzyme" : " ^2.2.0" ,
40
32
"eslint" : " ^3.6.0" ,
62
54
"react" : " ^0.14.7 || ^15.0.0"
63
55
},
64
56
"dependencies" : {
57
+ "codingSDK" : " https://github.com/Coding/WebIDE-Plugin-SDK.git#0.0.1-alpha.06" ,
65
58
"babel-preset-env" : " ^1.1.8" ,
66
59
"babel-runtime" : " ^6.11.6" ,
67
60
"body-parser" : " ^1.15.2" ,
Original file line number Diff line number Diff line change @@ -12,8 +12,10 @@ AccessUrl.propTypes = {
12
12
} ;
13
13
export const store = global . getStoreByReducer ( reducer )
14
14
15
- export default props => (
15
+ const app = props => (
16
16
< Provider store = { store } >
17
17
< AccessUrl { ...props } />
18
18
</ Provider >
19
19
) ;
20
+
21
+ export default React . createElement ( app )
Original file line number Diff line number Diff line change @@ -6,10 +6,21 @@ export const global = new APP({
6
6
pkgId : 'coding_web_ide_plugin' ,
7
7
} ) ;
8
8
9
-
9
+ const { injectComponent } = global ;
10
10
export default class {
11
11
pluginWillMount ( ) {
12
- console . log ( 'this plugin will Mount' ) ;
12
+ console . log ( 'this plugin will Moun' ) ;
13
+ injectComponent . addComToSideBar ( 'right' , {
14
+ text : 'Access URL' ,
15
+ icon : 'fa fa-external-link' ,
16
+ key : 'access-url' ,
17
+ onSidebarActive : ( ) => {
18
+ console . log ( 'Access URL is active' ) ;
19
+ } ,
20
+ onSidebarDeactive : ( ) => {
21
+ console . log ( 'Access URL is deactive' ) ;
22
+ } ,
23
+ } , extension => extension . app ) ;
13
24
}
14
25
pluginOnActive ( ) {
15
26
Original file line number Diff line number Diff line change @@ -1332,25 +1332,19 @@ code-point-at@^1.0.0:
1332
1332
version "1.1.0"
1333
1333
resolved "http://registry.npm.taobao.org/code-point-at/download/code-point-at-1.1.0.tgz#0d070b4d043a5bea33a2f1a40e2edb3d9a4ccf77"
1334
1334
1335
- " codingSDK@https://git@ github.com/blizzardzheng /WebIDE-Plugin-SDK.git " :
1336
- version "0.0.1-alpha.3 "
1337
- resolved "https://git@ github.com/blizzardzheng /WebIDE-Plugin-SDK.git#19e8e38de406b47fc726a769e3dd5c4352d9f00d "
1335
+ " codingSDK@https://github.com/Coding /WebIDE-Plugin-SDK.git#0.0.1-alpha.06 " :
1336
+ version "0.0.1-alpha.6 "
1337
+ resolved "https://github.com/Coding /WebIDE-Plugin-SDK.git#ae14e5e46735d2fcb76c9a030d655514357a68c5 "
1338
1338
dependencies :
1339
1339
babel-preset-env "^1.1.8"
1340
1340
babel-runtime "^6.11.6"
1341
- body-parser "^1.15.2"
1342
- classnames "^2.2.5"
1343
1341
cors "^2.8.1"
1344
- express "^4.14.0"
1345
1342
fs-promise "^1.0.0"
1346
1343
nodemon "^1.11.0"
1347
- react-redux "^4.4.6"
1348
- redux "^3.6.0"
1349
- redux-actions "^1.1.0"
1350
- redux-thunk "^2.1.0"
1351
1344
rimraf "^2.6.1"
1352
- socket.io "^1.7.3"
1353
1345
style-loader "^0.13.2"
1346
+ webpack "^2.2.1"
1347
+ webpack-cleanup-plugin "^0.4.1"
1354
1348
1355
1349
color-convert@^1.3.0 :
1356
1350
version "1.9.0"
You can’t perform that action at this time.
0 commit comments