This repository has been archived by the owner on Mar 11, 2018. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
89c42d2
commit 7168802
Showing
71 changed files
with
6,673 additions
and
5,230 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,15 @@ | ||
{ | ||
"only": ["src/"], | ||
"env": { | ||
"test": { | ||
"presets": [ | ||
["pob-babel/preset", { "flow": true }] | ||
] | ||
}, | ||
"doc": { | ||
"presets": [ | ||
["pob-babel/jsdoc-preset", { "flow": true }] | ||
] | ||
} | ||
} | ||
} |
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,25 @@ | ||
{ | ||
"extends": "pob/flow", | ||
"rules": { | ||
"flowtype/no-weak-types": "off" | ||
}, | ||
"overrides": [ | ||
{ | ||
"files": [ | ||
"src/**/*.test.js", | ||
"src/__tests__/**/*.js" | ||
], | ||
"env": { | ||
"jest": true | ||
}, | ||
"rules": { | ||
"import/no-extraneous-dependencies": [ | ||
"error", | ||
{ | ||
"devDependencies": true | ||
} | ||
] | ||
} | ||
} | ||
] | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
#!/bin/bash | ||
|
||
if [[ `git diff HEAD@{1} --stat -- yarn.lock` != "" ]]; then | ||
yarn | ||
fi |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
#!/bin/bash | ||
|
||
if [[ `git diff HEAD@{1} --stat -- yarn.lock` != "" ]]; then | ||
yarn | ||
fi |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,5 @@ | ||
node_modules | ||
/docs | ||
/coverage | ||
/build | ||
|
||
/.settings | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -2,7 +2,6 @@ | |
/examples | ||
/samples | ||
/docs | ||
/coverage | ||
/build | ||
/test | ||
/.pob.json | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,7 @@ | ||
language: node_js | ||
node_js: | ||
- node | ||
- "8" | ||
- "6" | ||
- "4" | ||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,55 @@ | ||
{ | ||
"pob": { | ||
"pob-config": { | ||
"envs": [ | ||
{ | ||
"target": "node", | ||
"version": "8", | ||
"formats": [ | ||
"cjs", | ||
"es" | ||
] | ||
}, | ||
{ | ||
"target": "node", | ||
"version": "6", | ||
"formats": [ | ||
"cjs" | ||
] | ||
}, | ||
{ | ||
"target": "node", | ||
"version": "4", | ||
"formats": [ | ||
"cjs" | ||
] | ||
}, | ||
{ | ||
"target": "browser", | ||
"version": "modern", | ||
"formats": [ | ||
"es" | ||
] | ||
}, | ||
{ | ||
"target": "browser", | ||
"formats": [ | ||
"cjs", | ||
"es" | ||
] | ||
} | ||
], | ||
"testing": { | ||
"circleci": true, | ||
"travisci": true, | ||
"codecov": true | ||
}, | ||
"documentation": { | ||
"doclets": false | ||
}, | ||
"entries": [ | ||
"index" | ||
] | ||
} | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,6 @@ | ||
machine: | ||
node: | ||
version: 7.6.0 | ||
version: 8.3.0 | ||
|
||
general: | ||
branches: | ||
|
@@ -12,15 +12,14 @@ dependencies: | |
- ~/.cache/yarn | ||
- node_modules | ||
override: | ||
- yarn | ||
- yarn --prefer-offline --frozen-lockfile | ||
|
||
test: | ||
pre: | ||
- mkdir -p $CIRCLE_TEST_REPORTS/junit/ | ||
override: | ||
- yarn run preversion | ||
- yarn run test | ||
- POBREGISTER_ONLY=./testXUNIT_FILE=$CIRCLE_TEST_REPORTS/junit/xunit.xml node_modules/.bin/mocha --require pob-babel/register --recursive --reporter xunit-file -u tdd test | ||
- yarn run generate:docs | ||
post: | ||
- bash <(curl -s https://codecov.io/bash) | ||
|
@@ -33,14 +32,6 @@ deployment: | |
commands: | ||
- git config user.email "[email protected]" | ||
- git config user.name "CircleCi" | ||
- mv coverage coverage-tmp | ||
- mv docs docs-tmp | ||
- git fetch | ||
- git checkout -f gh-pages | ||
- rm -Rf docs coverage | ||
- mv docs-tmp docs | ||
- mv coverage-tmp coverage | ||
- date > date.txt | ||
- git add -f docs coverage | ||
- git commit -m"auto commit from circleci" | ||
- git push -f origin gh-pages | ||
- 'git commit -m "docs: update generated docs [skip ci]"' | ||
- git push |
Oops, something went wrong.