Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

REALLY BIG CHANGES (refoldering, jest, tests examples, component-relative images, storybook, logo, nomoresemicolons, ) #125

Closed
wants to merge 28 commits into from
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
28 commits
Select commit Hold shift + click to select a range
54be22d
Link testing with data, index structure (pain)
srghma2 Aug 12, 2017
cd2e17b
storyshots works
srghma2 Aug 12, 2017
78ef6fb
jest on each commit
srghma2 Aug 12, 2017
54358a9
jest on each commit, root imports everywhere
srghma2 Aug 12, 2017
3ef12f8
refoldering
srghma2 Aug 12, 2017
448d6cc
style linting in progress
srghma2 Aug 12, 2017
17f1898
logo
srghma2 Aug 13, 2017
aa19883
config
srghma2 Aug 13, 2017
3a4467a
stylefmt bug
srghma2 Aug 13, 2017
329a642
styleling works
srghma2 Aug 13, 2017
c449f52
travis
srghma2 Aug 13, 2017
1bf7ca1
feature/index structure
srghma2 Aug 13, 2017
30be66d
logo, tests, soon will merge storybook and jest with storybook-addon-…
srghma2 Aug 13, 2017
ccdd455
added setup.js
srghma2 Aug 15, 2017
ea1b21b
schema.json -> schema.graphql
srghma2 Aug 16, 2017
811898b
fixes
srghma2 Aug 16, 2017
e94c311
fix static logo
srghma2 Aug 16, 2017
8bc0509
diff storybook search regex
srghma2 Aug 17, 2017
dce8568
test with Layout
srghma2 Aug 17, 2017
0500ab3
gql tests
srghma2 Aug 17, 2017
66546c5
mkdir static/images
srghma2 Aug 18, 2017
2dd8dc8
compoenent relative logo, mini gql test
srghma2 Aug 18, 2017
744641c
apollo-test-utils dont work, post info story test is working with Moc…
srghma2 Aug 19, 2017
368414e
postlist tests working, comma-dangle not play well with babel
srghma2 Aug 20, 2017
aa34fb8
post info normal stories tests
srghma2 Aug 20, 2017
fc13792
schema.json to gql
srghma2 Aug 20, 2017
b79a52f
fixes for merge
srghma2 Aug 20, 2017
cddb67e
make date in tests independent from local date
srghma2 Aug 20, 2017
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .babelrc
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@
}],
"babel-plugin-inline-import-graphql-ast",
["babel-plugin-root-import", {
"rootPathSuffix": "./"
"rootPathSuffix": "./app"
}]
]
}
59 changes: 0 additions & 59 deletions .eslintrc

This file was deleted.

42 changes: 42 additions & 0 deletions .eslintrc.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,42 @@
---
parser: babel-eslint
env:
browser: true
node: true
es6: true
jest: true
extends:
- standard
- standard-jsx
- prettier
- prettier/react
- plugin:jest/recommended
- plugin:import/errors
plugins:
- graphql
- jest
- import
settings:
import/resolver:
babel-plugin-root-import: {}
globals:
ANALYTICS_TRACKING_ID: false
AUTH0_CLIENT_ID: false
AUTH0_DOMAIN: false
GRAPHQL_ENDPOINT: false
NEWSLETTER_FORM_ACTION: false
NEWSLETTER_FORM_INPUT_NAME: false
ON_PRODUCTION: true
rules:
semi:
- error
- never
quotes:
- error
- single
# comma-dangle:
# - error
# - always-multiline
graphql/template-strings:
- error
- env: literal
1 change: 0 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
.idea/
.next/
config.js
.env
coverage/

Expand Down
2 changes: 1 addition & 1 deletion .graphqlconfig
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"schemaPath": "./libraries/graphql_schemas/schema.graphql",
"schemaPath": "app/schema.graphql",
"extensions": {
"endpoints": {
"default": "https://api.graph.cool/simple/v1/cixmkt2ul01q00122mksg82pn"
Expand Down
4 changes: 0 additions & 4 deletions .storybook/addons.js

This file was deleted.

9 changes: 9 additions & 0 deletions .stylelintrc
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
{
"processors": ["stylelint-processor-styled-components"],
"extends": "stylelint-config-standard",
"syntax": "scss",
"rules": {
"block-opening-brace-space-after": "never-single-line",
"block-closing-brace-space-before": "never-single-line"
}
}
3 changes: 2 additions & 1 deletion .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,8 @@ after_script: greenkeeper-lockfile-upload

script:
- yarn run build
- yarn run lint
- yarn run lint:all
- yarn run test

notifications:
email:
Expand Down
3 changes: 3 additions & 0 deletions .yarnclean
Original file line number Diff line number Diff line change
Expand Up @@ -40,3 +40,6 @@ Gruntfile.js
# misc
*.gz
*.md

# fix issue with yarn cleaning assets, https://github.com/gotwarlost/istanbul/issues/743
!istanbul-reports/lib/html/assets
Loading