Skip to content

Commit

Permalink
fix hooks build
Browse files Browse the repository at this point in the history
  • Loading branch information
chaitanyapotti committed Apr 11, 2024
1 parent 7588359 commit 3dbc330
Show file tree
Hide file tree
Showing 9 changed files with 111 additions and 149 deletions.
172 changes: 35 additions & 137 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

7 changes: 3 additions & 4 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,8 @@
"packages/ui",
"packages/providers/*",
"packages/adapters/*",
"packages/plugins/*"
"packages/plugins/*",
"packages/hooks/*"
],
"description": "Monorepo for web3 auth packages",
"scripts": {
Expand All @@ -30,10 +31,9 @@
"@babel/register": "^7.23.7",
"@toruslabs/config": "^2.0.2",
"@toruslabs/eslint-config-typescript": "^3.2.0",
"@toruslabs/torus-scripts": "^5.3.0",
"@toruslabs/torus-scripts": "^5.3.1",
"@types/chai": "^4.3.14",
"@types/faker": "^5.5.9",
"@types/jsonwebtoken": "^9.0.6",
"@types/mocha": "^10.0.6",
"@types/node": "^20",
"chai": "^5.1.0",
Expand All @@ -42,7 +42,6 @@
"eslint": "^8.57.0",
"faker": "^5.5.3",
"husky": "^9.0.11",
"jsonwebtoken": "^9.0.2",
"lerna": "^8.1.2",
"lint-staged": "^15.2.2",
"mocha": "^10.4.0",
Expand Down
3 changes: 3 additions & 0 deletions packages/hooks/modal-react-hooks/babel.config.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
module.exports = {
presets: [["@babel/preset-react", { runtime: "automatic" }]],
};
8 changes: 5 additions & 3 deletions packages/hooks/modal-react-hooks/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -31,11 +31,13 @@
"dist"
],
"devDependencies": {
"@web3auth/openlogin-adapter": "^8.0.1"
"@web3auth/openlogin-adapter": "^8.1.0",
"@web3auth/base-plugin": "^8.1.0",
"@web3auth/modal": "^8.1.0"
},
"dependencies": {
"@web3auth/base": "^8.0.0",
"@web3auth/base-plugin": "^8.0.1"
"@web3auth/base": "^8.1.0",
"@web3auth/base-plugin": "^8.1.0"
},
"peerDependencies": {
"@babel/runtime": "^7.x",
Expand Down
6 changes: 4 additions & 2 deletions packages/hooks/modal-react-hooks/tsconfig.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
{
"extends": "../../../tsconfig.json",
"include": ["src","test"],
"include": ["src", "test"],
"compilerOptions": {
"jsx": "react-jsx"
}
}

Loading

0 comments on commit 3dbc330

Please sign in to comment.