Commit 3b9e17b0 authored by 邓晓峰's avatar 邓晓峰

chore: packages

parent 81ab8148
## [0.0.19](https://g.civnet.cn:8443/test/maintenance/compare/v0.0.18...v0.0.19) (2020-12-25)
## [0.0.18](https://g.civnet.cn:8443/test/maintenance/compare/v0.0.17...v0.0.18) (2020-12-25) ## [0.0.18](https://g.civnet.cn:8443/test/maintenance/compare/v0.0.17...v0.0.18) (2020-12-25)
......
<!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.9a523fcb486a45d5c2a9.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.505f6c65418a78b86706.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": "/civbase/main.9a523fcb486a45d5c2a9.chunk.js", "main.js": "/civbase/main.505f6c65418a78b86706.chunk.js",
"npm.ant-design.js": "/civbase/npm.ant-design.88fb3521a9fd8195c3fb.chunk.js", "npm.ant-design.js": "/civbase/npm.ant-design.88fb3521a9fd8195c3fb.chunk.js",
"npm.antd.js": "/civbase/npm.antd.f5f2b68def59e373e5b4.chunk.js", "npm.antd.js": "/civbase/npm.antd.f5f2b68def59e373e5b4.chunk.js",
"npm.axios.js": "/civbase/npm.axios.70530bb128bc32b32304.chunk.js", "npm.axios.js": "/civbase/npm.axios.70530bb128bc32b32304.chunk.js",
...@@ -19,7 +19,7 @@ ...@@ -19,7 +19,7 @@
"images/6.jpg": "/civbase/images/6.jpg", "images/6.jpg": "/civbase/images/6.jpg",
"images/icon.png": "/civbase/images/icon.png", "images/icon.png": "/civbase/images/icon.png",
"index.html": "/civbase/index.html", "index.html": "/civbase/index.html",
"main.9a523fcb486a45d5c2a9.chunk.js.gz": "/civbase/main.9a523fcb486a45d5c2a9.chunk.js.gz", "main.505f6c65418a78b86706.chunk.js.gz": "/civbase/main.505f6c65418a78b86706.chunk.js.gz",
"npm.ant-design.88fb3521a9fd8195c3fb.chunk.js.gz": "/civbase/npm.ant-design.88fb3521a9fd8195c3fb.chunk.js.gz", "npm.ant-design.88fb3521a9fd8195c3fb.chunk.js.gz": "/civbase/npm.ant-design.88fb3521a9fd8195c3fb.chunk.js.gz",
"npm.antd.f5f2b68def59e373e5b4.chunk.js.gz": "/civbase/npm.antd.f5f2b68def59e373e5b4.chunk.js.gz", "npm.antd.f5f2b68def59e373e5b4.chunk.js.gz": "/civbase/npm.antd.f5f2b68def59e373e5b4.chunk.js.gz",
"npm.axios.70530bb128bc32b32304.chunk.js.gz": "/civbase/npm.axios.70530bb128bc32b32304.chunk.js.gz", "npm.axios.70530bb128bc32b32304.chunk.js.gz": "/civbase/npm.axios.70530bb128bc32b32304.chunk.js.gz",
......
...@@ -58,12 +58,12 @@ webpack(webpackConfig, function (err, stats) { ...@@ -58,12 +58,12 @@ webpack(webpackConfig, function (err, stats) {
} catch(error) { } catch(error) {
} }
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 { try {
// await fs.copy('./civbase', '../CivWebPublish/build/civbase'); // await fs.copy('./civbase', '../CivWebPublish/build/civbase');
let prevManifest = null let prevManifest = null
if(( prevManifest= require('../CivWebPublish/build/civbase/manifest.json'))) { if(( prevManifest= require(path.resolve('../CivWebPublish/build/civbase/manifest.json')))) {
const currentManifest = require('../../civbase/manifest.json'); const currentManifest = require('../../civbase/manifest.json');
console.log(prevManifest, currentManifest); console.log(prevManifest, currentManifest);
} }
......
...@@ -97,18 +97,14 @@ webpack(webpackConfig, function (err, stats) { ...@@ -97,18 +97,14 @@ webpack(webpackConfig, function (err, stats) {
case 11: case 11:
_context2.next = 13; _context2.next = 13;
return regeneratorRuntime.awrap(exec('np', ['patch', '--no-publish', '--no-cleanup', '--yolo', '-n']));
case 13:
_context2.next = 15;
return regeneratorRuntime.awrap(exec('npm', ['run', 'log'])); return regeneratorRuntime.awrap(exec('npm', ['run', 'log']));
case 15: case 13:
try { try {
// await fs.copy('./civbase', '../CivWebPublish/build/civbase'); // await fs.copy('./civbase', '../CivWebPublish/build/civbase');
prevManifest = null; prevManifest = null;
if (prevManifest = require('../CivWebPublish/build/civbase/manifest.json')) { if (prevManifest = require(path.resolve('../CivWebPublish/build/civbase/manifest.json'))) {
currentManifest = require('../../civbase/manifest.json'); currentManifest = require('../../civbase/manifest.json');
console.log(prevManifest, currentManifest); console.log(prevManifest, currentManifest);
} // console.log(currentManifest); } // console.log(currentManifest);
...@@ -121,7 +117,7 @@ webpack(webpackConfig, function (err, stats) { ...@@ -121,7 +117,7 @@ webpack(webpackConfig, function (err, stats) {
console.error(err); console.error(err);
} }
case 16: case 14:
case "end": case "end":
return _context2.stop(); return _context2.stop();
} }
......
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