Skip to content

Commit e780cb0

Browse files
committed
chore: Upgrade all major deps
1 parent 6cf21a3 commit e780cb0

6 files changed

+18
-41
lines changed

bun.lockb

-13.4 KB
Binary file not shown.

package.json

+9-11
Original file line numberDiff line numberDiff line change
@@ -20,20 +20,19 @@
2020
"dependencies": {
2121
"@aklinker1/check": "^1.4.5",
2222
"@tanstack/vue-query": "^5.59.13",
23-
"@vueuse/core": "^9.13.0",
24-
"@webext-core/messaging": "^1.4.0",
23+
"@webext-core/messaging": "^2.0.1",
2524
"@webext-core/proxy-service": "^1.2.0",
26-
"async-mutex": "^0.4.1",
27-
"daisyui": "^3.9.4",
25+
"async-mutex": "^0.5.0",
26+
"daisyui": "^4.12.13",
2827
"fast-deep-equal": "^3.1.3",
29-
"minimatch": "^9.0.5",
28+
"minimatch": "^10.0.1",
3029
"ofetch": "^1.4.1"
3130
},
3231
"devDependencies": {
3332
"@aklinker1/generate-changelog": "^1.1.2",
3433
"@iconify/json": "^2.2.261",
3534
"@types/bun": "^1.1.11",
36-
"@types/chrome": "^0.0.269",
35+
"@types/chrome": "^0.0.278",
3736
"@types/jsdom": "^21.1.7",
3837
"@vitest/coverage-v8": "^2.1.3",
3938
"@wxt-dev/auto-icons": "^1.0.2",
@@ -42,12 +41,11 @@
4241
"autoprefixer": "^10.4.20",
4342
"env-cmd": "^10.1.0",
4443
"fast-glob": "^3.3.2",
45-
"jsdom": "^22.1.0",
46-
"lint-staged": "^14.0.1",
44+
"jsdom": "^25.0.1",
45+
"lint-staged": "^15.2.10",
4746
"postcss": "^8.4.47",
4847
"prettier": "^3.3.3",
49-
"pretty-quick": "^3.3.1",
50-
"publish-browser-extension": "^1.4.1",
48+
"publish-browser-extension": "^2.2.2",
5149
"simple-git-hooks": "^2.11.1",
5250
"tailwindcss": "^3.4.14",
5351
"typescript": "^5.6.3",
@@ -61,6 +59,6 @@
6159
"pre-commit": "bun lint-staged"
6260
},
6361
"lint-staged": {
64-
"*": "prettier --write"
62+
"*": "prettier --ignore-unknown --write"
6563
}
6664
}

src/components/CustomListsPref.vue

+1-8
Original file line numberDiff line numberDiff line change
@@ -3,15 +3,8 @@ import { computed } from "vue";
33
import type { CustomLists } from "@/utils/storage";
44
import CustomListItem from "./CustomListItem.vue";
55
6-
const props = defineProps<{
7-
customLists: CustomLists;
8-
}>();
6+
const customLists = defineModel<CustomLists>("customLists", { required: true });
97
10-
const emits = defineEmits<{
11-
(event: "update:customLists", newValue: CustomLists): void;
12-
}>();
13-
14-
const customLists = useVModel(props, "customLists", emits);
158
const all = computed({
169
get() {
1710
return customLists.value.all;

src/components/ShowGeneratedCountPref.vue

+3-9
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,7 @@
11
<script lang="ts" setup>
2-
const props = defineProps<{
3-
hideGeneratedLineCount: boolean;
4-
}>();
5-
6-
const emits = defineEmits<{
7-
(event: "update:hideGeneratedLineCount", newHide: boolean): void;
8-
}>();
9-
10-
const hideLineCount = useVModel(props, "hideGeneratedLineCount", emits);
2+
const hideLineCount = defineModel<boolean>("hideGeneratedLineCount", {
3+
required: true,
4+
});
115
126
function toggle() {
137
hideLineCount.value = !hideLineCount.value;

src/components/TokenPref.vue

+4-10
Original file line numberDiff line numberDiff line change
@@ -2,15 +2,9 @@
22
import IMdiEye from "~icons/mdi/eye";
33
import IMdiEyeOffOutline from "~icons/mdi/eye-off-outline";
44
5-
const props = defineProps<{
6-
githubPat: string;
7-
}>();
8-
9-
const emits = defineEmits<{
10-
(event: "update:githubPat", newToken: string): void;
11-
}>();
12-
13-
const token = useVModel(props, "githubPat", emits);
5+
const token = defineModel<string>("githubPat", {
6+
required: true,
7+
});
148
159
const { data: user, error, isLoading } = useGithubUserQuery(token);
1610
@@ -67,7 +61,7 @@ const { t } = i18n;
6761
{{ t("options.privateRepos.checking") }}
6862
</p>
6963
<p v-else>
70-
<span class="badge badge-success">{{
64+
<span class="badge badge-primary">{{
7165
t("options.privateRepos.validToken")
7266
}}</span>
7367
{{ " " }}

wxt.config.ts

+1-3
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,4 @@
1-
import type { UserManifest } from "wxt";
21
import { defineConfig } from "wxt";
3-
import Vue from "@vitejs/plugin-vue";
42
import Icons from "unplugin-icons/vite";
53

64
export default defineConfig({
@@ -15,7 +13,7 @@ export default defineConfig({
1513
"@wxt-dev/auto-icons",
1614
],
1715
imports: {
18-
presets: ["vue-router", "@vueuse/core"],
16+
presets: ["vue-router"],
1917
imports: [
2018
{ from: "@tanstack/vue-query", name: "useQuery" },
2119
{ from: "@tanstack/vue-query", name: "useMutation" },

0 commit comments

Comments
 (0)