Skip to content

Commit 54c2de6

Browse files
committed
update gentype example dependencies
1 parent 0a6f1a4 commit 54c2de6

File tree

3 files changed

+41
-40
lines changed

3 files changed

+41
-40
lines changed

tests/gentype_tests/typescript-react-example/package.json

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -10,14 +10,15 @@
1010
},
1111
"dependencies": {
1212
"@rescript/react": "^0.13.1",
13-
"react": "^18.2.0",
14-
"react-dom": "^18.2.0",
13+
"react": "^18.3.1",
14+
"react-dom": "^18.3.1",
1515
"rescript": "workspace:^"
1616
},
1717
"devDependencies": {
1818
"@biomejs/biome": "1.8.3",
1919
"@types/node": "^18.15.12",
20-
"@types/react-dom": "^18.0.11",
20+
"@types/react": "^18.3.19",
21+
"@types/react-dom": "^18.3.5",
2122
"typescript": "^5.2.2"
2223
}
2324
}
Lines changed: 6 additions & 31 deletions
Original file line numberDiff line numberDiff line change
@@ -1,39 +1,14 @@
11
{
22
"compilerOptions": {
3-
"outDir": "build/dist",
3+
"target": "esnext",
44
"module": "esnext",
5-
"target": "es5",
5+
"moduleResolution": "node",
66
"lib": ["dom", "dom.iterable", "esnext"],
7-
"sourceMap": true,
7+
"strict": true,
8+
"skipLibCheck": true,
89
"allowJs": true,
910
"jsx": "react-jsx",
10-
"skipLibCheck": true,
11-
"moduleResolution": "node",
12-
"rootDir": ".",
13-
"forceConsistentCasingInFileNames": true,
14-
"noImplicitReturns": true,
15-
"noImplicitThis": true,
16-
"noImplicitAny": true,
17-
"strictNullChecks": true,
18-
"noUnusedLocals": true,
19-
"strictPropertyInitialization": true,
20-
"esModuleInterop": true,
21-
"allowSyntheticDefaultImports": true,
22-
"strict": true,
23-
"resolveJsonModule": true,
24-
"isolatedModules": true,
25-
"noEmit": true,
26-
"noFallthroughCasesInSwitch": true
11+
"noEmit": true
2712
},
28-
"include": ["src"],
29-
"exclude": [
30-
"node_modules",
31-
"build",
32-
"scripts",
33-
"acceptance-tests",
34-
"webpack",
35-
"jest",
36-
"src/setupTests.ts",
37-
"src/AutoAnnotate.bs.js"
38-
]
13+
"include": ["src"]
3914
}

yarn.lock

Lines changed: 31 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -422,9 +422,10 @@ __metadata:
422422
"@biomejs/biome": "npm:1.8.3"
423423
"@rescript/react": "npm:^0.13.1"
424424
"@types/node": "npm:^18.15.12"
425-
"@types/react-dom": "npm:^18.0.11"
426-
react: "npm:^18.2.0"
427-
react-dom: "npm:^18.2.0"
425+
"@types/react": "npm:^18.3.19"
426+
"@types/react-dom": "npm:^18.3.5"
427+
react: "npm:^18.3.1"
428+
react-dom: "npm:^18.3.1"
428429
rescript: "workspace:^"
429430
typescript: "npm:^5.2.2"
430431
languageName: unknown
@@ -473,7 +474,14 @@ __metadata:
473474
languageName: node
474475
linkType: hard
475476

476-
"@types/react-dom@npm:^18.0.11":
477+
"@types/prop-types@npm:*":
478+
version: 15.7.14
479+
resolution: "@types/prop-types@npm:15.7.14"
480+
checksum: 10c0/1ec775160bfab90b67a782d735952158c7e702ca4502968aa82565bd8e452c2de8601c8dfe349733073c31179116cf7340710160d3836aa8a1ef76d1532893b1
481+
languageName: node
482+
linkType: hard
483+
484+
"@types/react-dom@npm:^18.3.5":
477485
version: 18.3.5
478486
resolution: "@types/react-dom@npm:18.3.5"
479487
peerDependencies:
@@ -482,6 +490,16 @@ __metadata:
482490
languageName: node
483491
linkType: hard
484492

493+
"@types/react@npm:^18.3.19":
494+
version: 18.3.19
495+
resolution: "@types/react@npm:18.3.19"
496+
dependencies:
497+
"@types/prop-types": "npm:*"
498+
csstype: "npm:^3.0.2"
499+
checksum: 10c0/236bfe0c4748ada1a640f13573eca3e0fc7c9d847b442947adb352b0718d6d285357fd84c33336c8ffb8cbfabc0d58a43a647c7fd79857fecd61fb58ab6f7918
500+
languageName: node
501+
linkType: hard
502+
485503
"abbrev@npm:^3.0.0":
486504
version: 3.0.0
487505
resolution: "abbrev@npm:3.0.0"
@@ -821,6 +839,13 @@ __metadata:
821839
languageName: node
822840
linkType: hard
823841

842+
"csstype@npm:^3.0.2":
843+
version: 3.1.3
844+
resolution: "csstype@npm:3.1.3"
845+
checksum: 10c0/80c089d6f7e0c5b2bd83cf0539ab41474198579584fa10d86d0cafe0642202343cbc119e076a0b1aece191989477081415d66c9fefbf3c957fc2fc4b7009f248
846+
languageName: node
847+
linkType: hard
848+
824849
"debug@npm:4, debug@npm:^4.1.0, debug@npm:^4.1.1, debug@npm:^4.3.1, debug@npm:^4.3.4, debug@npm:^4.3.5":
825850
version: 4.4.0
826851
resolution: "debug@npm:4.4.0"
@@ -2015,7 +2040,7 @@ __metadata:
20152040
languageName: node
20162041
linkType: hard
20172042

2018-
"react-dom@npm:^18.2.0":
2043+
"react-dom@npm:^18.3.1":
20192044
version: 18.3.1
20202045
resolution: "react-dom@npm:18.3.1"
20212046
dependencies:
@@ -2027,7 +2052,7 @@ __metadata:
20272052
languageName: node
20282053
linkType: hard
20292054

2030-
"react@npm:^18.2.0":
2055+
"react@npm:^18.3.1":
20312056
version: 18.3.1
20322057
resolution: "react@npm:18.3.1"
20332058
dependencies:

0 commit comments

Comments
 (0)