Skip to content

Commit 4d8fd24

Browse files
Followed typeorm installation instructions
1 parent e0e4d51 commit 4d8fd24

File tree

4 files changed

+604
-24
lines changed

4 files changed

+604
-24
lines changed

package.json

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,10 @@
2020
"react-admin": "^4.7.2",
2121
"react-dom": "17.0.2",
2222
"react-hot-loader": "4.13.0",
23-
"styled-components": "5.3.0"
23+
"reflect-metadata": "^0.1.13",
24+
"sqlite3": "^5.1.4",
25+
"styled-components": "5.3.0",
26+
"typeorm": "^0.3.12"
2427
},
2528
"devDependencies": {
2629
"@babel/core": "7.14.6",
@@ -40,6 +43,7 @@
4043
"@testing-library/react": "11.2.7",
4144
"@types/electron-devtools-installer": "2.2.0",
4245
"@types/jest": "26.0.23",
46+
"@types/node": "^18.13.0",
4347
"@types/react": "17.0.11",
4448
"@types/react-dom": "17.0.8",
4549
"@types/styled-components": "5.1.10",

src/App.tsx

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
1+
import "reflect-metadata";
2+
13
import { GlobalStyle } from './styles/GlobalStyle'
24

35
import { Admin, Resource, ListGuesser, EditGuesser } from "react-admin";

tsconfig.json

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,5 +14,7 @@
1414
"outDir": "./dist",
1515
"strict": true ,
1616
"esModuleInterop": true,
17+
"emitDecoratorMetadata": true,
18+
"experimentalDecorators": true,
1719
}
1820
}

0 commit comments

Comments
 (0)