-
Notifications
You must be signed in to change notification settings - Fork 21
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
0 parents
commit 585c676
Showing
53 changed files
with
47,652 additions
and
0 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,8 @@ | ||
version: 1 | ||
update_configs: | ||
- package_manager: javascript | ||
directory: '/' | ||
update_schedule: live | ||
commit_message: | ||
prefix: "chore" | ||
include_scope: 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,64 @@ | ||
dist | ||
build | ||
.build | ||
logfile | ||
.nyc_output | ||
coverage | ||
node_modules | ||
|
||
.git/* | ||
.DS_Store | ||
.npmrc | ||
.yarnclean | ||
.eslintignore | ||
.prettierignore | ||
.upignore | ||
.npmignore | ||
.gitignore | ||
.dockerignore | ||
.yarnrc | ||
.haxt | ||
.flowconfig | ||
.firebaserc | ||
.graphqlconfig | ||
.editorconfig | ||
.next | ||
_next | ||
|
||
license | ||
yarn.lock | ||
Dockerfile.* | ||
Dockerfile | ||
|
||
_env*ac | ||
.env.* | ||
*.env | ||
*.ico | ||
*.html | ||
*.xml | ||
*.log | ||
*.svg | ||
*.map | ||
*.png | ||
*.snap | ||
*.txt | ||
*.sketch | ||
*.ttf | ||
*.eot | ||
*.ttf | ||
*.woff | ||
*.woff2 | ||
*.out | ||
*.dms | ||
*.sh | ||
*.tar.gz | ||
*.pem | ||
*.jpg | ||
*.gif | ||
*.graphcool | ||
*.re | ||
*.wasm | ||
*.yml | ||
*.toml | ||
*.jar | ||
*.zip |
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,8 @@ | ||
{ | ||
"extends": ["eslint:recommended", "xo-space/esnext", "prettier"], | ||
"rules": { | ||
"new-cap": 0, | ||
"camelcase": 0, | ||
"capitalized-comments": 0 | ||
} | ||
} |
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,111 @@ | ||
name: Continuous Integration | ||
|
||
on: push | ||
|
||
jobs: | ||
setup: | ||
runs-on: ubuntu-latest | ||
steps: | ||
- uses: technote-space/auto-cancel-redundant-job@v1 | ||
- name: Checkout | ||
uses: actions/checkout@v2 | ||
- name: Setup Node.js | ||
uses: actions/setup-node@v1 | ||
with: | ||
node-version: '13.x' | ||
- name: Setup Cache | ||
uses: actions/cache@v1 | ||
with: | ||
path: .yarn | ||
key: ${{ runner.os }}-yarn-${{ hashFiles('yarn.lock') }} | ||
- name: Install dependencies | ||
run: yarn install --immutable | ||
env: | ||
YARN_CHECKSUM_BEHAVIOR: update | ||
|
||
############################################################################### | ||
# COMMITLINT # | ||
############################################################################### | ||
commitlint: | ||
needs: setup | ||
runs-on: ubuntu-latest | ||
steps: | ||
- name: Checkout | ||
uses: actions/checkout@v2 | ||
with: | ||
fetch-depth: 0 | ||
- name: Commit Lint | ||
uses: wagoid/commitlint-github-action@v1 | ||
env: | ||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | ||
|
||
############################################################################### | ||
# ESLINT # | ||
############################################################################### | ||
eslint: | ||
needs: setup | ||
runs-on: ubuntu-latest | ||
steps: | ||
- name: Checkout | ||
uses: actions/checkout@v2 | ||
- name: Setup Node.js | ||
uses: actions/setup-node@v1 | ||
with: | ||
node-version: '13.x' | ||
- name: Setup Cache | ||
uses: actions/cache@v1 | ||
with: | ||
path: .yarn | ||
key: ${{ runner.os }}-yarn-${{ hashFiles('yarn.lock') }} | ||
- name: Install dependencies | ||
run: yarn install --immutable --immutable-cache | ||
- name: ESLint | ||
run: yarn run eslint | ||
|
||
############################################################################### | ||
# TEST # | ||
############################################################################### | ||
test: | ||
needs: setup | ||
runs-on: ubuntu-latest | ||
steps: | ||
- name: Checkout | ||
uses: actions/checkout@v2 | ||
- name: Setup Node.js | ||
uses: actions/setup-node@v1 | ||
with: | ||
node-version: '13.x' | ||
- name: Setup Cache | ||
uses: actions/cache@v1 | ||
with: | ||
path: .yarn | ||
key: ${{ runner.os }}-yarn-${{ hashFiles('yarn.lock') }} | ||
- name: Install dependencies | ||
run: yarn install --immutable --immutable-cache | ||
- name: Test | ||
run: yarn run test | ||
- uses: devmasx/coverage-check-action@v1.1.0 | ||
with: | ||
token: ${{ secrets.GITHUB_TOKEN }} | ||
result_path: coverage/lcov.info | ||
min_coverage: 90 | ||
type: lcov | ||
|
||
############################################################################### | ||
# RELEASE # | ||
############################################################################### | ||
release: | ||
needs: [test, eslint, commitlint] | ||
runs-on: ubuntu-latest | ||
steps: | ||
- name: Checkout | ||
uses: actions/checkout@v2 | ||
- name: Get branch | ||
uses: rlespinasse/github-slug-action@1.1.0 | ||
- name: Release | ||
uses: ridedott/release-me-action@master | ||
if: ${{ env.GITHUB_REF_SLUG == 'master' }} | ||
with: | ||
node-module: true | ||
env: | ||
GITHUB_TOKEN: ${{ secrets.RELEASE_GITHUB_TOKEN }} |
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,26 @@ | ||
name: Continuous Delivery | ||
|
||
on: | ||
release: | ||
types: [published] | ||
|
||
jobs: | ||
publish: | ||
runs-on: ubuntu-latest | ||
steps: | ||
- name: Checkout | ||
uses: actions/checkout@v2 | ||
- name: Setup Node.js | ||
uses: actions/setup-node@v1 | ||
with: | ||
node-version: '13.x' | ||
registry-url: https://npm.pkg.github.com/ | ||
scope: '@sergioramos' | ||
- name: Install dependencies | ||
run: yarn install --immutable | ||
env: | ||
YARN_CHECKSUM_BEHAVIOR: update | ||
- name: Publish | ||
run: npm publish | ||
env: | ||
NODE_AUTH_TOKEN: ${{ secrets.GITHUB_TOKEN }} |
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,167 @@ | ||
### Testing ### | ||
/coverage | ||
|
||
### Production ### | ||
/build | ||
/dist | ||
/.next | ||
|
||
### Misc ### | ||
.env | ||
|
||
### Yarn ### | ||
yarn-debug.log* | ||
yarn-error.log* | ||
|
||
### Bower ### | ||
bower_components | ||
.bower-cache | ||
.bower-registry | ||
.bower-tmp | ||
|
||
### Git ### | ||
*.orig | ||
|
||
### macOS ### | ||
*.DS_Store | ||
.AppleDouble | ||
.LSOverride | ||
|
||
# Thumbnails | ||
._* | ||
# Files that might appear in the root of a volume | ||
.DocumentRevisions-V100 | ||
.fseventsd | ||
.Spotlight-V100 | ||
.TemporaryItems | ||
.Trashes | ||
.VolumeIcon.icns | ||
.com.apple.timemachine.donotpresent | ||
# Directories potentially created on remote AFP share | ||
.AppleDB | ||
.AppleDesktop | ||
Network Trash Folder | ||
Temporary Items | ||
.apdisk | ||
|
||
|
||
### Node ### | ||
# Logs | ||
logs | ||
*.log | ||
npm-debug.log* | ||
*.out | ||
|
||
# Runtime data | ||
pids | ||
*.pid | ||
*.seed | ||
*.pid.lock | ||
|
||
# Directory for instrumented libs generated by jscoverage/JSCover | ||
lib-cov | ||
|
||
# Coverage directory used by tools like istanbul | ||
coverage | ||
coverage.html | ||
|
||
# nyc test coverage | ||
.nyc_output | ||
|
||
# Grunt intermediate storage (http://gruntjs.com/creating-plugins#storing-task-files) | ||
.grunt | ||
|
||
# node-waf configuration | ||
.lock-wscript | ||
|
||
# Compiled binary addons (http://nodejs.org/api/addons.html) | ||
build/Release | ||
|
||
# Dependency directories | ||
node_modules | ||
jspm_packages | ||
package-lock.json | ||
|
||
# Optional npm cache directory | ||
.npm | ||
|
||
# Optional eslint cache | ||
.eslintcache | ||
|
||
# Optional REPL history | ||
.node_repl_history | ||
|
||
# Output of 'npm pack' | ||
*.tgz | ||
|
||
|
||
### SublimeText ### | ||
# cache files for sublime text | ||
*.tmlanguage.cache | ||
*.tmPreferences.cache | ||
*.stTheme.cache | ||
|
||
# workspace files are user-specific | ||
*.sublime-workspace | ||
|
||
# project files should be checked into the repository, unless a significant | ||
# proportion of contributors will probably not be using SublimeText | ||
# *.sublime-project | ||
|
||
# sftp configuration file | ||
sftp-config.json | ||
|
||
# Package control specific files | ||
Package Control.last-run | ||
Package Control.ca-list | ||
Package Control.ca-bundle | ||
Package Control.system-ca-bundle | ||
Package Control.cache/ | ||
Package Control.ca-certs/ | ||
bh_unicode_properties.cache | ||
|
||
# Sublime-github package stores a github token in this file | ||
# https://packagecontrol.io/packages/sublime-github | ||
GitHub.sublime-settings | ||
|
||
|
||
### Vim ### | ||
# swap | ||
[._]*.s[a-w][a-z] | ||
[._]s[a-w][a-z] | ||
# session | ||
Session.vim | ||
# temporary | ||
.netrwhist | ||
*~ | ||
# auto-generated tag files | ||
tags | ||
|
||
|
||
### Windows ### | ||
# Windows image file caches | ||
Thumbs.db | ||
ehthumbs.db | ||
|
||
# Folder config file | ||
Desktop.ini | ||
|
||
# Recycle Bin used on file shares | ||
$RECYCLE.BIN/ | ||
|
||
# Windows Installer files | ||
*.cab | ||
*.msi | ||
*.msm | ||
*.msp | ||
|
||
# Windows shortcuts | ||
*.lnk | ||
|
||
### Application Specific ### | ||
.lighthouseci | ||
.yarn/cache | ||
.yarn/install-state.gz | ||
.yarn/build-state.yml | ||
.yarn/unplugged | ||
.npmrc |
Oops, something went wrong.