Skip to content

Commit ee9e50f

Browse files
committed
Point original package back at React Router (#160)
1 parent 421467e commit ee9e50f

14 files changed

+35
-22
lines changed

.travis.yml

+7-1
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,13 @@
11
sudo: false
2+
23
language: node_js
34
node_js:
4-
- "iojs"
5+
- stable
6+
57
cache:
68
directories:
79
- node_modules
10+
11+
branches:
12+
only:
13+
- master

CHANGELOG.md

+9
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,12 @@
1+
## [v0.22.0]
2+
> 2016-04-12
3+
4+
- **Breaking:** Move from rrtr to React Router ([#160])
5+
6+
[v0.22.0]: https://github.com/react-bootstrap/react-router-bootstrap/compare/v0.21.0...v0.22.0
7+
[#160]: https://github.com/react-bootstrap/react-router-bootstrap/pull/160
8+
9+
110
## [v0.21.0]
211
> 2016-04-11
312

README.md

+3-3
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,10 @@
11
# react-router-bootstrap
2-
Integration between [rrtr](https://github.com/taion/rrtr) and [React-Bootstrap](https://github.com/react-bootstrap/react-bootstrap).
2+
Integration between [React Router](https://github.com/rackt/react-router) and [React-Bootstrap](https://github.com/react-bootstrap/react-bootstrap).
33

44
[![Build Status](https://travis-ci.org/react-bootstrap/react-router-bootstrap.svg?branch=master)](https://travis-ci.org/react-bootstrap/react-router-bootstrap)
55
[![npm version](https://badge.fury.io/js/react-router-bootstrap.svg)](http://badge.fury.io/js/react-router-bootstrap)
66

7-
**rrtr**? It's an actively-maintained fork of React Router. More details [here](https://medium.com/@taion/react-router-is-dead-long-live-rrtr-d229ca30e318).
7+
Using rrtr instead of React Router? Use [rrtr-bootstrap](https://github.com/react-bootstrap/rrtr-bootstrap) instead.
88

99
## Usage
1010

@@ -29,7 +29,7 @@ npm install react-router-bootstrap
2929
You will also want to have React Router and React-Bootstrap.
3030

3131
```
32-
npm install rrtr react-bootstrap
32+
npm install react-router react-bootstrap
3333
```
3434

3535
## Contributing

package.json

+2-4
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@
3333
"homepage": "https://github.com/react-bootstrap/react-router-bootstrap",
3434
"peerDependencies": {
3535
"react": ">=0.14.0",
36-
"rrtr": ">=2.1.2"
36+
"react-router": ">=2.0.0"
3737
},
3838
"devDependencies": {
3939
"babel": "^5.8.38",
@@ -71,9 +71,9 @@
7171
"react": "^15.0.0",
7272
"react-bootstrap": "^0.28.5",
7373
"react-dom": "^15.0.0",
74+
"react-router": "^2.0.1",
7475
"release-script": "^1.0.2",
7576
"rimraf": "^2.5.2",
76-
"rrtr": "^2.1.2",
7777
"shelljs": "^0.6.0",
7878
"sinon": "^1.17.3",
7979
"sinon-chai": "^2.8.0",
@@ -84,8 +84,6 @@
8484
"yargs": "^4.4.0"
8585
},
8686
"files": [
87-
"README",
88-
"CHANGELOG.md",
8987
"lib"
9088
],
9189
"release-script": {

src/LinkContainer.js

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
1-
// This is largely taken from rrtr/lib/Link.
1+
// This is largely taken from react-router/lib/Link.
22

33
import React from 'react';
4-
import Link from 'rrtr/lib/Link';
4+
import Link from 'react-router/lib/Link';
55

66
export default class LinkContainer extends React.Component {
77
constructor(props, context) {

tests/IndexLinkContainer.spec.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ import React from 'react';
22
import ReactTestUtils from 'react/lib/ReactTestUtils';
33
import * as ReactBootstrap from 'react-bootstrap';
44
import ReactDOM from 'react-dom';
5-
import { createMemoryHistory, IndexRoute, Route, Router } from 'rrtr';
5+
import { createMemoryHistory, IndexRoute, Route, Router } from 'react-router';
66

77
import IndexLinkContainer from '../src/IndexLinkContainer';
88

tests/LinkContainer.spec.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ import React from 'react';
22
import ReactTestUtils from 'react/lib/ReactTestUtils';
33
import * as ReactBootstrap from 'react-bootstrap';
44
import ReactDOM from 'react-dom';
5-
import { createMemoryHistory, Route, Router } from 'rrtr';
5+
import { createMemoryHistory, Route, Router } from 'react-router';
66

77
import LinkContainer from '../src/LinkContainer';
88

tests/visual/ButtonVisual.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
import React from 'react';
22
import ButtonToolbar from 'react-bootstrap/lib/ButtonToolbar';
33
import Button from 'react-bootstrap/lib/Button';
4-
import { Link } from 'rrtr';
4+
import { Link } from 'react-router';
55

66
import LinkContainer from '../../src/LinkContainer';
77

tests/visual/Home.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
import React from 'react';
2-
import { Link } from 'rrtr';
2+
import { Link } from 'react-router';
33

44
export default () => (
55
<div>

tests/visual/ListGroupItemVisual.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
import React from 'react';
22
import ListGroup from 'react-bootstrap/lib/ListGroup';
33
import ListGroupItem from 'react-bootstrap/lib/ListGroupItem';
4-
import { Link } from 'rrtr';
4+
import { Link } from 'react-router';
55

66
import LinkContainer from '../../src/LinkContainer';
77

tests/visual/MenuItemVisual.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ import React from 'react';
22
import ButtonToolbar from 'react-bootstrap/lib/ButtonToolbar';
33
import MenuItem from 'react-bootstrap/lib/MenuItem';
44
import SplitButton from 'react-bootstrap/lib/SplitButton';
5-
import { Link } from 'rrtr';
5+
import { Link } from 'react-router';
66

77
import LinkContainer from '../../src/LinkContainer';
88

tests/visual/NavItemVisual.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
import React from 'react';
22
import Nav from 'react-bootstrap/lib/Nav';
33
import NavItem from 'react-bootstrap/lib/NavItem';
4-
import { Link } from 'rrtr';
4+
import { Link } from 'react-router';
55

66
import LinkContainer from '../../src/LinkContainer';
77

tests/visual/index.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
import React from 'react';
22
import Grid from 'react-bootstrap/lib/Grid';
33
import ReactDOM from 'react-dom';
4-
import { hashHistory, IndexRedirect, Route, Router } from 'rrtr';
4+
import { hashHistory, IndexRedirect, Route, Router } from 'react-router';
55

66
import ButtonVisual from './ButtonVisual';
77
import Home from './Home';

webpack.config.babel.js

+4-4
Original file line numberDiff line numberDiff line change
@@ -29,11 +29,11 @@ export default {
2929
}
3030
},
3131
{
32-
'rrtr': {
32+
'react-router': {
3333
root: 'ReactRouter',
34-
commonjs2: 'rrtr',
35-
commonjs: 'rrtr',
36-
amd: 'rrtr'
34+
commonjs2: 'react-router',
35+
commonjs: 'react-router',
36+
amd: 'react-router'
3737
}
3838
}
3939
],

0 commit comments

Comments
 (0)