Skip to content

Commit a25b3a9

Browse files
committed
chore(vue-cesium): 🔨 updated
1 parent bd18bbb commit a25b3a9

File tree

4 files changed

+1326
-1221
lines changed

4 files changed

+1326
-1221
lines changed

babel.config.js

Lines changed: 27 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
/*
22
* @Author: zouyaoji@https://github.com/zouyaoji
33
* @Date: 2021-09-16 09:28:13
4-
* @LastEditTime: 2022-01-13 22:19:45
5-
* @LastEditors: zouyaoji
4+
* @LastEditTime: 2023-10-24 15:26:22
5+
* @LastEditors: zouyaoji 370681295@qq.com
66
* @Description:
77
* @FilePath: \vue-cesium@next\babel.config.js
88
*/
@@ -13,19 +13,39 @@ module.exports = {
1313
// See https://github.com/babel/babel/issues/12066
1414
presets: [
1515
[
16-
'@babel/env',
16+
'@babel/preset-env',
1717
{
1818
loose: false,
1919
modules: false
2020
}
2121
],
22-
'@babel/typescript'
22+
'@babel/preset-typescript'
2323
],
2424
plugins: [
25-
'@vue/babel-plugin-jsx',
26-
'@babel/plugin-proposal-nullish-coalescing-operator',
25+
// Stage 0
26+
// '@babel/plugin-proposal-function-bind',
27+
// Stage 1
28+
// '@babel/plugin-proposal-export-default-from',
2729
'@babel/plugin-proposal-logical-assignment-operators',
30+
['@babel/plugin-proposal-optional-chaining', { loose: false }],
31+
// ['@babel/plugin-proposal-pipeline-operator', { proposal: 'minimal' }],
32+
['@babel/plugin-proposal-nullish-coalescing-operator', { loose: false }],
33+
// '@babel/plugin-proposal-do-expressions',
34+
// Stage 2
35+
// ['@babel/plugin-proposal-decorators', { legacy: true }],
36+
// '@babel/plugin-proposal-function-sent',
37+
// '@babel/plugin-proposal-export-namespace-from',
38+
// '@babel/plugin-proposal-numeric-separator',
39+
// '@babel/plugin-proposal-throw-expressions',
40+
// Stage 3
41+
// '@babel/plugin-syntax-dynamic-import',
42+
// '@babel/plugin-syntax-import-meta',
43+
['@babel/plugin-proposal-class-properties', { loose: false }],
2844
['@babel/plugin-proposal-private-methods', { loose: false }],
45+
// '@babel/plugin-proposal-json-strings',
46+
47+
// other
48+
'@vue/babel-plugin-jsx',
2949
'@babel/transform-runtime'
3050
],
3151
overrides: [
@@ -39,7 +59,7 @@ module.exports = {
3959
ignore: ['**/*.test.ts', '**/*.spec.ts'],
4060
presets: [
4161
[
42-
'@babel/env',
62+
'@babel/preset-env',
4363
{
4464
loose: true,
4565
modules: false

package.json

Lines changed: 35 additions & 33 deletions
Original file line numberDiff line numberDiff line change
@@ -54,39 +54,41 @@
5454
"@vue-cesium/theme-default": "workspace:*",
5555
"@vue-cesium/utils": "workspace:*",
5656
"@zouyaoji/heatmap.js": "^2.0.8",
57-
"compare-versions": "^5.0.3",
58-
"echarts": "^5.3.2",
57+
"compare-versions": "^6.1.0",
58+
"echarts": "^5.4.3",
5959
"kdbush": "^3.0.0",
6060
"lodash": "^4.17.21",
6161
"lodash-es": "^4.17.21",
62-
"lodash-unified": "^1.0.1",
63-
"mitt": "^3.0.0",
64-
"proj4": "^2.7.5",
62+
"lodash-unified": "^1.0.3",
63+
"mitt": "^3.0.1",
64+
"proj4": "^2.9.1",
6565
"urijs": "^1.19.11",
6666
"vue-cesium": "workspace:*"
6767
},
6868
"devDependencies": {
69-
"@babel/cli": "^7.15.4",
70-
"@babel/core": "^7.15.5",
71-
"@babel/plugin-proposal-class-properties": "^7.14.5",
72-
"@babel/plugin-proposal-logical-assignment-operators": "^7.16.7",
73-
"@babel/plugin-proposal-nullish-coalescing-operator": "^7.16.0",
74-
"@babel/plugin-proposal-private-methods": "^7.16.0",
75-
"@babel/plugin-transform-runtime": "^7.15.0",
76-
"@babel/preset-env": "^7.15.4",
77-
"@babel/preset-typescript": "^7.15.0",
78-
"@babel/runtime": "^7.16.5",
69+
"@babel/cli": "^7.23.0",
70+
"@babel/core": "^7.23.2",
71+
"@babel/plugin-proposal-class-properties": "^7.18.6",
72+
"@babel/plugin-proposal-logical-assignment-operators": "^7.20.7",
73+
"@babel/plugin-proposal-nullish-coalescing-operator": "^7.18.6",
74+
"@babel/plugin-proposal-optional-chaining": "7.21.0",
75+
"@babel/plugin-proposal-private-methods": "^7.18.6",
76+
"@babel/plugin-proposal-throw-expressions": "^7.22.5",
77+
"@babel/plugin-transform-runtime": "^7.23.2",
78+
"@babel/preset-env": "^7.23.2",
79+
"@babel/preset-typescript": "^7.23.2",
80+
"@babel/runtime": "^7.23.2",
7981
"@changesets/cli": "^2.18.1",
8082
"@commitlint/cli": "^17.5.1",
8183
"@commitlint/config-conventional": "^17.4.4",
8284
"@element-plus/icons-vue": "^1.1.1",
8385
"@pnpm/find-workspace-packages": "3.1.37",
8486
"@pnpm/logger": "4.0.0",
8587
"@pnpm/types": "7.9.0",
86-
"@rollup/plugin-commonjs": "^22.0.1",
87-
"@rollup/plugin-node-resolve": "^13.3.0",
88-
"@rollup/plugin-replace": "3.0.1",
89-
"@sucrase/jest-plugin": "2.2.0",
88+
"@rollup/plugin-commonjs": "^25.0.7",
89+
"@rollup/plugin-node-resolve": "^15.2.3",
90+
"@rollup/plugin-replace": "5.0.4",
91+
"@sucrase/jest-plugin": "3.0.0",
9092
"@types/fs-extra": "9.0.13",
9193
"@types/gulp": "^4.0.9",
9294
"@types/gulp-debug": "2.0.32",
@@ -95,22 +97,22 @@
9597
"@types/lodash": "4.14.178",
9698
"@types/lodash-es": "4.17.6",
9799
"@types/markdown-it": "12.2.3",
98-
"@types/merge-descriptors": "1.0.1",
100+
"@types/merge-descriptors": "1.0.2",
99101
"@types/node": "20.8.8",
100102
"@types/proj4": "2.5.0",
101103
"@types/sass": "^1.43.1",
102104
"@types/webpack-dev-server": "^4.1.0",
103105
"@typescript-eslint/eslint-plugin": "5.58.0",
104106
"@typescript-eslint/parser": "5.58.0",
105-
"@vue/babel-plugin-jsx": "1.1.1",
107+
"@vue/babel-plugin-jsx": "1.1.5",
106108
"@vue/compiler-sfc": "3.2.47",
107109
"@vue/component-compiler-utils": "^3.3.0",
108110
"@vue/shared": "3.2.47",
109111
"@vue/test-utils": "2.3.2",
110112
"algoliasearch": "^4.10.5",
111113
"babel-jest": "^26.6.3",
112-
"babel-loader": "^8.2.3",
113-
"babel-plugin-module-resolver": "^4.1.0",
114+
"babel-loader": "8.2.5",
115+
"babel-plugin-module-resolver": "^5.0.0",
114116
"babel-preset-vue": "^2.0.2",
115117
"chalk": "^4.1.2",
116118
"clipboard-copy": "^4.0.1",
@@ -121,8 +123,8 @@
121123
"cross-env": "^7.0.3",
122124
"css-loader": "^4.2.2",
123125
"css-minimizer-webpack-plugin": "1.1.5",
124-
"cz-git": "^1.6.1",
125-
"czg": "^1.6.1",
126+
"cz-git": "^1.7.1",
127+
"czg": "^1.7.1",
126128
"echarts": "^5.2.1",
127129
"element-plus": "^2.0.5",
128130
"element-theme-chalk": "^2.15.6",
@@ -154,20 +156,20 @@
154156
"progress-bar-webpack-plugin": "^2.1.0",
155157
"resize-observer-polyfill": "^1.5.1",
156158
"rimraf": "^3.0.2",
157-
"rollup": "^2.75.7",
158-
"rollup-plugin-css-only": "3.1.0",
159-
"rollup-plugin-esbuild": "^4.9.1",
160-
"rollup-plugin-filesize": "9.1.2",
159+
"rollup": "2.79.1",
160+
"rollup-plugin-css-only": "4.3.0",
161+
"rollup-plugin-esbuild": "^6.1.0",
162+
"rollup-plugin-filesize": "10.0.0",
161163
"rollup-plugin-vue": "6.0.0",
162164
"sass": "1.49.7",
163165
"sass-loader": "^10.1.1",
164166
"style-loader": "^1.3.0",
165-
"sucrase": "3.20.3",
167+
"sucrase": "3.34.0",
166168
"throttle-debounce": "2.3.0",
167169
"transliteration": "^2.2.0",
168170
"ts-jest": "29.1.1",
169171
"ts-morph": "20.0.0",
170-
"type-fest": "^2.18.0",
172+
"type-fest": "^4.5.0",
171173
"typescript": "^5.2.2",
172174
"url-loader": "^4.1.1",
173175
"vitest": "0.34.6",
@@ -176,11 +178,11 @@
176178
"vue-loader": "16.5.0",
177179
"vue-router": "^4.0.12",
178180
"vue-tsc": "^1.8.20",
179-
"webpack": "4.44.1",
181+
"webpack": "4.47.0",
180182
"webpack-bundle-analyzer": "3.9.0",
181183
"webpack-cli": "3.3.12",
182184
"webpack-dev-server": "3.11.0",
183-
"zrender": "^5.3.0"
185+
"zrender": "^5.4.4"
184186
},
185187
"engines": {
186188
"node": ">= 16"

packages/vue-cesium/package.json

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -52,16 +52,16 @@
5252
"dependencies": {
5353
"@amap/amap-jsapi-loader": "^1.0.1",
5454
"@turf/circle": "^6.5.0",
55-
"@vue/shared": "^3.2.26",
55+
"@vue/shared": "^3.2.47",
5656
"@zouyaoji/heatmap.js": "^2.0.8",
57-
"compare-versions": "^5.0.3",
58-
"echarts": "^5.3.2",
57+
"compare-versions": "^6.1.0",
58+
"echarts": "^5.4.3",
5959
"kdbush": "^3.0.0",
6060
"lodash": "^4.17.21",
6161
"lodash-es": "^4.17.21",
62-
"lodash-unified": "^1.0.1",
63-
"mitt": "^3.0.0",
64-
"proj4": "^2.7.5",
62+
"lodash-unified": "^1.0.3",
63+
"mitt": "^3.0.1",
64+
"proj4": "^2.9.1",
6565
"urijs": "^1.19.11"
6666
},
6767
"vetur": {

0 commit comments

Comments
 (0)