Commit 9d3ed947 authored by 邓晓峰's avatar 邓晓峰

chore: packages

parent ed05216c
## 0.0.1 (2020-08-19) ## [0.0.7](https://g.civnet.cn:8443/test/maintenance/compare/v0.0.6...v0.0.7) (2020-12-25)
## [0.0.6](https://g.civnet.cn:8443/test/maintenance/compare/f581cd493f6afaca2cd748a7fe965c03686dfb1b...v0.0.6) (2020-12-25)
### Bug Fixes ### Bug Fixes
* git address ([7e759c5](https://g.civnet.cn:8443/test/maintenance/commits/7e759c538c424562cbba034dad4bfc80e5b30cf4)) * fix role ([111412f](https://g.civnet.cn:8443/test/maintenance/commits/111412f71c812002841519d19667d6175678d1e2))
* index.html title ([12fa65e](https://g.civnet.cn:8443/test/maintenance/commits/12fa65ebf1d99aa5d87c7683cac9bd39d4060e02)) * menu panel bug ([785cade](https://g.civnet.cn:8443/test/maintenance/commits/785cade35e89d1931fcc69be6a511fcde0a5a3bf))
* package.json ([f1fbec2](https://g.civnet.cn:8443/test/maintenance/commits/f1fbec2da0e59f581caed91c6914caf93d5e254f)) * menu panel bug ([8c3b4b8](https://g.civnet.cn:8443/test/maintenance/commits/8c3b4b883e95c27e7ab1d2c4d41d2317ae536ad0))
* notice ([ab27a76](https://g.civnet.cn:8443/test/maintenance/commits/ab27a7663d993d8db5843fda82b099edc4ce7c37))
* notice ([933261f](https://g.civnet.cn:8443/test/maintenance/commits/933261f5fb1407b8a8e5c423964807f4542a36bb))
* notice ([0dddd61](https://g.civnet.cn:8443/test/maintenance/commits/0dddd61b4e713dc044252d3c5d88a2a32a3f91ca))
* slid-menu bug fix ([bd10055](https://g.civnet.cn:8443/test/maintenance/commits/bd1005593736ed8abfb94e974233076d75e68696))
* slid-menu bug fix ([bd0a1b3](https://g.civnet.cn:8443/test/maintenance/commits/bd0a1b315735ed2d7616b3bc9de4e151945b9e94))
* webpack bug ([07b69cd](https://g.civnet.cn:8443/test/maintenance/commits/07b69cd33411343cd8b52f5811e8e08d5416f37c))
### Features
* add citySelector ([e0bc666](https://g.civnet.cn:8443/test/maintenance/commits/e0bc6668e0fd4811469dcee805aeeed8b6811ada))
* add webpack outpath ([17c0fb3](https://g.civnet.cn:8443/test/maintenance/commits/17c0fb359232292805d06b5207b1297c2cd73c86))
* delete webpack build chunkhash ([ed78943](https://g.civnet.cn:8443/test/maintenance/commits/ed7894391b74ff9fb2c857eb0706c81157e15f70))
* message ([175a10e](https://g.civnet.cn:8443/test/maintenance/commits/175a10ee72690f94361a80dbb83a9ceac4036432))
* message ([f581cd4](https://g.civnet.cn:8443/test/maintenance/commits/f581cd493f6afaca2cd748a7fe965c03686dfb1b))
* notice ([c984c9d](https://g.civnet.cn:8443/test/maintenance/commits/c984c9d38eca4d907c8122167e511fab45abd8e0))
* notice ([9b5f66a](https://g.civnet.cn:8443/test/maintenance/commits/9b5f66a869834a467a44b8a6c616cda44e9d952c))
* notice ([a2f2fee](https://g.civnet.cn:8443/test/maintenance/commits/a2f2fee8f0e4ed51689e77e96168094dd7c98231))
* notice ([02566d6](https://g.civnet.cn:8443/test/maintenance/commits/02566d61a01e5bc0fb73a0ac00e930f3bd022f01))
* notice ([302f9e2](https://g.civnet.cn:8443/test/maintenance/commits/302f9e286919cc463eb10a68248c45204caf0b9e))
<!doctype html><html lang="en"><head><meta charset="utf-8"><meta name="viewport" content="width=device-width,initial-scale=1"><meta name="mobile-web-app-capable" content="yes"><script src="//cdn-service.datav.aliyun.com/datav-static/2.37.6_4/libs/event.js"></script><script type="text/javascript">window.share={event:new EventEmitter},window.share.event.setMaxListeners(50),window.umi_plugin_ant_themeVar=[{key:"dark",fileName:"dark.css",theme:"dark"},{key:"dust",fileName:"dust.css",modifyVars:{"@primary-color":"#F5222D"}},{key:"volcano",fileName:"volcano.css",modifyVars:{"@primary-color":"#FA541C"}},{key:"sunset",fileName:"sunset.css",modifyVars:{"@primary-color":"#FAAD14"}},{key:"cyan",fileName:"cyan.css",modifyVars:{"@primary-color":"#13C2C2"}},{key:"green",fileName:"green.css",modifyVars:{"@primary-color":"#52C41A"}},{key:"geekblue",fileName:"geekblue.css",modifyVars:{"@primary-color":"#2F54EB"}},{key:"purple",fileName:"purple.css",modifyVars:{"@primary-color":"#722ED1"}},{key:"dust",theme:"dark",fileName:"dark-dust.css",modifyVars:{"@primary-color":"#F5222D"}},{key:"volcano",theme:"dark",fileName:"dark-volcano.css",modifyVars:{"@primary-color":"#FA541C"}},{key:"sunset",theme:"dark",fileName:"dark-sunset.css",modifyVars:{"@primary-color":"#FAAD14"}},{key:"cyan",theme:"dark",fileName:"dark-cyan.css",modifyVars:{"@primary-color":"#13C2C2"}},{key:"green",theme:"dark",fileName:"dark-green.css",modifyVars:{"@primary-color":"#52C41A"}},{key:"geekblue",theme:"dark",fileName:"dark-geekblue.css",modifyVars:{"@primary-color":"#2F54EB"}},{key:"purple",theme:"dark",fileName:"dark-purple.css",modifyVars:{"@primary-color":"#722ED1"}}]</script></head><body><noscript>If you're seeing this message, that means <strong>JavaScript has been disabled on your browser</strong>, please <strong>enable JS</strong> to make this app work.</noscript><div id="app"></div><script type="text/javascript" src="/civbase/runtime.5f69b5c88e51b93a1e42.js"></script><script type="text/javascript" src="/civbase/npm.ant-design.88fb3521a9fd8195c3fb.chunk.js"></script><script type="text/javascript" src="/civbase/npm.antd.f5f2b68def59e373e5b4.chunk.js"></script><script type="text/javascript" src="/civbase/npm.babel.528d12579b83b5191533.chunk.js"></script><script type="text/javascript" src="/civbase/npm.lodash.287cbc31ef226f037287.chunk.js"></script><script type="text/javascript" src="/civbase/npm.moment.b3695d6e3dd0f7c7a18b.chunk.js"></script><script type="text/javascript" src="/civbase/npm.react-use.f6c78f3055faacf7a092.chunk.js"></script><script type="text/javascript" src="/civbase/npm.react-app-polyfill.2f4229475bedddac6a47.chunk.js"></script><script type="text/javascript" src="/civbase/npm.rc-util.9c7a1977db01ca74d5e0.chunk.js"></script><script type="text/javascript" src="/civbase/npm.axios.70530bb128bc32b32304.chunk.js"></script><script type="text/javascript" src="/civbase/main.b44e6fae8d69625f1fa7.chunk.js"></script></body></html> <!doctype html><html lang="en"><head><meta charset="utf-8"><meta name="viewport" content="width=device-width,initial-scale=1"><meta name="mobile-web-app-capable" content="yes"><script src="//cdn-service.datav.aliyun.com/datav-static/2.37.6_4/libs/event.js"></script><script type="text/javascript">window.share={event:new EventEmitter},window.share.event.setMaxListeners(50),window.umi_plugin_ant_themeVar=[{key:"dark",fileName:"dark.css",theme:"dark"},{key:"dust",fileName:"dust.css",modifyVars:{"@primary-color":"#F5222D"}},{key:"volcano",fileName:"volcano.css",modifyVars:{"@primary-color":"#FA541C"}},{key:"sunset",fileName:"sunset.css",modifyVars:{"@primary-color":"#FAAD14"}},{key:"cyan",fileName:"cyan.css",modifyVars:{"@primary-color":"#13C2C2"}},{key:"green",fileName:"green.css",modifyVars:{"@primary-color":"#52C41A"}},{key:"geekblue",fileName:"geekblue.css",modifyVars:{"@primary-color":"#2F54EB"}},{key:"purple",fileName:"purple.css",modifyVars:{"@primary-color":"#722ED1"}},{key:"dust",theme:"dark",fileName:"dark-dust.css",modifyVars:{"@primary-color":"#F5222D"}},{key:"volcano",theme:"dark",fileName:"dark-volcano.css",modifyVars:{"@primary-color":"#FA541C"}},{key:"sunset",theme:"dark",fileName:"dark-sunset.css",modifyVars:{"@primary-color":"#FAAD14"}},{key:"cyan",theme:"dark",fileName:"dark-cyan.css",modifyVars:{"@primary-color":"#13C2C2"}},{key:"green",theme:"dark",fileName:"dark-green.css",modifyVars:{"@primary-color":"#52C41A"}},{key:"geekblue",theme:"dark",fileName:"dark-geekblue.css",modifyVars:{"@primary-color":"#2F54EB"}},{key:"purple",theme:"dark",fileName:"dark-purple.css",modifyVars:{"@primary-color":"#722ED1"}}]</script></head><body><noscript>If you're seeing this message, that means <strong>JavaScript has been disabled on your browser</strong>, please <strong>enable JS</strong> to make this app work.</noscript><div id="app"></div><script type="text/javascript" src="/civbase/runtime.5f69b5c88e51b93a1e42.js"></script><script type="text/javascript" src="/civbase/npm.ant-design.88fb3521a9fd8195c3fb.chunk.js"></script><script type="text/javascript" src="/civbase/npm.antd.f5f2b68def59e373e5b4.chunk.js"></script><script type="text/javascript" src="/civbase/npm.babel.528d12579b83b5191533.chunk.js"></script><script type="text/javascript" src="/civbase/npm.lodash.287cbc31ef226f037287.chunk.js"></script><script type="text/javascript" src="/civbase/npm.moment.b3695d6e3dd0f7c7a18b.chunk.js"></script><script type="text/javascript" src="/civbase/npm.react-use.f6c78f3055faacf7a092.chunk.js"></script><script type="text/javascript" src="/civbase/npm.react-app-polyfill.2f4229475bedddac6a47.chunk.js"></script><script type="text/javascript" src="/civbase/npm.rc-util.9c7a1977db01ca74d5e0.chunk.js"></script><script type="text/javascript" src="/civbase/npm.axios.70530bb128bc32b32304.chunk.js"></script><script type="text/javascript" src="/civbase/main.06e9c5227514581e7703.chunk.js"></script></body></html>
\ No newline at end of file \ No newline at end of file
This source diff could not be displayed because it is too large. You can view the blob instead.
This diff was suppressed by a .gitattributes entry.
{ {
"main.js": "/civbasemain.b44e6fae8d69625f1fa7.chunk.js", "main.js": "/civbasemain.06e9c5227514581e7703.chunk.js",
"npm.ant-design.js": "/civbasenpm.ant-design.88fb3521a9fd8195c3fb.chunk.js", "npm.ant-design.js": "/civbasenpm.ant-design.88fb3521a9fd8195c3fb.chunk.js",
"npm.antd.js": "/civbasenpm.antd.f5f2b68def59e373e5b4.chunk.js", "npm.antd.js": "/civbasenpm.antd.f5f2b68def59e373e5b4.chunk.js",
"npm.axios.js": "/civbasenpm.axios.70530bb128bc32b32304.chunk.js", "npm.axios.js": "/civbasenpm.axios.70530bb128bc32b32304.chunk.js",
...@@ -19,7 +19,7 @@ ...@@ -19,7 +19,7 @@
"images/6.jpg": "/civbaseimages/6.jpg", "images/6.jpg": "/civbaseimages/6.jpg",
"images/icon.png": "/civbaseimages/icon.png", "images/icon.png": "/civbaseimages/icon.png",
"index.html": "/civbaseindex.html", "index.html": "/civbaseindex.html",
"main.b44e6fae8d69625f1fa7.chunk.js.gz": "/civbasemain.b44e6fae8d69625f1fa7.chunk.js.gz", "main.06e9c5227514581e7703.chunk.js.gz": "/civbasemain.06e9c5227514581e7703.chunk.js.gz",
"npm.ant-design.88fb3521a9fd8195c3fb.chunk.js.gz": "/civbasenpm.ant-design.88fb3521a9fd8195c3fb.chunk.js.gz", "npm.ant-design.88fb3521a9fd8195c3fb.chunk.js.gz": "/civbasenpm.ant-design.88fb3521a9fd8195c3fb.chunk.js.gz",
"npm.antd.f5f2b68def59e373e5b4.chunk.js.gz": "/civbasenpm.antd.f5f2b68def59e373e5b4.chunk.js.gz", "npm.antd.f5f2b68def59e373e5b4.chunk.js.gz": "/civbasenpm.antd.f5f2b68def59e373e5b4.chunk.js.gz",
"npm.axios.70530bb128bc32b32304.chunk.js.gz": "/civbasenpm.axios.70530bb128bc32b32304.chunk.js.gz", "npm.axios.70530bb128bc32b32304.chunk.js.gz": "/civbasenpm.axios.70530bb128bc32b32304.chunk.js.gz",
......
...@@ -3,7 +3,8 @@ const rm = require('rimraf'); ...@@ -3,7 +3,8 @@ const rm = require('rimraf');
const path = require('path'); const path = require('path');
const webpack = require('webpack'); const webpack = require('webpack');
const chalk = require('chalk'); const chalk = require('chalk');
const ora = require('ora') const ora = require('ora');
const fs = require('fs-extra');
const pkg = require('../../package.json'); const pkg = require('../../package.json');
const exec = require('../scripts/helpers/exec'); const exec = require('../scripts/helpers/exec');
const webpackConfig = require('./webpack.prod.babel') const webpackConfig = require('./webpack.prod.babel')
...@@ -57,6 +58,12 @@ webpack(webpackConfig, function (err, stats) { ...@@ -57,6 +58,12 @@ webpack(webpackConfig, function (err, stats) {
} }
await exec('np', ['patch', '--no-publish', '--no-cleanup', '--yolo', '-n']); await exec('np', ['patch', '--no-publish', '--no-cleanup', '--yolo', '-n']);
await exec('npm', ['run', 'log']); await exec('npm', ['run', 'log']);
try {
await fs.copy('./civbase', '../CivWebPublish/build')
console.log('success!')
} catch (err) {
console.error(err)
}
} }
//发布 //发布
......
...@@ -10,6 +10,8 @@ var chalk = require('chalk'); ...@@ -10,6 +10,8 @@ var chalk = require('chalk');
var ora = require('ora'); var ora = require('ora');
var fs = require('fs-extra');
var pkg = require('../../package.json'); var pkg = require('../../package.json');
var exec = require('../scripts/helpers/exec'); var exec = require('../scripts/helpers/exec');
...@@ -91,11 +93,26 @@ webpack(webpackConfig, function (err, stats) { ...@@ -91,11 +93,26 @@ webpack(webpackConfig, function (err, stats) {
return regeneratorRuntime.awrap(exec('npm', ['run', 'log'])); return regeneratorRuntime.awrap(exec('npm', ['run', 'log']));
case 15: case 15:
_context.prev = 15;
_context.next = 18;
return regeneratorRuntime.awrap(fs.copy('./civbase', '../CivWebPublish/build'));
case 18:
console.log('success!');
_context.next = 24;
break;
case 21:
_context.prev = 21;
_context.t1 = _context["catch"](15);
console.error(_context.t1);
case 24:
case "end": case "end":
return _context.stop(); return _context.stop();
} }
} }
}, null, null, [[0, 9]]); }, null, null, [[0, 9], [15, 21]]);
} //发布 } //发布
//比较上一个版本资源与当前资源文件指纹比对 //比较上一个版本资源与当前资源文件指纹比对
......
...@@ -2048,6 +2048,19 @@ ...@@ -2048,6 +2048,19 @@
"@commitlint/top-level": "^9.1.2", "@commitlint/top-level": "^9.1.2",
"fs-extra": "^8.1.0", "fs-extra": "^8.1.0",
"git-raw-commits": "^2.0.0" "git-raw-commits": "^2.0.0"
},
"dependencies": {
"fs-extra": {
"version": "8.1.0",
"resolved": "https://g.civnet.cn:4873/fs-extra/-/fs-extra-8.1.0.tgz",
"integrity": "sha512-yhlQgA6mnOJUKOsRUFsgJdQCvkKhcz8tlZG5HBQfReYZy46OwLcY+Zia0mtdHsOo9y/hP+CxMN0TU9QxoOtG4g==",
"dev": true,
"requires": {
"graceful-fs": "^4.2.0",
"jsonfile": "^4.0.0",
"universalify": "^0.1.0"
}
}
} }
}, },
"@commitlint/resolve-extends": { "@commitlint/resolve-extends": {
...@@ -14683,14 +14696,41 @@ ...@@ -14683,14 +14696,41 @@
"dev": true "dev": true
}, },
"fs-extra": { "fs-extra": {
"version": "8.1.0", "version": "9.0.1",
"resolved": "https://g.civnet.cn:4873/fs-extra/-/fs-extra-8.1.0.tgz", "resolved": "https://g.civnet.cn:4873/fs-extra/-/fs-extra-9.0.1.tgz",
"integrity": "sha512-yhlQgA6mnOJUKOsRUFsgJdQCvkKhcz8tlZG5HBQfReYZy46OwLcY+Zia0mtdHsOo9y/hP+CxMN0TU9QxoOtG4g==", "integrity": "sha512-h2iAoN838FqAFJY2/qVpzFXy+EBxfVE220PalAqQLDVsFOHLJrZvut5puAbCdNv6WJk+B8ihI+k0c7JK5erwqQ==",
"dev": true, "dev": true,
"requires": { "requires": {
"at-least-node": "^1.0.0",
"graceful-fs": "^4.2.0", "graceful-fs": "^4.2.0",
"jsonfile": "^4.0.0", "jsonfile": "^6.0.1",
"universalify": "^0.1.0" "universalify": "^1.0.0"
},
"dependencies": {
"jsonfile": {
"version": "6.1.0",
"resolved": "https://g.civnet.cn:4873/jsonfile/-/jsonfile-6.1.0.tgz",
"integrity": "sha1-vFWyY0eTxnnsZAMJTrE2mKbsCq4=",
"dev": true,
"requires": {
"graceful-fs": "^4.1.6",
"universalify": "^2.0.0"
},
"dependencies": {
"universalify": {
"version": "2.0.0",
"resolved": "https://g.civnet.cn:4873/universalify/-/universalify-2.0.0.tgz",
"integrity": "sha512-hAZsKq7Yy11Zu1DE0OzWjw7nnLZmJZYTDZZyEFHZdUhV8FkH5MCfoU1XMaxXovpyW5nq5scPqq0ZDP9Zyl04oQ==",
"dev": true
}
}
},
"universalify": {
"version": "1.0.0",
"resolved": "https://g.civnet.cn:4873/universalify/-/universalify-1.0.0.tgz",
"integrity": "sha512-rb6X1W158d7pRQBg5gkR8uPaSfiids68LTJQYOtEUhoJUWBdaQHsuT/EUduxXYxcrt4r5PJ4fuHW1MHT6p0qug==",
"dev": true
}
} }
}, },
"fs-minipass": { "fs-minipass": {
...@@ -29168,6 +29208,17 @@ ...@@ -29168,6 +29208,17 @@
"integrity": "sha512-QudtT6av5WXels9WjIM7qz1XD1cWGvX4gGXvp/zBn9nXG02D0utdU3Em2m/QjTnrsk6bBjmCygl3rmj118msQQ==", "integrity": "sha512-QudtT6av5WXels9WjIM7qz1XD1cWGvX4gGXvp/zBn9nXG02D0utdU3Em2m/QjTnrsk6bBjmCygl3rmj118msQQ==",
"dev": true "dev": true
}, },
"fs-extra": {
"version": "8.1.0",
"resolved": "https://g.civnet.cn:4873/fs-extra/-/fs-extra-8.1.0.tgz",
"integrity": "sha512-yhlQgA6mnOJUKOsRUFsgJdQCvkKhcz8tlZG5HBQfReYZy46OwLcY+Zia0mtdHsOo9y/hP+CxMN0TU9QxoOtG4g==",
"dev": true,
"requires": {
"graceful-fs": "^4.2.0",
"jsonfile": "^4.0.0",
"universalify": "^0.1.0"
}
},
"glob-parent": { "glob-parent": {
"version": "5.1.1", "version": "5.1.1",
"resolved": "https://g.civnet.cn:4873/glob-parent/-/glob-parent-5.1.1.tgz", "resolved": "https://g.civnet.cn:4873/glob-parent/-/glob-parent-5.1.1.tgz",
...@@ -181,6 +181,7 @@ ...@@ -181,6 +181,7 @@
"express": "^4.17.1", "express": "^4.17.1",
"file-loader": "3.0.1", "file-loader": "3.0.1",
"fs": "0.0.1-security", "fs": "0.0.1-security",
"fs-extra": "^9.0.1",
"html-loader": "0.5.5", "html-loader": "0.5.5",
"html-webpack-plugin": "3.2.0", "html-webpack-plugin": "3.2.0",
"http-proxy-middleware": "^1.0.5", "http-proxy-middleware": "^1.0.5",
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment