mirror of
https://gitlab.com/SukkaW/ruleset.skk.moe.git
synced 2026-04-20 02:44:25 +00:00
deploy: 00098c9ecc6a011316e2d003c77272821472a10d
This commit is contained in:
@@ -7,6 +7,8 @@ const { isCI } = require('ci-info');
|
|||||||
const threads = isCI ? cpuCount : cpuCount / 2;
|
const threads = isCI ? cpuCount : cpuCount / 2;
|
||||||
|
|
||||||
(async () => {
|
(async () => {
|
||||||
|
console.time('Total time');
|
||||||
|
|
||||||
/** @type Set<string> */
|
/** @type Set<string> */
|
||||||
const domainSets = new Set();
|
const domainSets = new Set();
|
||||||
|
|
||||||
@@ -265,6 +267,8 @@ const threads = isCI ? cpuCount : cpuCount / 2;
|
|||||||
console.timeEnd(`* Dedupe from covered subdomain`);
|
console.timeEnd(`* Dedupe from covered subdomain`);
|
||||||
console.log(`Deduped ${previousSize - domainSets.size} rules!`);
|
console.log(`Deduped ${previousSize - domainSets.size} rules!`);
|
||||||
|
|
||||||
|
console.timeEnd('Total time');
|
||||||
|
|
||||||
return fsPromises.writeFile(
|
return fsPromises.writeFile(
|
||||||
pathResolve(__dirname, '../List/domainset/reject.conf'),
|
pathResolve(__dirname, '../List/domainset/reject.conf'),
|
||||||
`${[...domainSets].join('\n')}\n`,
|
`${[...domainSets].join('\n')}\n`,
|
||||||
|
|||||||
@@ -24,7 +24,7 @@
|
|||||||
<main class="container">
|
<main class="container">
|
||||||
<h1>Sukka Surge Ruleset Server</h1>
|
<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>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>
|
<hr>
|
||||||
<br>
|
<br>
|
||||||
<ul>
|
<ul>
|
||||||
|
|||||||
@@ -58,7 +58,7 @@
|
|||||||
"dependencies": {
|
"dependencies": {
|
||||||
"@sukka/listdir": "^0.2.0",
|
"@sukka/listdir": "^0.2.0",
|
||||||
"@vercel/fetch-retry": "^5.1.3",
|
"@vercel/fetch-retry": "^5.1.3",
|
||||||
"ci-info": "^3.3.2",
|
"ci-info": "^3.4.0",
|
||||||
"picocolors": "^1.0.0",
|
"picocolors": "^1.0.0",
|
||||||
"piscina": "^3.2.0",
|
"piscina": "^3.2.0",
|
||||||
"table": "^6.8.0",
|
"table": "^6.8.0",
|
||||||
|
|||||||
8
pnpm-lock.yaml
generated
8
pnpm-lock.yaml
generated
@@ -3,7 +3,7 @@ lockfileVersion: 5.4
|
|||||||
specifiers:
|
specifiers:
|
||||||
'@sukka/listdir': ^0.2.0
|
'@sukka/listdir': ^0.2.0
|
||||||
'@vercel/fetch-retry': ^5.1.3
|
'@vercel/fetch-retry': ^5.1.3
|
||||||
ci-info: ^3.3.2
|
ci-info: ^3.4.0
|
||||||
picocolors: ^1.0.0
|
picocolors: ^1.0.0
|
||||||
piscina: ^3.2.0
|
piscina: ^3.2.0
|
||||||
table: ^6.8.0
|
table: ^6.8.0
|
||||||
@@ -13,7 +13,7 @@ specifiers:
|
|||||||
dependencies:
|
dependencies:
|
||||||
'@sukka/listdir': 0.2.0
|
'@sukka/listdir': 0.2.0
|
||||||
'@vercel/fetch-retry': 5.1.3
|
'@vercel/fetch-retry': 5.1.3
|
||||||
ci-info: 3.3.2
|
ci-info: 3.4.0
|
||||||
picocolors: 1.0.0
|
picocolors: 1.0.0
|
||||||
piscina: 3.2.0
|
piscina: 3.2.0
|
||||||
table: 6.8.0
|
table: 6.8.0
|
||||||
@@ -135,8 +135,8 @@ packages:
|
|||||||
fsevents: 2.3.2
|
fsevents: 2.3.2
|
||||||
dev: true
|
dev: true
|
||||||
|
|
||||||
/ci-info/3.3.2:
|
/ci-info/3.4.0:
|
||||||
resolution: {integrity: sha512-xmDt/QIAdeZ9+nfdPsaBCpMvHNLFiLdjj59qjqn+6iPe6YmHGQ35sBnQ8uslRBXFmXkiZQOJRjvQeoGppoTjjg==}
|
resolution: {integrity: sha512-t5QdPT5jq3o262DOQ8zA6E1tlH2upmUc4Hlvrbx1pGYJuiiHl7O7rvVNI+l8HTVhd/q3Qc9vqimkNk5yiXsAug==}
|
||||||
dev: false
|
dev: false
|
||||||
|
|
||||||
/color-convert/2.0.1:
|
/color-convert/2.0.1:
|
||||||
|
|||||||
Reference in New Issue
Block a user