Skip to content
This repository has been archived by the owner on Dec 12, 2024. It is now read-only.

Commit

Permalink
clean
Browse files Browse the repository at this point in the history
  • Loading branch information
piquark6046 committed Dec 12, 2024
1 parent bb673a6 commit af87833
Show file tree
Hide file tree
Showing 26 changed files with 19 additions and 1,491 deletions.
23 changes: 9 additions & 14 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,15 +1,15 @@
{
"name": "@list-kr/microshield",
"version": "4.12.9",
"version": "4.12.10",
"description": "",
"type": "module",
"scripts": {
"build": "pnpm bundle && pnpm bundle:iosblocker && pnpm bundle:iosrecovery",
"build": "npm run bundle && npm run bundle:iosblocker && npm run bundle:iosrecovery",
"shortwave:cache": "OUTPUT=$(readlink -f ./sources/src/__generated__/shortwave.cache.ts) node sources/scripts/generateShortwaveCache.mjs",
"ztinywave:cache": "OUTPUT=$(readlink -f ./sources/src/__generated__/ztinywave.cache.ts) node sources/scripts/generateTinywaveCache.mjs",
"bundle": "esbuild sources/src/index.ts --bundle --minify-whitespace --minify-syntax --define:global=window --inject:./sources/esbuild.inject.ts --banner:js=\"$(cat ./sources/banner.txt)\" --target=es2022,chrome109,safari16,firefox115 --outfile=./dist/microShield.user.js",
"bundle:iosblocker": "esbuild sources/src/index-ios-blocker.ts --bundle --minify-whitespace --minify-syntax --define:global=window --inject:./sources/esbuild.inject.ts --banner:js=\"$(cat ./sources/banner-ios-blocker.txt)\" --target=es2022,chrome109,safari16,firefox115 --outfile=./dist/microShield-ios-blocker.user.js",
"bundle:iosrecovery": "esbuild sources/src/index-ios-recovery.ts --bundle --minify-whitespace --minify-syntax --define:global=window --inject:./sources/esbuild.inject.ts --banner:js=\"$(cat ./sources/banner-ios-recovery.txt)\" --target=es2022,chrome109,safari16,firefox115 --outfile=./dist/microShield-ios-recovery.user.js",
"bundle:iosblocker": "esbuild sources/src/index.ts --bundle --minify-whitespace --minify-syntax --define:global=window --inject:./sources/esbuild.inject.ts --banner:js=\"$(cat ./sources/banner-ios-blocker.txt)\" --target=es2022,chrome109,safari16,firefox115 --outfile=./dist/microShield-ios-blocker.user.js",
"bundle:iosrecovery": "esbuild sources/src/index.ts --bundle --minify-whitespace --minify-syntax --define:global=window --inject:./sources/esbuild.inject.ts --banner:js=\"$(cat ./sources/banner-ios-recovery.txt)\" --target=es2022,chrome109,safari16,firefox115 --outfile=./dist/microShield-ios-recovery.user.js",
"debug": "esbuild sources/src/index.ts --bundle --define:global=window --inject:./sources/esbuild.inject.ts --banner:js=\"$(cat ./sources/banner.txt)\" --target=es2022,chrome109,safari16,firefox115 --outfile=./dist/microShield-debug.user.js",
"lint": "tsc --noEmit && eslint sources"
},
Expand Down Expand Up @@ -43,17 +43,12 @@
],
"license": "Apache-2.0",
"dependencies": {
"@list-kr/microshield-token-parser": "^2.0.3",
"@types/node": "^22.5.4",
"crypto-random-string": "^5.0.0",
"error-stack-parser": "^2.1.4",
"parse-domain": "^8.2.2"
"@types/node": "^22.10.2"
},
"devDependencies": {
"esbuild": "^0.23.1",
"eslint": "^9.9.1",
"pnpm": "^9.9.0",
"typescript": "^5.5.4",
"typescript-eslint": "^8.4.0"
"esbuild": "^0.24.0",
"eslint": "^9.16.0",
"typescript": "^5.7.2",
"typescript-eslint": "^8.18.0"
}
}
4 changes: 2 additions & 2 deletions sources/banner-ios-blocker.txt
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
// @downloadURL https://cdn.jsdelivr.net/npm/@list-kr/microshield@latest/dist/microShield-ios-blocker.user.js
// @license Apache-2.0
//
// @version 4.12.9
// @version 4.12.10
// @author PiQuark6046 and contributors
//
// @match *://ygosu.com/*
Expand Down Expand Up @@ -259,7 +259,7 @@
// @description:ja microShieldはAdGuard、uBlock Origin、Brave、ABPの環境でAd-Shieldを広範囲に回避します。
//
// @grant none
// @run-at document-start
// @run-at document-end
// ==/UserScript==
// Original Srouce Code:
// Libraries: please see 'https://github.com/List-KR/microShield/package.json'.
Expand Down
2 changes: 1 addition & 1 deletion sources/banner-ios-recovery.txt
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
// @downloadURL https://cdn.jsdelivr.net/npm/@list-kr/microshield@latest/dist/microShield-ios-recovery.user.js
// @license Apache-2.0
//
// @version 4.12.9
// @version 4.12.10
// @author PiQuark6046 and contributors
//
// @match *://ygosu.com/*
Expand Down
4 changes: 2 additions & 2 deletions sources/banner.txt
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
// @downloadURL https://cdn.jsdelivr.net/npm/@list-kr/microshield@latest/dist/microShield.user.js
// @license Apache-2.0
//
// @version 4.12.9
// @version 4.12.10
// @author PiQuark6046 and contributors
//
// @match *://ygosu.com/*
Expand Down Expand Up @@ -263,7 +263,7 @@
// @grant GM.listValues
// @grant GM.deleteValue
// @grant unsafeWindow
// @run-at document-start
// @run-at document-end
// ==/UserScript==
// Original Srouce Code:
// Libraries: please see 'https://github.com/List-KR/microShield/package.json'.
Expand Down
67 changes: 0 additions & 67 deletions sources/scripts/generateShortwaveCache.mjs

This file was deleted.

56 changes: 0 additions & 56 deletions sources/scripts/generateTinywaveCache.mjs

This file was deleted.

28 changes: 0 additions & 28 deletions sources/src/GM.ts

This file was deleted.

63 changes: 0 additions & 63 deletions sources/src/adshield/resources.ts

This file was deleted.

Loading

0 comments on commit af87833

Please sign in to comment.