chore(web-clipper): set up for TypeScript

This commit is contained in:
Elian Doran 2026-01-24 12:35:31 +02:00
parent 423038100e
commit 2e144fac5e
No known key found for this signature in database
4 changed files with 11 additions and 2 deletions

View File

@ -0,0 +1,6 @@
{
"extends": [
"../../tsconfig.base.json",
"./.wxt/tsconfig.json"
]
}

View File

@ -1,4 +1,4 @@
import { defineConfig } from "vite";
import { defineConfig } from "wxt";
export default defineConfig({
modules: ['@wxt-dev/auto-icons'],

View File

@ -40,7 +40,7 @@
"dev:linter-check": "cross-env NODE_OPTIONS=--max_old_space_size=4096 eslint .",
"dev:linter-fix": "cross-env NODE_OPTIONS=--max_old_space_size=4096 eslint . --fix",
"postinstall": "tsx scripts/electron-rebuild.mts && pnpm prepare",
"prepare": "pnpm run --filter pdfjs-viewer --filter share-theme build"
"prepare": "pnpm run --filter pdfjs-viewer --filter share-theme build && pnpm run --filter web-clipper postinstall"
},
"private": true,
"devDependencies": {

View File

@ -24,6 +24,9 @@
{
"path": "./apps/website"
},
{
"path": "./apps/web-clipper"
},
{
"path": "./apps/dump-db"
},