| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
1 parent e7da018 commit 950b7d1
19 files changed
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -1,6 +1,6 @@ | |||
| 1 | 1 | { | |
| 2 | 2 | "name": "@mapgis/webclient", | |
| 3 | - "version": "10.5.5", | ||
| 3 | + "version": "10.5.6", | ||
| 4 | 4 | "description": "", | |
| 5 | 5 | "main": "index.js", | |
| 6 | 6 | "scripts": { | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -1,9 +1,9 @@ | |||
| 1 | 1 | { | |
| 2 | 2 | "name": "@mapgis/webclient-es6-mapboxgl", | |
| 3 | - "version": "10.5.5-2", | ||
| 3 | + "version": "10.5.7", | ||
| 4 | 4 | "description": "", | |
| 5 | 5 | "main": "dist-libs/webclient-mapboxgl-plugin.min.js", | |
| 6 | - "module": "index.js", | ||
| 6 | + "module1": "index.js", | ||
| 7 | 7 | "scripts": { | |
| 8 | 8 | "build": "npm run build-debug && npm run build-release", | |
| 9 | 9 | "build-debug": "webpack --config webpack/mapbox-es6-debug-config.js", | |
@@ -19,7 +19,7 @@ | |||
| 19 | 19 | "license": "Apache-2.0", | |
| 20 | 20 | "dependencies": { | |
| 21 | 21 | "@mapgis/mapbox-gl": "^1.9.9", | |
| 22 | - "@mapgis/webclient-es6-service": "10.5.5-3", | ||
| 22 | + "@mapgis/webclient-es6-service": "^10.5.7", | ||
| 23 | 23 | "core-js": "3.15.0", | |
| 24 | 24 | "echarts": "^4.8.0", | |
| 25 | 25 | "mapv": "^2.0.56" | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -12,6 +12,8 @@ MapGIS Client for JavaScript - Service:是增强的MapGIS Web开发平台, | |||
| 12 | 12 | ||
| 13 | 13 | [在线文档](http://develop.smaryun.com/docs/mapboxgl/index.html) | |
| 14 | 14 | ||
| 15 | + ## 环境 | ||
| 16 | + > 由于core-js2和core-js3的在vue-cli4的不同的前置依赖导致了在vue2的环境下core-js不能把对应的依赖版本加入到package.json中,但是实际上package.json中引用的是core-js3的版本,一旦显示的描述会导致所有引用webclient-vue-ui的库的库都会强行自动升级core-js3,导致整个环境冲突问题。这个问题只能通过升级vue3来解决。 | ||
| 15 | 17 | ## 目录 | |
| 16 | 18 | 针对MapGIS提供的IGServer/IGServer-X/IGServer-S/DataStore/ArcGIS等多种服务进行封装 | |
| 17 | 19 | ``` js | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -1,4 +1,4 @@ | |||
| 1 | - import "./PromisePolyfill"; | ||
| 1 | + import 'promise-polyfill/dist/polyfill'; | ||
| 2 | 2 | import 'fetch-ie8'; | |
| 3 | 3 | ||
| 4 | 4 | var fetch = window.fetch; | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -0,0 +1,3 @@ | |||
| 1 | + module.exports = { | ||
| 2 | + presets: ["@vue/app"] | ||
| 3 | + }; | ||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -0,0 +1,81 @@ | |||
| 1 | + { | ||
| 2 | + "name": "@mapgis/webclient-vue-mapboxgl", | ||
| 3 | + "version": "10.5.8", | ||
| 4 | + "description": "中地数码webclient-vue-mapboxgl", | ||
| 5 | + "main": "dist-libs/webclient-vue-mapboxgl.umd.min.js", | ||
| 6 | + "module1": "src/main.js", | ||
| 7 | + "scripts": { | ||
| 8 | + "build": "node --max_old_space_size=8196 ./node_modules/@vue/cli-service/bin/vue-cli-service build --target lib --name webclient-vue-mapboxgl src/main.js", | ||
| 9 | + "serve": "vue-cli-service build --target lib --name webclient-vue-mapboxgl src/index.js --watch", | ||
| 10 | + "lint": "vue-cli-service lint", | ||
| 11 | + "docs:serve": "vuepress dev docs", | ||
| 12 | + "docs:build": "vuepress build docs" | ||
| 13 | + }, | ||
| 14 | + "husky": { | ||
| 15 | + "hooks": { | ||
| 16 | + "pre-commit": "lint-staged" | ||
| 17 | + } | ||
| 18 | + }, | ||
| 19 | + "lint-staged": { | ||
| 20 | + "*.{js,json,css,md}": [ | ||
| 21 | + "prettier --write", | ||
| 22 | + "git add" | ||
| 23 | + ] | ||
| 24 | + }, | ||
| 25 | + "dependencies": { | ||
| 26 | + "@mapbox/mapbox-gl-draw": "^1.3.0", | ||
| 27 | + "@mapbox/mapbox-gl-draw-static-mode": "^1.0.1", | ||
| 28 | + "@mapgis/mapbox-gl": "^1.9.12", | ||
| 29 | + "@mapgis/mapbox-gl-compare": "^0.4.0", | ||
| 30 | + "@mapgis/mapbox-gl-draw-circle": "^10.5.5", | ||
| 31 | + "@mapgis/mapbox-gl-draw-radius": "^1.0.0", | ||
| 32 | + "@mapgis/mapbox-gl-inspect": "^10.5.6", | ||
| 33 | + "@mapgis/webclient-es6-service": "^10.5.8", | ||
| 34 | + "@mapgis/webclient-store": "^10.5.5", | ||
| 35 | + "@mapgis/webclient-vue-ui": "^10.5.8", | ||
| 36 | + "@turf/turf": "^6.5.0", | ||
| 37 | + "echarts": "^5.3.0", | ||
| 38 | + "file-saver": "^2.0.5", | ||
| 39 | + "html2canvas": "^1.4.1", | ||
| 40 | + "map-promisified": "^0.4.0", | ||
| 41 | + "mapbox-gl-draw-circle": "^1.1.2", | ||
| 42 | + "mapbox-gl-draw-rectangle-mode": "^1.0.4", | ||
| 43 | + "mapv": "^2.0.62", | ||
| 44 | + "moment": "^2.29.1", | ||
| 45 | + "node-sql-parser": "^4.1.1", | ||
| 46 | + "postcss-inline-svg": "4.1.0", | ||
| 47 | + "resize-detector": "^0.3.0", | ||
| 48 | + "v-contextmenu": "^2.9.0", | ||
| 49 | + "v-jsoneditor": "^1.4.5", | ||
| 50 | + "vcolorpicker": "^1.1.0", | ||
| 51 | + "vue-runtime-helpers": "^1.1.2", | ||
| 52 | + "vuepress": "^1.9.7" | ||
| 53 | + }, | ||
| 54 | + "devDependencies": { | ||
| 55 | + "@vue/cli-plugin-babel": "^3.2.0", | ||
| 56 | + "@vue/cli-plugin-eslint": "^3.2.1", | ||
| 57 | + "@vue/cli-service": "^3.2.0", | ||
| 58 | + "@vue/eslint-config-prettier": "^4.0.1", | ||
| 59 | + "babel-eslint": "^10.0.1", | ||
| 60 | + "eslint": "^5.10.0", | ||
| 61 | + "eslint-loader": "2.1.1", | ||
| 62 | + "eslint-plugin-prettier": "^3.1.2", | ||
| 63 | + "eslint-plugin-vue": "^6.1.2", | ||
| 64 | + "husky": "^1.2.0", | ||
| 65 | + "less": "3.12.2", | ||
| 66 | + "less-loader": "7.0.2", | ||
| 67 | + "lint-staged": "^8.1.0", | ||
| 68 | + "node-sass": "^4.14.1", | ||
| 69 | + "sass-loader": "10.1.1", | ||
| 70 | + "vue": "^2.6.6", | ||
| 71 | + "vue-cli-plugin-webpack-bundle-analyzer": "^4.0.0", | ||
| 72 | + "vue-template-compiler": "^2.6.6", | ||
| 73 | + "webpack-bundle-analyzer": "^4.4.2" | ||
| 74 | + }, | ||
| 75 | + "keywords": [ | ||
| 76 | + "vue", | ||
| 77 | + "mapbox" | ||
| 78 | + ], | ||
| 79 | + "author": "Wuhan Zondy Cyber Science&Technology Co.Ltd.", | ||
| 80 | + "license": "Apache2" | ||
| 81 | + } | ||
| Back | FazBrowse Home | New Git URL |
0 commit comments