Skip to content

Commit

Permalink
chore: update @cowprotocol/types dependency and import
Browse files Browse the repository at this point in the history
  • Loading branch information
fairlighteth committed Feb 3, 2025
1 parent 229e4c4 commit c0a0da1
Show file tree
Hide file tree
Showing 4 changed files with 17 additions and 2 deletions.
3 changes: 2 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -67,6 +67,7 @@
"@types/react-dom": "npm:[email protected]"
},
"dependencies": {
"@cowprotocol/types": "^1.2.0",
"@1inch/permit-signed-approvals-utils": "^1.4.10",
"@apollo/client": "^3.1.5",
"@babel/runtime": "^7.17.0",
Expand Down Expand Up @@ -343,4 +344,4 @@
"vite-tsconfig-paths": "~4.3.2",
"vitest": "~0.32.0"
}
}
}
9 changes: 9 additions & 0 deletions theme/tsconfig.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
{
"extends": "../tsconfig.base.json",
"compilerOptions": {
"outDir": "./dist/out-tsc/theme",
"types": ["node"]
},
"include": ["**/*.ts", "**/*.tsx"],
"exclude": ["**/*.spec.ts", "**/*.test.ts", "**/*.spec.tsx", "**/*.test.tsx"]
}
2 changes: 1 addition & 1 deletion theme/types.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import type { CowProtocolTheme } from '../libs/types/src/theme'
import type { CowProtocolTheme } from '@cowprotocol/types'

declare module 'styled-components' {
export interface CowFiDefaultTheme extends CowProtocolTheme {}
Expand Down
5 changes: 5 additions & 0 deletions yarn.lock
Original file line number Diff line number Diff line change
Expand Up @@ -2466,6 +2466,11 @@
version "1.3.0"
resolved "https://codeload.github.com/cowprotocol/ethflowcontract/tar.gz/ed75d811aba0e18aa80e949cbc979d34ab7fd9ee"

"@cowprotocol/types@^1.2.0":
version "1.2.0"
resolved "https://registry.yarnpkg.com/@cowprotocol/types/-/types-1.2.0.tgz#b036c7959122118d278e67200da2aeb88d5aed09"
integrity sha512-K/jOyLtffgEFs52hRKX7tyDHtIA3asnsB9So6lINCPfNetr1GhM818+kf+f3sPtOHWsBpL3pTkjJphzDVCQntQ==

"@cspotcode/source-map-support@^0.8.0":
version "0.8.1"
resolved "https://registry.yarnpkg.com/@cspotcode/source-map-support/-/source-map-support-0.8.1.tgz#00629c35a688e05a88b1cda684fb9d5e73f000a1"
Expand Down

0 comments on commit c0a0da1

Please sign in to comment.