Browse Source

change the version

tags/2.11.0
Caven Chen 3 years ago
parent
commit
90541fc558

+ 1
- 1
modules/copy-right/index.js View File

console.log( console.log(
`%c \n DC-SDK \n %c \n 用数字描绘世界之美 %c \n `%c \n DC-SDK \n %c \n 用数字描绘世界之美 %c \n
版本:${__VERSION__} - ${__TIME__} 版本:${__VERSION__} - ${__TIME__}
Cesium版本:1.90.0
Cesium版本:1.91.0
开发作者:${__AUTHOR__} 开发作者:${__AUTHOR__}
网站主页: ${__HOME_PAGE__} 网站主页: ${__HOME_PAGE__}
github:${__REPOSITORY__} github:${__REPOSITORY__}

+ 6
- 3
package.json View File

{ {
"name": "dc-sdk", "name": "dc-sdk",
"version": "2.10.0",
"version": "2.11.0",
"description": "The SDK is based on Cesium for secondary development of 2, 3D all-in-one WebGis application framework, the framework optimizes the use of Cesium and add some additional features, designed for developers to quickly build WebGis applications.", "description": "The SDK is based on Cesium for secondary development of 2, 3D all-in-one WebGis application framework, the framework optimizes the use of Cesium and add some additional features, designed for developers to quickly build WebGis applications.",
"repository": "https://github.com/dvgis/dc-sdk.git", "repository": "https://github.com/dvgis/dc-sdk.git",
"homepage": "https://www.dvgis.cn", "homepage": "https://www.dvgis.cn",
"test": "echo \"Error: no test specified\" && exit 1", "test": "echo \"Error: no test specified\" && exit 1",
"gen:version": "node scripts/gen-version.js", "gen:version": "node scripts/gen-version.js",
"copy": "node scripts/build.js", "copy": "node scripts/build.js",
"dev": "yarn run dev:base && yarn run dev:core && yarn run dev:chart && yarn run dev:mapv",
"build": "yarn run build:base && yarn run build:core && yarn run build:chart && yarn run build:mapv",
"dev": "yarn run dev:base && yarn run dev:core && yarn run dev:chart && yarn run dev:mapv && yarn run dev:s3m",
"build": "yarn run build:base && yarn run build:core && yarn run build:chart && yarn run build:mapv && yarn run build:s3m",
"dev:sdk": "yarn run dev && node scripts/build.js", "dev:sdk": "yarn run dev && node scripts/build.js",
"build:sdk": "yarn run build && node scripts/build.js", "build:sdk": "yarn run build && node scripts/build.js",
"release": "node scripts/release.js", "release": "node scripts/release.js",
"build:chart": "yarn run clean:chart && webpack --config build/webpack.chart.conf --mode production --env.production", "build:chart": "yarn run clean:chart && webpack --config build/webpack.chart.conf --mode production --env.production",
"dev:mapv": "yarn run clean:mapv && webpack --config build/webpack.mapv.conf --mode development", "dev:mapv": "yarn run clean:mapv && webpack --config build/webpack.mapv.conf --mode development",
"build:mapv": "yarn run clean:mapv && webpack --config build/webpack.mapv.conf --mode production --env.production", "build:mapv": "yarn run clean:mapv && webpack --config build/webpack.mapv.conf --mode production --env.production",
"dev:s3m": "yarn run clean:s3m && webpack --config build/webpack.s3m.conf --mode development",
"build:s3m": "yarn run clean:s3m && webpack --config build/webpack.s3m.conf --mode production --env.production",
"clean": "yarn run clean:base && yarn run clean:core && yarn run clean:chart && yarn run clean:mapv && yarn run clean:sdk", "clean": "yarn run clean:base && yarn run clean:core && yarn run clean:chart && yarn run clean:mapv && yarn run clean:sdk",
"clean:base": "rimraf packages/base/dist", "clean:base": "rimraf packages/base/dist",
"clean:core": "rimraf packages/core/dist", "clean:core": "rimraf packages/core/dist",
"clean:chart": "rimraf packages/chart/dist", "clean:chart": "rimraf packages/chart/dist",
"clean:mapv": "rimraf packages/mapv/dist", "clean:mapv": "rimraf packages/mapv/dist",
"clean:s3m": "rimraf packages/s3m/dist",
"clean:sdk": "rimraf packages/sdk/dist" "clean:sdk": "rimraf packages/sdk/dist"
}, },
"devDependencies": { "devDependencies": {

+ 2
- 2
packages/base/package.json View File

{ {
"name": "@dvgis/dc-base", "name": "@dvgis/dc-base",
"version": "2.10.0",
"version": "2.11.0",
"description": "The SDK is based on Cesium for secondary development of 2, 3D all-in-one WebGis application framework, the framework optimizes the use of Cesium and add some additional features, designed for developers to quickly build WebGis applications.", "description": "The SDK is based on Cesium for secondary development of 2, 3D all-in-one WebGis application framework, the framework optimizes the use of Cesium and add some additional features, designed for developers to quickly build WebGis applications.",
"repository": "https://github.com/dvgis/dc-sdk.git", "repository": "https://github.com/dvgis/dc-sdk.git",
"homepage": "https://www.dvgis.cn", "homepage": "https://www.dvgis.cn",
"heatmap", "heatmap",
"turf", "turf",
"mapv", "mapv",
"s3m"
"s3m"
], ],
"author": "Caven Chen <cavencj@gmail.com>", "author": "Caven Chen <cavencj@gmail.com>",
"license": "Apache 2.0", "license": "Apache 2.0",

+ 3
- 3
packages/chart/package.json View File

{ {
"name": "@dvgis/dc-chart", "name": "@dvgis/dc-chart",
"version": "2.10.0",
"version": "2.11.0",
"description": "The SDK is based on Cesium for secondary development of 2, 3D all-in-one WebGis application framework, the framework optimizes the use of Cesium and add some additional features, designed for developers to quickly build WebGis applications.", "description": "The SDK is based on Cesium for secondary development of 2, 3D all-in-one WebGis application framework, the framework optimizes the use of Cesium and add some additional features, designed for developers to quickly build WebGis applications.",
"repository": "https://github.com/dvgis/dc-sdk.git", "repository": "https://github.com/dvgis/dc-sdk.git",
"homepage": "https://www.dvgis.cn", "homepage": "https://www.dvgis.cn",
"heatmap", "heatmap",
"turf", "turf",
"mapv", "mapv",
"s3m"
"s3m"
], ],
"author": "Caven Chen <cavencj@gmail.com>", "author": "Caven Chen <cavencj@gmail.com>",
"license": "Apache 2.0", "license": "Apache 2.0",
"main": "dist/dc.chart.min.js", "main": "dist/dc.chart.min.js",
"peerDependencies": { "peerDependencies": {
"@dvgis/dc-base": "^2.10.0"
"@dvgis/dc-base": "^2.11.0"
}, },
"files": [ "files": [
"dist" "dist"

+ 3
- 3
packages/core/package.json View File

{ {
"name": "@dvgis/dc-core", "name": "@dvgis/dc-core",
"version": "2.10.0",
"version": "2.11.0",
"description": "The SDK is based on Cesium for secondary development of 2, 3D all-in-one WebGis application framework, the framework optimizes the use of Cesium and add some additional features, designed for developers to quickly build WebGis applications.", "description": "The SDK is based on Cesium for secondary development of 2, 3D all-in-one WebGis application framework, the framework optimizes the use of Cesium and add some additional features, designed for developers to quickly build WebGis applications.",
"repository": "https://github.com/dvgis/dc-sdk.git", "repository": "https://github.com/dvgis/dc-sdk.git",
"homepage": "https://www.dvgis.cn", "homepage": "https://www.dvgis.cn",
"heatmap", "heatmap",
"turf", "turf",
"mapv", "mapv",
"s3m"
"s3m"
], ],
"author": "Caven Chen <cavencj@gmail.com>", "author": "Caven Chen <cavencj@gmail.com>",
"license": "Apache 2.0", "license": "Apache 2.0",
"main": "dist/dc.core.min.js", "main": "dist/dc.core.min.js",
"peerDependencies": { "peerDependencies": {
"@dvgis/dc-base": "^2.10.0"
"@dvgis/dc-base": "^2.11.0"
}, },
"files": [ "files": [
"dist" "dist"

+ 3
- 3
packages/mapv/package.json View File

{ {
"name": "@dvgis/dc-mapv", "name": "@dvgis/dc-mapv",
"version": "2.10.0",
"version": "2.11.0",
"description": "The SDK is based on Cesium for secondary development of 2, 3D all-in-one WebGis application framework, the framework optimizes the use of Cesium and add some additional features, designed for developers to quickly build WebGis applications.", "description": "The SDK is based on Cesium for secondary development of 2, 3D all-in-one WebGis application framework, the framework optimizes the use of Cesium and add some additional features, designed for developers to quickly build WebGis applications.",
"repository": "https://github.com/dvgis/dc-sdk.git", "repository": "https://github.com/dvgis/dc-sdk.git",
"homepage": "https://www.dvgis.cn", "homepage": "https://www.dvgis.cn",
"heatmap", "heatmap",
"turf", "turf",
"mapv", "mapv",
"s3m"
"s3m"
], ],
"author": "Caven Chen <cavencj@gmail.com>", "author": "Caven Chen <cavencj@gmail.com>",
"license": "Apache 2.0", "license": "Apache 2.0",
"main": "dist/dc.mapv.js", "main": "dist/dc.mapv.js",
"peerDependencies": { "peerDependencies": {
"@dvgis/dc-base": "^2.10.0"
"@dvgis/dc-base": "^2.11.0"
}, },
"files": [ "files": [
"dist" "dist"

+ 3
- 3
packages/s3m/package.json View File

{ {
"name": "@dvgis/dc-s3m", "name": "@dvgis/dc-s3m",
"version": "2.10.0",
"version": "2.11.0",
"description": "The SDK is based on Cesium for secondary development of 2, 3D all-in-one WebGis application framework, the framework optimizes the use of Cesium and add some additional features, designed for developers to quickly build WebGis applications.", "description": "The SDK is based on Cesium for secondary development of 2, 3D all-in-one WebGis application framework, the framework optimizes the use of Cesium and add some additional features, designed for developers to quickly build WebGis applications.",
"repository": "https://github.com/dvgis/dc-sdk.git", "repository": "https://github.com/dvgis/dc-sdk.git",
"homepage": "https://www.dvgis.cn", "homepage": "https://www.dvgis.cn",
"heatmap", "heatmap",
"turf", "turf",
"mapv", "mapv",
"s3m"
"s3m"
], ],
"author": "Caven Chen <cavencj@gmail.com>", "author": "Caven Chen <cavencj@gmail.com>",
"license": "Apache 2.0", "license": "Apache 2.0",
"main": "dist/dc.mapv.js", "main": "dist/dc.mapv.js",
"peerDependencies": { "peerDependencies": {
"@dvgis/dc-base": "^2.10.0"
"@dvgis/dc-base": "^2.11.0"
}, },
"files": [ "files": [
"dist" "dist"

+ 2
- 2
packages/sdk/package.json View File

{ {
"name": "@dvgis/dc-sdk", "name": "@dvgis/dc-sdk",
"version": "2.10.0",
"version": "2.11.0",
"description": "The SDK is based on Cesium for secondary development of 2, 3D all-in-one WebGis application framework, the framework optimizes the use of Cesium and add some additional features, designed for developers to quickly build WebGis applications.", "description": "The SDK is based on Cesium for secondary development of 2, 3D all-in-one WebGis application framework, the framework optimizes the use of Cesium and add some additional features, designed for developers to quickly build WebGis applications.",
"repository": "https://github.com/dvgis/dc-sdk.git", "repository": "https://github.com/dvgis/dc-sdk.git",
"homepage": "https://www.dvgis.cn", "homepage": "https://www.dvgis.cn",
"heatmap", "heatmap",
"turf", "turf",
"mapv", "mapv",
"s3m"
"s3m"
], ],
"author": "Caven Chen <cavencj@gmail.com>", "author": "Caven Chen <cavencj@gmail.com>",
"license": "Apache 2.0", "license": "Apache 2.0",

+ 1
- 1
scripts/build.js View File



fse.emptyDirSync(outoutDir) fse.emptyDirSync(outoutDir)


const pkgs = ['base', 'core', 'chart', 'mapv']
const pkgs = ['base', 'core', 'chart', 'mapv', 's3m']


const count = pkgs.length const count = pkgs.length



+ 1
- 1
scripts/release.js View File



shell.echo(chalk.green('release packages start')) shell.echo(chalk.green('release packages start'))


const pkgs = ['base', 'core', 'chart', 'mapv', 'sdk']
const pkgs = ['base', 'core', 'chart', 'mapv', 's3m', 'sdk']
const count = pkgs.length const count = pkgs.length


pkgs.forEach(async (item, index) => { pkgs.forEach(async (item, index) => {

Loading…
Cancel
Save