Skip to content

Commit

Permalink
Convert rocketchat-slashcommands-help to main module structure (#12812)
Browse files Browse the repository at this point in the history
  • Loading branch information
MarcosSpessatto authored and rodrigok committed Dec 4, 2018
1 parent 9abb97e commit c7aa28e
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 5 deletions.
7 changes: 2 additions & 5 deletions packages/rocketchat-slashcommands-help/package.js
Expand Up @@ -6,14 +6,11 @@ Package.describe({
});

Package.onUse(function(api) {

api.use([
'ecmascript',
'check',
'rocketchat:lib',
'templating',
]);

api.use('templating', 'client');

api.addFiles('server.js', 'server');
api.mainModule('server/index.js', 'server');
});
1 change: 1 addition & 0 deletions packages/rocketchat-slashcommands-help/server/index.js
@@ -0,0 +1 @@
import './server';
@@ -1,6 +1,7 @@
import { Meteor } from 'meteor/meteor';
import { Random } from 'meteor/random';
import { TAPi18n } from 'meteor/tap:i18n';
import { RocketChat } from 'meteor/rocketchat:lib';

/*
* Help is a named function that will replace /join commands
Expand Down

0 comments on commit c7aa28e

Please sign in to comment.