Skip to content

Commit 3092d91

Browse files
authored
Merge pull request #14 from mskelton/v2
V2
2 parents c902213 + fd99318 commit 3092d91

Some content is hidden

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

51 files changed

+6786
-4633
lines changed

.all-contributorsrc

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

.babelrc

Lines changed: 1 addition & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -7,13 +7,6 @@
77
"ignore": ["/node_modules/"],
88
"presets": [
99
"@babel/preset-typescript",
10-
[
11-
"@babel/preset-env",
12-
{
13-
"targets": {
14-
"node": true
15-
}
16-
}
17-
]
10+
["@babel/preset-env", { "targets": { "node": true } }]
1811
]
1912
}

.eslintrc

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,5 @@
11
{
2-
"env": {
3-
"es6": true,
4-
"node": true
5-
},
2+
"parser": "@typescript-eslint/parser",
63
"parserOptions": {
74
"ecmaVersion": 2018
85
},
@@ -11,7 +8,10 @@
118
"plugin:@typescript-eslint/recommended",
129
"prettier"
1310
],
14-
"parser": "@typescript-eslint/parser",
11+
"env": {
12+
"es6": true,
13+
"node": true
14+
},
1515
"rules": {
1616
"@typescript-eslint/explicit-module-boundary-types": "off",
1717
"@typescript-eslint/no-non-null-assertion": "off",

.github/workflows/build.yml

Lines changed: 4 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -5,27 +5,20 @@ jobs:
55
runs-on: ubuntu-latest
66
strategy:
77
matrix:
8-
node-version: [10.x, 12.x, 14.x]
8+
node-version: [14.x, 16.x]
99
steps:
10-
- uses: actions/checkout@v2
11-
- name: Use Node.js ${{ matrix.node-version }}
12-
uses: actions/setup-node@v1
10+
- uses: mskelton/setup-yarn@v1
1311
with:
1412
node-version: ${{ matrix.node-version }}
15-
- run: yarn install --immutable
1613
- run: yarn test
1714
- run: yarn ts
1815
release:
1916
needs: test
2017
runs-on: ubuntu-latest
2118
steps:
22-
- uses: actions/checkout@v2
23-
- uses: actions/setup-node@v1
24-
with:
25-
node-version: "12"
26-
- run: yarn install --immutable
19+
- uses: mskelton/setup-yarn@v1
2720
- run: yarn build
28-
- uses: cycjimmy/semantic-release[email protected]
21+
- run: yarn semantic-release
2922
env:
3023
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
3124
NPM_TOKEN: ${{ secrets.NPM_TOKEN }}

.github/workflows/format.yml

Lines changed: 5 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -1,24 +1,18 @@
11
name: Format
22
on:
33
pull_request:
4-
branches: [master]
4+
branches: [main]
55
jobs:
66
format:
77
runs-on: ubuntu-latest
88
steps:
9-
- uses: actions/checkout@v2
9+
- uses: mskelton/setup-yarn@v1
1010
with:
1111
ref: ${{ github.head_ref }}
12-
- uses: actions/setup-node@v1
13-
with:
14-
node-version: "12.x"
15-
- name: Format
16-
run: |
17-
yarn install --immutable
18-
yarn format
19-
yarn lint --fix
12+
- run: yarn format
13+
- run: yarn lint --fix
2014
- name: Commit changes
21-
uses: stefanzweifel/git-auto-commit-action@v4.1.2
15+
uses: stefanzweifel/git-auto-commit-action@v4
2216
with:
2317
commit_message: Apply formatting changes
2418
branch: ${{ github.head_ref }}

.gitignore

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,11 @@
1+
# Yarn
12
node_modules/
2-
lib/
3-
4-
# Yarn 2
53
.yarn/*
64
!.yarn/patches
75
!.yarn/plugins
86
!.yarn/releases
97
!.yarn/sdks
108
!.yarn/versions
9+
10+
# Outputs
11+
lib/

.prettierignore

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
1-
lib/
2-
3-
# Yarn 2 auto generated files
1+
# Yarn auto generated files
42
.yarn/
53
.yarnrc.yml
4+
5+
# Outputs
6+
lib/

.prettierrc

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
11
{
2-
"semi": false
2+
"semi": false,
3+
"proseWrap": "always",
4+
"quoteProps": "consistent"
35
}

.releaserc.json

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
{
2+
"branches": ["main"]
3+
}

.yarn/plugins/@yarnpkg/plugin-outdated.cjs

Lines changed: 1 addition & 1 deletion
Large diffs are not rendered by default.

0 commit comments

Comments
 (0)