mirror of
https://github.com/ArthurDanjou/trpc-nuxt.git
synced 2026-02-05 14:47:58 +01:00
remove patched @vueuse/head
This commit is contained in:
@@ -8,6 +8,7 @@
|
|||||||
"preview": "nuxi preview"
|
"preview": "nuxi preview"
|
||||||
},
|
},
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
|
"@vueuse/head": "^1.0.3",
|
||||||
"nuxt": "^3.0.0-rc.13",
|
"nuxt": "^3.0.0-rc.13",
|
||||||
"@nuxtjs/tailwindcss": "^6.1.3"
|
"@nuxtjs/tailwindcss": "^6.1.3"
|
||||||
},
|
},
|
||||||
|
|||||||
@@ -57,11 +57,6 @@
|
|||||||
"tsup": "6.4.0",
|
"tsup": "6.4.0",
|
||||||
"typescript": "^4.7.4"
|
"typescript": "^4.7.4"
|
||||||
},
|
},
|
||||||
"pnpm": {
|
|
||||||
"patchedDependencies": {
|
|
||||||
"nuxt@3.0.0-rc.13": "patches/nuxt@3.0.0-rc.13.patch"
|
|
||||||
}
|
|
||||||
},
|
|
||||||
"eslintConfig": {
|
"eslintConfig": {
|
||||||
"extends": [
|
"extends": [
|
||||||
"@nuxtjs/eslint-config-typescript"
|
"@nuxtjs/eslint-config-typescript"
|
||||||
|
|||||||
@@ -1,22 +0,0 @@
|
|||||||
diff --git a/dist/head/runtime/lib/vueuse-head.plugin.mjs b/dist/head/runtime/lib/vueuse-head.plugin.mjs
|
|
||||||
index a3278e56986d8e8efb099c502c82d9661a36d846..148a8879ba433072cecd15995cfd5b1b69941124 100644
|
|
||||||
--- a/dist/head/runtime/lib/vueuse-head.plugin.mjs
|
|
||||||
+++ b/dist/head/runtime/lib/vueuse-head.plugin.mjs
|
|
||||||
@@ -4,7 +4,7 @@ import { defineNuxtPlugin, useRouter } from "#app";
|
|
||||||
import { appHead } from "#build/nuxt.config.mjs";
|
|
||||||
export default defineNuxtPlugin((nuxtApp) => {
|
|
||||||
const head = createHead();
|
|
||||||
- head.addEntry(appHead, { resolved: true });
|
|
||||||
+ head.addHeadObjs(appHead, { resolved: true });
|
|
||||||
nuxtApp.vueApp.use(head);
|
|
||||||
if (process.client) {
|
|
||||||
let pauseDOMUpdates = true;
|
|
||||||
@@ -25,7 +25,7 @@ export default defineNuxtPlugin((nuxtApp) => {
|
|
||||||
}
|
|
||||||
nuxtApp._useHead = (_meta, options) => {
|
|
||||||
if (process.server) {
|
|
||||||
- head.addEntry(_meta, options);
|
|
||||||
+ head.addHeadObjs(_meta, options);
|
|
||||||
return;
|
|
||||||
}
|
|
||||||
const cleanUp = head.addReactiveEntry(_meta, options);
|
|
||||||
47
pnpm-lock.yaml
generated
47
pnpm-lock.yaml
generated
@@ -1,10 +1,5 @@
|
|||||||
lockfileVersion: 5.4
|
lockfileVersion: 5.4
|
||||||
|
|
||||||
patchedDependencies:
|
|
||||||
nuxt@3.0.0-rc.13:
|
|
||||||
hash: lfucpimd3sd5ppglk4zvewtojq
|
|
||||||
path: patches/nuxt@3.0.0-rc.13.patch
|
|
||||||
|
|
||||||
importers:
|
importers:
|
||||||
|
|
||||||
.:
|
.:
|
||||||
@@ -26,7 +21,7 @@ importers:
|
|||||||
dependencies:
|
dependencies:
|
||||||
h3: 0.8.6
|
h3: 0.8.6
|
||||||
nanoid: 4.0.0
|
nanoid: 4.0.0
|
||||||
nuxt: 3.0.0-rc.13_lfucpimd3sd5ppglk4zvewtojq_rmayb2veg2btbq6mbmnyivgasy
|
nuxt: 3.0.0-rc.13_rmayb2veg2btbq6mbmnyivgasy
|
||||||
ohash: 0.1.5
|
ohash: 0.1.5
|
||||||
ufo: 0.8.6
|
ufo: 0.8.6
|
||||||
devDependencies:
|
devDependencies:
|
||||||
@@ -45,9 +40,11 @@ importers:
|
|||||||
'@nuxt-themes/docus': npm:@nuxt-themes/docus-edge@latest
|
'@nuxt-themes/docus': npm:@nuxt-themes/docus-edge@latest
|
||||||
'@nuxtjs/tailwindcss': ^6.1.3
|
'@nuxtjs/tailwindcss': ^6.1.3
|
||||||
'@nuxtlabs/github-module': npm:@nuxtlabs/github-module-edge@latest
|
'@nuxtlabs/github-module': npm:@nuxtlabs/github-module-edge@latest
|
||||||
|
'@vueuse/head': ^1.0.3
|
||||||
nuxt: ^3.0.0-rc.13
|
nuxt: ^3.0.0-rc.13
|
||||||
dependencies:
|
dependencies:
|
||||||
'@nuxtjs/tailwindcss': 6.1.3
|
'@nuxtjs/tailwindcss': 6.1.3
|
||||||
|
'@vueuse/head': 1.0.3
|
||||||
nuxt: 3.0.0-rc.13
|
nuxt: 3.0.0-rc.13
|
||||||
devDependencies:
|
devDependencies:
|
||||||
'@nuxt-themes/docus': /@nuxt-themes/docus-edge/0.1.0-2a7c428_nuxt@3.0.0-rc.13
|
'@nuxt-themes/docus': /@nuxt-themes/docus-edge/0.1.0-2a7c428_nuxt@3.0.0-rc.13
|
||||||
@@ -1823,6 +1820,19 @@ packages:
|
|||||||
dependencies:
|
dependencies:
|
||||||
'@unhead/schema': 0.5.1
|
'@unhead/schema': 0.5.1
|
||||||
|
|
||||||
|
/@unhead/vue/0.5.1:
|
||||||
|
resolution: {integrity: sha512-s4y4uj3NMqaUs0K+WQXbWGj/2+Glk/DEJ9yeJOcJIiro/+IhUMByD71jyCM43Xn8YBPy14VY/ZYb9ZFU2WCZgw==}
|
||||||
|
peerDependencies:
|
||||||
|
vue: '>=2.7 || >=3'
|
||||||
|
dependencies:
|
||||||
|
'@unhead/dom': 0.5.1
|
||||||
|
'@unhead/schema': 0.5.1
|
||||||
|
'@vueuse/shared': 9.5.0
|
||||||
|
unhead: 0.5.1
|
||||||
|
transitivePeerDependencies:
|
||||||
|
- '@vue/composition-api'
|
||||||
|
dev: false
|
||||||
|
|
||||||
/@unhead/vue/0.5.1_vue@3.2.45:
|
/@unhead/vue/0.5.1_vue@3.2.45:
|
||||||
resolution: {integrity: sha512-s4y4uj3NMqaUs0K+WQXbWGj/2+Glk/DEJ9yeJOcJIiro/+IhUMByD71jyCM43Xn8YBPy14VY/ZYb9ZFU2WCZgw==}
|
resolution: {integrity: sha512-s4y4uj3NMqaUs0K+WQXbWGj/2+Glk/DEJ9yeJOcJIiro/+IhUMByD71jyCM43Xn8YBPy14VY/ZYb9ZFU2WCZgw==}
|
||||||
peerDependencies:
|
peerDependencies:
|
||||||
@@ -2018,8 +2028,20 @@ packages:
|
|||||||
- vue
|
- vue
|
||||||
dev: true
|
dev: true
|
||||||
|
|
||||||
/@vueuse/head/1.0.0_vue@3.2.45:
|
/@vueuse/head/1.0.3:
|
||||||
resolution: {integrity: sha512-wighjD6iLxEitpg6EDeS5dGDB9tcOSMhpblrAOKR6qBP93U3cjG72n0LhlBUD9miu41lNxXFVGHgSc6BVJ9BMg==}
|
resolution: {integrity: sha512-RV8jeydEKzIwGZUpRJoYAyf7L6HpNA8ZfBgKSq/fxQkg8lpSe8PxRPhvd9PAFhjSeDEeZ//eIA04wPaQyeZ77Q==}
|
||||||
|
peerDependencies:
|
||||||
|
vue: '>=2.7 || >=3'
|
||||||
|
dependencies:
|
||||||
|
'@unhead/schema': 0.5.1
|
||||||
|
'@unhead/ssr': 0.5.1
|
||||||
|
'@unhead/vue': 0.5.1
|
||||||
|
transitivePeerDependencies:
|
||||||
|
- '@vue/composition-api'
|
||||||
|
dev: false
|
||||||
|
|
||||||
|
/@vueuse/head/1.0.3_vue@3.2.45:
|
||||||
|
resolution: {integrity: sha512-RV8jeydEKzIwGZUpRJoYAyf7L6HpNA8ZfBgKSq/fxQkg8lpSe8PxRPhvd9PAFhjSeDEeZ//eIA04wPaQyeZ77Q==}
|
||||||
peerDependencies:
|
peerDependencies:
|
||||||
vue: '>=2.7 || >=3'
|
vue: '>=2.7 || >=3'
|
||||||
dependencies:
|
dependencies:
|
||||||
@@ -2059,7 +2081,6 @@ packages:
|
|||||||
transitivePeerDependencies:
|
transitivePeerDependencies:
|
||||||
- '@vue/composition-api'
|
- '@vue/composition-api'
|
||||||
- vue
|
- vue
|
||||||
dev: true
|
|
||||||
|
|
||||||
/@vueuse/shared/9.5.0_vue@3.2.45:
|
/@vueuse/shared/9.5.0_vue@3.2.45:
|
||||||
resolution: {integrity: sha512-HnnCWU1Vg9CVWRCcI8ohDKDRB2Sc4bTgT1XAIaoLSfVHHn+TKbrox6pd3klCSw4UDxkhDfOk8cAdcK+Z5KleCA==}
|
resolution: {integrity: sha512-HnnCWU1Vg9CVWRCcI8ohDKDRB2Sc4bTgT1XAIaoLSfVHHn+TKbrox6pd3klCSw4UDxkhDfOk8cAdcK+Z5KleCA==}
|
||||||
@@ -6227,7 +6248,7 @@ packages:
|
|||||||
'@nuxt/vite-builder': 3.0.0-rc.13_vue@3.2.45
|
'@nuxt/vite-builder': 3.0.0-rc.13_vue@3.2.45
|
||||||
'@vue/reactivity': 3.2.45
|
'@vue/reactivity': 3.2.45
|
||||||
'@vue/shared': 3.2.45
|
'@vue/shared': 3.2.45
|
||||||
'@vueuse/head': 1.0.0_vue@3.2.45
|
'@vueuse/head': 1.0.3_vue@3.2.45
|
||||||
chokidar: 3.5.3
|
chokidar: 3.5.3
|
||||||
cookie-es: 0.5.0
|
cookie-es: 0.5.0
|
||||||
defu: 6.1.0
|
defu: 6.1.0
|
||||||
@@ -6280,7 +6301,7 @@ packages:
|
|||||||
- vls
|
- vls
|
||||||
- vti
|
- vti
|
||||||
|
|
||||||
/nuxt/3.0.0-rc.13_lfucpimd3sd5ppglk4zvewtojq_rmayb2veg2btbq6mbmnyivgasy:
|
/nuxt/3.0.0-rc.13_rmayb2veg2btbq6mbmnyivgasy:
|
||||||
resolution: {integrity: sha512-iqAwrYzFuKK5HuJRa1XQ/K2WUYdOI7JjxYLWAJyAejzvUO/+Pj87fhqozzymlJxrdKM53UqBfur+KN+DE0nRzw==}
|
resolution: {integrity: sha512-iqAwrYzFuKK5HuJRa1XQ/K2WUYdOI7JjxYLWAJyAejzvUO/+Pj87fhqozzymlJxrdKM53UqBfur+KN+DE0nRzw==}
|
||||||
engines: {node: ^14.16.0 || ^16.10.0 || ^17.0.0 || ^18.0.0 || ^19.0.0}
|
engines: {node: ^14.16.0 || ^16.10.0 || ^17.0.0 || ^18.0.0 || ^19.0.0}
|
||||||
hasBin: true
|
hasBin: true
|
||||||
@@ -6293,7 +6314,7 @@ packages:
|
|||||||
'@nuxt/vite-builder': 3.0.0-rc.13_rgiu7gbsivji2gk3ajcqz5t5x4
|
'@nuxt/vite-builder': 3.0.0-rc.13_rgiu7gbsivji2gk3ajcqz5t5x4
|
||||||
'@vue/reactivity': 3.2.45
|
'@vue/reactivity': 3.2.45
|
||||||
'@vue/shared': 3.2.45
|
'@vue/shared': 3.2.45
|
||||||
'@vueuse/head': 1.0.0_vue@3.2.45
|
'@vueuse/head': 1.0.3_vue@3.2.45
|
||||||
chokidar: 3.5.3
|
chokidar: 3.5.3
|
||||||
cookie-es: 0.5.0
|
cookie-es: 0.5.0
|
||||||
defu: 6.1.0
|
defu: 6.1.0
|
||||||
@@ -6346,7 +6367,6 @@ packages:
|
|||||||
- vls
|
- vls
|
||||||
- vti
|
- vti
|
||||||
dev: false
|
dev: false
|
||||||
patched: true
|
|
||||||
|
|
||||||
/object-assign/4.1.1:
|
/object-assign/4.1.1:
|
||||||
resolution: {integrity: sha512-rJgTQnkUnH1sFw8yT6VSU3zD3sWmu6sZhIseY8VX+GRu3P6F7Fu+JNDoXfklElbLJSnc3FUQHVe4cU5hj+BcUg==}
|
resolution: {integrity: sha512-rJgTQnkUnH1sFw8yT6VSU3zD3sWmu6sZhIseY8VX+GRu3P6F7Fu+JNDoXfklElbLJSnc3FUQHVe4cU5hj+BcUg==}
|
||||||
@@ -8838,7 +8858,6 @@ packages:
|
|||||||
peerDependenciesMeta:
|
peerDependenciesMeta:
|
||||||
'@vue/composition-api':
|
'@vue/composition-api':
|
||||||
optional: true
|
optional: true
|
||||||
dev: true
|
|
||||||
|
|
||||||
/vue-demi/0.13.11_vue@3.2.45:
|
/vue-demi/0.13.11_vue@3.2.45:
|
||||||
resolution: {integrity: sha512-IR8HoEEGM65YY3ZJYAjMlKygDQn25D5ajNFNoKh9RSDMQtlzCxtfQjdQgv9jjK+m3377SsJXY8ysq8kLCZL25A==}
|
resolution: {integrity: sha512-IR8HoEEGM65YY3ZJYAjMlKygDQn25D5ajNFNoKh9RSDMQtlzCxtfQjdQgv9jjK+m3377SsJXY8ysq8kLCZL25A==}
|
||||||
|
|||||||
Reference in New Issue
Block a user