Skip to content

Commit e76460a

Browse files
committed
Updated package files
The package files (bower, npm, etc.) now point to the new distribution locations, and have the beta version numbers in place. The version number has been removed from the `bower.json` and `composer.json` files as they will retrieve the version numbers from Git.
1 parent df40e22 commit e76460a

5 files changed

Lines changed: 41 additions & 83 deletions

File tree

bower.json

Lines changed: 9 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,14 @@
11
{
22
"name": "select2",
3-
"version": "3.5.2",
4-
"main": ["select2.js", "select2.css", "select2.png", "select2x2.png", "select2-spinner.gif"],
3+
"description": "Select2 is a jQuery based replacement for select boxes. It supports searching, remote data sets, and infinite scrolling of results.",
4+
"main": [
5+
"dist/js/select2.js",
6+
"dist/css/select2.css"
7+
],
8+
"repository": {
9+
"type": "git",
10+
"url": "git@github.com:select2/select2.git"
11+
},
512
"dependencies": {
613
"jquery": ">= 1.7.1"
714
}

component.json

Lines changed: 5 additions & 52 deletions
Original file line numberDiff line numberDiff line change
@@ -2,65 +2,18 @@
22
"name": "select2",
33
"repo": "select/select2",
44
"description": "Select2 is a jQuery based replacement for select boxes. It supports searching, remote data sets, and infinite scrolling of results.",
5-
"version": "3.5.2",
5+
"version": "4.0.0-beta.1",
66
"demo": "https://select2.github.io/",
77
"keywords": [
88
"jquery"
99
],
10-
"main": "select2.js",
10+
"main": "dist/js/select2.js",
1111
"styles": [
12-
"select2.css",
13-
"select2-bootstrap.css"
12+
"dist/css/select2.css"
1413
],
1514
"scripts": [
16-
"select2.js",
17-
"select2_locale_ar.js",
18-
"select2_locale_bg.js",
19-
"select2_locale_ca.js",
20-
"select2_locale_cs.js",
21-
"select2_locale_da.js",
22-
"select2_locale_de.js",
23-
"select2_locale_el.js",
24-
"select2_locale_es.js",
25-
"select2_locale_et.js",
26-
"select2_locale_eu.js",
27-
"select2_locale_fa.js",
28-
"select2_locale_fi.js",
29-
"select2_locale_fr.js",
30-
"select2_locale_gl.js",
31-
"select2_locale_he.js",
32-
"select2_locale_hr.js",
33-
"select2_locale_hu.js",
34-
"select2_locale_id.js",
35-
"select2_locale_is.js",
36-
"select2_locale_it.js",
37-
"select2_locale_ja.js",
38-
"select2_locale_ka.js",
39-
"select2_locale_ko.js",
40-
"select2_locale_lt.js",
41-
"select2_locale_lv.js",
42-
"select2_locale_mk.js",
43-
"select2_locale_ms.js",
44-
"select2_locale_nl.js",
45-
"select2_locale_no.js",
46-
"select2_locale_pl.js",
47-
"select2_locale_pt-BR.js",
48-
"select2_locale_pt-PT.js",
49-
"select2_locale_ro.js",
50-
"select2_locale_ru.js",
51-
"select2_locale_sk.js",
52-
"select2_locale_sv.js",
53-
"select2_locale_th.js",
54-
"select2_locale_tr.js",
55-
"select2_locale_uk.js",
56-
"select2_locale_vi.js",
57-
"select2_locale_zh-CN.js",
58-
"select2_locale_zh-TW.js"
59-
],
60-
"images": [
61-
"select2-spinner.gif",
62-
"select2.png",
63-
"select2x2.png"
15+
"dist/js/select2.js",
16+
"dist/js/i18n/*.js"
6417
],
6518
"license": "MIT"
6619
}

composer.json

Lines changed: 5 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -1,27 +1,22 @@
11
{
22
"name": "select2/select2",
33
"description": "Select2 is a jQuery based replacement for select boxes.",
4-
"version": "3.5.2",
54
"type": "component",
65
"homepage": "https://select2.github.io/",
7-
"license": "Apache-2.0",
6+
"license": "MIT",
87
"require": {
98
"robloach/component-installer": "*",
109
"components/jquery": ">=1.7.1"
1110
},
1211
"extra": {
1312
"component": {
1413
"scripts": [
15-
"select2.js"
14+
"dist/js/select2.js"
1615
],
1716
"files": [
18-
"select2.js",
19-
"select2_locale_*.js",
20-
"select2.css",
21-
"select2-bootstrap.css",
22-
"select2-spinner.gif",
23-
"select2.png",
24-
"select2x2.png"
17+
"dist/js/select2.js",
18+
"dist/js/i18n/*.js",
19+
"dist/css/select2.css"
2520
]
2621
}
2722
}

package.json

Lines changed: 18 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -7,19 +7,26 @@
77
"type": "git",
88
"url": "git://github.com/select2/select2.git"
99
},
10+
"bugs": {
11+
"url": "https://github.com/select2/select2/issues"
12+
},
13+
"keywords": [
14+
"select",
15+
"autocomplete",
16+
"typeahead",
17+
"dropdown",
18+
"multiselect",
19+
"tag",
20+
"tagging"
21+
],
22+
"license": "MIT",
1023
"main": "dist/js/select2.js",
11-
"version": "4.0.0",
24+
"version": "4.0.0-beta.1",
1225
"jspm": {
13-
"main": "select2",
14-
"files": [
15-
"select2.js",
16-
"select2.png",
17-
"select2.css",
18-
"select2-spinner.gif"
19-
],
20-
"buildConfig": {
21-
"uglify": true
22-
}
26+
"main": "js/select2",
27+
"directories": {
28+
"lib": "dist"
29+
},
2330
},
2431
"devDependencies": {
2532
"grunt": "^0.4.5",

select2.jquery.json

Lines changed: 4 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -11,25 +11,21 @@
1111
"tag",
1212
"tagging"
1313
],
14-
"version": "3.5.2",
14+
"version": "4.0.0-beta.1",
1515
"author": {
1616
"name": "Igor Vaynberg",
1717
"url": "https://github.com/ivaynberg"
1818
},
1919
"licenses": [
2020
{
21-
"type": "Apache",
22-
"url": "http://www.apache.org/licenses/LICENSE-2.0"
23-
},
24-
{
25-
"type": "GPL v2",
26-
"url": "http://www.gnu.org/licenses/gpl-2.0.html"
21+
"type": "MIT",
22+
"url": "http://opensource.org/licenses/MIT"
2723
}
2824
],
2925
"bugs": "https://github.com/select2/select2/issues",
3026
"homepage": "https://select2.github.io",
3127
"docs": "https://select2.github.io",
32-
"download": "https://github.com/select2/select2/tags",
28+
"download": "https://github.com/select2/select2/releases",
3329
"dependencies": {
3430
"jquery": ">=1.7.1"
3531
}

0 commit comments

Comments
 (0)