Skip to content

Commit b8bb296

Browse files
authored
Merge pull request #48 from eapearson/master
simply plugin config, remove some deadwood.
2 parents 8659ccf + 3b776e0 commit b8bb296

File tree

16 files changed

+25
-704
lines changed

16 files changed

+25
-704
lines changed

dist.tgz

-3.29 KB
Binary file not shown.

package.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,7 @@
55
"main": "index.js",
66
"scripts": {
77
"build": "bash scripts/build-plugin.bash",
8+
"build-dist": "bash scripts/build-plugin-dist.bash",
89
"build-dev": "bash scripts/build-plugin-dev.bash"
910
},
1011
"repository": {

scripts/build-dist.bash

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
cd build
2+
yarn install && \
3+
yarn clean && \
4+
yarn install && \
5+
yarn install-bower && \
6+
yarn install-npm && \
7+
yarn remove-source-maps
8+
cd ..

scripts/build-plugin-dev.bash

Lines changed: 1 addition & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,4 @@
1+
yarn build
12
cd build
2-
yarn install && \
3-
yarn clean && \
4-
yarn install && \
5-
yarn install-bower && \
6-
yarn install-npm && \
7-
yarn remove-source-maps && \
83
yarn install-dev
94
cd ..

scripts/build-plugin.bash

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,3 @@
11
cd build
2-
yarn install && \
3-
yarn clean && \
4-
yarn install && \
5-
yarn install-bower && \
6-
yarn install-npm && \
7-
yarn remove-source-maps && \
82
yarn install-dist
93
cd ..

scripts/install-plugin.bash

Lines changed: 0 additions & 3 deletions
This file was deleted.

src/plugin/config.yml

Lines changed: 1 addition & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -6,14 +6,9 @@ package:
66
type: iframe
77
install:
88
routes:
9-
- path: ["dashboard", {type: "rest", name: "path"}]
9+
- path: dashboard
1010
view: main
11-
component: /pluginSupport/Plugin
1211
authorization: true
13-
# TODO: get rid of this!!
14-
params:
15-
view: main
16-
plugin: dashboard
1712
menu:
1813
- name: dashboard
1914
definition:

src/plugin/iframe_root/modules/dashboardPanel.js

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -51,11 +51,6 @@ define(['bluebird', 'kb_lib/html', 'kb_lib/observed', 'kbaseUI/widget//widgetSet
5151
viewState: viewState
5252
})
5353
}),
54-
// div({
55-
// id: widgetSet.addWidget('dashboardMetrics', {
56-
// viewState: viewState
57-
// })
58-
// }),
5954
div({
6055
id: widgetSet.addWidget('dashboardCollaborators', {
6156
viewState: viewState

src/plugin/iframe_root/modules/widgets/MetricsWidget.js

Lines changed: 0 additions & 314 deletions
This file was deleted.

0 commit comments

Comments
 (0)