Skip to content
This repository has been archived by the owner on Sep 7, 2020. It is now read-only.
Permalink

Comparing changes

Choose two branches to see what’s changed or to start a new pull request. If you need to, you can also or learn more about diff comparisons.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also . Learn more about diff comparisons here.
base repository: MoOx/phenomic
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: 0.7.1
Choose a base ref
...
head repository: MoOx/phenomic
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: master
Choose a head ref
Loading
Showing 733 changed files with 52,049 additions and 5,764 deletions.
34 changes: 34 additions & 0 deletions .circleci/config.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,34 @@
version: 2
jobs:
test:
docker:
- image: circleci/node:8
steps:
- checkout
- restore_cache:
key: dependency-cache
- restore_cache:
key: website-cache
- run:
name: install deps
command: yarn
- run:
name: tests
command: |
echo 'export DEBUG=phenomic:*' >> $BASH_ENV
yarn test
- save_cache:
key: dependency-cache
paths:
- ~/.cache/yarn
- ./node_modules
- save_cache:
key: website-cache
paths:
- website/.screenshots
- website/public/showcase/entry
workflows:
version: 2
test:
jobs:
- test
40 changes: 40 additions & 0 deletions .flowconfig
Original file line number Diff line number Diff line change
@@ -0,0 +1,40 @@
[version]
^0.87.0

[ignore]
.*/__tests__/_output/.*
.*/dist/.*
# for CI
.*/watchman/.*

<PROJECT_ROOT>/coverage/.*
<PROJECT_ROOT>/benchmarks/.*/dist/.*
<PROJECT_ROOT>/benchmarks/.*/lib/.*
<PROJECT_ROOT>/examples/.*/dist/.*
<PROJECT_ROOT>/examples/.*/lib/.*
<PROJECT_ROOT>/packages/.*/dist/.*
<PROJECT_ROOT>/packages/.*/lib/.*
; please remove me when you have time to kill
<PROJECT_ROOT>/website/.*

# flow & js generated by reasonml doesn't play nice
<PROJECT_ROOT>/examples/reason-react-app/.*

; broken json
.*/node_modules/config-chain/test/.*

[options]
esproposal.class_instance_fields=enable
esproposal.class_static_fields=enable
# for Windows compat with json files
module.file_ext=.web.js
module.file_ext=.js
module.file_ext=.json

# packages/*
module.name_mapper='^@phenomic\/\([a-z0-9-]+\)\/lib\/\(.*\)$' -> '<PROJECT_ROOT>/packages/\1/src/\2'
module.name_mapper='^@phenomic\/\([a-z0-9-]+\)\/\(.*\)$' -> '<PROJECT_ROOT>/packages/\1/\2'
module.name_mapper='^@phenomic\/\([a-z0-9-]+\)$' -> '<PROJECT_ROOT>/packages/\1/src'

# fixup some node_modules to get proper flow types
module.name_mapper='^react-native-web$' -> 'react-native-web/src'
3 changes: 3 additions & 0 deletions .github/FUNDING.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
open_collective: phenomic
ko_fi: moox__
custom: https://www.paypal.me/MoOx
33 changes: 19 additions & 14 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,27 +1,32 @@
# OS X crap
*.log

# macOS crap
.DS_Store

# Node.js / npm
node_modules
npm-debug.log
# we rely on yarn.lock
package-lock.json

# code coverage
.nyc_output
coverage

# build
lib

# some tests output some files
src/md-collection-loader/__tests__/output/
**/lib/**/*.js
**/lib/bs/**/*
**/lib/ocaml/**/*
**/dist

# tests results
**/__tests__/_output*

# docs build
docs/node_modules
docs/dist
# website
**/website/**/*.mov
**/website/**/*.pxm
**/website/public/showcases/entry/*
**/website/svgs/*.js

# boilerplate files to work on it
boilerplate/package.json
boilerplate/dist
test-boilerplate
# reason stuff
.merlin
.bsb.lock
*.bs.js
File renamed without changes.
38 changes: 19 additions & 19 deletions .travis.yml
Original file line number Diff line number Diff line change
@@ -1,24 +1,24 @@
language: node_js
node_js: 8

node_js:
- '5'
- '4'

matrix:
fast_finish: true
env:
global:
- DEBUG: phenomic:*

script: npm run test-with-coverage
after_success: npm run coverage
before_install:
# Install Yarn
- curl -o- -L https://yarnpkg.com/install.sh | bash
- export PATH=$HOME/.yarn/bin:$PATH
# Install Watchman dependency
- git clone --depth=1 --branch=v4.7.0 https://github.com/facebook/watchman.git
- pushd watchman && ./autogen.sh && ./configure --without-python && make && sudo make install && popd

deploy:
skip_cleanup: true
provider: script
script: ./docs/scripts/deploy.sh
on:
branch: master
node: '5'
cache:
yarn: true
directories:
- node_modules
- website/.screenshots
- website/public/showcase/entry

env:
global:
# GITHUB_TOKEN
- secure: YdtJZ5EnoKt57uHq1ue8RNXk4tZJqx3Fr7SkPlNFPVmRLH3DLkHs4hNoWw5xot2/D8dreGNVF6iDEXwyGQkRriVwBlvyU1LBQRH1QQLnd5Q3+8OosxZRrslUajW1XhK82FnWmI7ueXngwYTsnZP3UOdYSZt0mh3kPL3oIz94AoC8KovY3s7Ng/DM+OkiGC06uEIaxcKYSdDYl9f+Y8Vl41AuKm6IZ1gBY2Fbyh3+RV40KarSDg5ARIQO1sOaQH5edEPmzS0LmGWnr5P2KwGDvxN2hBu+teVYBM6l/tjNItAmRibQK5o/S3R+ZVS83op5RtDVC3hXTgneYPcpZ20f0F3ETOTQaTeedH4KINOt3qEdwsWlo7tlKjKaCkadggZ7RwyrMhBfy9oMj+kT/VAj3hqtrX8AIf7BrNQxTDBvSR8PST/qu9bdrWBJXTErGn0dB4CNdBD2wckenWTZHTj01uHOEoCsL2iUCpG9/7B0Y84o8SsN+BycbFy3TTSYO7tn4EGTX8VEKkKpivJh33C9dNi8fUEu9UwooJK0j+S9XPTt6l1ccgC/I8BLVE+hMFfNnwE0QhMBjw66yOJitH16g1OOvE7KckPLekrpa7rhe04uAIwhdowLs9GtSPT9S8mHM6/YNxlpYxdwSI7QllQs7eVsHEx4EBZ6/Vw96pbYLy0=
script:
- yarn run test-without-lint
3 changes: 3 additions & 0 deletions .vscode/settings.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
{
"javascript.validate.enable": false
}
Loading