Skip to content

Commit be80e0b

Browse files
committed
Update dependencies
1 parent 66a47bb commit be80e0b

File tree

8 files changed

+1803
-1623
lines changed

8 files changed

+1803
-1623
lines changed

.eslintrc

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,8 @@
2020
"react/no-find-dom-node": 0,
2121
"react/jsx-filename-extension": 0,
2222
"import/prefer-default-export": 0,
23+
"jsx-a11y/no-noninteractive-tabindex": 0,
24+
"jsx-a11y/no-noninteractive-element-interactions": 0,
2325
"jsx-a11y/no-static-element-interactions": 0,
2426
"jsx-a11y/label-has-for": 0,
2527
"import/no-extraneous-dependencies": [

.stylelintrc

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -14,11 +14,11 @@
1414
]
1515
}],
1616
"color-hex-case": "lower",
17-
"order/declaration-block-order": [
17+
"order/order": [
1818
"custom-properties",
1919
"declarations"
2020
],
21-
"order/declaration-block-properties-alphabetical-order": true,
21+
"order/properties-alphabetical-order": true,
2222
"font-family-name-quotes": "always-where-recommended",
2323
"string-quotes": "single",
2424
"selector-pseudo-class-no-unknown": [

components/dialog/Dialog.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@ const factory = (Overlay, Button) => {
3939
{props.children}
4040
</section>
4141
{actions.length
42-
? <nav role="navigation" className={props.theme.navigation}>
42+
? <nav className={props.theme.navigation}>
4343
{actions}
4444
</nav>
4545
: null

gulpfile.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,7 @@ gulp.task('css', function () {
2121
}),
2222
require('postcss-mixins')(),
2323
require('postcss-each')(),
24+
require('postcss-nested')(),
2425
require('postcss-reporter')({ clearMessages: true })
2526
];
2627

package.json

Lines changed: 45 additions & 44 deletions
Original file line numberDiff line numberDiff line change
@@ -29,70 +29,71 @@
2929
"classnames": "^2.2.5",
3030
"core-js": "^2.4.0",
3131
"ramda": "^0.23.0",
32-
"react-css-themr": "^1.7.2",
33-
"react-style-proptype": "^2.0.0",
32+
"react-css-themr": "^2.1.2",
33+
"react-style-proptype": "^3.0.0",
3434
"react-transition-group": "^1.1.3"
3535
},
3636
"devDependencies": {
37-
"babel-cli": "^6.22.2",
38-
"babel-core": "^6.22.1",
39-
"babel-eslint": "^7.1.1",
40-
"babel-loader": "^6.2.10",
37+
"babel-cli": "^6.24.1",
38+
"babel-core": "^6.24.1",
39+
"babel-eslint": "^7.2.3",
40+
"babel-loader": "^7.0.0",
4141
"babel-plugin-react-transform": "^2.0.2",
42-
"babel-polyfill": "^6.22.0",
43-
"babel-preset-es2015": "^6.22.0",
44-
"babel-preset-react": "^6.22.0",
45-
"babel-preset-stage-0": "^6.22.0",
42+
"babel-polyfill": "^6.23.0",
43+
"babel-preset-es2015": "^6.24.1",
44+
"babel-preset-react": "^6.24.1",
45+
"babel-preset-stage-0": "^6.24.1",
4646
"cpx": "^1.5.0",
47-
"cross-env": "^3.1.3",
48-
"css-loader": "^0.26.1",
49-
"enzyme": "^2.7.1",
50-
"enzyme-to-json": "^1.4.5",
51-
"eslint": "^3.15.0",
52-
"eslint-config-airbnb": "^14.1.0",
47+
"cross-env": "^5.0.0",
48+
"css-loader": "^0.28.2",
49+
"enzyme": "^2.8.2",
50+
"enzyme-to-json": "^1.5.1",
51+
"eslint": "^3.19.0",
52+
"eslint-config-airbnb": "^15.0.1",
5353
"eslint-import-resolver-webpack": "^0.8.1",
54-
"eslint-plugin-babel": "^4.0.1",
55-
"eslint-plugin-compat": "^1.0.1",
54+
"eslint-plugin-babel": "^4.1.1",
55+
"eslint-plugin-compat": "^1.0.2",
5656
"eslint-plugin-import": "^2.2.0",
57-
"eslint-plugin-jsx-a11y": "^4.0.0",
58-
"eslint-plugin-react": "^6.9.0",
59-
"express": "^4.14.1",
60-
"extract-text-webpack-plugin": "~2.0.0-rc.3",
57+
"eslint-plugin-jsx-a11y": "^5.0.3",
58+
"eslint-plugin-react": "^7.0.1",
59+
"express": "^4.15.3",
60+
"extract-text-webpack-plugin": "^2.1.0",
6161
"git-dirty": "^1.0.2",
62-
"glob": "^7.1.1",
62+
"glob": "^7.1.2",
6363
"gulp": "^3.9.1",
6464
"gulp-babel": "^6.1.2",
65-
"gulp-postcss": "^6.3.0",
65+
"gulp-postcss": "^7.0.0",
6666
"gulp-rimraf": "^0.2.1",
6767
"identity-obj-proxy": "^3.0.0",
6868
"internal-ip": "^1.2.0",
69-
"jest": "^18.1.0",
70-
"lint-staged": "^3.3.0",
71-
"mocha": "^3.1.2",
72-
"normalize.css": "^5.0.0",
73-
"postcss-cssnext": "^2.8.0",
74-
"postcss-each": "^0.9.3",
75-
"postcss-import": "^9.1.0",
76-
"postcss-loader": "^1.2.2",
77-
"postcss-mixins": "^5.4.0",
69+
"jest": "^20.0.3",
70+
"lint-staged": "^3.4.2",
71+
"mocha": "^3.4.1",
72+
"normalize.css": "^7.0.0",
73+
"postcss-cssnext": "^2.11.0",
74+
"postcss-each": "^0.10.0",
75+
"postcss-import": "^10.0.0",
76+
"postcss-loader": "^2.0.5",
77+
"postcss-mixins": "^6.0.0",
78+
"postcss-nested": "^2.0.2",
7879
"postcss-reporter": "^3.0.0",
7980
"pre-commit": "^1.2.2",
80-
"prop-types": "^15.5.7",
81+
"prop-types": "^15.5.10",
8182
"react": "^15.5.0",
8283
"react-addons-test-utils": "^15.5.0",
8384
"react-dom": "^15.5.0",
8485
"react-test-renderer": "^15.5.0",
8586
"react-transform-catch-errors": "^1.0.2",
8687
"react-transform-hmr": "^1.0.4",
87-
"redbox-react": "^1.3.2",
88-
"rimraf": "^2.5.2",
89-
"style-loader": "^0.13.1",
90-
"stylelint": "^7.8.0",
88+
"redbox-react": "^1.3.6",
89+
"rimraf": "^2.6.1",
90+
"style-loader": "^0.18.0",
91+
"stylelint": "^7.10.1",
9192
"stylelint-config-standard": "^16.0.0",
92-
"stylelint-order": "^0.2.2",
93-
"webpack": "~2.2.0",
94-
"webpack-dev-middleware": "^1.10.0",
95-
"webpack-hot-middleware": "^2.16.1"
93+
"stylelint-order": "^0.4.4",
94+
"webpack": "^2.6.0",
95+
"webpack-dev-middleware": "^1.10.2",
96+
"webpack-hot-middleware": "^2.18.0"
9697
},
9798
"engines": {
9899
"node": ">= 6"
@@ -137,8 +138,8 @@
137138
"classnames": "^2.2.0",
138139
"prop-types": "^15.5.7",
139140
"react": "^15.5.0",
140-
"react-transition-group": "^1.1.3",
141-
"react-dom": "^15.5.0"
141+
"react-dom": "^15.5.0",
142+
"react-transition-group": "^1.1.3"
142143
},
143144
"pre-commit": "lint:staged"
144145
}

webpack/postcss.config.js

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,17 @@
1+
const path = require('path');
2+
3+
module.exports = {
4+
plugins: {
5+
'postcss-import': {
6+
root: path.join(__dirname, '../'),
7+
path: [path.join(__dirname, '../components')]
8+
},
9+
'postcss-mixins': {},
10+
'postcss-each': {},
11+
'postcss-cssnext': {},
12+
'postcss-nested': {},
13+
'postcss-reporter': {
14+
clearMessages: true
15+
}
16+
}
17+
}

webpack/webpack.config.dev.js

Lines changed: 14 additions & 23 deletions
Original file line numberDiff line numberDiff line change
@@ -23,15 +23,15 @@ module.exports = {
2323
module: {
2424
rules: [{
2525
test: /\.js$/,
26-
loader: 'babel-loader',
26+
use: 'babel-loader',
2727
include: [
2828
path.join(__dirname, '../components'),
2929
path.join(__dirname, '../spec')
3030
]
3131
}, {
3232
test: /\.css$/,
3333
include: /node_modules/,
34-
loader: ExtractTextPlugin.extract({
34+
use: ExtractTextPlugin.extract({
3535
fallback: 'style-loader',
3636
loader: 'css-loader',
3737
})
@@ -44,33 +44,24 @@ module.exports = {
4444
use: ['style-loader', {
4545
loader: 'css-loader',
4646
query: {
47-
modules: true,
47+
import: false,
48+
importLoaders: 1,
4849
localIdentName: '[name]__[local]___[hash:base64:5]',
50+
modules: true,
4951
sourceMap: true
5052
},
51-
}, 'postcss-loader']
53+
}, {
54+
loader: 'postcss-loader',
55+
options: {
56+
// context: path.join(__dirname, '../'),
57+
config: {
58+
path: path.join(__dirname, './postcss.config.js')
59+
}
60+
}
61+
}]
5262
}]
5363
},
5464
plugins: [
55-
new webpack.LoaderOptionsPlugin({
56-
options: {
57-
context: path.join(__dirname, '../'),
58-
postcss () {
59-
return [
60-
require('postcss-import')({
61-
root: path.join(__dirname, '../'),
62-
path: [path.join(__dirname, '../components')]
63-
}),
64-
require('postcss-mixins')(),
65-
require('postcss-each')(),
66-
require('postcss-cssnext')(),
67-
require('postcss-reporter')({
68-
clearMessages: true
69-
})
70-
];
71-
}
72-
}
73-
}),
7465
new ExtractTextPlugin({ filename: 'spec.css', allChunks: true }),
7566
new webpack.HotModuleReplacementPlugin(),
7667
new webpack.EvalSourceMapDevToolPlugin(),

0 commit comments

Comments
 (0)