Skip to content

Commit

Permalink
4.0.0
Browse files Browse the repository at this point in the history
  • Loading branch information
frenzzy committed Aug 14, 2017
1 parent 0d56845 commit a617e6f
Show file tree
Hide file tree
Showing 5 changed files with 399 additions and 347 deletions.
9 changes: 9 additions & 0 deletions .babelrc
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
{
"presets": [
"react",
"latest"
],
"plugins": [
"transform-runtime"
]
}
14 changes: 14 additions & 0 deletions .eslintrc
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
{
"parser": "babel-eslint",
"extends": "airbnb",
"env": {
"browser": true
},
"rules": {
"import/no-extraneous-dependencies": "off",
"jsx-a11y/href-no-hash": "off",
"no-continue": "off",
"no-plusplus": "off",
"react/jsx-filename-extension": "off"
}
}
10 changes: 9 additions & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,13 @@

All notable changes to this project will be documented in this file.

## [v4.0.0] - 2017-08-14

- Bump hoist-non-react-statics and babel-runtime
- Remove Babel and ESLint sections from package.json
- Add a safety check on `componentWillUnmount` of `withStyles` to only `setTimeout` if `this.removeCss` is defined ([#104](https://github.com/kriasoft/isomorphic-style-loader/pull/104))
- Call the insertCss with the spread operator ([#101](https://github.com/kriasoft/isomorphic-style-loader/pull/101))

## [v3.0.0] - 2017-07-07

- Bump hoist-non-react-statics ([#97](https://github.com/kriasoft/isomorphic-style-loader/pull/97))
Expand Down Expand Up @@ -31,7 +38,8 @@ All notable changes to this project will be documented in this file.

- Fix style not getting removed for multiple instance ([#23](https://github.com/kriasoft/isomorphic-style-loader/pull/23))

[unreleased]: https://github.com/kriasoft/isomorphic-style-loader/compare/v3.0.0...HEAD
[unreleased]: https://github.com/kriasoft/isomorphic-style-loader/compare/v4.0.0...HEAD
[v4.0.0]: https://github.com/kriasoft/isomorphic-style-loader/compare/v3.0.0...v4.0.0
[v3.0.0]: https://github.com/kriasoft/isomorphic-style-loader/compare/v2.0.0...v3.0.0
[v2.0.0]: https://github.com/kriasoft/isomorphic-style-loader/compare/v1.1.0...v2.0.0
[v1.1.0]: https://github.com/kriasoft/isomorphic-style-loader/compare/v1.0.0...v1.1.0
Expand Down
42 changes: 10 additions & 32 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "isomorphic-style-loader",
"version": "3.0.0",
"version": "4.0.0",
"description": "CSS style loader for Webpack optimized for critical path CSS rendering and isomoprhic web apps",
"repository": "kriasoft/isomorphic-style-loader",
"author": "Kriasoft <hello@kriasoft.com> (https://www.kriasoft.com)",
Expand Down Expand Up @@ -33,31 +33,9 @@
"files": [
"lib"
],
"babel": {
"presets": [
"react",
"latest"
],
"plugins": [
"transform-runtime"
]
},
"eslintConfig": {
"parser": "babel-eslint",
"extends": "airbnb",
"env": {
"browser": true
},
"rules": {
"import/no-extraneous-dependencies": "off",
"no-continue": "off",
"no-plusplus": "off",
"react/jsx-filename-extension": "off"
}
},
"dependencies": {
"babel-runtime": "^6.23.0",
"hoist-non-react-statics": "^2.0.0",
"babel-runtime": "^6.25.0",
"hoist-non-react-statics": "^2.2.2",
"loader-utils": "^1.1.0",
"prop-types": "^15.5.10"
},
Expand All @@ -69,27 +47,27 @@
"babel-preset-latest": "^6.24.1",
"babel-preset-react": "^6.24.1",
"babel-register": "^6.24.1",
"chai": "^4.0.2",
"chai": "^4.1.1",
"coveralls": "^2.13.1",
"create-react-class": "^15.6.0",
"eslint": "^3.19.0",
"eslint-config-airbnb": "^15.0.2",
"eslint": "^4.4.1",
"eslint-config-airbnb": "^15.1.0",
"eslint-plugin-import": "^2.7.0",
"eslint-plugin-jsx-a11y": "^6.0.2",
"eslint-plugin-react": "^7.1.0",
"eslint-plugin-react": "^7.2.0",
"istanbul": "^1.1.0-alpha.1",
"jsdom": "^11.1.0",
"mocha": "^3.4.2",
"mocha": "^3.5.0",
"react": "^15.6.1",
"react-dom": "^15.6.1",
"rimraf": "^2.6.1",
"sinon": "^2.3.6"
"sinon": "^3.2.0"
},
"scripts": {
"lint": "eslint src test",
"test": "mocha test --compilers js:babel-register",
"test:watch": "mocha --compilers js:babel-register --reporter min --watch",
"test:cover": "babel-node ./node_modules/istanbul/lib/cli.js cover ./node_modules/mocha/bin/_mocha",
"test:cover": "istanbul cover ./node_modules/mocha/bin/_mocha -- --compilers js:babel-register",
"coveralls": "cat ./coverage/lcov.info | coveralls",
"build": "rimraf lib && babel src --out-dir lib",
"prepublish": "rimraf lib && babel src --out-dir lib"
Expand Down
Loading

0 comments on commit a617e6f

Please sign in to comment.