Skip to content

Commit

Permalink
Add npm support and remove bower support
Browse files Browse the repository at this point in the history
  • Loading branch information
bedrich-schindler authored and mbohal committed Feb 23, 2018
1 parent d166e13 commit b09b1bc
Show file tree
Hide file tree
Showing 31 changed files with 8,078 additions and 11,300 deletions.
1 change: 0 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
# Dependencies
node_modules/
bower_components/

# Generated files
.tmp
Expand Down
14 changes: 10 additions & 4 deletions .jshintrc
Original file line number Diff line number Diff line change
Expand Up @@ -17,10 +17,16 @@
"browser": true,

"globals": {
"jQuery": false,
"$": false,
"QUnit": false,
"sinon": false,
"moment": false
"afterEach": false,
"assert": false,
"beforeEach": false,
"chai": false,
"describe": false,
"it": false,
"jQuery": false,
"mocha": false,
"moment": false,
"sinon": false
}
}
2 changes: 0 additions & 2 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,9 +6,7 @@ notifications:
secure: j8KyxkdFp5XqzVUPXLWP6vkk7oR7mYbDIgY5GNPJjUSiCZUQTtp2PfsYsjql8uM1pH2yv/CK1/xMLi4eN34QVxJILdmtyVQ8+k6arfRwjUVjimhS0jPT4KuMPwHYc7jvmEYl6x816HpGZiK6RkSINXYd9U6odsCWIS1DafQXA3Y=
before_install:
- npm install -g grunt-cli
- npm install -g bower
install:
- npm install
- bower install
before_script:
- grunt
2 changes: 1 addition & 1 deletion Gruntfile.js
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ module.exports = function (grunt) {
pkg: grunt.file.readJSON('package.json'),

paths: {
bower: 'bower_components',
npm: 'node_modules',
dist: 'dist',
grunt: 'grunt',
src: 'src',
Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# [Bootstrap UI](http://www.bootstrap-ui.com)

[![Bower version](https://badge.fury.io/bo/bootstrap.ui.svg)](http://badge.fury.io/bo/bootstrap.ui)
[![npm Version](https://badge.fury.io/js/bootstrap-ui.svg)](https://www.npmjs.com/package/bootstrap-ui)
[![devDependency Status](https://david-dm.org/visionappscz/bootstrap-ui/dev-status.svg)](https://david-dm.org/visionappscz/bootstrap-ui#info=devDependencies)
[![Build Status](https://travis-ci.org/visionappscz/bootstrap-ui.svg?branch=master)](https://travis-ci.org/visionappscz/bootstrap-ui)

Expand Down
43 changes: 0 additions & 43 deletions bower.json

This file was deleted.

Loading

4 comments on commit b09b1bc

@MartinKristof
Copy link

@MartinKristof MartinKristof commented on b09b1bc Mar 7, 2018

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

It broke our app, we install your UI via bower. We need version "target": "~0.7.0". Is there any other source? NPM? Seduo.cz

@adamkudrna
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@MartinKristof Bootstrap UI < 3.0.0 is still available via Bower (and will be as we heavily depend on it), >= 3.0.0 is on npm only.

Isn't it that you still use the old name synergic-ui? Synergic UI was renamed to Bootstrap UI ~2 years ago when the first stable version 1.0.0 was released. We unregistered this old name from Bower recently. If it's the case, changing dependency in your bower.json to bootstrap.ui should fix it.

@bedrich-schindler
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

As it is said in commit message, BUI version 3.0 supports installation over npm only. Bower itself says that bower is obsolete and we should use npm, yarn or Webpack instead. Older versions of BUI still support installation over bower.

@MartinKristof
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Yeah, I know that the Bower is obsolete. Fixed with rename. Thank you!

Please sign in to comment.