Package.js updates

This commit is contained in:
Erik Ziegler 2018-09-17 11:35:03 +02:00
parent 184c959037
commit 6511198c90
14 changed files with 24 additions and 22 deletions

View File

@ -30,15 +30,11 @@ shell-server@0.4.0
ohif:polyfill ohif:polyfill
ohif:design ohif:design
ohif:core ohif:core
ohif:commands
ohif:hotkeys
ohif:header
ohif:cornerstone ohif:cornerstone
ohif:cornerstone-settings ohif:cornerstone-settings
ohif:viewerbase ohif:viewerbase
ohif:study-list ohif:study-list
ohif:hanging-protocols ohif:hanging-protocols
ohif:metadata
ohif:user-oidc ohif:user-oidc
ohif:measurement-table ohif:measurement-table

View File

@ -78,20 +78,14 @@ mongo-id@1.0.7
natestrauser:select2@4.0.3 natestrauser:select2@4.0.3
npm-mongo@3.1.2-beta181.7 npm-mongo@3.1.2-beta181.7
observe-sequence@1.0.16 observe-sequence@1.0.16
ohif:commands@0.0.1
ohif:core@0.0.1 ohif:core@0.0.1
ohif:cornerstone@0.0.1 ohif:cornerstone@0.0.1
ohif:cornerstone-settings@0.0.1 ohif:cornerstone-settings@0.0.1
ohif:design@0.0.1 ohif:design@0.0.1
ohif:hanging-protocols@0.0.1 ohif:hanging-protocols@0.0.1
ohif:header@0.0.1
ohif:hotkeys@0.0.1
ohif:log@0.0.1
ohif:measurement-table@0.0.1 ohif:measurement-table@0.0.1
ohif:measurements@0.0.1 ohif:measurements@0.0.1
ohif:metadata@0.0.1
ohif:polyfill@0.0.1 ohif:polyfill@0.0.1
ohif:select-tree@0.0.1
ohif:servers@0.0.1 ohif:servers@0.0.1
ohif:studies@0.0.1 ohif:studies@0.0.1
ohif:study-list@0.0.1 ohif:study-list@0.0.1

View File

@ -1,8 +1,9 @@
import './base'; import './base';
import './bootstrap'; import './bootstrap';
import './header';
import './hotkeys';
import './pages'; import './pages';
import './paginationArea'; import './paginationArea';
import './playground/playground.html'; import './playground';
import './playground/playground.styl';
import './playground/playground.js';
import './scrollArea'; import './scrollArea';
import './userLogin';

View File

@ -0,0 +1,3 @@
import './playground.html';
import './playground.js';
import './playground.styl';

View File

@ -1,6 +1,11 @@
import './lib'; import './lib';
import './helpers'; import './helpers';
import './commands';
import './hotkeys';
import './components'; import './components';
import './ui'; import './ui';
import './routes.js'; import './routes.js';
import './header.js';
import './hotkeys.js';
import './hotkeys.js';

View File

@ -1,4 +1,5 @@
import { Meteor } from 'meteor/meteor'; import { Meteor } from 'meteor/meteor';
import './log.js';
/* /*
* Defines the base OHIF object * Defines the base OHIF object

View File

@ -1,5 +1,7 @@
Npm.depends({ Npm.depends({
'isomorphic-base64': '1.0.2', 'isomorphic-base64': '1.0.2',
'jquery.hotkeys': '0.1.0',
loglevel: '1.4.1'
}); });
Package.describe({ Package.describe({
@ -17,6 +19,8 @@ Package.onUse(function(api) {
api.use('underscore'); api.use('underscore');
api.use('templating'); api.use('templating');
api.use('reactive-var'); api.use('reactive-var');
api.use('session');
api.use('cultofcoders:persistent-session');
// Router dependencies // Router dependencies
api.use('clinical:router@2.0.19', 'client'); api.use('clinical:router@2.0.19', 'client');
@ -38,6 +42,11 @@ Package.onUse(function(api) {
api.mainModule('main.js', ['client', 'server']); api.mainModule('main.js', ['client', 'server']);
api.use([
'accounts-base',
'accounts-password'
], 'server');
// Client imports and routes // Client imports and routes
api.addFiles('client/index.js', 'client'); api.addFiles('client/index.js', 'client');

View File

@ -0,0 +1,2 @@
import './mongo.js';
import './user.js';

View File

@ -32,8 +32,6 @@ Package.onUse(function(api) {
api.use('ohif:cornerstone'); api.use('ohif:cornerstone');
api.use('ohif:design'); api.use('ohif:design');
api.use('ohif:core'); api.use('ohif:core');
api.use('ohif:select-tree');
api.use('ohif:log');
api.use('ohif:studies'); api.use('ohif:studies');
api.use('ohif:viewerbase'); api.use('ohif:viewerbase');

View File

@ -16,7 +16,6 @@ Package.onUse(function(api) {
// Our custom packages // Our custom packages
api.use('ohif:core'); api.use('ohif:core');
api.use('ohif:log');
// Client and server imports // Client and server imports
api.addFiles('both/index.js', [ 'client', 'server' ]); api.addFiles('both/index.js', [ 'client', 'server' ]);

View File

@ -24,7 +24,6 @@ Package.onUse(function(api) {
api.use([ api.use([
'ohif:design', 'ohif:design',
'ohif:core', 'ohif:core',
'ohif:log',
'ohif:servers', 'ohif:servers',
'ohif:viewerbase', 'ohif:viewerbase',
'ohif:wadoproxy' 'ohif:wadoproxy'

View File

@ -28,7 +28,6 @@ Package.onUse(function(api) {
// Our custom packages // Our custom packages
api.use('ohif:design'); api.use('ohif:design');
api.use('ohif:core'); api.use('ohif:core');
api.use('ohif:log');
api.use('ohif:servers'); api.use('ohif:servers');
api.use('ohif:viewerbase'); api.use('ohif:viewerbase');
api.use('ohif:wadoproxy'); api.use('ohif:wadoproxy');

View File

@ -34,7 +34,6 @@ Package.onUse(function(api) {
'ohif:core', 'ohif:core',
'ohif:cornerstone-settings', 'ohif:cornerstone-settings',
'ohif:hotkeys', 'ohif:hotkeys',
'ohif:log'
]); ]);
const assets = [ const assets = [
@ -203,7 +202,6 @@ Package.onTest(function(api) {
'ohif:design', 'ohif:design',
'ohif:core', 'ohif:core',
'ohif:hotkeys', 'ohif:hotkeys',
'ohif:log'
], 'client'); ], 'client');
/* /*

View File

@ -27,6 +27,4 @@ Package.onUse(function(api) {
// Client imports // Client imports
api.addFiles('client/index.js', 'client'); api.addFiles('client/index.js', 'client');
api.addFiles('server/createDemoUser.js', [ 'server' ]);
}); });