Skip to content

Commit

Permalink
Merge pull request #2 from surmon-china/antd-v5
Browse files Browse the repository at this point in the history
v3.0.0
  • Loading branch information
surmon-china authored May 20, 2024
2 parents 67e091c + cb82593 commit 11a025e
Show file tree
Hide file tree
Showing 229 changed files with 14,884 additions and 8,857 deletions.
18 changes: 18 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,24 @@

All notable changes to this project will be documented in this file.

### 3.0.0 (2024-05-16)

- Added i18n support.
- Added theme switching.
- Upgraded antd to v5.
- Removed unnecessary transition components.
- Refactored `/dashboard` page.
- Refactored the structure of the App component.
- Refactored the layout design of the `/setting` page.
- Refactored global style variables (utilizing CSS3 variables).
- Refactored global state management (utilizing `React.Context` for state management).
- Refactored routing configuration (using unified configuration of `react-router` v6).
- Refactored UniversalEditor (migrated from Monaco to CodeMirror).
- Monaco resulted in excessive build size (3.8mb).
- [Monaco only supports a single global theme](https://github.com/Microsoft/monaco-editor/issues/338).
- [`codesandbox` migrated the editor to CodeMirror](https://github.com/codesandbox/sandpack/issues/305).
- [Comparison between Monaco and CodeMirror editors](https://blog.replit.com/code-editors).

### 2.6.0 (2023-10-09)

- Add `featured` field in article
Expand Down
31 changes: 19 additions & 12 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "veact-admin",
"version": "2.8.0",
"version": "3.0.0",
"author": "Surmon",
"license": "MIT",
"repository": {
Expand All @@ -20,39 +20,46 @@
},
"dependencies": {
"@ant-design/icons": "^5.3.7",
"@monaco-editor/react": "^4.6.0",
"antd": "^4.24.12",
"@codemirror/lang-json": "^6.0.1",
"@codemirror/lang-markdown": "^6.2.5",
"@codemirror/lang-yaml": "^6.1.1",
"@codemirror/language": "^6.10.1",
"@codemirror/language-data": "^6.5.1",
"@codemirror/state": "^6.4.1",
"@codemirror/view": "^6.26.3",
"@uiw/react-codemirror": "^4.22.1",
"antd": "^5.17.3",
"axios": "^1.6.8",
"bezier-easing": "^2.1.0",
"classnames": "^2.5.1",
"dayjs": "^1.11.11",
"echarts": "^5.5.0",
"highlight.js": "^11.9.0",
"i18next": "^23.11.4",
"i18next-browser-languagedetector": "^8.0.0",
"js-base64": "^3.7.7",
"lodash": "^4.17.21",
"marked": "^12.0.2",
"marked-highlight": "^2.1.1",
"monaco-editor": "^0.48.0",
"performant-array-to-tree": "^1.11.0",
"query-string": "^9.0.0",
"rc-picker": "2.x",
"react": "^18.3.1",
"react-dom": "^18.3.1",
"react-i18next": "^14.1.1",
"react-router-dom": "^6.23.1",
"react-top-loading-bar": "^2.3.1",
"react-transition-group": "^4.4.5",
"ua-parser-js": "^1.0.37",
"veact": "^0.1.4",
"veact-use": "^0.1.3"
},
"devDependencies": {
"@types/lodash": "^4.17.1",
"@types/node": "^20.12.11",
"@types/react": "^18.3.1",
"@types/lodash": "^4.17.4",
"@types/node": "^20.12.12",
"@types/react": "^18.3.2",
"@types/react-dom": "^18.3.0",
"@types/react-transition-group": "^4.4.10",
"@types/ua-parser-js": "^0.7.39",
"@typescript-eslint/eslint-plugin": "^7.8.0",
"@typescript-eslint/parser": "^7.8.0",
"@typescript-eslint/eslint-plugin": "^7.9.0",
"@typescript-eslint/parser": "^7.9.0",
"@vitejs/plugin-react": "^4.2.1",
"eslint": "^8.56.0",
"eslint-config-prettier": "^9.1.0",
Expand Down
Loading

0 comments on commit 11a025e

Please sign in to comment.