创高项目初始化
This commit is contained in:
21
client/node_modules/@vueuse/head/LICENSE
generated
vendored
Normal file
21
client/node_modules/@vueuse/head/LICENSE
generated
vendored
Normal file
@@ -0,0 +1,21 @@
|
||||
MIT License
|
||||
|
||||
Copyright (c) 2020 EGOIST (https://egoist.sh)
|
||||
|
||||
Permission is hereby granted, free of charge, to any person obtaining a copy
|
||||
of this software and associated documentation files (the "Software"), to deal
|
||||
in the Software without restriction, including without limitation the rights
|
||||
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
||||
copies of the Software, and to permit persons to whom the Software is
|
||||
furnished to do so, subject to the following conditions:
|
||||
|
||||
The above copyright notice and this permission notice shall be included in all
|
||||
copies or substantial portions of the Software.
|
||||
|
||||
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
||||
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
||||
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
||||
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
||||
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
||||
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
||||
SOFTWARE.
|
||||
66
client/node_modules/@vueuse/head/README.md
generated
vendored
Normal file
66
client/node_modules/@vueuse/head/README.md
generated
vendored
Normal file
@@ -0,0 +1,66 @@
|
||||
<h1 align='center'>@vueuse/head - 🌇 Sunset</h1>
|
||||
|
||||
<p align="center">
|
||||
<a href='https://github.com/harlan-zw/unhead/actions/workflows/test.yml'>
|
||||
</a>
|
||||
<a href="https://www.npmjs.com/package/@vueuse/head" target="__blank"><img src="https://img.shields.io/npm/v/@vueuse/head?style=flat&colorA=002438&colorB=28CF8D" alt="NPM version"></a>
|
||||
<a href="https://www.npmjs.com/package/@vueuse/head" target="__blank"><img alt="NPM Downloads" src="https://img.shields.io/npm/dm/@vueuse/head?flat&colorA=002438&colorB=28CF8D"></a>
|
||||
<a href="https://github.com/vueuse/head" target="__blank"><img alt="GitHub stars" src="https://img.shields.io/github/stars/vueuse/head?flat&colorA=002438&colorB=28CF8D"></a>
|
||||
</p>
|
||||
|
||||
|
||||
<p align="center">
|
||||
Document head management for Vue. Powered by <a href="https://unhead.harlanzw.com/">Unhead</a>.
|
||||
</p>
|
||||
|
||||
<p align="center">
|
||||
<table>
|
||||
<tbody>
|
||||
<td align="center">
|
||||
<img width="800" height="0" /><br>
|
||||
Created by <a href="https://github.com/sponsors/egoist">egoist</a>, maintained by <a href="https://github.com/harlan-zw">harlan-zw</a> <br>
|
||||
<sub>💛 Support ongoing development by sponsoring us.</sub><br>
|
||||
<sub>Follow <a href="https://twitter.com/harlan_zw">🐦 @harlan_zw</a> for updates • Join <a href="https://discord.gg/275MBUBvgP">Discord</a> for support</sub><br>
|
||||
<img width="800" height="0" />
|
||||
</td>
|
||||
</tbody>
|
||||
</table>
|
||||
</p>
|
||||
|
||||
### 🌇 Sunsetting @vueuse/head
|
||||
|
||||
The `@vueuse/head` package has been sunset in favour of Unhead. This means no new features will be added to this package and
|
||||
installation of this package directly will be discouraged.
|
||||
|
||||
[Unhead](https://unhead.unjs.io) is a any-framework document head manager with a focus on delightful DX and performance.
|
||||
It's used in the Nuxt core and is part of the UnJS ecosystem.
|
||||
|
||||
This package and Unhead share an almost identical API and migrating in most cases will just involve updating the package names.
|
||||
|
||||
The `@vueuse/head` package will continue to receive bug fixes and security updates for the foreseeable future.
|
||||
|
||||
[Installation guide](https://unhead.unjs.io/setup/vue/installation)
|
||||
|
||||
## Docs
|
||||
|
||||
[Unhead documentation](https://unhead.unjs.io/setup/vue/installation)
|
||||
|
||||
## Migrating to Unhead from @vueuse/head
|
||||
|
||||
Replace all imports of `@vueuse/head` with `@unhead/vue`.
|
||||
|
||||
If you're using the `<Head>` component you will need to import it from `@unhead/vue/components`.
|
||||
|
||||
## Sponsors
|
||||
|
||||
<p align="center">
|
||||
<a href="https://raw.githubusercontent.com/harlan-zw/static/main/sponsors.svg">
|
||||
<img src='https://raw.githubusercontent.com/harlan-zw/static/main/sponsors.svg'/>
|
||||
</a>
|
||||
</p>
|
||||
|
||||
|
||||
## License
|
||||
|
||||
MIT © [EGOIST](https://egoist.sh)
|
||||
MIT License © 2022-PRESENT [Harlan Wilton](https://github.com/harlan-zw)
|
||||
33
client/node_modules/@vueuse/head/dist/index.cjs
generated
vendored
Normal file
33
client/node_modules/@vueuse/head/dist/index.cjs
generated
vendored
Normal file
@@ -0,0 +1,33 @@
|
||||
'use strict';
|
||||
|
||||
const vue = require('@unhead/vue');
|
||||
const polyfill = require('@unhead/vue/polyfill');
|
||||
const ssr = require('@unhead/ssr');
|
||||
const components = require('@unhead/vue/components');
|
||||
|
||||
function createHead(initHeadObject, options) {
|
||||
const unhead = vue.createHead(options || {});
|
||||
const legacyHead = polyfill.polyfillAsVueUseHead(unhead);
|
||||
if (initHeadObject)
|
||||
legacyHead.push(initHeadObject);
|
||||
return legacyHead;
|
||||
}
|
||||
|
||||
const HeadVuePlugin = vue.Vue2ProvideUnheadPlugin;
|
||||
const renderHeadToString = (head) => ssr.renderSSRHead(head.unhead);
|
||||
|
||||
exports.Vue2ProvideUnheadPlugin = vue.Vue2ProvideUnheadPlugin;
|
||||
exports.VueHeadMixin = vue.VueHeadMixin;
|
||||
exports.createHeadCore = vue.createHeadCore;
|
||||
exports.injectHead = vue.injectHead;
|
||||
exports.unheadVueComposablesImports = vue.unheadVueComposablesImports;
|
||||
exports.useHead = vue.useHead;
|
||||
exports.useHeadSafe = vue.useHeadSafe;
|
||||
exports.useSeoMeta = vue.useSeoMeta;
|
||||
exports.useServerHead = vue.useServerHead;
|
||||
exports.useServerHeadSafe = vue.useServerHeadSafe;
|
||||
exports.useServerSeoMeta = vue.useServerSeoMeta;
|
||||
exports.Head = components.Head;
|
||||
exports.HeadVuePlugin = HeadVuePlugin;
|
||||
exports.createHead = createHead;
|
||||
exports.renderHeadToString = renderHeadToString;
|
||||
16
client/node_modules/@vueuse/head/dist/index.d.cts
generated
vendored
Normal file
16
client/node_modules/@vueuse/head/dist/index.d.cts
generated
vendored
Normal file
@@ -0,0 +1,16 @@
|
||||
import { MergeHead, ReactiveHead } from '@unhead/vue';
|
||||
export { ActiveHeadEntry, HeadEntryOptions, HeadTag, MaybeComputedRef, MergeHead, ReactiveHead, Unhead, UseHeadInput, Vue2ProvideUnheadPlugin, VueHeadMixin, createHeadCore, injectHead, unheadVueComposablesImports, useHead, useHeadSafe, useSeoMeta, useServerHead, useServerHeadSafe, useServerSeoMeta } from '@unhead/vue';
|
||||
import * as _unhead_schema from '@unhead/schema';
|
||||
import { Head, CreateHeadOptions } from '@unhead/schema';
|
||||
import { VueHeadClientPollyFill as VueHeadClientPollyFill$1 } from '@unhead/vue/polyfill';
|
||||
import { Plugin } from 'vue';
|
||||
export { Head } from '@unhead/vue/components';
|
||||
|
||||
declare function createHead<T extends MergeHead = {}>(initHeadObject?: Head<T>, options?: CreateHeadOptions): VueHeadClientPollyFill$1<T>;
|
||||
|
||||
declare const HeadVuePlugin: Plugin;
|
||||
declare const renderHeadToString: <T extends MergeHead = {}>(head: VueHeadClientPollyFill<T>) => Promise<_unhead_schema.SSRHeadPayload>;
|
||||
type HeadObjectPlain = Head;
|
||||
type HeadObject = ReactiveHead;
|
||||
|
||||
export { type HeadObject, type HeadObjectPlain, HeadVuePlugin, createHead, renderHeadToString };
|
||||
16
client/node_modules/@vueuse/head/dist/index.d.mts
generated
vendored
Normal file
16
client/node_modules/@vueuse/head/dist/index.d.mts
generated
vendored
Normal file
@@ -0,0 +1,16 @@
|
||||
import { MergeHead, ReactiveHead } from '@unhead/vue';
|
||||
export { ActiveHeadEntry, HeadEntryOptions, HeadTag, MaybeComputedRef, MergeHead, ReactiveHead, Unhead, UseHeadInput, Vue2ProvideUnheadPlugin, VueHeadMixin, createHeadCore, injectHead, unheadVueComposablesImports, useHead, useHeadSafe, useSeoMeta, useServerHead, useServerHeadSafe, useServerSeoMeta } from '@unhead/vue';
|
||||
import * as _unhead_schema from '@unhead/schema';
|
||||
import { Head, CreateHeadOptions } from '@unhead/schema';
|
||||
import { VueHeadClientPollyFill as VueHeadClientPollyFill$1 } from '@unhead/vue/polyfill';
|
||||
import { Plugin } from 'vue';
|
||||
export { Head } from '@unhead/vue/components';
|
||||
|
||||
declare function createHead<T extends MergeHead = {}>(initHeadObject?: Head<T>, options?: CreateHeadOptions): VueHeadClientPollyFill$1<T>;
|
||||
|
||||
declare const HeadVuePlugin: Plugin;
|
||||
declare const renderHeadToString: <T extends MergeHead = {}>(head: VueHeadClientPollyFill<T>) => Promise<_unhead_schema.SSRHeadPayload>;
|
||||
type HeadObjectPlain = Head;
|
||||
type HeadObject = ReactiveHead;
|
||||
|
||||
export { type HeadObject, type HeadObjectPlain, HeadVuePlugin, createHead, renderHeadToString };
|
||||
16
client/node_modules/@vueuse/head/dist/index.d.ts
generated
vendored
Normal file
16
client/node_modules/@vueuse/head/dist/index.d.ts
generated
vendored
Normal file
@@ -0,0 +1,16 @@
|
||||
import { MergeHead, ReactiveHead } from '@unhead/vue';
|
||||
export { ActiveHeadEntry, HeadEntryOptions, HeadTag, MaybeComputedRef, MergeHead, ReactiveHead, Unhead, UseHeadInput, Vue2ProvideUnheadPlugin, VueHeadMixin, createHeadCore, injectHead, unheadVueComposablesImports, useHead, useHeadSafe, useSeoMeta, useServerHead, useServerHeadSafe, useServerSeoMeta } from '@unhead/vue';
|
||||
import * as _unhead_schema from '@unhead/schema';
|
||||
import { Head, CreateHeadOptions } from '@unhead/schema';
|
||||
import { VueHeadClientPollyFill as VueHeadClientPollyFill$1 } from '@unhead/vue/polyfill';
|
||||
import { Plugin } from 'vue';
|
||||
export { Head } from '@unhead/vue/components';
|
||||
|
||||
declare function createHead<T extends MergeHead = {}>(initHeadObject?: Head<T>, options?: CreateHeadOptions): VueHeadClientPollyFill$1<T>;
|
||||
|
||||
declare const HeadVuePlugin: Plugin;
|
||||
declare const renderHeadToString: <T extends MergeHead = {}>(head: VueHeadClientPollyFill<T>) => Promise<_unhead_schema.SSRHeadPayload>;
|
||||
type HeadObjectPlain = Head;
|
||||
type HeadObject = ReactiveHead;
|
||||
|
||||
export { type HeadObject, type HeadObjectPlain, HeadVuePlugin, createHead, renderHeadToString };
|
||||
18
client/node_modules/@vueuse/head/dist/index.mjs
generated
vendored
Normal file
18
client/node_modules/@vueuse/head/dist/index.mjs
generated
vendored
Normal file
@@ -0,0 +1,18 @@
|
||||
import { createHead as createHead$1, Vue2ProvideUnheadPlugin } from '@unhead/vue';
|
||||
export { Vue2ProvideUnheadPlugin, VueHeadMixin, createHeadCore, injectHead, unheadVueComposablesImports, useHead, useHeadSafe, useSeoMeta, useServerHead, useServerHeadSafe, useServerSeoMeta } from '@unhead/vue';
|
||||
import { polyfillAsVueUseHead } from '@unhead/vue/polyfill';
|
||||
import { renderSSRHead } from '@unhead/ssr';
|
||||
export { Head } from '@unhead/vue/components';
|
||||
|
||||
function createHead(initHeadObject, options) {
|
||||
const unhead = createHead$1(options || {});
|
||||
const legacyHead = polyfillAsVueUseHead(unhead);
|
||||
if (initHeadObject)
|
||||
legacyHead.push(initHeadObject);
|
||||
return legacyHead;
|
||||
}
|
||||
|
||||
const HeadVuePlugin = Vue2ProvideUnheadPlugin;
|
||||
const renderHeadToString = (head) => renderSSRHead(head.unhead);
|
||||
|
||||
export { HeadVuePlugin, createHead, renderHeadToString };
|
||||
92
client/node_modules/@vueuse/head/package.json
generated
vendored
Normal file
92
client/node_modules/@vueuse/head/package.json
generated
vendored
Normal file
@@ -0,0 +1,92 @@
|
||||
{
|
||||
"name": "@vueuse/head",
|
||||
"version": "2.0.0",
|
||||
"packageManager": "pnpm@8.7.5",
|
||||
"description": "Document head manager for Vue 3. SSR ready.",
|
||||
"author": {
|
||||
"name": "EGOIST",
|
||||
"url": "https://egoist.sh"
|
||||
},
|
||||
"maintainers": [
|
||||
{
|
||||
"name": "Harlan Wilton",
|
||||
"url": "https://harlanzw.com"
|
||||
}
|
||||
],
|
||||
"license": "MIT",
|
||||
"repository": {
|
||||
"type": "git",
|
||||
"url": "https://github.com/vueuse/head"
|
||||
},
|
||||
"keywords": [
|
||||
"vue",
|
||||
"head",
|
||||
"document",
|
||||
"ssr",
|
||||
"meta"
|
||||
],
|
||||
"publishConfig": {
|
||||
"access": "public"
|
||||
},
|
||||
"sideEffects": false,
|
||||
"main": "dist/index.cjs",
|
||||
"module": "dist/index.mjs",
|
||||
"types": "dist/index.d.ts",
|
||||
"exports": {
|
||||
".": {
|
||||
"types": "./dist/index.d.ts",
|
||||
"import": "./dist/index.mjs",
|
||||
"require": "./dist/index.cjs"
|
||||
}
|
||||
},
|
||||
"files": [
|
||||
"dist"
|
||||
],
|
||||
"scripts": {
|
||||
"stub": "unbuild --stub",
|
||||
"build": "unbuild",
|
||||
"play:vite": "vite examples/vite-ssr",
|
||||
"prepublishOnly": "npm run build",
|
||||
"test": "nuxi prepare examples/nuxt3 && vitest",
|
||||
"test:e2e": "vitest tests/e2e",
|
||||
"release": "kanpai",
|
||||
"lint": "eslint \"**/*.{ts,vue,json,yml,tsx}\" --fix"
|
||||
},
|
||||
"peerDependencies": {
|
||||
"vue": ">=2.7 || >=3"
|
||||
},
|
||||
"dependencies": {
|
||||
"@unhead/dom": "^1.7.0",
|
||||
"@unhead/schema": "^1.7.0",
|
||||
"@unhead/ssr": "^1.7.0",
|
||||
"@unhead/vue": "^1.7.0"
|
||||
},
|
||||
"devDependencies": {
|
||||
"@antfu/eslint-config": "^0.41.3",
|
||||
"@nuxt/kit": "3.7.2",
|
||||
"@nuxt/test-utils": "3.7.2",
|
||||
"@vitejs/plugin-vue": "^4.3.4",
|
||||
"@vitejs/plugin-vue-jsx": "^3.0.2",
|
||||
"@vue/compiler-sfc": "^3.3.4",
|
||||
"@vue/server-renderer": "^3.3.4",
|
||||
"cheerio": "1.0.0-rc.12",
|
||||
"eslint": "^8.49.0",
|
||||
"execa": "^8.0.1",
|
||||
"get-port-please": "^3.1.1",
|
||||
"jsdom": "^22.1.0",
|
||||
"kanpai": "^0.11.0",
|
||||
"mlly": "^1.4.2",
|
||||
"nuxt": "^3.7.2",
|
||||
"pathe": "^1.1.1",
|
||||
"playwright": "^1.37.1",
|
||||
"typescript": "^5.2.2",
|
||||
"unbuild": "^2.0.0",
|
||||
"vite": "^4.4.9",
|
||||
"vitest": "^0.34.4",
|
||||
"vue": "^3.3.4",
|
||||
"vue-router": "^4.2.4"
|
||||
},
|
||||
"resolutions": {
|
||||
"@vueuse/head": "link:."
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user