Skip to content

Commit fc7a74c

Browse files
committed
feat: update packages for ts, tailwind and ui
1 parent 575b2b7 commit fc7a74c

File tree

27 files changed

+565
-165
lines changed

27 files changed

+565
-165
lines changed

apps/blog/tailwind.config.ts

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,4 @@
1-
import presets from "../../packages/tailwind-config/tailwind-presets";
2-
31
/** @type {import('tailwindcss').Config} */
42
module.exports = {
5-
presets: [presets],
3+
presets: [require("@repo/tailwind-config/tailwind-presets")],
64
};

apps/blog/tsconfig.json

Lines changed: 2 additions & 20 deletions
Original file line numberDiff line numberDiff line change
@@ -1,23 +1,6 @@
11
{
2+
"extends": "@repo/typescript-config/tsconfig.nextjs.json",
23
"compilerOptions": {
3-
"target": "es2016",
4-
"lib": [
5-
"dom",
6-
"dom.iterable",
7-
"esnext"
8-
],
9-
"strictNullChecks": true,
10-
"allowJs": true,
11-
"skipLibCheck": true,
12-
"strict": true,
13-
"noEmit": true,
14-
"esModuleInterop": true,
15-
"module": "esnext",
16-
"moduleResolution": "bundler",
17-
"resolveJsonModule": true,
18-
"isolatedModules": true,
19-
"jsx": "preserve",
20-
"incremental": true,
214
"plugins": [
225
{
236
"name": "next"
@@ -34,8 +17,7 @@
3417
"**/*.ts",
3518
"**/*.tsx",
3619
".next/types/**/*.ts",
37-
"src/functions/blockies.js"
38-
],
20+
],
3921
"exclude": [
4022
"node_modules"
4123
]

apps/exchange/app/[locale]/page.tsx

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,11 @@
11
"use client";
22

3+
import Button from "@repo/ui/button";
4+
35
import Container from "@/components/atoms/Container";
46
import Switch from "@/components/atoms/Switch";
57
import TextField from "@/components/atoms/TextField";
68
import Tooltip from "@/components/atoms/Tooltip";
7-
import Button from "@/components/buttons/Button";
89
import SwapButton from "@/components/buttons/SwapButton";
910
import TokenInput from "@/components/common/TokenInput";
1011
import Tab from "@/components/tabs/Tab";
@@ -46,7 +47,7 @@ export default function ExchangePage() {
4647
<Tooltip text="Tooltip text" />
4748
</span>
4849
</div>
49-
<div className="mb-3 ">
50+
<div className="mb-3">
5051
<TextField label="The recepient's Ethereum wallet address" placeholder="0x..." />
5152
</div>
5253

apps/exchange/package.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -65,6 +65,7 @@
6565
"zustand": "^4.5.5"
6666
},
6767
"devDependencies": {
68+
"@repo/typescript-config": "*",
6869
"@chromatic-com/storybook": "^1.3.3",
6970
"@savvywombat/tailwindcss-grid-areas": "^4.0.0",
7071
"@storybook/addon-essentials": "^8.3.6",

apps/exchange/tailwind.config.ts

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,4 @@
1-
import presets from "../../packages/tailwind-config/tailwind-presets";
2-
31
/** @type {import('tailwindcss').Config} */
42
module.exports = {
5-
presets: [presets],
3+
presets: [require("@repo/tailwind-config/tailwind-presets")],
64
};

apps/exchange/tsconfig.json

Lines changed: 2 additions & 20 deletions
Original file line numberDiff line numberDiff line change
@@ -1,23 +1,6 @@
11
{
2+
"extends": "@repo/typescript-config/tsconfig.nextjs.json",
23
"compilerOptions": {
3-
"target": "es2016",
4-
"lib": [
5-
"dom",
6-
"dom.iterable",
7-
"esnext"
8-
],
9-
"strictNullChecks": true,
10-
"allowJs": true,
11-
"skipLibCheck": true,
12-
"strict": true,
13-
"noEmit": true,
14-
"esModuleInterop": true,
15-
"module": "esnext",
16-
"moduleResolution": "bundler",
17-
"resolveJsonModule": true,
18-
"isolatedModules": true,
19-
"jsx": "preserve",
20-
"incremental": true,
214
"plugins": [
225
{
236
"name": "next"
@@ -34,8 +17,7 @@
3417
"**/*.ts",
3518
"**/*.tsx",
3619
".next/types/**/*.ts",
37-
"src/functions/blockies.js"
38-
],
20+
],
3921
"exclude": [
4022
"node_modules"
4123
]

apps/web/.turbo/turbo-build.log

Lines changed: 14 additions & 94 deletions
Original file line numberDiff line numberDiff line change
@@ -3,97 +3,17 @@
33
▲ Next.js 15.1.2
44

55
  Creating an optimized production build ...
6-
✓ Compiled successfully
7-
  Linting and checking validity of types .[?25l   Linting and checking validity of types ..   Linting and checking validity of types ...   Linting and checking validity of types .   Linting and checking validity of types ..   Linting and checking validity of types ...
8-
./app/[locale]/add/hooks/useLiquidityApprove.tsx
9-
296:5 Warning: React Hook useCallback has a missing dependency: 'handleApprove1'. Either include it or remove the dependency array. react-hooks/exhaustive-deps./app/[locale]/remove/[tokenId]/hooks/useRemoveLiquidity.ts
10-
207:6 Warning: React Hook useCallback has a missing dependency: 'setRefreshDepositsTrigger'. Either include it or remove the dependency array. react-hooks/exhaustive-deps./components/manage-tokens/ImportListWithContract.tsx
11-
124:15 Warning: Using `<img>` could result in slower LCP and higher bandwidth. Consider using `<Image />` from `next/image` to automatically optimize images. This may incur additional usage or cost from your provider. See: https://nextjs.org/docs/messages/no-img-element @next/next/no-img-element./components/manage-tokens/ImportListWithJSON.tsx[?25h
12-
201:15 Warning: Using `<img>` could result in slower LCP and higher bandwidth. Consider using `<Image />` from `next/image` to automatically optimize images. This may incur additional usage or cost from your provider. See: https://nextjs.org/docs/messages/no-img-element
13-

14-
@next/next/no-img-element
15-
16-
./components/manage-tokens/ImportListWithURL.tsx
17-
97:15 Warning: Using `<img>` could result in slower LCP and higher bandwidth. Consider using `<Image />` from `next/image` to automatically optimize images. This may incur additional usage or cost from your provider. See: https://nextjs.org/docs/messages/no-img-element
18-
 @next/next/no-img-element
19-
20-
./components/manage-tokens/ImportToken.tsx
21-
245:19 Warning: Using `<img>` could result in slower LCP and higher bandwidth. Consider using `<Image />` from `next/image` to automatically optimize images. This may incur additional usage or cost from your provider. See: https://nextjs.org/docs/messages/no-img-element
22-

23-
@next/next/no-img-element
24-
25-
info - Need to disable some ESLint rules? Learn more here: https://nextjs.org/docs/app/api-reference/config/eslint#disabling-rules
26-
.[?25l ..  ...  .  ..  ...  .  ..  ...  .  ..  ...  .  ..  ...  .  .. ...  .  ..  ...  .  ..  ...  .  ..  ...  .  ..  ...  .  .. ...  .  ..  ...  .  ..  ...  .  ..  ...  ✓ Linting and checking validity of types [?25h
27-
  Collecting page data .[?25l   Collecting page data ..   Collecting page data ...   Collecting page data .   Collecting page data ..(node:15596) [DEP0040] DeprecationWarning: The `punycode` module is deprecated. Please use a userland alternative instead.
28-
(Use `node --trace-deprecation ...` to show where the warning was created)
29-
 ✓ Collecting page data[?25h
30-
(node:28016) [DEP0040] DeprecationWarning: The `punycode` module is deprecated. Please use a userland alternative instead.
31-
(Use `node --trace-deprecation ...` to show where the warning was created)
32-
(node:9768) [DEP0040] DeprecationWarning: The `punycode` module is deprecated. Please use a userland alternative instead.
33-
(Use `node --trace-deprecation ...` to show where the warning was created)
34-
(node:24656) [DEP0040] DeprecationWarning: The `punycode` module is deprecated. Please use a userland alternative instead.
35-
(Use `node --trace-deprecation ...` to show where the warning was created)
36-
(node:14860) [DEP0040] DeprecationWarning: The `punycode` module is deprecated. Please use a userland alternative instead.
37-
(Use `node --trace-deprecation ...` to show where the warning was created)
38-
(node:36168) [DEP0040] DeprecationWarning: The `punycode` module is deprecated. Please use a userland alternative instead.
39-
(Use `node --trace-deprecation ...` to show where the warning was created)
40-
(node:34228) [DEP0040] DeprecationWarning: The `punycode` module is deprecated. Please use a userland alternative instead.
41-
(Use `node --trace-deprecation ...` to show where the warning was created)
42-
(node:36608) [DEP0040] DeprecationWarning: The `punycode` module is deprecated. Please use a userland alternative instead.
43-
(Use `node --trace-deprecation ...` to show where the warning was created)
44-
(node:8328) [DEP0040] DeprecationWarning: The `punycode` module is deprecated. Please use a userland alternative instead.
45-
(Use `node --trace-deprecation ...` to show where the warning was created)
46-
(node:15296) [DEP0040] DeprecationWarning: The `punycode` module is deprecated. Please use a userland alternative instead.
47-
(Use `node --trace-deprecation ...` to show where the warning was created)
48-
(node:30792) [DEP0040] DeprecationWarning: The `punycode` module is deprecated. Please use a userland alternative instead.
49-
(Use `node --trace-deprecation ...` to show where the warning was created)
50-
(node:2892) [DEP0040] DeprecationWarning: The `punycode` module is deprecated. Please use a userland alternative instead.
51-
(Use `node --trace-deprecation ...` to show where the warning was created)
52-
(node:2652) [DEP0040] DeprecationWarning: The `punycode` module is deprecated. Please use a userland alternative instead.
53-
(Use `node --trace-deprecation ...` to show where the warning was created)
54-
(node:23096) [DEP0040] DeprecationWarning: The `punycode` module is deprecated. Please use a userland alternative instead.
55-
(Use `node --trace-deprecation ...` to show where the warning was created)
56-
(node:10872) [DEP0040] DeprecationWarning: The `punycode` module is deprecated. Please use a userland alternative instead.
57-
(Use `node --trace-deprecation ...` to show where the warning was created)
58-
(node:17636) [DEP0040] DeprecationWarning: The `punycode` module is deprecated. Please use a userland alternative instead.
59-
(Use `node --trace-deprecation ...` to show where the warning was created)
60-
(node:21600) [DEP0040] DeprecationWarning: The `punycode` module is deprecated. Please use a userland alternative instead.
61-
(Use `node --trace-deprecation ...` to show where the warning was created)
62-
[?25l   Generating static pages (0/4) [ ]   Generating static pages (0/4) [= ]   Generating static pages (0/4) [== ](node:23464) [DEP0040] DeprecationWarning: The `punycode` module is deprecated. Please use a userland alternative instead.[?25h
63-
(Use `node --trace-deprecation ...` to show where the warning was created)
64-
✓ Generating static pages (4/4)
65-
[?25l   Finalizing page optimization .   Collecting build traces .   Collecting build traces ..   Collecting build traces ...   Collecting build traces .   Collecting build traces ..   Collecting build traces ...   Collecting build traces .   Collecting build traces ..   Collecting build traces ...   Collecting build traces .   Collecting build traces .. ✓ Collecting build traces [?25h
66-
✓ Finalizing page optimization
67-
68-
Route (app)Size First Load JS
69-
┌ ƒ /_not-found 989 B107 kB
70-
├ ƒ /[locale] 156 B106 kB
71-
├ ƒ /[locale]/add 41.3 kB521 kB
72-
├ ƒ /[locale]/borrow-market 16.9 kB186 kB
73-
├ ƒ /[locale]/increase/[tokenId] 5.08 kB474 kB
74-
├ ƒ /[locale]/pool/[tokenId] 11.5 kB454 kB
75-
├ ƒ /[locale]/pools 9.85 kB344 kB
76-
├ ƒ /[locale]/pools/[chainId]/[poolAddress] 8.18 kB293 kB
77-
├ ƒ /[locale]/pools/positions 8.83 kB354 kB
78-
├ ƒ /[locale]/portfolio 28.8 kB472 kB
79-
├ ƒ /[locale]/remove/[tokenId] 11.8 kB452 kB
80-
├ ƒ /[locale]/requests 1.99 kB169 kB
81-
├ ƒ /[locale]/swap 19.9 kB474 kB
82-
├ ƒ /[locale]/token-listing 2.93 kB129 kB
83-
├ ƒ /[locale]/token-listing/add 12.6 kB566 kB
84-
├ ƒ /[locale]/token-listing/contracts 8.93 kB220 kB
85-
├ ƒ /[locale]/token-listing/contracts/[address] 7.41 kB414 kB
86-
└ ○ /sitemap.xml 0 B0 B
87-
+ First Load JS shared by all106 kB
88-
├ chunks/2855-3880840d76510b8a.js 50.6 kB
89-
├ chunks/87c73c54-72e651dd73722bfa.js 53 kB
90-
└ other shared chunks (total) 2.39 kB
91-
92-
93-
ƒ Middleware86.2 kB
94-
95-
○ (Static) prerendered as static content
96-
ƒ (Dynamic) server-rendered on demand
97-
98-
Done in 26.11s.
99-
[?9001l[?1004l
6+
(node:34900) [DEP0040] DeprecationWarning: The `punycode` module is deprecated. Please use a userland alternative instead.
7+
(Use `node --trace-deprecation ...` to show where the warning was created)
8+
[?25lnode:internal/process/per_thread:223
9+
throw new ErrnoException(err, 'kill');
10+
^Error: kill ENOSYS
11+
at process.kill (node:internal/process/per_thread:223:13)
12+
at process.listener (C:\Users\vrper\AppData\Roaming\npm\node_modules\yarn\lib\cli.js:76945:15)[?25h
13+
 at process.emit (node:events:524:28) {
14+
errno: -4054,
15+
code: 'ENOSYS',
16+
syscall: 'kill'
17+
}
18+
19+
Node.js v22.12.0[?9001l[?1004l

apps/web/components/atoms/Tooltip.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ import {
1717
useTransitionStyles,
1818
VirtualElement,
1919
} from "@floating-ui/react";
20-
import React, { HTMLProps, LegacyRef, ReactNode, RefObject, useRef, useState } from "react";
20+
import React, { useRef, useState } from "react";
2121

2222
import Svg from "@/components/atoms/Svg";
2323

apps/web/package.json

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -65,6 +65,8 @@
6565
"zustand": "^4.5.5"
6666
},
6767
"devDependencies": {
68+
"@repo/tailwind-config": "*",
69+
"@repo/typescript-config": "*",
6870
"@chromatic-com/storybook": "^1.3.3",
6971
"@savvywombat/tailwindcss-grid-areas": "^4.0.0",
7072
"@storybook/addon-essentials": "^8.3.6",

apps/web/tailwind.config.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
11
/** @type {import('tailwindcss').Config} */
22
module.exports = {
3-
presets: [require("../../packages/tailwind-config/tailwind-presets")],
3+
presets: [require("@repo/tailwind-config/tailwind-presets")],
44
};

0 commit comments

Comments
 (0)