Skip to content

Commit

Permalink
2.0 GA
Browse files Browse the repository at this point in the history
  • Loading branch information
atomicpages committed May 23, 2020
2 parents b7a928d + 544de16 commit 3f04fde
Show file tree
Hide file tree
Showing 81 changed files with 20,931 additions and 5,716 deletions.
16 changes: 0 additions & 16 deletions .babelrc

This file was deleted.

3 changes: 3 additions & 0 deletions .eslintignore
Original file line number Diff line number Diff line change
@@ -1,2 +1,5 @@
dist/
node_modules/
pkg/
coverage/
playground/
37 changes: 10 additions & 27 deletions .eslintrc.js
Original file line number Diff line number Diff line change
Expand Up @@ -2,37 +2,20 @@ module.exports = {
env: {
browser: true,
node: true,
es6: true,
jest: true,
es6: true,
'cypress/globals': true,
},
settings: {
react: {
version: 'detect',
flowVersion: '0.90.0',
},
},
plugins: ['cypress'],
extends: [
'eslint:recommended',
'plugin:react/recommended',
'plugin:flowtype/recommended',
'plugin:jsx-a11y/recommended',
'prettier',
'@djthoms/eslint-config',
'@djthoms/eslint-config/react',
'@djthoms/eslint-config/typescript',
'plugin:cypress/recommended',
],
parser: 'babel-eslint',
parserOptions: {
ecmaFeatures: {
jsx: true,
},
ecmaVersion: 2018,
sourceType: 'module',
},
plugins: ['react', 'flowtype', 'prettier'],
rules: {
indent: ['error', 4],
'linebreak-style': ['error', 'unix'],
quotes: ['error', 'single'],
semi: ['error', 'always'],
'react/prop-types': 1,
'no-console': 'warn'
'@typescript-eslint/explicit-function-return-type': 0,
'@typescript-eslint/ban-ts-ignore': 'warn',
'@typescript-eslint/no-this-alias': 'warn',
},
};
16 changes: 0 additions & 16 deletions .flowconfig

This file was deleted.

18 changes: 10 additions & 8 deletions .github/ISSUE_TEMPLATE/bug_report.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,6 @@ about: Create a report to help us improve
title: ''
labels: ''
assignees: ''

---

**Describe the bug**
Expand All @@ -14,6 +13,7 @@ A clear and concise description of what the bug is.

**To Reproduce**
Steps to reproduce the behavior:

1. Go to '...'
2. Click on '....'
3. Scroll down to '....'
Expand All @@ -26,15 +26,17 @@ A clear and concise description of what you expected to happen.
If applicable, add screenshots to help explain your problem.

**Desktop (please complete the following information):**
- OS: [e.g. iOS]
- Browser [e.g. chrome, safari]
- Version [e.g. 22]

- OS: [e.g. iOS]
- Browser [e.g. chrome, safari]
- Version [e.g. 22]

**Smartphone (please complete the following information):**
- Device: [e.g. iPhone6]
- OS: [e.g. iOS8.1]
- Browser [e.g. stock browser, safari]
- Version [e.g. 22]

- Device: [e.g. iPhone6]
- OS: [e.g. iOS8.1]
- Browser [e.g. stock browser, safari]
- Version [e.g. 22]

**Additional context**
Add any other context about the problem here.
18 changes: 10 additions & 8 deletions .github/workflows/nodejs.yml
Original file line number Diff line number Diff line change
@@ -1,16 +1,11 @@
name: Node CI

on: [push, pull_request]

jobs:
build:

runs-on: ubuntu-latest

runs-on: ubuntu-18.04
strategy:
matrix:
node-version: [8.x, 10.x, 12.x]

node-version: [10.x, 12.x, 14.x]
steps:
- uses: actions/checkout@v1
- name: Use Node.js ${{ matrix.node-version }}
Expand All @@ -20,7 +15,14 @@ jobs:
- name: npm install, build, and test
run: |
npm ci
npm test
npm t
npm run build --if-present
env:
CI: true
# - name: e2e tests
# uses: cypress-io/github-action@v1
# with:
# start: npm run start:ci
# browser: chrome
# headless: true
# wait-on: 'http://localhost:5000'
5 changes: 4 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
node_modules/
coverage/
dist/
docs/build/
pkg/

# Logs
logs
Expand Down Expand Up @@ -72,3 +72,6 @@ yarn-error.log
.pnp.js
# Yarn Integrity file
.yarn-integrity

# Cypress
cypress/videos/
6 changes: 3 additions & 3 deletions .npmignore
Original file line number Diff line number Diff line change
Expand Up @@ -2,11 +2,11 @@ docs/
src/
node_modules/
coverage/
flow-typed/
*.gif
.travis.yml
.eslintrc.js
.eslintignore
.gitignore
.prettierrc
site/
.circleci/
.github/
playground/
1 change: 1 addition & 0 deletions .prettierignore
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
src/factory/utils/propUtils.ts
5 changes: 0 additions & 5 deletions .prettierrc

This file was deleted.

24 changes: 0 additions & 24 deletions .travis.yml

This file was deleted.

8 changes: 8 additions & 0 deletions .vscode/extensions.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
{
"recommendations": [
"editorconfig.editorconfig",
"dbaeumer.vscode-eslint",
"esbenp.prettier-vscode",
"christian-kohler.npm-intellisense"
]
}
31 changes: 31 additions & 0 deletions .vscode/launch.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,31 @@
{
"version": "0.2.0",
"configurations": [
{
"type": "node",
"request": "launch",
"name": "Jest All",
"program": "${workspaceFolder}/node_modules/.bin/jest",
"args": ["--runInBand"],
"console": "integratedTerminal",
"internalConsoleOptions": "neverOpen",
"disableOptimisticBPs": true,
"windows": {
"program": "${workspaceFolder}/node_modules/jest/bin/jest"
}
},
{
"type": "node",
"request": "launch",
"name": "Jest Current File",
"program": "${workspaceFolder}/node_modules/.bin/jest",
"args": ["${relativeFile}", "--config", "jest.config.js", "--collectCoverage=false"],
"console": "integratedTerminal",
"internalConsoleOptions": "neverOpen",
"disableOptimisticBPs": true,
"windows": {
"program": "${workspaceFolder}/node_modules/jest/bin/jest"
}
}
]
}
9 changes: 9 additions & 0 deletions .vscode/settings.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
{
"typescript.updateImportsOnFileMove.enabled": "always",
"eslint.validate": [
"javascript",
"javascriptreact",
"typescript",
"typescriptreact"
]
}
2 changes: 1 addition & 1 deletion LICENSE
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
MIT License

Copyright (c) 2019 Dennis Thompson
Copyright (c) 2020 Dennis Thompson

Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
Expand Down
Loading

0 comments on commit 3f04fde

Please sign in to comment.