Skip to content
This repository has been archived by the owner on Jul 28, 2020. It is now read-only.

Commit

Permalink
Merge pull request #916 from sociomantic-tsunami/Milestone-Hooks!
Browse files Browse the repository at this point in the history
Milestone hooks!
  • Loading branch information
conor-cafferkey-sociomantic authored Mar 7, 2019
2 parents 7551e85 + bb4e3f4 commit 562760d
Show file tree
Hide file tree
Showing 109 changed files with 5,278 additions and 16,295 deletions.
16 changes: 4 additions & 12 deletions .eslintrc
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,7 @@
"global-require" : "off",
"implicit-arrow-linebreak" : "off",
"import/first" : "off",
"import/no-cycle" : "off",
"import/no-unresolved" : "error",
"import/order" : [
"error",
Expand Down Expand Up @@ -117,6 +118,7 @@
"react/jsx-wrap-multilines" : [ "error", { "arrow": false } ],
"react/no-unused-prop-types" : "warn",
"react/jsx-one-expression-per-line" : "off",
"react-hooks/rules-of-hooks" : "error",
"require-jsdoc" : [
"error",
{
Expand Down Expand Up @@ -157,22 +159,12 @@
],
"valid-typeof" : "error"
},
"globals" : {
"after" : true,
"afterEach" : true,
"before" : true,
"beforeEach" : true,
"describe" : true,
"expect" : true,
"fetch" : true,
"test" : true,
"jest" : true
},
"plugins" : [
"arca",
"compat",
"import",
"jsx-a11y",
"promise"
"promise",
"react-hooks"
]
}
1 change: 0 additions & 1 deletion .release-it.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
{
"scripts" : {
"beforeStart" : "yarn test",
"beforeBump" : "yarn build"
}
}
1 change: 1 addition & 0 deletions .travis.yml
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
if: branch = master
language: node_js
node_js:
- 8.15.0
Expand Down
23 changes: 0 additions & 23 deletions cfg/dist.js
Original file line number Diff line number Diff line change
Expand Up @@ -34,11 +34,6 @@ const distConfig = merge( {}, baseConfig, {
'commonjs2' : 'react-popper',
'window' : 'ReactPopper',
},
componentDriver : {
commonjs : 'nessie-ui/dist/componentDriver',
commonjs2 : 'nessie-ui/dist/componentDriver',
window : 'ComponentDriver',
},
lodash : {
'commonjs' : 'lodash',
'commonjs2' : 'lodash',
Expand Down Expand Up @@ -79,11 +74,6 @@ components.module.rules[ 1 ].use[ 0 ] = {
},
};

const componentDriver = merge( {}, distConfig, {
entry : path.join( __dirname, '../src/Testing/index.js' ),
output : { filename: 'componentDriver.js' },
} );

const componentsJS = merge( {}, distConfig, {
entry : path.join( __dirname, '../src/index.js' ),
output : { filename: 'componentsJS.js' },
Expand All @@ -95,21 +85,8 @@ const componentsJS = merge( {}, distConfig, {
],
} );

const driverSuite = merge( {}, distConfig, {
entry : path.join( __dirname, '../src/drivers.js' ),
output : { filename: 'driverSuite.js' },
plugins : [
new MiniCssExtractPlugin( {
allChunks : true,
filename : 'driverSuite.css',
} ),
],
} );


module.exports = [
componentDriver,
components,
componentsJS,
driverSuite,
];
60 changes: 0 additions & 60 deletions cfg/jest.config.js

This file was deleted.

9 changes: 1 addition & 8 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -14,8 +14,6 @@
"loch-ness:clean": "rimraf .lochness",
"loch-ness": "loch --libName=Nessie --lib=./ --dist=./dist/index.dev.js",
"start": "yarn loch-ness:build && concurrently --kill-others \"yarn webpack:dev-watch\" \"yarn loch-ness\"",
"test:watch": "jest --watch --config=cfg/jest.config.js",
"test": "jest --maxWorkers=4 --config=cfg/jest.config.js",
"webpack:dev-watch": "webpack --env=dev --watch",
"webpack:dev": "webpack --env=dev",
"webpack:dist-watch": "webpack --env=dist --watch",
Expand Down Expand Up @@ -63,15 +61,12 @@
"autoprefixer": "^9.4.7",
"babel-core": "^7.0.0-bridge.0",
"babel-eslint": "^10.0.1",
"babel-jest": "^24.1.0",
"babel-loader": "^8.0.5",
"babel-plugin-transform-react-remove-prop-types": "^0.4.24",
"classnames": "^2.2.6",
"concurrently": "^4.1.0",
"css-loader": "^2.1.0",
"cssnano": "^4.1.8",
"enzyme": "^3.8.0",
"enzyme-adapter-react-16": "^1.9.1",
"eslint": "^5.13.0",
"eslint-config-airbnb": "^17.1.0",
"eslint-formatter-pretty": "^2.1.1",
Expand All @@ -81,8 +76,7 @@
"eslint-plugin-jsx-a11y": "^6.2.1",
"eslint-plugin-promise": "^4.0.1",
"eslint-plugin-react": "^7.12.4",
"identity-obj-proxy": "^3.0.0",
"jest": "^24.1.0",
"eslint-plugin-react-hooks": "^1.0.1",
"loch-ness": "3.0.0-alpha.3",
"mini-css-extract-plugin": "^0.5.0",
"postcss": "^7.0.13",
Expand All @@ -107,7 +101,6 @@
"prop-types": "^15.5.8",
"react": "^16.8.1",
"react-dom": "^16.8.1",
"react-test-renderer": "^16.8.1",
"release-it": "^10.1.0",
"replace": "^1.0.1",
"rimraf": "^2.6.3",
Expand Down
81 changes: 0 additions & 81 deletions src/Addons/withDropdown/index.jsx

This file was deleted.

54 changes: 0 additions & 54 deletions src/Addons/withDropdown/withDropdown.css

This file was deleted.

1 change: 0 additions & 1 deletion src/Button/button.css
Original file line number Diff line number Diff line change
Expand Up @@ -71,7 +71,6 @@

width: 100%;
height: 100%;

}
}

Expand Down
Loading

0 comments on commit 562760d

Please sign in to comment.