fix: 更新

main
ppst 1 year ago
parent 12091ac257
commit df566c6cd6

@ -1,23 +1,23 @@
{
"hash": "ae1feb48",
"browserHash": "e0d66d6a",
"hash": "087b860a",
"browserHash": "2cc462ac",
"optimized": {
"vue": {
"src": "../../../node_modules/.pnpm/vue@3.3.4/node_modules/vue/dist/vue.runtime.esm-bundler.js",
"src": "../../../node_modules/vue/dist/vue.runtime.esm-bundler.js",
"file": "vue.js",
"fileHash": "8fc6d2ae",
"fileHash": "9cf94ccd",
"needsInterop": false
},
"custom-vitepress-theme": {
"src": "../../../node_modules/.pnpm/custom-vitepress-theme@0.0.2_vitepress@1.0.0-alpha.64/node_modules/custom-vitepress-theme/src/index.ts",
"src": "../../../node_modules/custom-vitepress-theme/src/index.ts",
"file": "custom-vitepress-theme.js",
"fileHash": "2f2eb96a",
"fileHash": "f4b91cf5",
"needsInterop": false
}
},
"chunks": {
"chunk-WICYTZ2N": {
"file": "chunk-WICYTZ2N.js"
"chunk-I2UDPAZT": {
"file": "chunk-I2UDPAZT.js"
}
}
}

@ -1,4 +1,4 @@
// node_modules/.pnpm/@vue+shared@3.3.4/node_modules/@vue/shared/dist/shared.esm-bundler.js
// node_modules/@vue/shared/dist/shared.esm-bundler.js
function makeMap(str, expectsLowerCase) {
const map2 = /* @__PURE__ */ Object.create(null);
const list = str.split(",");
@ -256,7 +256,7 @@ var replacer = (_key, val) => {
return val;
};
// node_modules/.pnpm/@vue+reactivity@3.3.4/node_modules/@vue/reactivity/dist/reactivity.esm-bundler.js
// node_modules/@vue/reactivity/dist/reactivity.esm-bundler.js
function warn(msg, ...args) {
console.warn(`[Vue warn] ${msg}`, ...args);
}
@ -1410,7 +1410,7 @@ function computed(getterOrOptions, debugOptions, isSSR = false) {
}
var tick = Promise.resolve();
// node_modules/.pnpm/@vue+runtime-core@3.3.4/node_modules/@vue/runtime-core/dist/runtime-core.esm-bundler.js
// node_modules/@vue/runtime-core/dist/runtime-core.esm-bundler.js
var stack = [];
function pushWarningContext(vnode) {
stack.push(vnode);
@ -9125,7 +9125,7 @@ var ssrUtils = _ssrUtils;
var resolveFilter = null;
var compatUtils = null;
// node_modules/.pnpm/@vue+runtime-dom@3.3.4/node_modules/@vue/runtime-dom/dist/runtime-dom.esm-bundler.js
// node_modules/@vue/runtime-dom/dist/runtime-dom.esm-bundler.js
var svgNS = "http://www.w3.org/2000/svg";
var doc = typeof document !== "undefined" ? document : null;
var templateContainer = doc && doc.createElement("template");
@ -10619,7 +10619,7 @@ var initDirectivesForSSR = () => {
}
};
// node_modules/.pnpm/vue@3.3.4/node_modules/vue/dist/vue.runtime.esm-bundler.js
// node_modules/vue/dist/vue.runtime.esm-bundler.js
function initDev() {
{
initCustomFormatter();
@ -10793,4 +10793,4 @@ export {
initDirectivesForSSR,
compile2 as compile
};
//# sourceMappingURL=chunk-WICYTZ2N.js.map
//# sourceMappingURL=chunk-I2UDPAZT.js.map

File diff suppressed because one or more lines are too long

@ -0,0 +1,49 @@
import {
defineComponent,
h,
provide
} from "./chunk-I2UDPAZT.js";
// node_modules/custom-vitepress-theme/src/vitepress/index.ts
import "D:/pengpian/git/vitepress/custom-vitepress-theme-demo/node_modules/normalize.css/normalize.css";
import "D:/pengpian/git/vitepress/custom-vitepress-theme-demo/node_modules/custom-vitepress-theme/src/vitepress/styles/variables.css";
import "D:/pengpian/git/vitepress/custom-vitepress-theme-demo/node_modules/custom-vitepress-theme/src/vitepress/styles/switch.css";
import "D:/pengpian/git/vitepress/custom-vitepress-theme-demo/node_modules/custom-vitepress-theme/src/vitepress/styles/custom.css";
import "D:/pengpian/git/vitepress/custom-vitepress-theme-demo/node_modules/custom-vitepress-theme/src/vitepress/styles/theme.css";
import Layout from "D:/pengpian/git/vitepress/custom-vitepress-theme-demo/node_modules/custom-vitepress-theme/src/vitepress/components/Layout.vue";
import Search from "D:/pengpian/git/vitepress/custom-vitepress-theme-demo/node_modules/custom-vitepress-theme/src/vitepress/components/Search.vue";
import Archives from "D:/pengpian/git/vitepress/custom-vitepress-theme-demo/node_modules/custom-vitepress-theme/src/vitepress/components/Archives.vue";
import Home from "D:/pengpian/git/vitepress/custom-vitepress-theme-demo/node_modules/custom-vitepress-theme/src/vitepress/components/Home.vue";
import DefaultPage from "D:/pengpian/git/vitepress/custom-vitepress-theme-demo/node_modules/custom-vitepress-theme/src/vitepress/components/DefaultPage.vue";
import CategoryPage from "D:/pengpian/git/vitepress/custom-vitepress-theme-demo/node_modules/custom-vitepress-theme/src/vitepress/components/CategoryPage.vue";
// node_modules/custom-vitepress-theme/src/vitepress/composables/config.ts
import { useData } from "vitepress";
var configSymbol = Symbol("config");
function withConfigProvider(App) {
return defineComponent({
name: "ConfigProvider",
setup(_, { slots }) {
const { theme } = useData();
provide(configSymbol, theme.value);
return () => h(App, null, slots);
}
});
}
// node_modules/custom-vitepress-theme/src/vitepress/index.ts
var CustomTheme = {
Layout: withConfigProvider(Layout),
NotFound: () => "custom 404",
enhanceApp({ app }) {
app.component("Search", Search);
app.component("Archives", Archives);
app.component("Home", Home);
app.component("DefaultPage", DefaultPage);
app.component("CategoryPage", CategoryPage);
}
};
export {
CustomTheme
};
//# sourceMappingURL=custom-vitepress-theme.js.map

@ -1,6 +1,6 @@
{
"version": 3,
"sources": ["../../../node_modules/.pnpm/custom-vitepress-theme@0.0.2_vitepress@1.0.0-alpha.64/node_modules/custom-vitepress-theme/src/vitepress/index.ts", "../../../node_modules/.pnpm/custom-vitepress-theme@0.0.2_vitepress@1.0.0-alpha.64/node_modules/custom-vitepress-theme/src/vitepress/composables/config.ts"],
"sources": ["../../../node_modules/custom-vitepress-theme/src/vitepress/index.ts", "../../../node_modules/custom-vitepress-theme/src/vitepress/composables/config.ts"],
"sourcesContent": ["import 'normalize.css/normalize.css'\nimport './styles/variables.css'\nimport './styles/switch.css'\nimport './styles/custom.css'\nimport './styles/theme.css'\nimport Layout from './components/Layout.vue'\nimport Search from './components/Search.vue'\nimport Archives from './components/Archives.vue'\nimport Home from './components/Home.vue'\nimport DefaultPage from './components/DefaultPage.vue'\nimport CategoryPage from './components/CategoryPage.vue'\nimport { Theme } from 'vitepress'\nimport { withConfigProvider } from './composables/config'\n\nconst CustomTheme: Theme = {\n Layout: withConfigProvider(Layout),\n NotFound: () => 'custom 404',\n enhanceApp({ app }) {\n app.component('Search', Search)\n app.component('Archives', Archives)\n app.component('Home', Home)\n app.component('DefaultPage', DefaultPage)\n app.component('CategoryPage', CategoryPage)\n }\n}\n\nexport { CustomTheme }\nexport type { Config } from './config'\n", "import {\n Component,\n defineComponent,\n h,\n inject,\n InjectionKey,\n provide,\n Ref\n} from 'vue'\nimport { useData } from 'vitepress'\nimport { Config } from '../config'\n\nconst configSymbol: InjectionKey<Ref<Config>> = Symbol('config')\nexport function withConfigProvider(App: Component) {\n return defineComponent({\n name: 'ConfigProvider',\n setup(_, { slots }) {\n const { theme } = useData()\n provide(configSymbol, theme.value)\n return () => h(App, null, slots)\n }\n })\n}\n\nexport function useConfig() {\n return {\n config: inject(configSymbol)!\n }\n}\n"],
"mappings": ";;;;;;;AAAA,OAAO;AACP,OAAO;AACP,OAAO;AACP,OAAO;AACP,OAAO;AACP,OAAO,YAAY;AACnB,OAAO,YAAY;AACnB,OAAO,cAAc;AACrB,OAAO,UAAU;AACjB,OAAO,iBAAiB;AACxB,OAAO,kBAAkB;;;ACDzB,SAAS,eAAe;AAGxB,IAAM,eAA0C,OAAO,QAAQ;AACxD,SAAS,mBAAmB,KAAgB;AACjD,SAAO,gBAAgB;AAAA,IACrB,MAAM;AAAA,IACN,MAAM,GAAG,EAAE,MAAM,GAAG;AAClB,YAAM,EAAE,MAAM,IAAI,QAAQ;AAC1B,cAAQ,cAAc,MAAM,KAAK;AACjC,aAAO,MAAM,EAAE,KAAK,MAAM,KAAK;AAAA,IACjC;AAAA,EACF,CAAC;AACH;;;ADRA,IAAM,cAAqB;AAAA,EACzB,QAAQ,mBAAmB,MAAM;AAAA,EACjC,UAAU,MAAM;AAAA,EAChB,WAAW,EAAE,IAAI,GAAG;AAClB,QAAI,UAAU,UAAU,MAAM;AAC9B,QAAI,UAAU,YAAY,QAAQ;AAClC,QAAI,UAAU,QAAQ,IAAI;AAC1B,QAAI,UAAU,eAAe,WAAW;AACxC,QAAI,UAAU,gBAAgB,YAAY;AAAA,EAC5C;AACF;",
"names": []

@ -1,49 +0,0 @@
import {
defineComponent,
h,
provide
} from "./chunk-WICYTZ2N.js";
// node_modules/.pnpm/custom-vitepress-theme@0.0.2_vitepress@1.0.0-alpha.64/node_modules/custom-vitepress-theme/src/vitepress/index.ts
import "D:/pengpian/git/custom-vitepress-theme-demo/node_modules/.pnpm/normalize.css@8.0.1/node_modules/normalize.css/normalize.css";
import "D:/pengpian/git/custom-vitepress-theme-demo/node_modules/.pnpm/custom-vitepress-theme@0.0.2_vitepress@1.0.0-alpha.64/node_modules/custom-vitepress-theme/src/vitepress/styles/variables.css";
import "D:/pengpian/git/custom-vitepress-theme-demo/node_modules/.pnpm/custom-vitepress-theme@0.0.2_vitepress@1.0.0-alpha.64/node_modules/custom-vitepress-theme/src/vitepress/styles/switch.css";
import "D:/pengpian/git/custom-vitepress-theme-demo/node_modules/.pnpm/custom-vitepress-theme@0.0.2_vitepress@1.0.0-alpha.64/node_modules/custom-vitepress-theme/src/vitepress/styles/custom.css";
import "D:/pengpian/git/custom-vitepress-theme-demo/node_modules/.pnpm/custom-vitepress-theme@0.0.2_vitepress@1.0.0-alpha.64/node_modules/custom-vitepress-theme/src/vitepress/styles/theme.css";
import Layout from "D:/pengpian/git/custom-vitepress-theme-demo/node_modules/.pnpm/custom-vitepress-theme@0.0.2_vitepress@1.0.0-alpha.64/node_modules/custom-vitepress-theme/src/vitepress/components/Layout.vue";
import Search from "D:/pengpian/git/custom-vitepress-theme-demo/node_modules/.pnpm/custom-vitepress-theme@0.0.2_vitepress@1.0.0-alpha.64/node_modules/custom-vitepress-theme/src/vitepress/components/Search.vue";
import Archives from "D:/pengpian/git/custom-vitepress-theme-demo/node_modules/.pnpm/custom-vitepress-theme@0.0.2_vitepress@1.0.0-alpha.64/node_modules/custom-vitepress-theme/src/vitepress/components/Archives.vue";
import Home from "D:/pengpian/git/custom-vitepress-theme-demo/node_modules/.pnpm/custom-vitepress-theme@0.0.2_vitepress@1.0.0-alpha.64/node_modules/custom-vitepress-theme/src/vitepress/components/Home.vue";
import DefaultPage from "D:/pengpian/git/custom-vitepress-theme-demo/node_modules/.pnpm/custom-vitepress-theme@0.0.2_vitepress@1.0.0-alpha.64/node_modules/custom-vitepress-theme/src/vitepress/components/DefaultPage.vue";
import CategoryPage from "D:/pengpian/git/custom-vitepress-theme-demo/node_modules/.pnpm/custom-vitepress-theme@0.0.2_vitepress@1.0.0-alpha.64/node_modules/custom-vitepress-theme/src/vitepress/components/CategoryPage.vue";
// node_modules/.pnpm/custom-vitepress-theme@0.0.2_vitepress@1.0.0-alpha.64/node_modules/custom-vitepress-theme/src/vitepress/composables/config.ts
import { useData } from "vitepress";
var configSymbol = Symbol("config");
function withConfigProvider(App) {
return defineComponent({
name: "ConfigProvider",
setup(_, { slots }) {
const { theme } = useData();
provide(configSymbol, theme.value);
return () => h(App, null, slots);
}
});
}
// node_modules/.pnpm/custom-vitepress-theme@0.0.2_vitepress@1.0.0-alpha.64/node_modules/custom-vitepress-theme/src/vitepress/index.ts
var CustomTheme = {
Layout: withConfigProvider(Layout),
NotFound: () => "custom 404",
enhanceApp({ app }) {
app.component("Search", Search);
app.component("Archives", Archives);
app.component("Home", Home);
app.component("DefaultPage", DefaultPage);
app.component("CategoryPage", CategoryPage);
}
};
export {
CustomTheme
};
//# sourceMappingURL=custom-vitepress-theme.js.map

@ -153,7 +153,7 @@ import {
withMemo,
withModifiers,
withScopeId
} from "./chunk-WICYTZ2N.js";
} from "./chunk-I2UDPAZT.js";
export {
BaseTransition,
BaseTransitionPropsValidators,

@ -1,13 +0,0 @@
{
"hash": "235a2a29",
"browserHash": "1935f98c",
"optimized": {
"vue": {
"src": "../../../../node_modules/.pnpm/vue@3.2.47/node_modules/vue/dist/vue.runtime.esm-bundler.js",
"file": "vue.js",
"fileHash": "9970d6ec",
"needsInterop": false
}
},
"chunks": {}
}

File diff suppressed because it is too large Load Diff

File diff suppressed because one or more lines are too long

@ -1,13 +0,0 @@
{
"hash": "235a2a29",
"browserHash": "1935f98c",
"optimized": {
"vue": {
"src": "../../../../node_modules/.pnpm/vue@3.2.47/node_modules/vue/dist/vue.runtime.esm-bundler.js",
"file": "vue.js",
"fileHash": "9970d6ec",
"needsInterop": false
}
},
"chunks": {}
}

File diff suppressed because it is too large Load Diff

File diff suppressed because one or more lines are too long

1501
package-lock.json generated

File diff suppressed because it is too large Load Diff
Loading…
Cancel
Save