@farmzone/fz-template-react 1.0.3 → 1.0.4
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/package.json +1 -1
- package/template/.env.example +5 -5
- package/template/package.json +55 -55
- package/template/pnpm-lock.yaml +4214 -4214
- package/template/public/mockServiceWorker.js +349 -349
- package/template/src/app/api/api.ts +178 -178
- package/template/src/app/api/queries.ts +321 -321
- package/template/src/app/api/queryKey.ts +7 -7
- package/template/src/app/api/token.ts +7 -7
- package/template/src/app/layout/Layout.tsx +33 -33
- package/template/src/app/layout/ListContents.tsx +9 -9
- package/template/src/app/layout/ListHeader.tsx +41 -41
- package/template/src/app/layout/MultiTabNav.tsx +101 -101
- package/template/src/app/layout/Sidebar.tsx +33 -33
- package/template/src/app/layout/UserInfo.tsx +94 -94
- package/template/src/app/layout/tabSwitchStore.ts +11 -11
- package/template/src/app/router/Router.tsx +56 -56
- package/template/src/app/store/index.ts +26 -26
- package/template/src/index.tsx +21 -21
- package/template/src/mocks/browser.ts +17 -17
- package/template/src/mocks/handlers.ts +43 -43
- package/template/src/mocks/scenarios.ts +57 -57
- package/template/src/pages/dashboard/index.tsx +541 -541
- package/template/src/pages/error/Error.tsx +29 -29
- package/template/src/pages/error/NotFound.tsx +27 -27
- package/template/src/pages/login/index.tsx +317 -317
- package/template/src/pages/post/PostFormModal.tsx +128 -128
- package/template/src/pages/post/detail/index.tsx +548 -548
- package/template/src/pages/post/index.tsx +267 -267
- package/template/src/pages/sample/SampleFormModal.tsx +77 -77
- package/template/src/pages/sample/detail/index.tsx +424 -424
- package/template/src/pages/sample/index.tsx +269 -269
- package/template/src/pages/sample/modal/index.tsx +253 -253
- package/template/src/pages/system/log/index.tsx +173 -173
- package/template/src/pages/user/config/columns.tsx +109 -109
- package/template/src/pages/user/config/schema.ts +54 -54
- package/template/src/pages/user/index.tsx +641 -641
- package/template/src/shared/components/CommentInput.tsx +243 -243
- package/template/src/shared/config/text.ts +27 -27
- package/template/src/shared/utils/format.ts +11 -11
- package/template/src/types/auth.ts +10 -10
- package/template/src/types/comment.ts +33 -33
- package/template/src/types/common.ts +19 -19
- package/template/src/types/dashboard.ts +53 -53
- package/template/src/types/index.ts +16 -16
- package/template/src/types/log.ts +21 -21
- package/template/src/types/post.ts +32 -32
- package/template/src/types/sample.ts +28 -28
- package/template/src/types/user.ts +51 -51
- package/template/src/vite-env.d.ts +10 -10
package/package.json
CHANGED
package/template/.env.example
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
# API 서버 호스트 (예: http://localhost:8080)
|
|
2
|
-
VITE_APP_API_HOST=http://localhost:8080
|
|
3
|
-
|
|
4
|
-
# API 버전 (예: v1)
|
|
5
|
-
VITE_APP_API_VERSION=v1
|
|
1
|
+
# API 서버 호스트 (예: http://localhost:8080)
|
|
2
|
+
VITE_APP_API_HOST=http://localhost:8080
|
|
3
|
+
|
|
4
|
+
# API 버전 (예: v1)
|
|
5
|
+
VITE_APP_API_VERSION=v1
|
package/template/package.json
CHANGED
|
@@ -1,55 +1,55 @@
|
|
|
1
|
-
{
|
|
2
|
-
"name": "__PROJECT_NAME__",
|
|
3
|
-
"private": true,
|
|
4
|
-
"version": "1.0.
|
|
5
|
-
"type": "module",
|
|
6
|
-
"scripts": {
|
|
7
|
-
"dev": "vite --host 0.0.0.0 --port 5000",
|
|
8
|
-
"build": "tsc -b && vite build",
|
|
9
|
-
"lint": "eslint .",
|
|
10
|
-
"preview": "vite preview"
|
|
11
|
-
},
|
|
12
|
-
"dependencies": {
|
|
13
|
-
"@farmzone/fz-react-ui": "^0.0.6",
|
|
14
|
-
"@hookform/resolvers": "^5.2.2",
|
|
15
|
-
"@tanstack/react-query": "^5.90.0",
|
|
16
|
-
"axios": "^1.13.0",
|
|
17
|
-
"dayjs": "^1.11.21",
|
|
18
|
-
"es-toolkit": "^1.47.0",
|
|
19
|
-
"js-cookie": "^3.0.8",
|
|
20
|
-
"lucide-react": "^1.16.0",
|
|
21
|
-
"react": "^19.0.0",
|
|
22
|
-
"react-daum-postcode": "^4.0.0",
|
|
23
|
-
"react-dom": "^19.0.0",
|
|
24
|
-
"react-hook-form": "^7.68.0",
|
|
25
|
-
"react-router": "^7.11.0",
|
|
26
|
-
"uuid": "^14.0.0",
|
|
27
|
-
"zod": "^3.25.0",
|
|
28
|
-
"zustand": "^5.0.14"
|
|
29
|
-
},
|
|
30
|
-
"devDependencies": {
|
|
31
|
-
"@eslint/js": "^9.0.0",
|
|
32
|
-
"@tailwindcss/vite": "^4.1.0",
|
|
33
|
-
"@types/js-cookie": "^3.0.6",
|
|
34
|
-
"@types/node": "^22.0.0",
|
|
35
|
-
"@types/react": "^19.0.0",
|
|
36
|
-
"@types/react-dom": "^19.0.0",
|
|
37
|
-
"@types/uuid": "^11.0.0",
|
|
38
|
-
"@vitejs/plugin-react": "^5.1.0",
|
|
39
|
-
"eslint": "^9.0.0",
|
|
40
|
-
"eslint-plugin-react-hooks": "^5.0.0",
|
|
41
|
-
"eslint-plugin-react-refresh": "^0.4.0",
|
|
42
|
-
"globals": "^16.0.0",
|
|
43
|
-
"msw": "^2.14.6",
|
|
44
|
-
"tailwindcss": "^4.0.0",
|
|
45
|
-
"tw-animate-css": "^1.0.0",
|
|
46
|
-
"typescript": "~5.9.0",
|
|
47
|
-
"typescript-eslint": "^8.0.0",
|
|
48
|
-
"vite": "^7.0.0"
|
|
49
|
-
},
|
|
50
|
-
"msw": {
|
|
51
|
-
"workerDirectory": [
|
|
52
|
-
"public"
|
|
53
|
-
]
|
|
54
|
-
}
|
|
55
|
-
}
|
|
1
|
+
{
|
|
2
|
+
"name": "__PROJECT_NAME__",
|
|
3
|
+
"private": true,
|
|
4
|
+
"version": "1.0.4",
|
|
5
|
+
"type": "module",
|
|
6
|
+
"scripts": {
|
|
7
|
+
"dev": "vite --host 0.0.0.0 --port 5000",
|
|
8
|
+
"build": "tsc -b && vite build",
|
|
9
|
+
"lint": "eslint .",
|
|
10
|
+
"preview": "vite preview"
|
|
11
|
+
},
|
|
12
|
+
"dependencies": {
|
|
13
|
+
"@farmzone/fz-react-ui": "^0.0.6",
|
|
14
|
+
"@hookform/resolvers": "^5.2.2",
|
|
15
|
+
"@tanstack/react-query": "^5.90.0",
|
|
16
|
+
"axios": "^1.13.0",
|
|
17
|
+
"dayjs": "^1.11.21",
|
|
18
|
+
"es-toolkit": "^1.47.0",
|
|
19
|
+
"js-cookie": "^3.0.8",
|
|
20
|
+
"lucide-react": "^1.16.0",
|
|
21
|
+
"react": "^19.0.0",
|
|
22
|
+
"react-daum-postcode": "^4.0.0",
|
|
23
|
+
"react-dom": "^19.0.0",
|
|
24
|
+
"react-hook-form": "^7.68.0",
|
|
25
|
+
"react-router": "^7.11.0",
|
|
26
|
+
"uuid": "^14.0.0",
|
|
27
|
+
"zod": "^3.25.0",
|
|
28
|
+
"zustand": "^5.0.14"
|
|
29
|
+
},
|
|
30
|
+
"devDependencies": {
|
|
31
|
+
"@eslint/js": "^9.0.0",
|
|
32
|
+
"@tailwindcss/vite": "^4.1.0",
|
|
33
|
+
"@types/js-cookie": "^3.0.6",
|
|
34
|
+
"@types/node": "^22.0.0",
|
|
35
|
+
"@types/react": "^19.0.0",
|
|
36
|
+
"@types/react-dom": "^19.0.0",
|
|
37
|
+
"@types/uuid": "^11.0.0",
|
|
38
|
+
"@vitejs/plugin-react": "^5.1.0",
|
|
39
|
+
"eslint": "^9.0.0",
|
|
40
|
+
"eslint-plugin-react-hooks": "^5.0.0",
|
|
41
|
+
"eslint-plugin-react-refresh": "^0.4.0",
|
|
42
|
+
"globals": "^16.0.0",
|
|
43
|
+
"msw": "^2.14.6",
|
|
44
|
+
"tailwindcss": "^4.0.0",
|
|
45
|
+
"tw-animate-css": "^1.0.0",
|
|
46
|
+
"typescript": "~5.9.0",
|
|
47
|
+
"typescript-eslint": "^8.0.0",
|
|
48
|
+
"vite": "^7.0.0"
|
|
49
|
+
},
|
|
50
|
+
"msw": {
|
|
51
|
+
"workerDirectory": [
|
|
52
|
+
"public"
|
|
53
|
+
]
|
|
54
|
+
}
|
|
55
|
+
}
|