Commit 474f183d authored by 邓晓峰's avatar 邓晓峰

chore: packages

parent fe48b478
## [0.0.9](https://g.civnet.cn:8443/test/maintenance/compare/v0.0.8...v0.0.9) (2020-12-25)
## [0.0.8](https://g.civnet.cn:8443/test/maintenance/compare/v0.0.7...v0.0.8) (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.301c98c342934ce0c540.chunk.js"></script></body></html>
\ No newline at end of file
<!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.311fd3c681e6f363eaa3.chunk.js"></script></body></html>
\ 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.301c98c342934ce0c540.chunk.js",
"main.js": "/civbasemain.311fd3c681e6f363eaa3.chunk.js",
"npm.ant-design.js": "/civbasenpm.ant-design.88fb3521a9fd8195c3fb.chunk.js",
"npm.antd.js": "/civbasenpm.antd.f5f2b68def59e373e5b4.chunk.js",
"npm.axios.js": "/civbasenpm.axios.70530bb128bc32b32304.chunk.js",
......@@ -19,7 +19,7 @@
"images/6.jpg": "/civbaseimages/6.jpg",
"images/icon.png": "/civbaseimages/icon.png",
"index.html": "/civbaseindex.html",
"main.301c98c342934ce0c540.chunk.js.gz": "/civbasemain.301c98c342934ce0c540.chunk.js.gz",
"main.311fd3c681e6f363eaa3.chunk.js.gz": "/civbasemain.311fd3c681e6f363eaa3.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.axios.70530bb128bc32b32304.chunk.js.gz": "/civbasenpm.axios.70530bb128bc32b32304.chunk.js.gz",
......
......@@ -20,7 +20,9 @@ function packageExists({ name, version }) {
const { stdout } = execa.sync('npm', ['info', `${name}@${version}`]);
return stdout.length > 0;
}
async function release() {
}
webpack(webpackConfig, function (err, stats) {
spinner.stop()
if (err) throw err
......
......@@ -37,6 +37,18 @@ function packageExists(_ref) {
return stdout.length > 0;
}
function release() {
return regeneratorRuntime.async(function release$(_context) {
while (1) {
switch (_context.prev = _context.next) {
case 0:
case "end":
return _context.stop();
}
}
});
}
webpack(webpackConfig, function (err, stats) {
spinner.stop();
if (err) throw err;
......@@ -60,56 +72,56 @@ webpack(webpackConfig, function (err, stats) {
var bumps = ['patch', 'minor', 'major', 'prerelease-alpha', 'prerelease-beta', 'premajor']; //提交
function release() {
return regeneratorRuntime.async(function release$(_context) {
return regeneratorRuntime.async(function release$(_context2) {
while (1) {
switch (_context.prev = _context.next) {
switch (_context2.prev = _context2.next) {
case 0:
_context.prev = 0;
_context.next = 3;
_context2.prev = 0;
_context2.next = 3;
return regeneratorRuntime.awrap(exec('git', ['add', '.']));
case 3:
_context.next = 5;
_context2.next = 5;
return regeneratorRuntime.awrap(exec('git', ['commit', '-m', 'chore: packages', '-n']));
case 5:
_context.next = 7;
_context2.next = 7;
return regeneratorRuntime.awrap(exec('git', ['push', '-n']));
case 7:
_context.next = 11;
_context2.next = 11;
break;
case 9:
_context.prev = 9;
_context.t0 = _context["catch"](0);
_context2.prev = 9;
_context2.t0 = _context2["catch"](0);
case 11:
_context.next = 13;
_context2.next = 13;
return regeneratorRuntime.awrap(exec('np', ['patch', '--no-publish', '--no-cleanup', '--yolo', '-n']));
case 13:
_context.next = 15;
_context2.next = 15;
return regeneratorRuntime.awrap(exec('npm', ['run', 'log']));
case 15:
_context.prev = 15;
_context.next = 18;
_context2.prev = 15;
_context2.next = 18;
return regeneratorRuntime.awrap(fs.copy('./civbase', '../CivWebPublish/build/civbase'));
case 18:
console.log('success!');
_context.next = 24;
_context2.next = 24;
break;
case 21:
_context.prev = 21;
_context.t1 = _context["catch"](15);
console.error(_context.t1);
_context2.prev = 21;
_context2.t1 = _context2["catch"](15);
console.error(_context2.t1);
case 24:
case "end":
return _context.stop();
return _context2.stop();
}
}
}, null, null, [[0, 9], [15, 21]]);
......
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