Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Nodejs package rename for npm publish #2

Merged
merged 3 commits into from
May 21, 2018
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
21 changes: 17 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -18,18 +18,20 @@ You may install select2-bootstrap-theme with [Bower](https://bower.io/), [npm](h

```shell
// Bower
bower install select2-bootstrap-theme
bower install select2-bs4-theme

// npm
npm install select2-bootstrap-theme
npm install select2-bs4-theme

// yarn
yarn add select2-bootstrap-theme
yarn add select2-bs4-theme
```

##### Source select2-bootstrap-theme from CDNJS or jsDelivr

select2-bootstrap-theme [is also available on CDNJS](https://cdnjs.com/libraries/select2-bootstrap-theme/) and [jsDelivr](http://www.jsdelivr.com/projects/select2-bootstrap-theme).
~~select2-bootstrap-theme [is also available on CDNJS](https://cdnjs.com/libraries/select2-bootstrap-theme/) and [jsDelivr](http://www.jsdelivr.com/projects/select2-bootstrap-theme).~~

**TBD**

#### Usage

Expand All @@ -56,6 +58,10 @@ $.fn.select2.defaults.set( "theme", "bootstrap" );

#### Changelog

##### 0.2.0-beta.1
* _Forked from Bootsrap 3 theme._
* Switched to Bootstrap 4. All styles updated to work with Bootstrap 4 instead of 3.

##### 0.1.0-beta.10

* Compiled with grunt-sass v2.0.0 (was v1.2.1).
Expand Down Expand Up @@ -148,6 +154,13 @@ Develop in `src/select2-bootstrap.scss` and test your changes using `grunt serve

`grunt scss2less` helps in converting the Sass source to its Less counterpart (and overwrites the existing `src/select2-bootstrap.less`), but doesn't do the full job – please review the changes to the Less source file and make the necessary adjustments.

#### TODO
* Drop LESS support and update scripts. Bootstrap 4 is SASS only.
* Add RTL version
* Update shield.io badge

#### Copyright and license

Forked and modified from [select2 Bootstrap 3 theme](https://github.com/select2/select2-bootstrap-theme). All credits go to the original authors.

The license is available within the repository in the [LICENSE](LICENSE) file.
4 changes: 2 additions & 2 deletions bower.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"name": "select2-bootstrap-theme",
"name": "select2-bs4-theme",
"description": "A theme for Select2 v4 and Bootstrap 4.",
"keywords": [
"bootstrap",
Expand All @@ -20,7 +20,7 @@
"components"
],
"dependencies": {
"bootstrap": "^4.0.0-beta",
"bootstrap": "^4.0.0",
"select2": "^4.0.0"
},
"repository": {
Expand Down
4 changes: 2 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "select2-bootstrap-theme",
"version": "0.1.0-beta.10",
"name": "select2-bs4-theme",
"version": "0.2.0-beta.1",
"description": "A theme for Select2 v4 and Bootstrap 4.",
"main": "",
"style": "select2-bootstrap.css",
Expand Down