Skip to content

Commit

Permalink
next (wip) (#823)
Browse files Browse the repository at this point in the history
  • Loading branch information
alexreardon authored Nov 11, 2018
1 parent 5fc46a8 commit 3dbb704
Show file tree
Hide file tree
Showing 456 changed files with 31,839 additions and 19,776 deletions.
6 changes: 3 additions & 3 deletions .circleci/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ jobs:
name: Install Dependencies
command: yarn

- run:
- run:
name: Update Lockfile
command: $(yarn global bin)/greenkeeper-lockfile-update

Expand Down Expand Up @@ -101,7 +101,7 @@ jobs:

- run:
name: Jest Suite
command: yarn test
command: yarn test:ci
environment:
JEST_JUNIT_OUTPUT: 'test-reports/junit/js-test-results.xml'

Expand All @@ -110,7 +110,7 @@ jobs:

- run:
name: Browser Suite
command: node tools/testHarness.js yarn test:browser
command: node browser-test-harness.js yarn test:browser

- store_test_results:
path: test-reports/browser
Expand Down
3 changes: 2 additions & 1 deletion .eslintrc.js
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,8 @@ module.exports = {
'lines-between-class-members': 'off',

// Allowing warning and error console logging
'no-console': ['error', { allow: ['warn', 'error'] }],
// use `invariant` and `warning`
'no-console': ['error'],

// Opting out of prefer destructuring (nicer with flow in lots of cases)
'prefer-destructuring': 'off',
Expand Down
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,7 @@ test-reports/

# storybook
.storybook.out
.cache/

# logs
yarn-error.log
Expand Down
1 change: 1 addition & 0 deletions .prettierignore
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
/node_modules/*
24 changes: 12 additions & 12 deletions .size-snapshot.json
Original file line number Diff line number Diff line change
@@ -1,25 +1,25 @@
{
"dist/react-beautiful-dnd.js": {
"bundled": 352061,
"minified": 132174,
"gzipped": 37113
"bundled": 338425,
"minified": 130156,
"gzipped": 38639
},
"dist/react-beautiful-dnd.min.js": {
"bundled": 311992,
"minified": 114367,
"gzipped": 31397
"bundled": 287736,
"minified": 107227,
"gzipped": 31333
},
"dist/react-beautiful-dnd.esm.js": {
"bundled": 181809,
"minified": 93622,
"gzipped": 23230,
"bundled": 219787,
"minified": 115023,
"gzipped": 28856,
"treeshaked": {
"rollup": {
"code": 68611,
"import_statements": 700
"code": 79601,
"import_statements": 791
},
"webpack": {
"code": 70911
"code": 82163
}
}
}
Expand Down
13 changes: 12 additions & 1 deletion .storybook/config.js
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@ import React from 'react';
import { configure } from '@storybook/react';
// adding css reset - storybook includes a css loader
import '@atlaskit/css-reset';
import { version } from '../package.json';

// dynamically load in all the stories in the /stories directory
// https://github.com/storybooks/storybook/issues/125#issuecomment-212404756
Expand All @@ -13,4 +14,14 @@ function loadStories() {

configure(loadStories, module);

console.log('Using React version', React.version);
// Doing this more complex check as console.table || console.log makes CI cry
const table = Object.prototype.hasOwnProperty.call(console, 'table')
? console.table
: console.log;

console.log('environment');
table([
['react-beautiful-dnd version', version],
['react version', React.version],
['process.env.NODE_ENV', process.env.NODE_ENV],
]);
13 changes: 0 additions & 13 deletions .stylelintrc

This file was deleted.

20 changes: 20 additions & 0 deletions .stylelintrc.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
{
"processors": [
[
"stylelint-processor-styled-components",
{
"moduleName": "react-emotion"
}
]
],
"extends": [
"stylelint-config-standard",
"stylelint-config-styled-components",
"stylelint-config-prettier"
],
"rules": {
"declaration-empty-line-before": null,
"comment-empty-line-before": null,
"block-no-empty": null
}
}
Loading

0 comments on commit 3dbb704

Please sign in to comment.