deploy: 00098c9ecc6a011316e2d003c77272821472a10d

This commit is contained in:
SukkaBot
2022-09-22 15:20:18 +00:00
parent 61addf213d
commit ac4acbd5da
4 changed files with 10 additions and 6 deletions

View File

@@ -7,6 +7,8 @@ const { isCI } = require('ci-info');
const threads = isCI ? cpuCount : cpuCount / 2;
(async () => {
console.time('Total time');
/** @type Set<string> */
const domainSets = new Set();
@@ -265,6 +267,8 @@ const threads = isCI ? cpuCount : cpuCount / 2;
console.timeEnd(`* Dedupe from covered subdomain`);
console.log(`Deduped ${previousSize - domainSets.size} rules!`);
console.timeEnd('Total time');
return fsPromises.writeFile(
pathResolve(__dirname, '../List/domainset/reject.conf'),
`${[...domainSets].join('\n')}\n`,

View File

@@ -24,7 +24,7 @@
<main class="container">
<h1>Sukka Surge Ruleset Server</h1>
<p>Made by <a href="https://skk.moe">Sukka</a> | <a href="https://github.com/SukkaW/Surge/">Source @ GitHub</a> | Licensed under <a href="https://github.com/SukkaW/Surge/blob/master/LICENSE" target="_blank">AGPL-3.0</a></p>
<p>Last Updated: 2022-09-22T15:03:22.565Z</p>
<p>Last Updated: 2022-09-22T15:20:17.180Z</p>
<hr>
<br>
<ul>

View File

@@ -58,7 +58,7 @@
"dependencies": {
"@sukka/listdir": "^0.2.0",
"@vercel/fetch-retry": "^5.1.3",
"ci-info": "^3.3.2",
"ci-info": "^3.4.0",
"picocolors": "^1.0.0",
"piscina": "^3.2.0",
"table": "^6.8.0",

8
pnpm-lock.yaml generated
View File

@@ -3,7 +3,7 @@ lockfileVersion: 5.4
specifiers:
'@sukka/listdir': ^0.2.0
'@vercel/fetch-retry': ^5.1.3
ci-info: ^3.3.2
ci-info: ^3.4.0
picocolors: ^1.0.0
piscina: ^3.2.0
table: ^6.8.0
@@ -13,7 +13,7 @@ specifiers:
dependencies:
'@sukka/listdir': 0.2.0
'@vercel/fetch-retry': 5.1.3
ci-info: 3.3.2
ci-info: 3.4.0
picocolors: 1.0.0
piscina: 3.2.0
table: 6.8.0
@@ -135,8 +135,8 @@ packages:
fsevents: 2.3.2
dev: true
/ci-info/3.3.2:
resolution: {integrity: sha512-xmDt/QIAdeZ9+nfdPsaBCpMvHNLFiLdjj59qjqn+6iPe6YmHGQ35sBnQ8uslRBXFmXkiZQOJRjvQeoGppoTjjg==}
/ci-info/3.4.0:
resolution: {integrity: sha512-t5QdPT5jq3o262DOQ8zA6E1tlH2upmUc4Hlvrbx1pGYJuiiHl7O7rvVNI+l8HTVhd/q3Qc9vqimkNk5yiXsAug==}
dev: false
/color-convert/2.0.1: