Skip to content

Commit 833c7cd

Browse files
committed
Integrated dependencies into the package, and fixed a testing error.
1 parent 186f660 commit 833c7cd

File tree

3 files changed

+15
-5
lines changed

3 files changed

+15
-5
lines changed

bootbox.min.js

+6
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.js

+6-4
Original file line numberDiff line numberDiff line change
@@ -2,14 +2,16 @@ Package.describe({
22
summary: "A managed user extension to the base Meteor user system, with a default Admin user, and ability to add various permissions to all users."
33
});
44

5-
Package.on_use(function(api) {
6-
api.use(['minimongo', 'mongo-livedata', 'templating', 'accounts-password', 'accounts-ui', 'email'], ['client', 'server']);
5+
Package.on_use(function(api, where) {
6+
api.use(['minimongo', 'mongo-livedata', 'templating', 'accounts-password', 'email', 'bootstrap-3', 'accounts-ui-bootstrap-3'], ['client', 'server']);
77
api.use(['handlebars'], 'client');
88
api.add_files(['managedUsers.js'], ['client', 'server']);
9-
api.add_files(['managedUsersTemplates.html', 'managedUsersTemplates.js'], 'client');
9+
api.add_files(['managedUsersTemplates.html', 'managedUsersTemplates.js', 'bootbox.min.js'], 'client');
10+
if(api.export)
11+
api.export("ManagedUsers");
1012
});
1113

1214
Package.on_test(function(api) {
13-
api.use(['managedUsers', 'tinytest', 'test-helpers'], ['client', 'server']);
15+
api.use(['managedUsers', 'tinytest', 'test-helpers', 'accounts-password'], ['client', 'server']);
1416
api.add_files('managedUsers_tests.js', ['client', 'server']);
1517
});

smart.json

+3-1
Original file line numberDiff line numberDiff line change
@@ -3,8 +3,10 @@
33
"description": "A Managed User system, with a single administrator account (admin), with the ability to create/modify accounts, and set permissions.",
44
"homepage": "https://github.com/jzgoda/managedUsers",
55
"author": "Jon Zgoda <[email protected]>",
6-
"version": "0.1.6",
6+
"version": "0.2.0",
77
"git": "https://github.com/jzgoda/managedUsers.git",
88
"packages": {
9+
"bootstrap-3": {},
10+
"accounts-ui-bootstrap-3": {}
911
}
1012
}

0 commit comments

Comments
 (0)