Skip to content

Commit

Permalink
Enhancements (#15)
Browse files Browse the repository at this point in the history
* wip - upgrade

* Update changelog

* Simplify action string

* Use destructuring on this.props

* Move enzyme configuration to setup file

* Add reference to issue in changelog

* Add reference to issue in changelog
  • Loading branch information
torleifhalseth authored Nov 20, 2017
1 parent ae7acc6 commit db7b84f
Show file tree
Hide file tree
Showing 14 changed files with 11,733 additions and 52 deletions.
7 changes: 7 additions & 0 deletions .prettierrc
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
{
"parser": "babylon",
"bracketSpacing": false,
"singleQuote": true,
"trailingComma": "all",
"printWidth": 80
}
2 changes: 1 addition & 1 deletion .storybook/config.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import { configure } from '@kadira/storybook';
import { configure } from '@storybook/react';

function loadStories() {
require('../src/stories');
Expand Down
18 changes: 12 additions & 6 deletions .storybook/webpack.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -2,17 +2,23 @@ const path = require('path');

module.exports = {
module: {
loaders: [
rules: [
{
test: /\.css$/,
loaders: ['style', 'css?sourceMap'],
use: [
'style-loader',
{
loader: 'css-loader',
options: {
sourceMap: true,
},
},
],
},
],
},
resolve: {
extensions: ['', '.js', '.jsx'],
root: [
path.resolve(__dirname, '../src'),
],
extensions: ['.js', '.jsx'],
modules: ['node_modules', path.resolve(__dirname, '../src')],
},
};
12 changes: 12 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,11 @@
# Changelog

# 3.1.0
> Nov 15, 2017
* :nut_and_bolt: **New** Add prettier-eslint 💅
* :nut_and_bolt: **New** Support react 15.x || 16.x 🕺🏼 . Solving [#14](https://github.com/SparebankenVest/react-css-collapse/issues/14)
* :tada: **Enhancement** Upgrade storybook 🙏

# 3.0.2
> May 04, 2017
Expand Down Expand Up @@ -43,3 +49,9 @@
> Mar 28, 2017
* :nut_and_bolt: **New** Created `Collapse` component

## Examples
* :nut_and_bolt: **New**
* :tada: **Enhancement**
* :bug: **Bugfix**
* :boom: **Breaking**
Loading

0 comments on commit db7b84f

Please sign in to comment.