Skip to content

Commit 1b83e94

Browse files
committed
Update dependencies: NextUI > HeroUI, tailwind config, eslint
1 parent 46e75bd commit 1b83e94

43 files changed

Lines changed: 4735 additions & 3687 deletions

Some content is hidden

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

.dockerignore

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,10 @@
11
**
22

3-
!/next.config.js
3+
!/next.config.ts
44
!/package.json
55
!/src/**
66
!/tsconfig.json
77
!/yarn.lock
88
!/public
9-
!/tailwind.config.js
9+
!/tailwind.config.ts
1010
!/postcss.config.js

.eslintrc

Lines changed: 0 additions & 32 deletions
This file was deleted.

.husky/pre-commit

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,2 @@
1-
#!/bin/sh
2-
. "$(dirname "$0")/_/husky.sh"
3-
41
yarn typescript
5-
yarn lint
2+
yarn lint

.prettierrc.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ module.exports = {
1616
"",
1717
"<THIRD_PARTY_MODULES>",
1818
"",
19-
"^@(:?mui|nextui)/.*",
19+
"^@(:?mui|heroui)/.*",
2020
"",
2121
"^@hooks/.*",
2222
"",

Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ WORKDIR /app
66
COPY package.json yarn.lock ./
77

88
RUN yarn config set network-timeout 600000 -g
9-
RUN yarn install --frozen-lockfile
9+
RUN yarn install --frozen-lockfile --ignore-scripts
1010

1111
FROM $NODE_IMAGE AS builder
1212
WORKDIR /app

eslint.config.mjs

Lines changed: 39 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,39 @@
1+
import { dirname } from "path"
2+
import { fileURLToPath } from "url"
3+
4+
import { FlatCompat } from "@eslint/eslintrc"
5+
6+
const __filename = fileURLToPath(import.meta.url)
7+
const __dirname = dirname(__filename)
8+
9+
const compat = new FlatCompat({
10+
baseDirectory: __dirname,
11+
})
12+
13+
const eslintConfig = [
14+
...compat.config({
15+
plugins: ["css-modules"],
16+
rules: {
17+
"@typescript-eslint/no-non-null-assertion": 0,
18+
"@typescript-eslint/no-unused-vars": "error",
19+
"@typescript-eslint/explicit-function-return-type": "error",
20+
"padding-line-between-statements": [
21+
"error",
22+
{ blankLine: "always", prev: "*", next: "block" },
23+
{ blankLine: "always", prev: "block", next: "*" },
24+
{ blankLine: "always", prev: "*", next: "block-like" },
25+
{ blankLine: "always", prev: "block-like", next: "*" },
26+
],
27+
},
28+
ignorePatterns: ["/.next"],
29+
}),
30+
...compat.extends(
31+
"next/core-web-vitals",
32+
"next/typescript",
33+
"plugin:prettier/recommended",
34+
"plugin:css-modules/recommended",
35+
"plugin:@tanstack/eslint-plugin-query/recommended",
36+
),
37+
]
38+
39+
export default eslintConfig

next-env.d.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,4 +3,4 @@
33
/// <reference types="next/navigation-types/compat/navigation" />
44

55
// NOTE: This file should not be edited
6-
// see https://nextjs.org/docs/basic-features/typescript for more information.
6+
// see https://nextjs.org/docs/app/api-reference/config/typescript for more information.

next.config.js

Lines changed: 0 additions & 19 deletions
This file was deleted.

next.config.ts

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
import { NextConfig } from "next"
2+
3+
const config: NextConfig = {
4+
eslint: {
5+
ignoreDuringBuilds: true,
6+
},
7+
8+
output: "standalone",
9+
}
10+
11+
export default config

package.json

Lines changed: 39 additions & 38 deletions
Original file line numberDiff line numberDiff line change
@@ -7,51 +7,52 @@
77
"typescript": "tsc --noEmit --skipLibCheck true",
88
"build": "next build",
99
"export": "next export",
10-
"dev": "next dev",
10+
"dev": "next dev --turbo",
1111
"start": "next start",
1212
"lint": "eslint .",
13-
"prepare": "husky install"
13+
"postinstall": "husky"
1414
},
1515
"keywords": [],
1616
"author": "",
1717
"license": "ISC",
18-
"dependencies": {},
18+
"dependencies": {
19+
"@heroui/codemod": "^1.3.0"
20+
},
1921
"devDependencies": {
20-
"@ianvs/prettier-plugin-sort-imports": "^4.2.1",
21-
"@nextui-org/react": "^2.2.10",
22-
"@nextui-org/theme": "^2.1.18",
23-
"@tanstack/eslint-plugin-query": "^5.27.7",
24-
"@tanstack/react-query": "^5.28.4",
25-
"@trpc/client": "^11.0.0-next-beta.318",
26-
"@trpc/next": "^11.0.0-next-beta.318",
27-
"@trpc/react-query": "^11.0.0-next-beta.318",
28-
"@trpc/server": "^11.0.0-next-beta.318",
29-
"@types/node": "^20.11.28",
30-
"@types/react": "^18.2.66",
31-
"@typescript-eslint/eslint-plugin": "^7.2.0",
32-
"@typescript-eslint/parser": "^7.2.0",
33-
"autoprefixer": "^10.4.18",
34-
"eslint": "^8.57.0",
35-
"eslint-config-next": "^14.1.3",
36-
"eslint-config-prettier": "^9.1.0",
22+
"@heroui/react": "https://pkg.pr.new/@heroui/react@4656",
23+
"@ianvs/prettier-plugin-sort-imports": "^4.4.1",
24+
"@tailwindcss/postcss": "^4.0.9",
25+
"@tanstack/eslint-plugin-query": "^5.66.1",
26+
"@tanstack/react-query": "^5.67.1",
27+
"@trpc/client": "^11.0.0-rc.824",
28+
"@trpc/next": "^11.0.0-rc.824",
29+
"@trpc/react-query": "^11.0.0-rc.824",
30+
"@trpc/server": "^11.0.0-rc.824",
31+
"@types/node": "^22.13.9",
32+
"@types/react": "^19.0.10",
33+
"@typescript-eslint/eslint-plugin": "^8.26.0",
34+
"@typescript-eslint/parser": "^8.26.0",
35+
"eslint": "^9.21.0",
36+
"eslint-config-next": "^15.2.1",
37+
"eslint-config-prettier": "^10.0.2",
3738
"eslint-plugin-css-modules": "^2.12.0",
38-
"eslint-plugin-import": "^2.29.1",
39-
"eslint-plugin-prettier": "^5.1.3",
40-
"framer-motion": "^11.0.14",
41-
"got": "^13.0.0",
42-
"husky": "^9.0.11",
43-
"next": "^14.1.3",
44-
"postcss": "^8.4.36",
45-
"prettier": "^3.2.5",
46-
"react": "^18.2.0",
47-
"react-dom": "^18.2.0",
48-
"react-icons": "^5.0.1",
49-
"sass": "^1.72.0",
50-
"superjson": "^2.2.1",
51-
"tailwindcss": "^3.4.1",
52-
"typescript": "^5.4.2",
53-
"use-debounce": "^10.0.0",
54-
"use-local-storage-state": "^19.1.0",
55-
"zod": "^3.22.4"
39+
"eslint-plugin-import": "^2.31.0",
40+
"eslint-plugin-prettier": "^5.2.3",
41+
"framer-motion": "^12.4.10",
42+
"got": "^14.4.6",
43+
"husky": "^9.1.7",
44+
"next": "^15.2.1",
45+
"postcss": "^8.5.3",
46+
"prettier": "^3.5.3",
47+
"react": "^19.0.0",
48+
"react-dom": "^19.0.0",
49+
"react-icons": "^5.5.0",
50+
"sass": "^1.85.1",
51+
"superjson": "^2.2.2",
52+
"tailwindcss": "^4.0.9",
53+
"typescript": "^5.8.2",
54+
"use-debounce": "^10.0.4",
55+
"use-local-storage-state": "^19.5.0",
56+
"zod": "^3.24.2"
5657
}
5758
}

0 commit comments

Comments
 (0)