Skip to content

Commit

Permalink
Update dependencies. Use official eonasdan-bootstrap-datetimepicker
Browse files Browse the repository at this point in the history
… package. Closes #20.
  • Loading branch information
btecu committed Sep 12, 2016
1 parent cc080e6 commit a413d9a
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 13 deletions.
11 changes: 4 additions & 7 deletions blueprints/ember-cli-bootstrap-datetimepicker/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -4,14 +4,11 @@ module.exports = {
normalizeEntityName: function() {},

afterInstall: function(options) {
/* Use custom build until official is published
https://github.com/Eonasdan/bootstrap-datetimepicker/issues/1438
*/
return this.addPackagesToProject([
{ name: 'ember-cli-moment-shim', target: '1.3.0' },
{ name: 'eonasdan-bootstrap-datetimepicker-npm', target: '4.17.37' },
{ name: 'moment', target: '^2.13.0' },
{ name: 'moment-timezone', target: '^0.5.4' }
{ name: 'ember-cli-moment-shim', target: '2.0.0' },
{ name: 'eonasdan-bootstrap-datetimepicker', target: '4.17.42' },
{ name: 'moment', target: '^2.15.0' },
{ name: 'moment-timezone', target: '^0.5.5' }
]);
}
};
2 changes: 1 addition & 1 deletion index.js
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ module.exports = {
trees.push(vendorTree);
}

let datetimepickerJs = require.resolve('eonasdan-bootstrap-datetimepicker-npm');
let datetimepickerJs = require.resolve('eonasdan-bootstrap-datetimepicker');
let datetimepickerPath = path.join(path.dirname(datetimepickerJs), '../../');
trees.push(new Funnel(datetimepickerPath, {
destDir: 'eonasdan-bootstrap-datetimepicker',
Expand Down
10 changes: 5 additions & 5 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "ember-cli-bootstrap-datetimepicker",
"version": "0.2.0",
"version": "0.3.0",
"description": "Date and time picker component for Ember CLI based on bootstrap-datetimepicker.",
"directories": {
"doc": "doc",
Expand All @@ -26,7 +26,7 @@
"ember-cli-inject-live-reload": "^1.4.0",
"ember-cli-jshint": "^1.0.0",
"ember-cli-qunit": "^2.1.0",
"ember-cli-moment-shim": "1.3.0",
"ember-cli-moment-shim": "2.0.0",
"ember-cli-release": "^0.2.9",
"ember-cli-sri": "^2.1.0",
"ember-cli-test-loader": "^1.1.0",
Expand All @@ -35,10 +35,10 @@
"ember-export-application-global": "^1.0.5",
"ember-load-initializers": "^0.5.1",
"ember-resolver": "^2.0.3",
"eonasdan-bootstrap-datetimepicker-npm": "4.17.37",
"eonasdan-bootstrap-datetimepicker": "4.17.42",
"loader.js": "^4.0.1",
"moment": "^2.3.0",
"moment-timezone": "^0.5.4"
"moment": "^2.15.0",
"moment-timezone": "^0.5.5"
},
"keywords": [
"ember-addon",
Expand Down

0 comments on commit a413d9a

Please sign in to comment.