Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
28 changes: 28 additions & 0 deletions .eslintrc.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,28 @@
require("@rushstack/eslint-patch/modern-module-resolution");

module.exports = {
root: true,
extends: ["@toruslabs/typescript"],
parser: "@typescript-eslint/parser",
parserOptions: {
sourceType: "module",
ecmaVersion: 2022,
project: "./tsconfig.json",
},
ignorePatterns: ["*.config.js", ".eslintrc.js"],
globals: {
atob: true,
btoa: true,
document: true,
fetch: true,
jest: true,
it: true,
beforeEach: true,
afterEach: true,
describe: true,
expect: true,
chrome: true,
FileSystem: true,
FileEntry: true,
},
};
25 changes: 0 additions & 25 deletions .eslintrc.json

This file was deleted.

2 changes: 1 addition & 1 deletion .github/workflows/backward.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ jobs:
name: Backward Compatibility Tests
strategy:
matrix:
node: ["18.x"]
node: ["20.x"]
os: [ubuntu-latest]

runs-on: ${{ matrix.os }}
Expand Down
12 changes: 6 additions & 6 deletions .github/workflows/browserTests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -38,24 +38,24 @@ jobs:

- name: Browser Test Development Chrome (Mocked)
if: startsWith(matrix.browser, 'chromium')
run: yarn run browser-tests:local-mocked-chrome
run: npm run browser-tests:local-mocked-chrome

- name: Browser Test Development Firefox (Mocked)
if: startsWith(matrix.browser, 'firefox')
run: yarn run browser-tests:local-mocked-firefox
run: npm run browser-tests:local-mocked-firefox

# - name: Browser Test Development webkit (Mocked)
# if: startsWith(matrix.browser, 'webkit')
# run: yarn run browser-tests:local-mocked-webkit
# run: npm run browser-tests:local-mocked-webkit

- name: Browser Test Production Chrome (Prod)
if: startsWith(matrix.browser, 'chromium')
run: yarn run browser-tests:local-prod-chrome
run: npm run browser-tests:local-prod-chrome

# - name: Browser Test Production Firefox (prod)
# if: startsWith(matrix.browser, 'firefox')
# run: yarn run browser-tests:local-prod-firefox
# run: npm run browser-tests:local-prod-firefox

# - name: Browser Test Production webkit (prod)
# if: startsWith(matrix.browser, 'webkit')
# run: yarn run browser-tests:local-prod-webkit
# run: npm run browser-tests:local-prod-webkit
2 changes: 1 addition & 1 deletion .github/workflows/buildMocks.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ jobs:
name: Backward Compatibility Tests
strategy:
matrix:
node: ["18.x"]
node: ["20.x"]
os: [ubuntu-latest]

runs-on: ${{ matrix.os }}
Expand Down
8 changes: 4 additions & 4 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ jobs:
test:
strategy:
matrix:
node: ["18.x"]
node: ["20.x"]
os: [ubuntu-latest]

runs-on: ${{ matrix.os }}
Expand All @@ -25,10 +25,10 @@ jobs:
run: npm ci

- name: Build & Lint
run: yarn run build
run: npm run build

- name: Test Development
run: yarn run test
run: npm run test

- name: Test Production
run: yarn run test-production
run: npm run test-production
2 changes: 1 addition & 1 deletion .nvmrc
Original file line number Diff line number Diff line change
@@ -1 +1 @@
>=16.18.1
>=18.x
3 changes: 2 additions & 1 deletion .prettierrc.yaml
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
# .prettierrc or .prettierrc.yaml
printWidth: 150
singleQuote: false
semi: true
semi: true
trailingComma: es5
3 changes: 3 additions & 0 deletions .vscode/settings.json
Original file line number Diff line number Diff line change
@@ -1,4 +1,7 @@
{
"editor.codeActionsOnSave": {
"source.fixAll": true
},
"eslint.workingDirectories": [
{
"directory": "packages/*",
Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@ For more information, check out the [technical overview](https://hackmd.io/Tej2t
### Requirements

- This package requires a peer dependency of `@babel/runtime`
- Node 14+
- Node 18+

### Installation

Expand Down
Loading