mirror of
https://github.com/bakhirev/assayo.git
synced 2024-11-16 08:11:40 +00:00
update
This commit is contained in:
parent
8196e23ed8
commit
7f066f4e23
|
@ -1,17 +0,0 @@
|
|||
{
|
||||
"files": {
|
||||
"main.css": "./static/css/main.83b4380c.css",
|
||||
"main.js": "./static/js/main.2f9b2b48.js",
|
||||
"static/media/car.png": "./static/media/car.b8dd8738e37fe866285f.png",
|
||||
"index.html": "./index.html",
|
||||
"static/media/warning.svg": "./static/media/warning.e39a87773603f3ab157f.svg",
|
||||
"static/media/info.svg": "./static/media/info.954631f6b19e3fe9c495.svg",
|
||||
"static/media/alert.svg": "./static/media/alert.41e2b99c481139c13074.svg",
|
||||
"main.83b4380c.css.map": "./static/css/main.83b4380c.css.map",
|
||||
"main.2f9b2b48.js.map": "./static/js/main.2f9b2b48.js.map"
|
||||
},
|
||||
"entrypoints": [
|
||||
"static/css/main.83b4380c.css",
|
||||
"static/js/main.2f9b2b48.js"
|
||||
]
|
||||
}
|
|
@ -1 +1 @@
|
|||
<!doctype html><html><head><meta name="viewport" content="width=device-width,height=device-height,initial-scale=1,user-scalable=no,maximum-scale=1"><meta http-equiv="Content-Type" content="text/html; charset=utf-8"><meta http-equiv="Cache-Control" content="no-cache"><meta http-equiv="cleartype" content="on"><meta name="HandheldFriendly" content="True"><meta name="format-detection" content="telephone=no"><meta name="format-detection" content="address=no"><meta name="apple-mobile-web-app-capable" content="yes"><meta name="apple-mobile-web-app-status-bar-style" content="default"><meta name="theme-color" content="white"/><script type="text/javascript">var report=[]</script><script src="/log.txt"></script><script src="./log.txt"></script><script src="../log.txt"></script><script src="./log-0.txt"></script><script src="./log-1.txt"></script><script src="./log-2.txt"></script><script src="./log-3.txt"></script><script src="./log-4.txt"></script><script src="./log-5.txt"></script><script src="./log-6.txt"></script><script src="./report/log-0.txt"></script><script src="./report/log-1.txt"></script><script src="./report/log-2.txt"></script><script src="./report/log-3.txt"></script><script src="./report/log-4.txt"></script><script src="./report/log-5.txt"></script><script src="./report/log-6.txt"></script><link rel="icon" href="./favicon.svg"/><link rel="apple-touch-icon" href="./logo192.png"/><link rel="manifest" href="./manifest.json"/><title>Git Statistics</title><meta name="description" content="Simple and fast report on git commit history."><meta name="keywords" content="git, statistics, audit, history, log, monitoring, employee control"><meta name="author" content="Bakhirev Aleksei"><meta name="copyright" content="(c) Bakhirev Aleksei"><meta http-equiv="Reply-to" content="alexey-bakhirev@yandex.ru"><meta name="application-name" content="Git statistics"><meta name="msapplication-tooltip" content="Simple and fast report on Git commit history."><meta property="og:title" content="Git Statistics"><meta property="og:description" content="Simple and fast report on Git commit history."><meta property="og:image" content="http://assayo.jp/assets/seo/custom_icon_256.png"><meta property="og:site_name" content="Assayo"><meta property="og:url" content="http://assayo.jp/"><meta name="twitter:card" content="summary"><meta name="twitter:title" content="Git Statistics"><meta name="twitter:description" content="Simple and fast report on Git commit history."><meta name="twitter:creator" content="Bakhirev Aleksei"><meta name="twitter:image:src" content="http://assayo.jp/assets/seo/custom_icon_256.png"><meta name="twitter:domain" content="assayo.jp"><meta name="twitter:site" content="assayo.jp"><meta itemprop="name" content="Git Statistics"><meta itemprop="description" content="Simple and fast report on Git commit history."><meta itemprop="image" content="http://assayo.jp/assets/seo/custom_icon_256.png"><script defer="defer" src="./static/js/main.2f9b2b48.js"></script><link href="./static/css/main.83b4380c.css" rel="stylesheet"></head><body><noscript>You need to enable JavaScript to run this app.</noscript><div id="root"></div></body></html>
|
||||
<!doctype html><html><head><meta name="viewport" content="width=device-width,height=device-height,initial-scale=1,user-scalable=no,maximum-scale=1"><meta http-equiv="Content-Type" content="text/html; charset=utf-8"><meta http-equiv="Cache-Control" content="no-cache"><meta http-equiv="cleartype" content="on"><meta name="HandheldFriendly" content="True"><meta name="format-detection" content="telephone=no"><meta name="format-detection" content="address=no"><meta name="apple-mobile-web-app-capable" content="yes"><meta name="apple-mobile-web-app-status-bar-style" content="default"><meta name="theme-color" content="white"/><script type="text/javascript">var report=[]</script><script src='../log.txt'></script><script src='../log-1.txt'></script><script src='../log-2.txt'></script><script src='../log-3.txt'></script><script src='../log-4.txt'></script><script src='../log-5.txt'></script><script src='../log-6.txt'></script><script src='../../log.txt'></script><script src='../../log-1.txt'></script><script src='../../log-2.txt'></script><script src='../../log-3.txt'></script><script src='../../log-4.txt'></script><script src='../../log-5.txt'></script><script src='../../log-6.txt'></script><script src='./log.txt'></script><script src='./log-1.txt'></script><script src='./log-2.txt'></script><script src='./log-3.txt'></script><script src='./log-4.txt'></script><script src='./log-5.txt'></script><script src='./log-6.txt'></script><script src='/log.txt'></script><script src='/log-1.txt'></script><script src='/log-2.txt'></script><script src='/log-3.txt'></script><script src='/log-4.txt'></script><script src='/log-5.txt'></script><script src='/log-6.txt'></script><link rel="icon" href="./favicon.svg"/><link rel="apple-touch-icon" href="./logo192.png"/><link rel="manifest" href="./manifest.json"/><title>Git Statistics</title><meta name="description" content="Simple and fast report on git commit history."><meta name="keywords" content="git, statistics, audit, history, log, monitoring, employee control"><meta name="author" content="Bakhirev Aleksei"><meta name="copyright" content="(c) Bakhirev Aleksei"><meta http-equiv="Reply-to" content="alexey-bakhirev@yandex.ru"><meta name="application-name" content="Git statistics"><meta name="msapplication-tooltip" content="Simple and fast report on Git commit history."><meta property="og:title" content="Git Statistics"><meta property="og:description" content="Simple and fast report on Git commit history."><meta property="og:image" content="https://assayo.online/assets/seo/custom_icon_256.png"><meta property="og:site_name" content="Assayo"><meta property="og:url" content="https://assayo.online/"><meta name="twitter:card" content="summary"><meta name="twitter:title" content="Git Statistics"><meta name="twitter:description" content="Simple and fast report on Git commit history."><meta name="twitter:creator" content="Bakhirev Aleksei"><meta name="twitter:image:src" content="https://assayo.online/assets/seo/custom_icon_256.png"><meta name="twitter:domain" content="assayo.online"><meta name="twitter:site" content="assayo.online"><meta itemprop="name" content="Git Statistics"><meta itemprop="description" content="Simple and fast report on Git commit history."><meta itemprop="image" content="https://assayo.online/assets/seo/custom_icon_256.png"><script defer="defer" src="./static/index.js"></script><link href="./static/index.css" rel="stylesheet"></head><body><noscript>You need to enable JavaScript to run this app.</noscript><div id="root"></div></body></html>
|
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
2
build/static/index.css
Normal file
2
build/static/index.css
Normal file
File diff suppressed because one or more lines are too long
3
build/static/index.js
Normal file
3
build/static/index.js
Normal file
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
|
@ -1,76 +0,0 @@
|
|||
/*! sheetjs (C) 2013-present SheetJS -- http://sheetjs.com */
|
||||
|
||||
/*! xlsx.js (C) 2013-present SheetJS -- http://sheetjs.com */
|
||||
|
||||
/**
|
||||
* @license React
|
||||
* react-dom.production.min.js
|
||||
*
|
||||
* Copyright (c) Facebook, Inc. and its affiliates.
|
||||
*
|
||||
* This source code is licensed under the MIT license found in the
|
||||
* LICENSE file in the root directory of this source tree.
|
||||
*/
|
||||
|
||||
/**
|
||||
* @license React
|
||||
* react-jsx-runtime.production.min.js
|
||||
*
|
||||
* Copyright (c) Facebook, Inc. and its affiliates.
|
||||
*
|
||||
* This source code is licensed under the MIT license found in the
|
||||
* LICENSE file in the root directory of this source tree.
|
||||
*/
|
||||
|
||||
/**
|
||||
* @license React
|
||||
* react.production.min.js
|
||||
*
|
||||
* Copyright (c) Facebook, Inc. and its affiliates.
|
||||
*
|
||||
* This source code is licensed under the MIT license found in the
|
||||
* LICENSE file in the root directory of this source tree.
|
||||
*/
|
||||
|
||||
/**
|
||||
* @license React
|
||||
* scheduler.production.min.js
|
||||
*
|
||||
* Copyright (c) Facebook, Inc. and its affiliates.
|
||||
*
|
||||
* This source code is licensed under the MIT license found in the
|
||||
* LICENSE file in the root directory of this source tree.
|
||||
*/
|
||||
|
||||
/**
|
||||
* @remix-run/router v1.3.1
|
||||
*
|
||||
* Copyright (c) Remix Software Inc.
|
||||
*
|
||||
* This source code is licensed under the MIT license found in the
|
||||
* LICENSE.md file in the root directory of this source tree.
|
||||
*
|
||||
* @license MIT
|
||||
*/
|
||||
|
||||
/**
|
||||
* React Router DOM v6.8.0
|
||||
*
|
||||
* Copyright (c) Remix Software Inc.
|
||||
*
|
||||
* This source code is licensed under the MIT license found in the
|
||||
* LICENSE.md file in the root directory of this source tree.
|
||||
*
|
||||
* @license MIT
|
||||
*/
|
||||
|
||||
/**
|
||||
* React Router v6.8.0
|
||||
*
|
||||
* Copyright (c) Remix Software Inc.
|
||||
*
|
||||
* This source code is licensed under the MIT license found in the
|
||||
* LICENSE.md file in the root directory of this source tree.
|
||||
*
|
||||
* @license MIT
|
||||
*/
|
File diff suppressed because one or more lines are too long
41213
build/test.txt
41213
build/test.txt
File diff suppressed because it is too large
Load diff
|
@ -22,13 +22,11 @@
|
|||
"xlsx": "^0.18.5"
|
||||
},
|
||||
"scripts": {
|
||||
"build-rename": "npm run build-rename-js && npm run build-rename-css",
|
||||
"build-rename-js": "mv build/static/js/main.*.js build/static/index.js && rm -rf build/static/js",
|
||||
"build-rename-css": "mv build/static/css/main.*.css build/static/index.css && rm -rf build/static/css",
|
||||
"build-rename-html": "rm build/index.html && mv build/local.html build/index.html",
|
||||
"dev": "set PORT=3006 && react-app-rewired start",
|
||||
"build": "react-scripts build",
|
||||
"build-local": "set REACT_APP_TYPE=local && react-scripts build && npm run build-rename && npm run build-rename-html",
|
||||
"build-website": "react-scripts build && cd scripts && node add-analytics.js",
|
||||
"build-local": "set REACT_APP_TYPE=local && react-scripts build && cd scripts && node remove-hash.js && node add-local.js",
|
||||
"build-docker": "set REACT_APP_TYPE=local && react-scripts build",
|
||||
"test": "react-scripts test",
|
||||
"eject": "react-scripts eject",
|
||||
"js:check": "npx eslint \"src/**/*.{ts,tsx,js}\"",
|
||||
|
|
|
@ -15,23 +15,6 @@
|
|||
<script type="text/javascript">
|
||||
var report = [];
|
||||
</script>
|
||||
<script src='/log.txt'></script>
|
||||
<script src='./log.txt'></script>
|
||||
<script src='../log.txt'></script>
|
||||
<script src='./log-0.txt'></script>
|
||||
<script src='./log-1.txt'></script>
|
||||
<script src='./log-2.txt'></script>
|
||||
<script src='./log-3.txt'></script>
|
||||
<script src='./log-4.txt'></script>
|
||||
<script src='./log-5.txt'></script>
|
||||
<script src='./log-6.txt'></script>
|
||||
<script src='./report/log-0.txt'></script>
|
||||
<script src='./report/log-1.txt'></script>
|
||||
<script src='./report/log-2.txt'></script>
|
||||
<script src='./report/log-3.txt'></script>
|
||||
<script src='./report/log-4.txt'></script>
|
||||
<script src='./report/log-5.txt'></script>
|
||||
<script src='./report/log-6.txt'></script>
|
||||
<link rel="icon" href="%PUBLIC_URL%/favicon.svg" />
|
||||
<link rel="apple-touch-icon" href="%PUBLIC_URL%/logo192.png" />
|
||||
<link rel="manifest" href="%PUBLIC_URL%/manifest.json" />
|
||||
|
@ -64,23 +47,5 @@
|
|||
<body>
|
||||
<noscript>You need to enable JavaScript to run this app.</noscript>
|
||||
<div id="root"></div>
|
||||
|
||||
<!-- Yandex.Metrika counter
|
||||
<script type="text/javascript" >
|
||||
(function(m,e,t,r,i,k,a){m[i]=m[i]||function(){(m[i].a=m[i].a||[]).push(arguments)};
|
||||
m[i].l=1*new Date();
|
||||
for (var j = 0; j < document.scripts.length; j++) {if (document.scripts[j].src === r) { return; }}
|
||||
k=e.createElement(t),a=e.getElementsByTagName(t)[0],k.async=1,k.src=r,a.parentNode.insertBefore(k,a)})
|
||||
(window, document, "script", "https://mc.yandex.ru/metrika/tag.js", "ym");
|
||||
|
||||
ym(94903985, "init", {
|
||||
clickmap:true,
|
||||
trackLinks:true,
|
||||
accurateTrackBounce:true,
|
||||
webvisor:true
|
||||
});
|
||||
</script>
|
||||
<noscript><div><img src="https://mc.yandex.ru/watch/94903985" style="position:absolute; left:-9999px;" alt="" /></div></noscript>
|
||||
/Yandex.Metrika counter -->
|
||||
</body>
|
||||
</html>
|
||||
|
|
|
@ -1,54 +0,0 @@
|
|||
<!DOCTYPE html>
|
||||
<html>
|
||||
<head>
|
||||
<meta name="viewport" content="width=device-width, height=device-height, initial-scale=1.0, user-scalable=no, maximum-scale=1.0">
|
||||
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
|
||||
<meta http-equiv="Cache-Control" content="no-cache">
|
||||
<meta http-equiv="cleartype" content="on">
|
||||
<meta name="HandheldFriendly" content="True">
|
||||
<meta name="format-detection" content="telephone=no">
|
||||
<meta name="format-detection" content="address=no">
|
||||
<meta name="apple-mobile-web-app-capable" content="yes">
|
||||
<meta name="apple-mobile-web-app-status-bar-style" content="default">
|
||||
<meta name="theme-color" content="white"/>
|
||||
|
||||
<script type="text/javascript">
|
||||
var report = [];
|
||||
</script>
|
||||
<link rel="icon" href="./favicon.svg" />
|
||||
<link rel="apple-touch-icon" href="./logo192.png" />
|
||||
<link rel="manifest" href="./asset-manifest.json" />
|
||||
|
||||
<title>Git Statistics</title>
|
||||
<meta name="description" content="Simple and fast report on git commit history.">
|
||||
<meta name="keywords" content="git, statistics, audit, history, log, monitoring, employee control">
|
||||
<meta name="author" content="Bakhirev Aleksei">
|
||||
<meta name="copyright" content="(c) Bakhirev Aleksei">
|
||||
<meta http-equiv="Reply-to" content="alexey-bakhirev@yandex.ru">
|
||||
|
||||
<meta name="application-name" content="Git statistics">
|
||||
<meta name="msapplication-tooltip" content="Simple and fast report on Git commit history.">
|
||||
<meta property="og:title" content="Git Statistics">
|
||||
<meta property="og:description" content="Simple and fast report on Git commit history.">
|
||||
<meta property="og:image" content="https://assayo.online/assets/seo/custom_icon_256.png">
|
||||
<meta property="og:site_name" content="Assayo">
|
||||
<meta property="og:url" content="https://assayo.online/">
|
||||
<meta name="twitter:card" content="summary">
|
||||
<meta name="twitter:title" content="Git Statistics">
|
||||
<meta name="twitter:description" content="Simple and fast report on Git commit history.">
|
||||
<meta name="twitter:creator" content="Bakhirev Aleksei">
|
||||
<meta name="twitter:image:src" content="https://assayo.online/assets/seo/custom_icon_256.png">
|
||||
<meta name="twitter:domain" content="assayo.online">
|
||||
<meta name="twitter:site" content="assayo.online">
|
||||
<meta itemprop="name" content="Git Statistics">
|
||||
<meta itemprop="description" content="Simple and fast report on Git commit history.">
|
||||
<meta itemprop="image" content="https://assayo.online/assets/seo/custom_icon_256.png">
|
||||
|
||||
<link rel="stylesheet" type="text/css" href="./static/index.css">
|
||||
</head>
|
||||
<body>
|
||||
<noscript>You need to enable JavaScript to run this app.</noscript>
|
||||
<div id="root"></div>
|
||||
<script src='./static/index.js'></script>
|
||||
</body>
|
||||
</html>
|
24
scripts/add-analytics.js
Normal file
24
scripts/add-analytics.js
Normal file
|
@ -0,0 +1,24 @@
|
|||
const fs = require('node:fs');
|
||||
|
||||
const YandexMetrika = `
|
||||
<script type="text/javascript" >
|
||||
(function(m,e,t,r,i,k,a){m[i]=m[i]||function(){(m[i].a=m[i].a||[]).push(arguments)};
|
||||
m[i].l=1*new Date();
|
||||
for (var j = 0; j < document.scripts.length; j++) {if (document.scripts[j].src === r) { return; }}
|
||||
k=e.createElement(t),a=e.getElementsByTagName(t)[0],k.async=1,k.src=r,a.parentNode.insertBefore(k,a)})
|
||||
(window, document, "script", "https://mc.yandex.ru/metrika/tag.js", "ym");
|
||||
|
||||
ym(94903985, "init", {
|
||||
clickmap:true,
|
||||
trackLinks:true,
|
||||
accurateTrackBounce:true,
|
||||
webvisor:true
|
||||
});
|
||||
</script>
|
||||
<noscript><div><img src="https://mc.yandex.ru/watch/94903985" style="position:absolute; left:-9999px;" alt="" /></div></noscript>
|
||||
`;
|
||||
|
||||
const html = fs.readFileSync('../build/index.html', 'utf8');
|
||||
const text = html
|
||||
.replace(/<\/body>/gim, `\n${YandexMetrika}\n</body>`);
|
||||
fs.writeFileSync('../build/index.html', text);
|
17
scripts/add-local.js
Normal file
17
scripts/add-local.js
Normal file
|
@ -0,0 +1,17 @@
|
|||
const fs = require('node:fs');
|
||||
|
||||
const prefixes = [ './', '../', '../../', '/'];
|
||||
const suffixes = (new Array(6)).fill(1).map((a, i) => i + 1);
|
||||
const paths = [];
|
||||
prefixes.forEach((prefix) => {
|
||||
paths.push(`<script src='${prefix}log.txt'></script>`);
|
||||
suffixes.forEach((suffix) => {
|
||||
paths.push(`<script src='${prefix}log-${suffix}.txt'></script>`);
|
||||
});
|
||||
});
|
||||
const content = paths.join('');
|
||||
|
||||
const html = fs.readFileSync('../build/index.html', 'utf8');
|
||||
const text = html
|
||||
.replace(/var\sreport=\[]<\/script>/gim, `var report=[]</script>${content}`);
|
||||
fs.writeFileSync('../build/index.html', text);
|
17
scripts/remove-hash.js
Normal file
17
scripts/remove-hash.js
Normal file
|
@ -0,0 +1,17 @@
|
|||
const fs = require('node:fs');
|
||||
const { exec } = require('node:child_process');
|
||||
|
||||
exec([
|
||||
'mv ../build/static/js/main.*.js ../build/static/index.js',
|
||||
'rm -rf ../build/static/js',
|
||||
'mv ../build/static/css/main.*.css ../build/static/index.css',
|
||||
'rm -rf ../build/static/css',
|
||||
'rm ../build/asset-manifest.json',
|
||||
'rm ../build/test.txt',
|
||||
].join(' && '));
|
||||
|
||||
const html = fs.readFileSync('../build/index.html', 'utf8');
|
||||
const text = html
|
||||
.replace(/static\/js\/[a-z0-9.]+/gim, 'static/index.js')
|
||||
.replace(/static\/css\/[a-z0-9.]+/gim, 'static/index.css');
|
||||
fs.writeFileSync('../build/index.html', text);
|
Loading…
Reference in a new issue