mirror of
https://github.com/mastermindzh/rickvanlieshout.com
synced 2024-12-25 14:29:36 +01:00
chore: add flow definitions to repo
This commit is contained in:
parent
98ffd67d23
commit
04bb148524
@ -19,22 +19,6 @@ jobs:
|
|||||||
- node_modules
|
- node_modules
|
||||||
key: dependencies-{{ checksum "yarn.lock" }}
|
key: dependencies-{{ checksum "yarn.lock" }}
|
||||||
|
|
||||||
flow-typed:
|
|
||||||
<<: *defaults
|
|
||||||
steps:
|
|
||||||
- checkout
|
|
||||||
- restore_cache:
|
|
||||||
keys:
|
|
||||||
- dependencies-{{ checksum "yarn.lock" }}
|
|
||||||
- restore_cache:
|
|
||||||
keys:
|
|
||||||
- flow-typed-{{ checksum "yarn.lock" }}
|
|
||||||
- run: yarn flow-typed
|
|
||||||
- save_cache:
|
|
||||||
paths:
|
|
||||||
- flow-typed
|
|
||||||
key: flow-typed-{{ checksum "yarn.lock" }}
|
|
||||||
|
|
||||||
lint:
|
lint:
|
||||||
<<: *defaults
|
<<: *defaults
|
||||||
steps:
|
steps:
|
||||||
@ -42,9 +26,6 @@ jobs:
|
|||||||
- restore_cache:
|
- restore_cache:
|
||||||
keys:
|
keys:
|
||||||
- dependencies-{{ checksum "yarn.lock" }}
|
- dependencies-{{ checksum "yarn.lock" }}
|
||||||
- restore_cache:
|
|
||||||
keys:
|
|
||||||
- flow-typed-{{ checksum "yarn.lock" }}
|
|
||||||
- run: yarn lint
|
- run: yarn lint
|
||||||
|
|
||||||
test:
|
test:
|
||||||
@ -87,12 +68,8 @@ workflows:
|
|||||||
test:
|
test:
|
||||||
jobs:
|
jobs:
|
||||||
- install
|
- install
|
||||||
- flow-typed:
|
|
||||||
requires:
|
|
||||||
- install
|
|
||||||
- lint:
|
- lint:
|
||||||
requires:
|
requires:
|
||||||
- flow-typed
|
|
||||||
- install
|
- install
|
||||||
- test:
|
- test:
|
||||||
requires:
|
requires:
|
||||||
|
1
.gitignore
vendored
1
.gitignore
vendored
@ -1,5 +1,4 @@
|
|||||||
node_modules/
|
node_modules/
|
||||||
flow-typed/
|
|
||||||
.cache/
|
.cache/
|
||||||
public/
|
public/
|
||||||
npm-debug.log
|
npm-debug.log
|
||||||
|
@ -5,7 +5,6 @@ install:
|
|||||||
- npm install -g codecov
|
- npm install -g codecov
|
||||||
script:
|
script:
|
||||||
- yarn install
|
- yarn install
|
||||||
- yarn flow-typed
|
|
||||||
- yarn lint
|
- yarn lint
|
||||||
- yarn test:coverage --runInBand --no-cache
|
- yarn test:coverage --runInBand --no-cache
|
||||||
- yarn test --runInBand --no-cache
|
- yarn test --runInBand --no-cache
|
||||||
@ -13,4 +12,3 @@ script:
|
|||||||
cache:
|
cache:
|
||||||
directories:
|
directories:
|
||||||
- node_modules
|
- node_modules
|
||||||
- flow-typed
|
|
1196
flow-typed/npm/jest_v24.x.x.js
vendored
Normal file
1196
flow-typed/npm/jest_v24.x.x.js
vendored
Normal file
File diff suppressed because it is too large
Load Diff
@ -9,7 +9,6 @@
|
|||||||
"deploy": "yarn run clean && gatsby build --prefix-paths && gh-pages -d public",
|
"deploy": "yarn run clean && gatsby build --prefix-paths && gh-pages -d public",
|
||||||
"clean": "rimraf .cache public",
|
"clean": "rimraf .cache public",
|
||||||
"flow": "flow",
|
"flow": "flow",
|
||||||
"flow-typed": "flow-typed install",
|
|
||||||
"lint:js": "eslint --cache --ext .js,.jsx .",
|
"lint:js": "eslint --cache --ext .js,.jsx .",
|
||||||
"lint:scss": "stylelint \"src/**/*.scss\"",
|
"lint:scss": "stylelint \"src/**/*.scss\"",
|
||||||
"lint": "concurrently \"yarn run lint:js\" \"yarn run lint:scss\" \"yarn flow\"",
|
"lint": "concurrently \"yarn run lint:js\" \"yarn run lint:scss\" \"yarn flow\"",
|
||||||
|
Loading…
Reference in New Issue
Block a user