Skip to content
Open
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
4 changes: 2 additions & 2 deletions .github/workflows/dashboard-ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ jobs:

- uses: actions/setup-node@v3
with:
node-version: "18"
node-version: "20"
cache: "yarn"

# This step forces Git to download dependencies using `https://` protocol,
Expand Down Expand Up @@ -58,7 +58,7 @@ jobs:

- uses: actions/setup-node@v3
with:
node-version: "18"
node-version: "20"
cache: "yarn"

# We need this step because the `@keep-network/tbtc` which we update in
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/dashboard-mainnet.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ jobs:

- uses: actions/setup-node@v3
with:
node-version: "18"
node-version: "20"
cache: "yarn"

# This step forces Git to download dependencies using `https://` protocol,
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/reusable-build-and-publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -87,7 +87,7 @@ jobs:

- uses: actions/setup-node@v3
with:
node-version: "18"
node-version: "20"
cache: "yarn"

# We need this step because the `@keep-network/tbtc` which we update in
Expand Down
14 changes: 14 additions & 0 deletions craco.config.js
Original file line number Diff line number Diff line change
@@ -1,6 +1,8 @@
module.exports = {
babel: {
plugins: [
"@babel/plugin-proposal-numeric-separator",
"@babel/plugin-proposal-logical-assignment-operators",
"@babel/plugin-proposal-nullish-coalescing-operator",
"@babel/plugin-proposal-optional-chaining",
/*
Expand All @@ -10,4 +12,16 @@ module.exports = {
["@babel/plugin-transform-class-properties", { loose: true }],
],
},
webpack: {
configure: (webpackConfig, { env, paths }) => {
// Add a rule to handle .mjs files
webpackConfig.module.rules.push({
test: /\.mjs$/,
include: /node_modules/,
type: "javascript/auto",
})

return webpackConfig
},
},
}
6 changes: 6 additions & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -44,6 +44,12 @@
"@web3-react/injected-connector": "^6.0.7",
"@web3-react/types": "^6.0.7",
"@web3-react/walletlink-connector": "^6.2.13",
"@solana/wallet-adapter-base": "^0.9.24",
"@solana/wallet-adapter-react": "^0.15.36",
"@solana/wallet-adapter-react-ui": "^0.9.36",
"@solana/wallet-adapter-wallets": "^0.19.33",
"@solana/web3.js": "^1.98.0",
"@coral-xyz/anchor": "^0.31.0",
"axios": "^0.24.0",
"bignumber.js": "^9.1.2",
"bitcoin-address-validation": "^2.2.1",
Expand Down
Loading