Skip to content

Commit

Permalink
feat!: convert to es modules, drop node 10 (#359)
Browse files Browse the repository at this point in the history
BREAKING CHANGE: this module now requires node.js 12 and above, and has moved to es modules by default.
  • Loading branch information
JustinBeckwith committed Nov 17, 2021
1 parent 39a8da2 commit efee299
Show file tree
Hide file tree
Showing 18 changed files with 500 additions and 302 deletions.
5 changes: 3 additions & 2 deletions .github/workflows/ci.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -6,20 +6,21 @@ on:
name: ci
env:
FORCE_COLOR: 2
NODE: 14
NODE: 16
jobs:
test:
runs-on: ubuntu-latest
strategy:
fail-fast: false
matrix:
node: [10, 12, 14, 16]
node: [12, 14, 16]
steps:
- uses: actions/checkout@v2
- uses: actions/setup-node@v2
with:
node-version: ${{ matrix.node }}
cache: npm
- run: node -v
- run: npm ci
- run: npm test
- run: npm run codecov
Expand Down
3 changes: 0 additions & 3 deletions .prettierrc.js

This file was deleted.

6 changes: 6 additions & 0 deletions .prettierrc.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
{
"bracketSpacing": false,
"singleQuote": true,
"trailingComma": "es5",
"arrowParens": "avoid"
}
Loading

0 comments on commit efee299

Please sign in to comment.