Skip to content

Commit 6a24a67

Browse files
committed
Merge branch 'master' into react-14
2 parents 8e630d6 + 2f63487 commit 6a24a67

161 files changed

Lines changed: 2687 additions & 2657 deletions

File tree

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

.eslintrc

Lines changed: 3 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -15,18 +15,14 @@
1515
"rules": {
1616
"constructor-super": 2,
1717
"comma-dangle": 0,
18-
"func-names": 0,
19-
"guard-for-in": 0,
18+
"eqeqeq": [2, "allow-null"],
19+
"id-length": 0,
2020
"one-var": [2, { "initialized": "never" }],
2121
"prefer-const": 0,
22-
"key-spacing": 0,
23-
"no-eq-null": 0,
24-
"no-else-return": 0,
2522
"no-param-reassign": 0,
2623
"no-this-before-super": 2,
27-
"no-undef": 2,
2824
"babel/object-shorthand": 2,
29-
"react/jsx-boolean-value": [2, "never"],
25+
"react/jsx-boolean-value": 2,
3026
"react/jsx-no-duplicate-props": 2,
3127
"react/prop-types": [2, { "ignore": [ "children", "className", "style" ] }],
3228
"react/sort-comp": 0

.travis.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
sudo: false
22
language: node_js
33
node_js:
4-
- "iojs"
4+
- 4
55
cache:
66
directories:
77
- node_modules

CHANGELOG-alpha.md

Lines changed: 0 additions & 38 deletions
This file was deleted.

CHANGELOG.md

Lines changed: 37 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,40 @@
1+
v0.26.2 - Wed, 07 Oct 2015 16:43:16 GMT
2+
---------------------------------------
3+
4+
- [ca52c30](../../commit/ca52c30) [fixed] Actually export the Image component
5+
- [73daba7](../../commit/73daba7) [fixed] Show toggle button when using NavBrand
6+
7+
8+
9+
v0.26.1 - Mon, 05 Oct 2015 02:04:27 GMT
10+
---------------------------------------
11+
12+
13+
14+
15+
16+
v0.26.0 - Sun, 04 Oct 2015 21:21:22 GMT
17+
---------------------------------------
18+
19+
- [b7853bb](../../commit/b7853bb) [fixed] Dropdown focus behavior on click
20+
- [dbb0385](../../commit/dbb0385) [added] #1320 allow NavItem class to be set
21+
- [3d13dda](../../commit/3d13dda) [fixed] #1287 ListGroupItem with onClick and header properly displays header
22+
- [3f5c6e3](../../commit/3f5c6e3) [added] #1181 ListGroup supports componentClass prop
23+
- [b5a9f3a](../../commit/b5a9f3a) [added] NavBrand Component
24+
- [ac37698](../../commit/ac37698) [added] 'Responsive embed' component
25+
- [1c2d054](../../commit/1c2d054) [fixed] Set the disabled css class so that the text is greyed out.
26+
- [0348274](../../commit/0348274) [fixed] Breadcrumb and BreadcrumbItem components
27+
- [3c710f9](../../commit/3c710f9) [added] Breadcrumb component
28+
- [99d333f](../../commit/99d333f) [changed] use `lodash-compat` for IE8 compatibility and `lodash` for dev
29+
- [ce564cb](../../commit/ce564cb) [fixed] any props not known by DropdownMenu are passed through to the underlying ul
30+
- [674d67e](../../commit/674d67e) [added] images component
31+
- [deee09d](../../commit/deee09d) [fixed] stop rendering extra attributes on Progress bar dom nodes
32+
- [02f1fec](../../commit/02f1fec) [fixed] allow null activeKey (empty) selection
33+
- [656f40d](../../commit/656f40d) [changed] 'id' prop-type made uniform throughout the project
34+
- [b9a4477](../../commit/b9a4477) [changed] use 'react-prop-types' instead of 'utils/CustomPropTypes'
35+
36+
37+
138
v0.25.2 - Sat, 12 Sep 2015 15:59:13 GMT
239
---------------------------------------
340

MAINTAINING.md

Lines changed: 42 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -66,24 +66,39 @@ less active when you don't. If you get a new job and get busy, that's alright.
6666

6767
Releases should include documentation, git tag, bower package preparation and
6868
finally the actual npm module publish. We have all of this automated by running
69-
`./tools/release` from the root of the repository. __PLEASE DO NOT RUN `npm
70-
publish` BY ITSELF__. The release script will do that. We want to prevent issues
69+
`npm run release`. __PLEASE DO NOT RUN `npm
70+
publish` BY ITSELF__. The `release-script` will do that. We want to prevent issues
7171
like [#325](https://github.com/react-bootstrap/react-bootstrap/issues/325) and
7272
[#218](https://github.com/react-bootstrap/react-bootstrap/issues/218) from ever
73-
happening again. In order to run the release script you will need permission to
73+
happening again. In order to run the `release-script` you will need permission to
7474
publish the package to npm. Those with this permission are in the [publishers
7575
team](https://github.com/orgs/react-bootstrap/teams/publishers)
7676

7777
*Note: The publishers team does exist. If you see 404 that means you just have no permissions to publish.*
7878

79-
Example usages of the release script:
79+
Example usages of the `release-script`:
8080

8181
```bash
82-
$ ./tools/release patch
83-
$ ./tools/release minor
84-
$ ./tools/release major
85-
$ ./tools/release minor --preid beta Use both bump and preid for first prerelease
86-
$ ./tools/release --preid beta For follow on prereleases of the next version just use this
82+
$ npm run release patch // without "--run" it will run in "dry run" mode
83+
$ npm run release patch -- --run
84+
$ npm run release minor -- --run
85+
$ npm run release major -- --run
86+
$ npm run release minor -- --preid beta --run Use both bump and preid for first prerelease
87+
$ npm run release -- --preid beta --run For follow on prereleases of the next version just use this
88+
```
89+
90+
*Note additional `--` double-dash. It is important.*
91+
92+
Or if you have this line
93+
```sh
94+
export PATH="./node_modules/.bin:$PATH"
95+
```
96+
in your shell config, then you can run it just as:
97+
```bash
98+
$ release patch // without "--run" it will run in "dry run" mode
99+
$ release patch --run
100+
$ release minor --preid beta --run
101+
$ release --preid beta --run
87102
```
88103

89104
Note that the above commands will bump the [semver](http://semver.org) version
@@ -127,22 +142,33 @@ To live patch the documentation in between release follow these steps
127142
0. Create a new branch from there (for example `git checkout -b docs/v0.22.1`)
128143
0. Cherry-pick the commits you want to include in the live update
129144
`git cherry-pick <commit-ish>...`
130-
0. Use the release-docs script to push and tag to the documentation repository.
145+
0. Use the
146+
```bash
147+
$ npm run release -- --only-docs --run
148+
// or
149+
$ release --only-docs --run
150+
```
151+
to push and tag to the documentation repository.
131152

132153
*Note: The branch name you checkout to cherry-picked the commit is not enforced.
133154
Though keeping similar names ex: `docs/<version>` helps finding the branch
134155
easily.*
135156

136-
Example usage of release-docs script:
137-
138-
```bash
139-
$ ./tools/release-docs
140-
```
141157

142158
### Check everything is OK before releasing
143159

144-
Release tools have a very useful option `--dry-run`.
160+
Release tools are run in "dry run" mode by default.
161+
It prevents `danger` steps (`git push`, `npm publish` etc) from accidental running.
145162

146163
You can use it
147164
- to learn how releasing tools are working.
148165
- to ensure there are no side issues before you release anything.
166+
```bash
167+
$ npm run release -- --only-docs
168+
$ npm run release major
169+
$ npm run release minor -- --preid beta
170+
// or
171+
$ release --only-docs
172+
$ release major
173+
$ release minor --preid beta
174+
```

0 commit comments

Comments
 (0)