Skip to content

Commit 88bcade

Browse files
committed
同步代码
1 parent 6deed25 commit 88bcade

File tree

708 files changed

+43644
-63932
lines changed

Some content is hidden

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

708 files changed

+43644
-63932
lines changed

.eslintrc.json

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,10 @@
33
"env": {
44
"node": true
55
},
6+
"parserOptions": {
7+
"ecmaVersion": 2021,
8+
"sourceType": "module"
9+
},
610
"extends": ["react-app", "standard"],
711
"plugins": ["react-hooks"],
812
"globals": {

.gitignore

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -54,3 +54,5 @@ package-lock.json
5454

5555
# 本地测试
5656
src/example/a-test
57+
public/lib/Cesium-*
58+
public/lib/mars3d-*

LICENSE

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -188,7 +188,7 @@
188188
same "printed page" as the copyright notice for easier
189189
identification within third-party archives.
190190

191-
Copyright [2017-2024] [Hefei Mars Technology Co., LTD., China] http://mars3d.cn/
191+
Copyright [2017-2025] [Hefei Mars Technology Co., LTD., China] http://mars3d.cn/
192192

193193
Licensed under the Apache License, Version 2.0 (the "License");
194194
you may not use this file except in compliance with the License.

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -85,7 +85,7 @@ git clone git@gitee.com:marsgis/mars3d-react-example.git
8585
建议从[http://mars3d.cn/download.html](http://mars3d.cn/download.html)下载最新 mars3d 类库后覆盖至`public/lib/`目录下,更新 mars3d 为最新版本。
8686

8787
### 运行命令
88-
请将机器Node版本升级到v16及以上版本
88+
请将机器Node版本升级到v18及以上版本(建议下载安装官网最新稳定版本)
8989

9090
#### 首次运行前安装依赖
9191

package.json

Lines changed: 27 additions & 27 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "mars3d-react-example",
3-
"version": "3.8.0",
3+
"version": "3.9.0",
44
"description": "基于 React 的 Mars3D 功能示例项目",
55
"scripts": {
66
"serve": "vite --host",
@@ -17,60 +17,60 @@
1717
"dependencies": {
1818
"@icon-park/svg": "^1.4.2",
1919
"@marsgis/editor": "^1.3.3",
20-
"@turf/turf": "^7.1.0",
21-
"antd": "^5.14.1",
22-
"axios": "^1.6.7",
20+
"@turf/turf": "^7.2.0",
21+
"antd": "^5.22.7",
22+
"axios": "^1.7.9",
2323
"classnames": "^2.5.1",
24-
"echarts": "^5.5.0",
24+
"echarts": "^5.6.0",
2525
"lodash": "^4.17.21",
26-
"mars3d": "~3.8.8",
27-
"mars3d-cesium": "^1.124.0",
26+
"mars3d": "~3.9.0",
27+
"mars3d-cesium": "^1.125.0",
2828
"moment": "^2.30.1",
2929
"monaco-editor": "^0.44.0",
3030
"nprogress": "^0.2.0",
31-
"react": "^18.2.0",
31+
"react": "^18.3.1",
3232
"react-color": "^2.19.3",
33-
"react-dom": "^18.2.0",
33+
"react-dom": "^18.3.1",
3434
"react-redux": "^8.1.3",
3535
"redux": "^4.2.1",
3636
"split.js": "^1.6.5",
3737
"uuid": "^9.0.1"
3838
},
3939
"devDependencies": {
4040
"@babel/plugin-proposal-private-property-in-object": "^7.21.11",
41-
"@types/node": "^20.11.19",
42-
"@types/react": "^18.2.57",
43-
"@types/react-dom": "^18.2.19",
41+
"@types/node": "^20.17.10",
42+
"@types/react": "^18.3.18",
43+
"@types/react-dom": "^18.3.5",
4444
"@typescript-eslint/eslint-plugin": "^6.21.0",
4545
"@typescript-eslint/parser": "^6.21.0",
46-
"@vitejs/plugin-react": "^4.2.1",
47-
"autoprefixer": "^10.4.17",
46+
"@vitejs/plugin-react": "^4.3.4",
47+
"autoprefixer": "^10.4.20",
4848
"babel-eslint": "^10.1.0",
49-
"consola": "^3.2.3",
50-
"eslint": "^8.56.0",
49+
"consola": "^3.3.3",
50+
"eslint": "^8.57.1",
5151
"eslint-config-react-app": "^7.0.1",
5252
"eslint-config-standard": "^17.1.0",
5353
"eslint-plugin-flowtype": "^8.0.3",
54-
"eslint-plugin-import": "^2.29.1",
55-
"eslint-plugin-jsx-a11y": "^6.8.0",
54+
"eslint-plugin-import": "^2.31.0",
55+
"eslint-plugin-jsx-a11y": "^6.10.2",
5656
"eslint-plugin-node": "^11.1.0",
57-
"eslint-plugin-promise": "^6.1.1",
58-
"eslint-plugin-react": "^7.33.2",
59-
"eslint-plugin-react-hooks": "^4.6.0",
57+
"eslint-plugin-promise": "^6.6.0",
58+
"eslint-plugin-react": "^7.37.3",
59+
"eslint-plugin-react-hooks": "^4.6.2",
6060
"http-server": "^14.1.1",
6161
"husky": "^8.0.3",
62-
"less": "^4.2.0",
62+
"less": "^4.2.1",
6363
"rollup-plugin-copy": "^3.5.0",
64-
"terser": "^5.27.2",
64+
"terser": "^5.37.0",
6565
"typescript": "~5.2.2",
66-
"vite": "^4.5.2",
66+
"vite": "^6.0.6",
6767
"vite-plugin-eslint": "^1.8.1",
68-
"vite-plugin-mars3d": "^4.2.0",
68+
"vite-plugin-mars3d": "^4.2.1",
6969
"vite-plugin-monaco-editor": "^1.1.0"
7070
},
7171
"engines": {
72-
"node": ">=16.0.0",
73-
"npm": ">=8.0.0"
72+
"node": ">=18.0.0",
73+
"npm": ">=9.0.0"
7474
},
7575
"repository": {
7676
"type": "git",

0 commit comments

Comments
 (0)