Browse Source

chore: update package dependencies and add highlight.js in dep (#11724)

Co-authored-by: gemini-code-assist[bot] <176961590+gemini-code-assist[bot]@users.noreply.github.com>
pull/11725/head
jiaxiang 6 months ago
committed by GitHub
parent
commit
4425813976
No known key found for this signature in database GPG Key ID: B5690EEEBB952194
  1. 49
      package.json
  2. 2
      src/pages/Welcome.tsx

49
package.json

@ -33,53 +33,54 @@
"defaults" "defaults"
], ],
"dependencies": { "dependencies": {
"@ant-design/icons": "^6.1.0", "@ant-design/icons": "^6.2.2",
"@ant-design/plots": "^2.6.0", "@ant-design/plots": "^2.6.8",
"@ant-design/pro-components": "^3.1.12-0", "@ant-design/pro-components": "^3.1.12-0",
"@ant-design/x": "^2.5.0", "@ant-design/x": "^2.5.0",
"@ant-design/x-markdown": "^2.5.0", "@ant-design/x-markdown": "^2.5.0",
"@ant-design/x-sdk": "^2.5.0", "@ant-design/x-sdk": "^2.5.0",
"@rc-component/util": "^1.9.0", "@rc-component/util": "^1.10.1",
"@tanstack/react-query": "^5.97.0", "@tanstack/react-query": "^5.100.6",
"antd": "^6.3.6", "antd": "^6.3.7",
"antd-style": "^4.1.0", "antd-style": "^4.1.0",
"clsx": "^2.1.1", "clsx": "^2.1.1",
"d3": "^7.9.0", "d3": "^7.9.0",
"dayjs": "^1.11.19", "dayjs": "^1.11.20",
"react": "^19.2.4", "highlight.js": "^11.11.1",
"react-dom": "^19.2.4", "react": "^19.2.5",
"react-dom": "^19.2.5",
"topojson-client": "^3.1.0" "topojson-client": "^3.1.0"
}, },
"devDependencies": { "devDependencies": {
"@biomejs/biome": "^2.4.12", "@biomejs/biome": "^2.4.13",
"@commitlint/cli": "^20.1.0", "@commitlint/cli": "^20.5.2",
"@commitlint/config-conventional": "^20.0.0", "@commitlint/config-conventional": "^20.5.0",
"@tailwindcss/postcss": "^4.0.0", "@tailwindcss/postcss": "^4.2.4",
"@testing-library/dom": "^10.4.0", "@testing-library/dom": "^10.4.1",
"@testing-library/react": "^16.3.0", "@testing-library/react": "^16.3.2",
"@types/express": "^5.0.6", "@types/express": "^5.0.6",
"@types/jest": "^30.0.0", "@types/jest": "^30.0.0",
"@types/node": "^25.0.3", "@types/node": "^25.6.0",
"@types/react": "^19.2.10", "@types/react": "^19.2.14",
"@types/react-dom": "^19.2.3", "@types/react-dom": "^19.2.3",
"@types/react-helmet": "^6.1.11", "@types/react-helmet": "^6.1.11",
"@types/topojson-client": "^3.1.5", "@types/topojson-client": "^3.1.5",
"@types/d3": "^7.4.3", "@types/d3": "^7.4.3",
"@types/topojson-specification": "^1.0.5", "@types/topojson-specification": "^1.0.5",
"@umijs/lint": "^4.6.45", "@umijs/lint": "^4.6.49",
"@umijs/max": "^4.6.45", "@umijs/max": "^4.6.49",
"@umijs/max-plugin-openapi": "^2.0.3", "@umijs/max-plugin-openapi": "^2.0.3",
"@umijs/request-record": "^1.1.3", "@umijs/request-record": "^1.1.4",
"cross-env": "^10.1.0", "cross-env": "^10.1.0",
"express": "^5.2.1", "express": "^5.2.1",
"geojson": "^0.5.0", "geojson": "^0.5.0",
"gh-pages": "^6.1.1", "gh-pages": "^6.3.0",
"husky": "^9.1.7", "husky": "^9.1.7",
"jest": "^30.0.4", "jest": "^30.3.0",
"jest-environment-jsdom": "^30.0.5", "jest-environment-jsdom": "^30.3.0",
"lint-staged": "^16.1.2", "lint-staged": "^16.4.0",
"mockjs": "^1.1.0", "mockjs": "^1.1.0",
"tailwindcss": "^4.0.0", "tailwindcss": "^4.2.4",
"ts-node": "^10.9.2", "ts-node": "^10.9.2",
"typescript": "^6.0.3" "typescript": "^6.0.3"
}, },

2
src/pages/Welcome.tsx

@ -8,7 +8,7 @@ import { Card } from 'antd';
import hljs from 'highlight.js'; import hljs from 'highlight.js';
import React from 'react'; import React from 'react';
import 'highlight.js/styles/github-gist.css'; import 'highlight.js/styles/github.css';
import './Welcome.css'; import './Welcome.css';
import './Welcome-dark.css'; import './Welcome-dark.css';

Loading…
Cancel
Save