Skip to content

Commit b31ebb6

Browse files
authored
Support legacy reac admin (#196)
* Support as peerDependencies react-admin v2,v3,v4 Signed-off-by: José Luis Di Biase <[email protected]> * Avoid typehecking library declaration files Signed-off-by: José Luis Di Biase <[email protected]> --------- Signed-off-by: José Luis Di Biase <[email protected]>
1 parent 771c8af commit b31ebb6

File tree

2 files changed

+5
-2
lines changed

2 files changed

+5
-2
lines changed

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,7 @@
4646
"homepage": "https://github.com/josx/ra-data-feathers#readme",
4747
"peerDependencies": {
4848
"@feathersjs/client": "^3.5.3 || ^4.3.0",
49-
"react-admin": "^4.7.2"
49+
"react-admin": "^2.1.1|| ^3.0.0|| ^4.0.0"
5050
},
5151
"dependencies": {
5252
"debug": "^3.0.0",

tsconfig.json

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,5 +10,8 @@
1010
"isolatedModules": true,
1111
"emitDeclarationOnly": true,
1212
"outDir": "lib",
13+
"esModuleInterop": true,
14+
"allowSyntheticDefaultImports": true,
15+
"skipLibCheck": true
1316
},
14-
}
17+
}

0 commit comments

Comments
 (0)