@@ -39,6 +39,8 @@
"eslint": "^8.20.0",
"eslint-config-prettier": "^8.5.0",
"eslint-plugin-prettier": "^4.2.1",
+ "eslint-plugin-react": "^7.30.1",
+ "eslint-plugin-react-hooks": "^4.6.0",
"gh-pages": "^4.0.0",
"lerna": "^5.3.0",
"pnpm": "^7.8.0",
@@ -1,10 +1,7 @@
{
- "extends": "./tsconfig.json",
+ "extends": "../../../tsconfig.cjs.json",
+ "include": ["src"],
"compilerOptions": {
- "target": "es6",
- "module": "commonjs",
- "outDir": "lib/cjs",
- "declarationDir": null,
- "declaration": false
+ "outDir": "lib/cjs"
}
@@ -0,0 +1,8 @@
+{
+ "extends": "../../../tsconfig.esm.json",
+ "compilerOptions": {
+ "outDir": "lib/esm",
+ "declarationDir": "lib/types"
+ }
+}
@@ -0,0 +1,11 @@
+ "extends": "../../../tsconfig.root.json",
+ "references": [
+ {
+ "path": "./tsconfig.cjs.json"
+ },
+ "path": "./tsconfig.esm.json"
+ ]
@@ -1,10 +1,9 @@
+ "exclude": ["src/**/__tests__"],
"outDir": "lib/cjs",
+ "jsx": "react"
@@ -1,10 +1,10 @@
- "extends": "../../../tsconfig.json",
"include": ["src"],
"exclude": ["src/**/__tests__"],
"outDir": "lib/esm",
"declarationDir": "lib/types",
- "noEmit": false
@@ -0,0 +1,17 @@
+ "path": "../base"
+ "path": "./tsconfig.tests.json"
@@ -1,7 +0,0 @@
-{
- "compilerOptions": {
- "noEmit": true,
- "allowJs": true
- }
-}
@@ -0,0 +1,7 @@
+ "extends": "../../../tsconfig.tests.json",
+ "extends": "../../../tsconfig.base.json",
+ "outDir": "lib",
@@ -1,4 +1,5 @@
"target": "es5",
"lib": ["dom", "dom.iterable", "esnext"],
@@ -15,6 +16,5 @@
"isolatedModules": true,
"noEmit": true,
"jsx": "react-jsx"
- },
- "include": ["src"]
@@ -0,0 +1,20 @@
+ "path": "../../core/base"
+ "path": "../../core/react"
+ "path": "../../ui/react-ui"
+ "path": "../../wallets/wallets"
+ "path": "./tsconfig.base.json"
@@ -0,0 +1,26 @@
+ "path": "../../ui/ant-design"
+ "path": "../../ui/material-ui"
@@ -1,5 +1,5 @@
- "include": ["src", "types"],
"target": "esnext",
@@ -9,7 +9,6 @@
"strict": true,
"esModuleInterop": true,
"resolveJsonModule": true,
- "isolatedModules": true,
- "typeRoots": ["node_modules/@types"]
+ "isolatedModules": true
@@ -1,9 +1,10 @@
- "noEmit": false,
- "skipLibCheck": true
@@ -1,9 +0,0 @@
- "include": ["src"],
- "outDir": "lib/esm",
- "declarationDir": "lib/types",
@@ -0,0 +1,14 @@
@@ -1,10 +0,0 @@
- "noUncheckedIndexedAccess": false