2023-04-22 20:39:27 +08:00
|
|
|
{
|
|
|
|
|
"name": "react-template",
|
|
|
|
|
"version": "0.1.0",
|
|
|
|
|
"private": true,
|
2024-03-23 19:09:09 +08:00
|
|
|
"type": "module",
|
2023-04-22 20:39:27 +08:00
|
|
|
"dependencies": {
|
2024-09-26 00:59:09 +08:00
|
|
|
"@douyinfe/semi-icons": "^2.63.1",
|
2024-12-11 18:27:30 +08:00
|
|
|
"@douyinfe/semi-ui": "^2.69.1",
|
2025-05-20 00:23:47 +08:00
|
|
|
"@lobehub/icons": "^2.0.0",
|
2024-01-20 00:13:18 +08:00
|
|
|
"@visactor/react-vchart": "~1.8.8",
|
2024-03-02 17:15:52 +08:00
|
|
|
"@visactor/vchart": "~1.8.8",
|
2024-01-20 00:13:18 +08:00
|
|
|
"@visactor/vchart-semi-theme": "~1.8.8",
|
2023-04-22 20:39:27 +08:00
|
|
|
"axios": "^0.27.2",
|
✨ feat(markdown): replace Semi UI MarkdownRender with react-markdown for enhanced rendering
- Replace Semi UI's MarkdownRender with react-markdown library for better performance and features
- Add comprehensive markdown rendering support including:
* Math formulas with KaTeX
* Code syntax highlighting with rehype-highlight
* Mermaid diagrams support
* GitHub Flavored Markdown (tables, task lists, etc.)
* HTML preview for code blocks
* Media file support (audio/video)
- Create new MarkdownRenderer component with enhanced features:
* Copy code button with hover effects
* Code folding for long code blocks
* Responsive design for mobile devices
- Add white text styling for user messages to improve readability on blue backgrounds
- Update all components using markdown rendering:
* MessageContent.js - playground chat messages
* About/index.js - about page content
* Home/index.js - home page content
* NoticeModal.js - system notice modal
* OtherSetting.js - settings page
- Install new dependencies: react-markdown, remark-math, remark-breaks, remark-gfm,
rehype-katex, rehype-highlight, katex, mermaid, use-debounce, clsx
- Add comprehensive CSS styles in markdown.css for better theming and user experience
- Remove unused imports and optimize component imports
Breaking changes: None - maintains backward compatibility with existing markdown content
2025-05-31 02:26:23 +08:00
|
|
|
"clsx": "^2.1.1",
|
♻️refactor: Completely redesign TopUp page with modern card-based UI and enhanced UX
- Replace simple form layout with sophisticated card-based design system
- Implement bank card-style wallet display with gradient backgrounds and decorative elements
- Integrate real user data from UserContext (username, quota, usage stats, user role, group)
- Add personalized color schemes using stringToColor for unique user identification
- Implement comprehensive responsive design for mobile, tablet, and desktop devices
- Add skeleton loading states for all data-dependent components and API calls
- Replace basic Input with InputNumber component for amount input with built-in validation (min: 1)
- Add official brand icons for payment methods (Alipay, WeChat) using react-icons/si
- Integrate Semi UI Banner component for better warning notifications
- Implement real-time data synchronization between local state and UserContext
- Add sophisticated loading states with proper error handling and user feedback
- Clean up all code comments and remove unused imports, functions, and state variables
- Enhance visual hierarchy with proper spacing, shadows, and modern typography
- Add glass-morphism effects and backdrop filters for premium visual experience
- Improve accessibility with proper text truncation and responsive font sizing
This update transforms the TopUp page from a basic form into a professional,
modern payment interface that provides excellent user experience across all devices
while maintaining full functionality and adding comprehensive data validation.
2025-05-23 19:31:36 +08:00
|
|
|
"country-flag-icons": "^1.5.19",
|
2024-05-11 14:06:32 +08:00
|
|
|
"dayjs": "^1.11.11",
|
2023-04-22 20:39:27 +08:00
|
|
|
"history": "^5.3.0",
|
2025-05-06 01:36:23 +08:00
|
|
|
"i18next": "^23.16.8",
|
|
|
|
|
"i18next-browser-languagedetector": "^7.2.0",
|
✨ feat(markdown): replace Semi UI MarkdownRender with react-markdown for enhanced rendering
- Replace Semi UI's MarkdownRender with react-markdown library for better performance and features
- Add comprehensive markdown rendering support including:
* Math formulas with KaTeX
* Code syntax highlighting with rehype-highlight
* Mermaid diagrams support
* GitHub Flavored Markdown (tables, task lists, etc.)
* HTML preview for code blocks
* Media file support (audio/video)
- Create new MarkdownRenderer component with enhanced features:
* Copy code button with hover effects
* Code folding for long code blocks
* Responsive design for mobile devices
- Add white text styling for user messages to improve readability on blue backgrounds
- Update all components using markdown rendering:
* MessageContent.js - playground chat messages
* About/index.js - about page content
* Home/index.js - home page content
* NoticeModal.js - system notice modal
* OtherSetting.js - settings page
- Install new dependencies: react-markdown, remark-math, remark-breaks, remark-gfm,
rehype-katex, rehype-highlight, katex, mermaid, use-debounce, clsx
- Add comprehensive CSS styles in markdown.css for better theming and user experience
- Remove unused imports and optimize component imports
Breaking changes: None - maintains backward compatibility with existing markdown content
2025-05-31 02:26:23 +08:00
|
|
|
"katex": "^0.16.22",
|
♻️refactor: Completely redesign TopUp page with modern card-based UI and enhanced UX
- Replace simple form layout with sophisticated card-based design system
- Implement bank card-style wallet display with gradient backgrounds and decorative elements
- Integrate real user data from UserContext (username, quota, usage stats, user role, group)
- Add personalized color schemes using stringToColor for unique user identification
- Implement comprehensive responsive design for mobile, tablet, and desktop devices
- Add skeleton loading states for all data-dependent components and API calls
- Replace basic Input with InputNumber component for amount input with built-in validation (min: 1)
- Add official brand icons for payment methods (Alipay, WeChat) using react-icons/si
- Integrate Semi UI Banner component for better warning notifications
- Implement real-time data synchronization between local state and UserContext
- Add sophisticated loading states with proper error handling and user feedback
- Clean up all code comments and remove unused imports, functions, and state variables
- Enhance visual hierarchy with proper spacing, shadows, and modern typography
- Add glass-morphism effects and backdrop filters for premium visual experience
- Improve accessibility with proper text truncation and responsive font sizing
This update transforms the TopUp page from a basic form into a professional,
modern payment interface that provides excellent user experience across all devices
while maintaining full functionality and adding comprehensive data validation.
2025-05-23 19:31:36 +08:00
|
|
|
"lucide-react": "^0.511.0",
|
2023-04-22 20:39:27 +08:00
|
|
|
"marked": "^4.1.1",
|
✨ feat(markdown): replace Semi UI MarkdownRender with react-markdown for enhanced rendering
- Replace Semi UI's MarkdownRender with react-markdown library for better performance and features
- Add comprehensive markdown rendering support including:
* Math formulas with KaTeX
* Code syntax highlighting with rehype-highlight
* Mermaid diagrams support
* GitHub Flavored Markdown (tables, task lists, etc.)
* HTML preview for code blocks
* Media file support (audio/video)
- Create new MarkdownRenderer component with enhanced features:
* Copy code button with hover effects
* Code folding for long code blocks
* Responsive design for mobile devices
- Add white text styling for user messages to improve readability on blue backgrounds
- Update all components using markdown rendering:
* MessageContent.js - playground chat messages
* About/index.js - about page content
* Home/index.js - home page content
* NoticeModal.js - system notice modal
* OtherSetting.js - settings page
- Install new dependencies: react-markdown, remark-math, remark-breaks, remark-gfm,
rehype-katex, rehype-highlight, katex, mermaid, use-debounce, clsx
- Add comprehensive CSS styles in markdown.css for better theming and user experience
- Remove unused imports and optimize component imports
Breaking changes: None - maintains backward compatibility with existing markdown content
2025-05-31 02:26:23 +08:00
|
|
|
"mermaid": "^11.6.0",
|
2023-04-22 20:39:27 +08:00
|
|
|
"react": "^18.2.0",
|
|
|
|
|
"react-dom": "^18.2.0",
|
|
|
|
|
"react-dropzone": "^14.2.3",
|
2023-12-27 18:04:02 +08:00
|
|
|
"react-fireworks": "^1.0.4",
|
2025-05-06 01:36:23 +08:00
|
|
|
"react-i18next": "^13.0.0",
|
♻️refactor: Completely redesign TopUp page with modern card-based UI and enhanced UX
- Replace simple form layout with sophisticated card-based design system
- Implement bank card-style wallet display with gradient backgrounds and decorative elements
- Integrate real user data from UserContext (username, quota, usage stats, user role, group)
- Add personalized color schemes using stringToColor for unique user identification
- Implement comprehensive responsive design for mobile, tablet, and desktop devices
- Add skeleton loading states for all data-dependent components and API calls
- Replace basic Input with InputNumber component for amount input with built-in validation (min: 1)
- Add official brand icons for payment methods (Alipay, WeChat) using react-icons/si
- Integrate Semi UI Banner component for better warning notifications
- Implement real-time data synchronization between local state and UserContext
- Add sophisticated loading states with proper error handling and user feedback
- Clean up all code comments and remove unused imports, functions, and state variables
- Enhance visual hierarchy with proper spacing, shadows, and modern typography
- Add glass-morphism effects and backdrop filters for premium visual experience
- Improve accessibility with proper text truncation and responsive font sizing
This update transforms the TopUp page from a basic form into a professional,
modern payment interface that provides excellent user experience across all devices
while maintaining full functionality and adding comprehensive data validation.
2025-05-23 19:31:36 +08:00
|
|
|
"react-icons": "^5.5.0",
|
✨ feat(markdown): replace Semi UI MarkdownRender with react-markdown for enhanced rendering
- Replace Semi UI's MarkdownRender with react-markdown library for better performance and features
- Add comprehensive markdown rendering support including:
* Math formulas with KaTeX
* Code syntax highlighting with rehype-highlight
* Mermaid diagrams support
* GitHub Flavored Markdown (tables, task lists, etc.)
* HTML preview for code blocks
* Media file support (audio/video)
- Create new MarkdownRenderer component with enhanced features:
* Copy code button with hover effects
* Code folding for long code blocks
* Responsive design for mobile devices
- Add white text styling for user messages to improve readability on blue backgrounds
- Update all components using markdown rendering:
* MessageContent.js - playground chat messages
* About/index.js - about page content
* Home/index.js - home page content
* NoticeModal.js - system notice modal
* OtherSetting.js - settings page
- Install new dependencies: react-markdown, remark-math, remark-breaks, remark-gfm,
rehype-katex, rehype-highlight, katex, mermaid, use-debounce, clsx
- Add comprehensive CSS styles in markdown.css for better theming and user experience
- Remove unused imports and optimize component imports
Breaking changes: None - maintains backward compatibility with existing markdown content
2025-05-31 02:26:23 +08:00
|
|
|
"react-markdown": "^10.1.0",
|
2023-04-22 20:39:27 +08:00
|
|
|
"react-router-dom": "^6.3.0",
|
2024-03-02 17:15:52 +08:00
|
|
|
"react-telegram-login": "^1.1.2",
|
2023-04-22 20:39:27 +08:00
|
|
|
"react-toastify": "^9.0.8",
|
|
|
|
|
"react-turnstile": "^1.0.5",
|
✨ feat(markdown): replace Semi UI MarkdownRender with react-markdown for enhanced rendering
- Replace Semi UI's MarkdownRender with react-markdown library for better performance and features
- Add comprehensive markdown rendering support including:
* Math formulas with KaTeX
* Code syntax highlighting with rehype-highlight
* Mermaid diagrams support
* GitHub Flavored Markdown (tables, task lists, etc.)
* HTML preview for code blocks
* Media file support (audio/video)
- Create new MarkdownRenderer component with enhanced features:
* Copy code button with hover effects
* Code folding for long code blocks
* Responsive design for mobile devices
- Add white text styling for user messages to improve readability on blue backgrounds
- Update all components using markdown rendering:
* MessageContent.js - playground chat messages
* About/index.js - about page content
* Home/index.js - home page content
* NoticeModal.js - system notice modal
* OtherSetting.js - settings page
- Install new dependencies: react-markdown, remark-math, remark-breaks, remark-gfm,
rehype-katex, rehype-highlight, katex, mermaid, use-debounce, clsx
- Add comprehensive CSS styles in markdown.css for better theming and user experience
- Remove unused imports and optimize component imports
Breaking changes: None - maintains backward compatibility with existing markdown content
2025-05-31 02:26:23 +08:00
|
|
|
"rehype-highlight": "^7.0.2",
|
|
|
|
|
"rehype-katex": "^7.0.1",
|
|
|
|
|
"remark-breaks": "^4.0.0",
|
|
|
|
|
"remark-gfm": "^4.0.1",
|
|
|
|
|
"remark-math": "^6.0.0",
|
2025-06-08 02:56:09 +08:00
|
|
|
"sse.js": "^2.6.0",
|
2025-06-02 19:58:10 +08:00
|
|
|
"unist-util-visit": "^5.0.0",
|
✨ feat(markdown): replace Semi UI MarkdownRender with react-markdown for enhanced rendering
- Replace Semi UI's MarkdownRender with react-markdown library for better performance and features
- Add comprehensive markdown rendering support including:
* Math formulas with KaTeX
* Code syntax highlighting with rehype-highlight
* Mermaid diagrams support
* GitHub Flavored Markdown (tables, task lists, etc.)
* HTML preview for code blocks
* Media file support (audio/video)
- Create new MarkdownRenderer component with enhanced features:
* Copy code button with hover effects
* Code folding for long code blocks
* Responsive design for mobile devices
- Add white text styling for user messages to improve readability on blue backgrounds
- Update all components using markdown rendering:
* MessageContent.js - playground chat messages
* About/index.js - about page content
* Home/index.js - home page content
* NoticeModal.js - system notice modal
* OtherSetting.js - settings page
- Install new dependencies: react-markdown, remark-math, remark-breaks, remark-gfm,
rehype-katex, rehype-highlight, katex, mermaid, use-debounce, clsx
- Add comprehensive CSS styles in markdown.css for better theming and user experience
- Remove unused imports and optimize component imports
Breaking changes: None - maintains backward compatibility with existing markdown content
2025-05-31 02:26:23 +08:00
|
|
|
"use-debounce": "^10.0.4"
|
2023-04-22 20:39:27 +08:00
|
|
|
},
|
|
|
|
|
"scripts": {
|
2024-03-23 19:09:09 +08:00
|
|
|
"dev": "vite",
|
|
|
|
|
"build": "vite build",
|
2024-03-23 21:23:39 +08:00
|
|
|
"lint": "prettier . --check",
|
|
|
|
|
"lint:fix": "prettier . --write",
|
2025-07-19 03:30:44 +08:00
|
|
|
"eslint": "bunx eslint \"**/*.{js,jsx}\" --cache",
|
|
|
|
|
"eslint:fix": "bunx eslint \"**/*.{js,jsx}\" --fix --cache",
|
2024-03-23 19:09:09 +08:00
|
|
|
"preview": "vite preview"
|
2023-04-22 20:39:27 +08:00
|
|
|
},
|
|
|
|
|
"eslintConfig": {
|
|
|
|
|
"extends": [
|
|
|
|
|
"react-app",
|
|
|
|
|
"react-app/jest"
|
|
|
|
|
]
|
|
|
|
|
},
|
|
|
|
|
"browserslist": {
|
|
|
|
|
"production": [
|
|
|
|
|
">0.2%",
|
|
|
|
|
"not dead",
|
|
|
|
|
"not op_mini all"
|
|
|
|
|
],
|
|
|
|
|
"development": [
|
|
|
|
|
"last 1 chrome version",
|
|
|
|
|
"last 1 firefox version",
|
|
|
|
|
"last 1 safari version"
|
|
|
|
|
]
|
|
|
|
|
},
|
|
|
|
|
"devDependencies": {
|
2025-06-08 03:28:36 +08:00
|
|
|
"@douyinfe/vite-plugin-semi": "^2.74.0-alpha.6",
|
2024-08-11 11:18:08 +08:00
|
|
|
"@so1ve/prettier-config": "^3.1.0",
|
2024-03-23 20:57:52 +08:00
|
|
|
"@vitejs/plugin-react": "^4.2.1",
|
2025-05-06 01:36:23 +08:00
|
|
|
"autoprefixer": "^10.4.21",
|
2025-07-19 03:30:44 +08:00
|
|
|
"eslint": "8.57.0",
|
|
|
|
|
"eslint-plugin-header": "^3.1.1",
|
|
|
|
|
"eslint-plugin-react-hooks": "^5.2.0",
|
2025-05-06 01:36:23 +08:00
|
|
|
"postcss": "^8.5.3",
|
2024-03-23 21:23:39 +08:00
|
|
|
"prettier": "^3.0.0",
|
2025-05-06 01:36:23 +08:00
|
|
|
"tailwindcss": "^3",
|
2024-03-23 19:09:09 +08:00
|
|
|
"typescript": "4.4.2",
|
2024-03-23 20:57:52 +08:00
|
|
|
"vite": "^5.2.0"
|
2023-04-22 20:39:27 +08:00
|
|
|
},
|
|
|
|
|
"prettier": {
|
|
|
|
|
"singleQuote": true,
|
|
|
|
|
"jsxSingleQuote": true
|
|
|
|
|
},
|
2024-01-21 15:01:59 +08:00
|
|
|
"proxy": "http://localhost:3000"
|
2023-04-22 20:39:27 +08:00
|
|
|
}
|