Skip to content

Commit b745143

Browse files
authored
update/packages (#68)
* bump version to 1.1.0 * update root packages.. * update client packages * update <nav> snapshot - react-router-dom <nav-link> attr. * update server packages * readme + devDependencies badge
1 parent 3cbfa2d commit b745143

File tree

10 files changed

+675
-560
lines changed

10 files changed

+675
-560
lines changed

README.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,9 @@
77
[![Twitter Follow](https://img.shields.io/twitter/follow/uruit.svg?style=social&label=Follow)](https://twitter.com/UruIT/followers)
88
[![Twitter URL](https://img.shields.io/twitter/url/http/uruit.react-seed.svg?style=social)](https://twitter.com/intent/tweet?text=react-seed%20by%20%40UruIT%20on&url=https%3A%2F%2Fgithub.com%2Furuit%2Freact-seed)
99

10+
[![DevDependencies](https://img.shields.io/david/dev/uruit/react-seed.svg)](https://github.com/uruit/react-seed/blob/master/package.json)
11+
12+
1013
UruIT seed project for ReactJS applications
1114

1215

client/components/nav/Nav.jsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ import React from 'react';
22
import { NavLink } from 'react-router-dom';
33
import styles from './Nav.scss';
44

5-
let { nav, active } = styles;
5+
const { nav, active } = styles;
66

77
const Nav = () => (
88
<ul className={nav}>

client/components/nav/Nav.spec.js

Lines changed: 8 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,13 @@
11
import React from 'react';
2-
import Nav from './Nav';
32
import ShallowRenderer from 'react-test-renderer/shallow';
43

5-
test('<Nav/>', () => {
6-
const renderer = new ShallowRenderer();
7-
const tree = renderer.render(<Nav />);
4+
import Nav from './Nav';
5+
6+
describe('<Nav/>', () => {
7+
it('snapshot', () => {
8+
const renderer = new ShallowRenderer();
9+
const tree = renderer.render(<Nav />);
810

9-
expect(tree).toMatchSnapshot();
11+
expect(tree).toMatchSnapshot();
12+
});
1013
});

client/components/nav/__snapshots__/Nav.spec.js.snap

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,13 @@
11
// Jest Snapshot v1, https://goo.gl/fbAQLP
22

3-
exports[`<Nav/> 1`] = `
3+
exports[`<Nav/> snapshot 1`] = `
44
<ul
55
className="nav"
66
>
77
<li>
88
<NavLink
99
activeClassName="active"
10+
ariaCurrent="true"
1011
exact={true}
1112
to="/"
1213
>
@@ -16,6 +17,7 @@ exports[`<Nav/> 1`] = `
1617
<li>
1718
<NavLink
1819
activeClassName="active"
20+
ariaCurrent="true"
1921
exact={true}
2022
to="/about"
2123
>

client/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@
1919
"prop-types": "^15.5.9",
2020
"react": "^15.5.4",
2121
"react-dom": "^15.5.4",
22-
"react-router-dom": "^4.1.2",
22+
"react-router-dom": "^4.2.0",
2323
"whatwg-fetch": "^2.0.3"
2424
},
2525
"devDependencies": {

client/yarn.lock

Lines changed: 27 additions & 26 deletions
Original file line numberDiff line numberDiff line change
@@ -918,23 +918,23 @@ hawk@~3.1.3:
918918
hoek "2.x.x"
919919
sntp "1.x.x"
920920

921-
history@^4.5.1, history@^4.6.0:
922-
version "4.6.3"
923-
resolved "https://registry.yarnpkg.com/history/-/history-4.6.3.tgz#6d723a8712c581d6bef37e8c26f4aedc6eb86967"
921+
history@^4.7.2:
922+
version "4.7.2"
923+
resolved "https://registry.yarnpkg.com/history/-/history-4.7.2.tgz#22b5c7f31633c5b8021c7f4a8a954ac139ee8d5b"
924924
dependencies:
925925
invariant "^2.2.1"
926926
loose-envify "^1.2.0"
927-
resolve-pathname "^2.0.0"
928-
value-equal "^0.2.0"
927+
resolve-pathname "^2.2.0"
928+
value-equal "^0.4.0"
929929
warning "^3.0.0"
930930

931931
932932
version "2.16.3"
933933
resolved "https://registry.yarnpkg.com/hoek/-/hoek-2.16.3.tgz#20bb7403d3cea398e91dc4710a8ff1b8274a25ed"
934934

935-
hoist-non-react-statics@^1.2.0:
936-
version "1.2.0"
937-
resolved "https://registry.yarnpkg.com/hoist-non-react-statics/-/hoist-non-react-statics-1.2.0.tgz#aa448cf0986d55cc40773b17174b7dd066cb7cfb"
935+
hoist-non-react-statics@^2.3.0:
936+
version "2.3.0"
937+
resolved "https://registry.yarnpkg.com/hoist-non-react-statics/-/hoist-non-react-statics-2.3.0.tgz#ede16318c2ff1f9fe3a025396ba06fd4c44608bb"
938938

939939
home-or-tmp@^2.0.0:
940940
version "2.0.0"
@@ -1855,7 +1855,7 @@ path-parse@^1.0.5:
18551855
version "1.0.5"
18561856
resolved "https://registry.yarnpkg.com/path-parse/-/path-parse-1.0.5.tgz#3c1adf871ea9cd6c9431b6ea2bd74a0ff055c4c1"
18571857

1858-
path-to-regexp@^1.5.3:
1858+
path-to-regexp@^1.7.0:
18591859
version "1.7.0"
18601860
resolved "https://registry.yarnpkg.com/path-to-regexp/-/path-to-regexp-1.7.0.tgz#59fde0f435badacba103a84e9d3bc64e96b9937d"
18611861
dependencies:
@@ -1966,24 +1966,25 @@ react-proxy@^1.1.7:
19661966
lodash "^4.6.1"
19671967
react-deep-force-update "^1.0.0"
19681968

1969-
react-router-dom@^4.1.2:
1970-
version "4.1.2"
1971-
resolved "https://registry.yarnpkg.com/react-router-dom/-/react-router-dom-4.1.2.tgz#7f8a7ca868d32acadd19ca09543b40d26df8ec37"
1969+
react-router-dom@^4.2.0:
1970+
version "4.2.0"
1971+
resolved "https://registry.yarnpkg.com/react-router-dom/-/react-router-dom-4.2.0.tgz#84238285ac31a1afe53c87a751b9f1ffc5b69af7"
19721972
dependencies:
1973-
history "^4.5.1"
1973+
history "^4.7.2"
1974+
invariant "^2.2.2"
19741975
loose-envify "^1.3.1"
19751976
prop-types "^15.5.4"
1976-
react-router "^4.1.1"
1977+
react-router "^4.2.0"
19771978

1978-
react-router@^4.1.1:
1979-
version "4.1.1"
1980-
resolved "https://registry.yarnpkg.com/react-router/-/react-router-4.1.1.tgz#d448f3b7c1b429a6fbb03395099949c606b1fe95"
1979+
react-router@^4.2.0:
1980+
version "4.2.0"
1981+
resolved "https://registry.yarnpkg.com/react-router/-/react-router-4.2.0.tgz#61f7b3e3770daeb24062dae3eedef1b054155986"
19811982
dependencies:
1982-
history "^4.6.0"
1983-
hoist-non-react-statics "^1.2.0"
1983+
history "^4.7.2"
1984+
hoist-non-react-statics "^2.3.0"
19841985
invariant "^2.2.2"
19851986
loose-envify "^1.3.1"
1986-
path-to-regexp "^1.5.3"
1987+
path-to-regexp "^1.7.0"
19871988
prop-types "^15.5.4"
19881989
warning "^3.0.0"
19891990

@@ -2115,9 +2116,9 @@ require-main-filename@^1.0.1:
21152116
version "1.0.1"
21162117
resolved "https://registry.yarnpkg.com/require-main-filename/-/require-main-filename-1.0.1.tgz#97f717b69d48784f5f526a6c5aa8ffdda055a4d1"
21172118

2118-
resolve-pathname@^2.0.0:
2119-
version "2.1.0"
2120-
resolved "https://registry.yarnpkg.com/resolve-pathname/-/resolve-pathname-2.1.0.tgz#e8358801b86b83b17560d4e3c382d7aef2100944"
2119+
resolve-pathname@^2.2.0:
2120+
version "2.2.0"
2121+
resolved "https://registry.yarnpkg.com/resolve-pathname/-/resolve-pathname-2.2.0.tgz#7e9ae21ed815fd63ab189adeee64dc831eefa879"
21212122

21222123
21232124
version "1.1.7"
@@ -2393,9 +2394,9 @@ validate-npm-package-license@^3.0.1:
23932394
spdx-correct "~1.0.0"
23942395
spdx-expression-parse "~1.0.0"
23952396

2396-
value-equal@^0.2.0:
2397-
version "0.2.1"
2398-
resolved "https://registry.yarnpkg.com/value-equal/-/value-equal-0.2.1.tgz#c220a304361fce6994dbbedaa3c7e1a1b895871d"
2397+
value-equal@^0.4.0:
2398+
version "0.4.0"
2399+
resolved "https://registry.yarnpkg.com/value-equal/-/value-equal-0.4.0.tgz#c5bdd2f54ee093c04839d71ce2e4758a6890abc7"
23992400

24002401
24012402
version "1.3.6"

package.json

Lines changed: 12 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -51,38 +51,38 @@
5151
},
5252
"devDependencies": {
5353
"autoprefixer": "^7.1.2",
54-
"babel-core": "^6.25.0",
54+
"babel-core": "^6.26.0",
5555
"babel-eslint": "^7.2.3",
56-
"babel-loader": "^7.1.1",
56+
"babel-loader": "^7.1.2",
5757
"babel-preset-es2015": "^6.24.1",
5858
"babel-preset-react": "^6.24.1",
5959
"babel-preset-survivejs-kanban": "^0.3.3",
6060
"clean-webpack-plugin": "^0.1.16",
6161
"coveralls": "^2.13.1",
62-
"css-loader": "^0.28.4",
63-
"eslint": "^4.3.0",
62+
"css-loader": "^0.28.5",
63+
"eslint": "^4.5.0",
6464
"eslint-loader": "^1.9.0",
65-
"eslint-plugin-react": "^7.1.0",
65+
"eslint-plugin-react": "^7.3.0",
6666
"extract-text-webpack-plugin": "^3.0.0",
6767
"file-loader": "^0.11.2",
68-
"html-webpack-plugin": "^2.29.0",
68+
"html-webpack-plugin": "^2.30.1",
6969
"html-webpack-template": "^6.0.1",
7070
"http-server": "^0.10.0",
7171
"husky": "^0.14.3",
72-
"istanbul-instrumenter-loader": "^2.0.0",
72+
"istanbul-instrumenter-loader": "^3.0.0",
7373
"json-loader": "^0.5.6",
74-
"lint-staged": "^4.0.2",
74+
"lint-staged": "^4.0.3",
7575
"node-sass": "^4.5.3",
7676
"nodemon": "^1.11.0",
77-
"npm-install-webpack-plugin": "^4.0.4",
77+
"npm-install-webpack-plugin": "^4.0.5",
7878
"plop": "^1.8.0",
7979
"postcss-loader": "^2.0.6",
8080
"raw-loader": "^0.5.1",
81-
"resolve-url-loader": "^2.0.3",
81+
"resolve-url-loader": "^2.1.0",
8282
"sass-loader": "^6.0.6",
8383
"style-loader": "^0.18.2",
84-
"webpack": "^3.4.1",
85-
"webpack-dev-middleware": "^1.11.0",
84+
"webpack": "^3.5.5",
85+
"webpack-dev-middleware": "^1.12.0",
8686
"webpack-hot-middleware": "^2.18.2",
8787
"webpack-merge": "^4.1.0"
8888
},

server/package.json

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -21,14 +21,14 @@
2121
"dependencies": {
2222
"body-parser": "^1.17.2",
2323
"compression": "^1.7.0",
24-
"express": "^4.15.3",
24+
"express": "^4.15.4",
2525
"knex": "^0.13.0",
26-
"pg": "^7.0.2",
26+
"pg": "^7.2.0",
2727
"winston": "^2.3.1"
2828
},
2929
"devDependencies": {
3030
"supertest": "^3.0.0",
3131
"tap-spec": "^4.1.1",
32-
"tape": "^4.7.0"
32+
"tape": "^4.8.0"
3333
}
3434
}

0 commit comments

Comments
 (0)