Skip to content
This repository has been archived by the owner on Mar 26, 2022. It is now read-only.

Commit

Permalink
Merge pull request #429 from openlattice/develop
Browse files Browse the repository at this point in the history
2021-03-17 release
  • Loading branch information
UnsungHero97 authored Mar 17, 2021
2 parents 81f2989 + 6c16230 commit 13b85ad
Show file tree
Hide file tree
Showing 17 changed files with 29,226 additions and 1,384 deletions.
26 changes: 18 additions & 8 deletions .eslintrc
Original file line number Diff line number Diff line change
@@ -1,17 +1,18 @@
{
"parser": "babel-eslint",
"env": {
"browser": true,
"jest": true
},
"extends": [
"airbnb-base",
"plugin:flowtype/recommended"
],
"parser": "babel-eslint",
"plugins": [
"flowtype",
"import",
"jest"
],
"env": {
"browser": true,
"jest": true,
},
"settings": {
"flowtype": {
"onlyFilesWithFlowAnnotation": true
Expand All @@ -23,7 +24,7 @@
}
},
"rules": {
"arrow-body-style": ["error", "as-needed"],
"arrow-body-style": ["warn", "as-needed"],
"brace-style": ["error", "stroustrup"],
"comma-dangle": ["error", "only-multiline"],
"function-paren-newline": ["error", "consistent"],
Expand All @@ -43,6 +44,7 @@
}
],
"lines-between-class-members": "off",
"max-classes-per-file": "off",
"max-len": [
"error",
{
Expand All @@ -67,6 +69,7 @@
"OrderedList",
"Map",
"OrderedMap",
"Seq",
"Set",
"OrderedSet",
"SortableContainer",
Expand All @@ -76,7 +79,14 @@
],
"padded-blocks": "off",
"prefer-destructuring": "warn",
"space-before-function-paren": ["error", "never"],
"space-before-function-paren": [
"error",
{
"anonymous": "never",
"named": "never",
"asyncArrow": "always"
}
],

"flowtype/define-flow-type": "error",
"flowtype/space-after-type-colon": ["error", "never"],
Expand All @@ -88,6 +98,7 @@
{
"devDependencies": [
"config/**",
"src/utils/testing/**",
"**/*.test.js"
]
}
Expand All @@ -98,7 +109,6 @@
"groups": ["builtin", "external", "internal", ["parent", "sibling"], "index"]
}
],

"import/prefer-default-export": "warn",

"jest/no-disabled-tests": "error",
Expand Down
7 changes: 3 additions & 4 deletions .flowconfig
Original file line number Diff line number Diff line change
Expand Up @@ -12,8 +12,7 @@
# https://github.com/facebook/flow/blob/master/lib/streams.js
#
[ignore]
./build/.*
.*/node_modules/.*

[libs]
# ./config/flow
<PROJECT_ROOT>/build/.*
<PROJECT_ROOT>/config/.*
.*/node_modules/immutable/.*
14 changes: 14 additions & 0 deletions .github/dependabot.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
version: 2
updates:
- package-ecosystem: npm
directory: "/"
schedule:
interval: weekly
day: sunday
time: "01:00"
timezone: America/Los_Angeles
open-pull-requests-limit: 50
ignore:
- dependency-name: immutable
versions:
- ">= 0"
55 changes: 55 additions & 0 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,55 @@
name: build

on:
push:
branches:
- develop
- master
pull_request:
branches:
- develop
- master

jobs:
build:
runs-on: ubuntu-latest
strategy:
matrix:
node-version: [10.x, 12.x, 14.x]
steps:
- name: checkout
uses: actions/checkout@v2

- name: node ${{ matrix.node-version }}
uses: actions/setup-node@v1
with:
node-version: ${{ matrix.node-version }}

- name: cache node modules
uses: actions/cache@v2
with:
# https://github.com/actions/cache/blob/main/examples.md#macos-and-ubuntu
# https://github.com/actions/cache/issues/67
path: ~/.npm
key: ${{ runner.OS }}-node-${{ hashFiles('**/package-lock.json') }}
restore-keys: |
${{ runner.OS }}-node-
# https://docs.npmjs.com/cli/v6/commands/npm-ci
- name: npm ci
run: npm ci

- name: npm run lint
run: npm run lint

- name: npm run flow
run: npm run flow

- name: npm run test
run: npm run test

- name: npm run build:prod
run: npm run build:prod

- name: codecov
uses: codecov/codecov-action@v1
1 change: 0 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@ coverage/

# npm
npm-debug.log
package-lock.json
node_modules/

# macOS
Expand Down
6 changes: 6 additions & 0 deletions .importsortrc
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
{
".js": {
"parser": "babylon",
"style": "openlattice"
}
}
28 changes: 0 additions & 28 deletions .travis.yml

This file was deleted.

1 change: 0 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
# Redux Request Sequence

[![Greenkeeper badge](https://badges.greenkeeper.io/openlattice/redux-reqseq.svg)](https://greenkeeper.io/)
[![codecov badge](https://codecov.io/gh/openlattice/redux-reqseq/branch/develop/graph/badge.svg)](https://codecov.io/gh/openlattice/redux-reqseq)
10 changes: 6 additions & 4 deletions config/babel/babel.config.js
Original file line number Diff line number Diff line change
@@ -1,11 +1,13 @@
module.exports = {
plugins: [
'@babel/plugin-proposal-class-properties',
'@babel/plugin-proposal-object-rest-spread',
'@babel/plugin-transform-runtime',
['@babel/plugin-transform-runtime', {
corejs: 3,
}],
],
presets: [
'@babel/preset-env',
['@babel/preset-env', {
useBuiltIns: false,
}],
'@babel/preset-flow',
],
};
61 changes: 0 additions & 61 deletions config/flow/redux-reqseq.js.flow

This file was deleted.

13 changes: 0 additions & 13 deletions config/lib/lib.config.js

This file was deleted.

17 changes: 0 additions & 17 deletions config/lib/paths.config.js

This file was deleted.

Loading

0 comments on commit 13b85ad

Please sign in to comment.