chore: update npm package

This commit is contained in:
mrbunker
2023-10-22 21:47:58 +08:00
parent 0fcaaafa81
commit b40ac410a2
5 changed files with 1311 additions and 881 deletions

882
dist/jop.user.js vendored

File diff suppressed because it is too large Load Diff

View File

@@ -12,9 +12,9 @@
"preact": "10.15.1"
},
"devDependencies": {
"@preact/preset-vite": "^2.5.0",
"typescript": "^5.1.3",
"vite": "^4.3.9",
"vite-plugin-monkey": "^3.2.2"
"@preact/preset-vite": "^2.6.0",
"typescript": "^5.2.2",
"vite": "^4.5.0",
"vite-plugin-monkey": "^3.5.0"
}
}

726
pnpm-lock.yaml generated

File diff suppressed because it is too large Load Diff

View File

@@ -6,12 +6,12 @@ import { SiteItem, siteList } from "@/utils/siteList";
import type { LibItem } from "@/utils/libSites";
const App = memo(function ({ libItem, CODE }: { libItem: LibItem; CODE: string }) {
const defDis = [
// 默认不显示
const DEF_DIS = [
...["AvJoy", "baihuse", "GGJAV", "AV01", "18sex", "highporn"],
...["JavBus", "JavDB", "JAVLib", "MISSAV_"],
];
// 默认不显示
const [disables, setDisables] = useState(GM_getValue<SiteItem["name"][]>("disable", defDis));
const [disables, setDisables] = useState(GM_getValue<SiteItem["name"][]>("disable", DEF_DIS));
return (
<>

View File

@@ -5,5 +5,5 @@
"moduleResolution": "Node",
"allowSyntheticDefaultImports": true
},
"include": ["vite.config.ts", "src/utils/siteList.ts", "src/utils/libSites.ts"]
"include": ["vite.config.ts"]
}