Skip to content

Commit ef5b856

Browse files
committed
🐛 fix: nextui typing
1 parent 1c371c0 commit ef5b856

File tree

9 files changed

+1870
-993
lines changed

9 files changed

+1870
-993
lines changed

.npmrc

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
save-exact=true

apps/server/tsconfig.json

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,8 +2,7 @@
22
"extends": "@stocker/typescript-config/base.json",
33
"compilerOptions": {
44
"paths": {
5-
"@/*": ["./src/*"],
6-
"@stocker/core/*": ["./node_modules/@stocker/core/*"]
5+
"@/*": ["./src/*"]
76
}
87
}
98
}

apps/web/package.json

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,6 @@
99
"lint": "next lint"
1010
},
1111
"dependencies": {
12-
"@nextui-org/react": "^2.4.8",
1312
"@radix-ui/react-slot": "^1.1.0",
1413
"@stocker/core": "*",
1514
"autoprefixer": "^10.4.20",

apps/web/tailwind.config.js

Lines changed: 1 addition & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -11,22 +11,5 @@ export default {
1111
extend: {},
1212
},
1313
darkMode: "class",
14-
plugins: [nextui({
15-
themes: {
16-
light: {
17-
colors: {
18-
primary: {
19-
DEFAULT: '#EF5C31',
20-
foreground: '#FAFAFA'
21-
},
22-
danger: {
23-
DEFAULT: "#E11D48"
24-
},
25-
secondary: {
26-
DEFAULT: '#18181b',
27-
},
28-
},
29-
},
30-
},
31-
})],
14+
plugins: [nextui()],
3215
}

apps/web/tsconfig.json

Lines changed: 11 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -1,19 +1,20 @@
11
{
2-
"extends": "@stocker/typescript-config/nextjs.json",
32
"compilerOptions": {
4-
"paths": {
5-
"@/*": ["./src/*"]
6-
},
3+
"target": "es6",
74
"lib": ["dom", "dom.iterable", "esnext"],
85
"allowJs": true,
6+
"skipLibCheck": true,
7+
"strict": false,
8+
"forceConsistentCasingInFileNames": true,
99
"noEmit": true,
10+
"esModuleInterop": true,
11+
"module": "esnext",
12+
"moduleResolution": "node",
13+
"resolveJsonModule": true,
14+
"isolatedModules": true,
1015
"jsx": "preserve",
11-
"plugins": [
12-
{
13-
"name": "next"
14-
}
15-
]
16+
"incremental": true
1617
},
17-
"include": ["next-env.d.ts", ".next/types/**/*.ts", "**/*.ts", "**/*.tsx"],
18+
"include": ["next-env.d.ts", "**/*.ts", "**/*.tsx"],
1819
"exclude": ["node_modules"]
1920
}

0 commit comments

Comments
 (0)