Skip to content
This repository has been archived by the owner on Apr 25, 2024. It is now read-only.

Ledger v2 #288

Merged
merged 16 commits into from
Feb 28, 2023
Merged
Show file tree
Hide file tree
Changes from 13 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
10 changes: 5 additions & 5 deletions .babelrc
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
{
"presets": [
"react",
"es2015"
"@babel/preset-react",
"@babel/preset-env"
],
"plugins": [
"@babel/plugin-proposal-class-properties"
]
"plugins": [
"@babel/plugin-proposal-class-properties"
]
}
8 changes: 6 additions & 2 deletions .eslintrc
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,9 @@
"node": true,
"jest": true
},
"plugins": ["prettier"],
"plugins": [
"prettier"
],
"extends": [
"airbnb",
"prettier",
Expand All @@ -19,6 +21,8 @@
"react/jsx-props-no-spreading": "off"
},
"settings": {
"import/core-modules": ["test-utils"]
"import/core-modules": [
"test-utils"
]
}
}
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -19,3 +19,4 @@ build/
# misc
.DS_Store
junit.xml
.vscode
4 changes: 4 additions & 0 deletions .prettierrc
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
{
"tabWidth": 2,
"useTabs": false
}
18 changes: 8 additions & 10 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,26 +2,24 @@ language: node_js
notifications:
email:
recipients:
- [email protected]
- [email protected]
on_success: change
on_failure: always

jobs:
include:
- stage: "Tests"
node_js: 8
name: "Node JS 8"
node_js: 12
name: "Node JS 12"
bucko13 marked this conversation as resolved.
Show resolved Hide resolved
script: npm run test
- node_js: 10
name: "Node JS 10"
- node_js: 16
name: "Node JS 16"
script: npm run test
- node_js: 12
name: "Node JS 12"
- node_js: 16
name: "Node JS 16"
script: npm run ci
- stage: build
node_js: 10
script: npm run build:ci
node_js: 12
node_js: 16
script: npm run build:ci
before_deploy:
- git remote set-url origin https://${GH_TOKEN}@github.com/${TRAVIS_REPO_SLUG}.git
Expand Down
8 changes: 8 additions & 0 deletions config-overrides.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
module.exports = function override(webpackConfig) {
// eslint-disable-next-line no-param-reassign
webpackConfig.resolve.alias = {
...webpackConfig.resolve.alias,
"@ledgerhq/devices/hid-framing": "@ledgerhq/devices/lib/hid-framing",
};
return webpackConfig;
};
Loading