Skip to content

Commit d3a83d4

Browse files
committed
Merge branch 'beta'
2 parents 46c82c5 + 1a13ed2 commit d3a83d4

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

89 files changed

+19377
-10305
lines changed

.eslintrc.json

Lines changed: 0 additions & 35 deletions
This file was deleted.

.github/workflows/main.yml

Lines changed: 40 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,40 @@
1+
name: CI
2+
on: [push]
3+
jobs:
4+
build:
5+
name: Build, lint, and test on Node ${{ matrix.node }} and ${{ matrix.os }}
6+
7+
runs-on: ${{ matrix.os }}
8+
strategy:
9+
matrix:
10+
node: ['12.x', '14.x']
11+
os: [ubuntu-latest]
12+
13+
steps:
14+
- name: Checkout repo
15+
uses: actions/checkout@v2
16+
17+
- name: Use Node ${{ matrix.node }}
18+
uses: actions/setup-node@v2
19+
with:
20+
node-version: ${{ matrix.node }}
21+
22+
- name: Install Yarn
23+
run: npm install -g yarn
24+
25+
- name: Install deps and build (with cache)
26+
run: yarn install --frozen-lockfile --silent
27+
28+
- name: Lint
29+
run: yarn lint
30+
31+
- name: Test
32+
run: yarn test
33+
34+
- name: Upload coverage
35+
env:
36+
CODECOV_TOKEN: ${{ secrets.CODECOV_TOKEN }}
37+
run: npx nyc report --reporter=text-lcov | npx codecov --disable=gcov --pipe
38+
39+
- name: Build
40+
run: yarn build:prod

.github/workflows/node.js.yml

Lines changed: 0 additions & 37 deletions
This file was deleted.

.github/workflows/size.yml

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
name: size
2+
on: [pull_request]
3+
jobs:
4+
size:
5+
runs-on: ubuntu-latest
6+
env:
7+
CI_JOB_NUMBER: 1
8+
steps:
9+
- uses: actions/checkout@v1
10+
- uses: andresz1/size-limit-action@v1
11+
with:
12+
build_script: build:prod
13+
github_token: ${{ secrets.GITHUB_TOKEN }}

.gitignore

Lines changed: 12 additions & 38 deletions
Original file line numberDiff line numberDiff line change
@@ -1,39 +1,13 @@
1-
# See http://help.github.com/ignore-files/ for more about ignoring files.
2-
3-
# compiled output
4-
/dist
5-
/tmp
6-
/out-tsc
7-
8-
# dependencies
9-
/node_modules
10-
11-
# IDEs and editors
12-
/.idea
13-
.project
14-
.classpath
15-
.c9/
16-
*.launch
17-
.settings/
18-
*.sublime-workspace
19-
20-
# IDE - VSCode
21-
.vscode/*
22-
!.vscode/settings.json
23-
!.vscode/tasks.json
24-
!.vscode/launch.json
25-
!.vscode/extensions.json
26-
27-
# misc
28-
/.sass-cache
29-
/connect.lock
30-
/coverage
31-
/libpeerconnection.log
32-
npm-debug.log
33-
yarn-error.log
34-
testem.log
35-
/typings
36-
37-
# System Files
1+
*.log
382
.DS_Store
39-
Thumbs.db
3+
node_modules
4+
.cache
5+
dist
6+
# Cypress
7+
cypress/screenshots/
8+
cypress/videos/
9+
.nyc_output/
10+
coverage/
11+
jest-coverage/
12+
cypress-coverage/
13+
reports/

.npmignore

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,17 @@
1+
.DS_Store
2+
.cache
3+
.vscode
4+
.dependabot
5+
node_modules
6+
example/
7+
cypress/
8+
.env
9+
tsconfig.json
10+
src/
11+
.github
12+
.nyc_output/
13+
coverage/
14+
jest-coverage/
15+
cypress-coverage/
16+
reports/
17+
cypress.json

.npmrc

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
registry = "https://registry.npmjs.com/"
2+
legacy-peer-deps = true

.prettierignore

Lines changed: 0 additions & 4 deletions
This file was deleted.

.prettierrc

Lines changed: 0 additions & 3 deletions
This file was deleted.

.release-it.json

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,18 @@
1+
{
2+
"git": {
3+
"commitMessage": "chore: release v${version}"
4+
},
5+
"github": {
6+
"release": true,
7+
"web": true,
8+
"assets": ["dist/*"]
9+
},
10+
"hooks": {
11+
"after:bump": "yarn build:prod",
12+
"after:release": "echo Successfully released ${name} v${version} to ${repo.repository}."
13+
},
14+
"npm": {
15+
"release": true,
16+
"skipChecks": true
17+
}
18+
}

0 commit comments

Comments
 (0)