Skip to content

Commit a1a99e7

Browse files
authoredFeb 27, 2025
chore: migrate to types, utils and mocks workspaces (#44)
* chore: fix build * chore: remove unused shadcn chart * chore: updated react tsconfig * chore: moved types, mocks and utils to different workspaces * chore: replaced types, utils and mock imports with workspaces
1 parent f41fb71 commit a1a99e7

File tree

259 files changed

+10351
-12803
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

259 files changed

+10351
-12803
lines changed
 

‎packages/config/tsconfig/react.json

+2-2
Original file line numberDiff line numberDiff line change
@@ -3,9 +3,9 @@
33
"extends": "./base.json",
44
"compilerOptions": {
55
"jsx": "react-jsx",
6-
"lib": ["dom", "ES2015"],
6+
"lib": ["dom", "ESNext"],
77
"module": "ESNext",
88
"moduleResolution": "Bundler",
9-
"target": "es6"
9+
"target": "ESNext"
1010
}
1111
}

‎packages/types/package.json

+20-7
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,23 @@
11
{
22
"name": "@gitcoin/types",
3-
"version": "0.0.0-beta.23",
3+
"version": "0.0.0-beta.22",
44
"repository": {
55
"type": "git",
66
"url": "https://github.com/gitcoinco/core",
77
"directory": "packages/types"
88
},
9-
"types": "./dist/index.d.ts",
10-
"main": "./dist/index.js",
9+
"exports": {
10+
".": {
11+
"types": "./dist/index.d.mts",
12+
"import": "./dist/index.mjs",
13+
"require": "./dist/index.mjs"
14+
},
15+
"./checker": {
16+
"types": "./dist/checker.d.mts",
17+
"import": "./dist/checker.mjs",
18+
"require": "./dist/checker.mjs"
19+
}
20+
},
1121
"sideEffects": false,
1222
"license": "AGPL-3.0",
1323
"scripts": {
@@ -18,14 +28,17 @@
1828
},
1929
"devDependencies": {
2030
"@gitcoin/config": "workspace:*",
21-
"@types/react": "^18.2.61",
22-
"@types/react-dom": "^18.2.19",
31+
"@types/react": "^19.0.10",
32+
"@types/react-dom": "^19.0.4",
2333
"eslint": "^8.57.0",
34+
"idb": "^8.0.1",
2435
"tsup": "^8.0.2",
25-
"typescript": "5.5.4"
36+
"typescript": "5.5.4",
37+
"zod": "^3.23.8"
2638
},
2739
"dependencies": {
28-
"react": "18.3.1"
40+
"react": "18.3.1",
41+
"viem": "^2.21.48"
2942
},
3043
"publishConfig": {
3144
"access": "public"

0 commit comments

Comments
 (0)