Skip to content

Commit f616820

Browse files
chore(dependencies): update dependency @unhead/vue to v2 (#388)
* chore(dependencies): update dependency @unhead/vue to v2 | datasource | package | from | to | | ---------- | ----------- | ------- | ----- | | npm | @unhead/vue | 1.11.20 | 2.0.0 | * chore(ci): fix the actions * fix: updated the imports accordingly --------- Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com> Co-authored-by: EDM115 <[email protected]>
1 parent b2cc0b4 commit f616820

File tree

7 files changed

+24
-20
lines changed

7 files changed

+24
-20
lines changed

.github/workflows/authors.yml

+4-3
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,10 @@
11
name: Update Authors
22

33
on:
4-
push:
5-
branches:
6-
- master
4+
# push:
5+
# branches:
6+
# - master
7+
workflow_dispatch:
78

89
jobs:
910
run:

.github/workflows/contributors.yml

-2
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,6 @@
11
name: Contributors
22

33
on:
4-
schedule:
5-
- cron: "0 8 * * 0"
64
push:
75
branches:
86
- master

.github/workflows/lint.yml

+5-3
Original file line numberDiff line numberDiff line change
@@ -21,13 +21,15 @@ jobs:
2121
with:
2222
node-version: latest
2323
check-latest: true
24+
25+
- name: "Install pnpm"
26+
uses: pnpm/action-setup@v4
2427

2528
- name: "Install dependencies"
26-
run: |
27-
npm run i
29+
run: pnpm i
2830

2931
- name: "Build and lint the code"
30-
run: npm run build && npm run lint-fix
32+
run: pnpm build && pnpm lint:fix
3133

3234
- name: "Check for changes"
3335
id: git-check

.github/workflows/pr-check.yml

+6-4
Original file line numberDiff line numberDiff line change
@@ -28,12 +28,14 @@ jobs:
2828
node-version: latest
2929
check-latest: true
3030

31+
- name: "Install pnpm"
32+
uses: pnpm/action-setup@v4
33+
3134
- name: "Install dependencies"
32-
run: |
33-
npm run i
35+
run: pnpm i
3436

3537
- name: "Build the code"
36-
run: npm run build
38+
run: pnpm build
3739

3840
- name: "Lint check"
39-
run: npm run lint
41+
run: pnpm lint

.github/workflows/unfurl-links.yml

+7-6
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,13 @@
11
name: Unfurl Links
22

33
on:
4-
issues:
5-
types: [opened, edited]
6-
issue_comment:
7-
types: [created, edited]
8-
pull_request:
9-
types: [opened, edited]
4+
# issues:
5+
# types: [opened, edited]
6+
# issue_comment:
7+
# types: [created, edited]
8+
# pull_request:
9+
# types: [opened, edited]
10+
workflow_dispatch:
1011

1112
jobs:
1213
run:

package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@
1818
"@iconify/json": "^2.2.319",
1919
"@intlify/unplugin-vue-i18n": "6.0.5",
2020
"@stylistic/eslint-plugin": "4.2.0",
21-
"@unhead/vue": "1.11.20",
21+
"@unhead/vue": "2.0.0",
2222
"@vitejs/plugin-vue": "5.2.3",
2323
"@vue/compiler-sfc": "3.5.13",
2424
"aos": "2.3.4",

src/main.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ import cookie from "cookiejs"
1919
import App from "./App.vue"
2020
import router from "./router"
2121

22-
import { createHead } from "@unhead/vue"
22+
import { createHead } from "@unhead/vue/client"
2323
import { polyfillCountryFlagEmojis } from "country-flag-emoji-polyfill"
2424
import { createPinia } from "pinia"
2525
import { createApp } from "vue"

0 commit comments

Comments
 (0)