Skip to content

Commit

Permalink
Support legacy reac admin (#196)
Browse files Browse the repository at this point in the history
* 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]>
  • Loading branch information
josx authored May 15, 2023
1 parent 771c8af commit b31ebb6
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 2 deletions.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@
"homepage": "https://github.com/josx/ra-data-feathers#readme",
"peerDependencies": {
"@feathersjs/client": "^3.5.3 || ^4.3.0",
"react-admin": "^4.7.2"
"react-admin": "^2.1.1|| ^3.0.0|| ^4.0.0"
},
"dependencies": {
"debug": "^3.0.0",
Expand Down
5 changes: 4 additions & 1 deletion tsconfig.json
Original file line number Diff line number Diff line change
Expand Up @@ -10,5 +10,8 @@
"isolatedModules": true,
"emitDeclarationOnly": true,
"outDir": "lib",
"esModuleInterop": true,
"allowSyntheticDefaultImports": true,
"skipLibCheck": true
},
}
}

0 comments on commit b31ebb6

Please sign in to comment.