@vuepress/core 2.0.0-rc.14 → 2.0.0-rc.15
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/index.d.ts +5 -5
- package/package.json +6 -6
package/dist/index.d.ts
CHANGED
|
@@ -797,22 +797,22 @@ declare const resolvePageSlug: ({ filePathRelative, }: {
|
|
|
797
797
|
/**
|
|
798
798
|
* Create hook queue for plugin system
|
|
799
799
|
*/
|
|
800
|
-
declare const createHookQueue: <T extends
|
|
800
|
+
declare const createHookQueue: <T extends HooksName>(name: T) => HookQueue<T>;
|
|
801
801
|
|
|
802
802
|
declare const createPluginApi: () => PluginApi;
|
|
803
803
|
|
|
804
|
-
declare const createPluginApiHooks: () => PluginApi[
|
|
804
|
+
declare const createPluginApiHooks: () => PluginApi["hooks"];
|
|
805
805
|
|
|
806
|
-
declare const createPluginApiRegisterHooks: (plugins: PluginApi[
|
|
806
|
+
declare const createPluginApiRegisterHooks: (plugins: PluginApi["plugins"], hooks: PluginApi["hooks"]) => PluginApi["registerHooks"];
|
|
807
807
|
|
|
808
808
|
/**
|
|
809
809
|
* Normalize alias and define hook
|
|
810
810
|
*/
|
|
811
|
-
declare const normalizeAliasDefineHook: (hook: AliasDefineHook[
|
|
811
|
+
declare const normalizeAliasDefineHook: (hook: AliasDefineHook["exposed"]) => AliasDefineHook["normalized"];
|
|
812
812
|
|
|
813
813
|
/**
|
|
814
814
|
* Normalize hook for client config file
|
|
815
815
|
*/
|
|
816
|
-
declare const normalizeClientConfigFileHook: (hook: ClientConfigFileHook[
|
|
816
|
+
declare const normalizeClientConfigFileHook: (hook: ClientConfigFileHook["exposed"]) => ClientConfigFileHook["normalized"];
|
|
817
817
|
|
|
818
818
|
export { type AliasDefineHook, type App, type AppConfig, type AppConfigBuild, type AppConfigCommon, type AppConfigDev, type AppDir, type AppDirFunction, type AppEnv, type AppOptions, type AppWriteTemp, type BuildApp, type Bundler, type ClientConfigFileHook, type DevApp, type ExtendsHook, type Hook, type HookItem, type HookQueue, type Hooks, type HooksExposed, type HooksName, type HooksNormalized, type HooksResult, type LifeCycleHook, type Page, type PageOptions, type Plugin, type PluginApi, type PluginConfig, type PluginFunction, type PluginObject, type Theme, type ThemeFunction, type ThemeInfo, type ThemeObject, appInit, appPrepare, appUse, createAppDirFunction, createBaseApp, createBuildApp, createDevApp, createHookQueue, createPage, createPluginApi, createPluginApiHooks, createPluginApiRegisterHooks, inferPagePath, normalizeAliasDefineHook, normalizeClientConfigFileHook, prepareClientConfigs, preparePageChunk, preparePageComponent, prepareRoutes, prepareSiteData, renderPageContent, resolveAppDir, resolveAppEnv, resolveAppOptions, resolveAppPages, resolveAppSiteData, resolveAppVersion, resolveAppWriteTemp, resolvePageChunkInfo, resolvePageComponentInfo, resolvePageDate, resolvePageFileContent, resolvePageFilePath, resolvePageHtmlInfo, resolvePageLang, resolvePagePath, resolvePagePermalink, resolvePageRouteMeta, resolvePageSlug, resolvePluginObject, resolveThemeInfo };
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@vuepress/core",
|
|
3
|
-
"version": "2.0.0-rc.
|
|
3
|
+
"version": "2.0.0-rc.15",
|
|
4
4
|
"description": "Core package of VuePress",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"vuepress",
|
|
@@ -27,11 +27,11 @@
|
|
|
27
27
|
"dist"
|
|
28
28
|
],
|
|
29
29
|
"dependencies": {
|
|
30
|
-
"vue": "^3.4.
|
|
31
|
-
"@vuepress/client": "2.0.0-rc.
|
|
32
|
-
"@vuepress/markdown": "2.0.0-rc.
|
|
33
|
-
"@vuepress/utils": "2.0.0-rc.
|
|
34
|
-
"@vuepress/shared": "2.0.0-rc.
|
|
30
|
+
"vue": "^3.4.37",
|
|
31
|
+
"@vuepress/client": "2.0.0-rc.15",
|
|
32
|
+
"@vuepress/markdown": "2.0.0-rc.15",
|
|
33
|
+
"@vuepress/utils": "2.0.0-rc.15",
|
|
34
|
+
"@vuepress/shared": "2.0.0-rc.15"
|
|
35
35
|
},
|
|
36
36
|
"publishConfig": {
|
|
37
37
|
"access": "public"
|