@vuepress/plugin-theme-data
Advanced tools
Comparing version 2.0.0-beta.51 to 2.0.0-beta.52
@@ -5,3 +5,3 @@ import { themeData as themeDataRaw } from '@internal/themeData'; | ||
export const useThemeData = () => themeData; | ||
if (import.meta.webpackHot || import.meta.hot) { | ||
if (__VUEPRESS_DEV__ && (import.meta.webpackHot || import.meta.hot)) { | ||
__VUE_HMR_RUNTIME__.updateThemeData = (data) => { | ||
@@ -8,0 +8,0 @@ themeData.value = data; |
@@ -6,8 +6,4 @@ import { getDirname, path } from '@vuepress/utils'; | ||
name: '@vuepress/plugin-theme-data', | ||
alias: { | ||
// workaround for https://github.com/vitejs/vite/issues/7621 | ||
'@vuepress/plugin-theme-data/client': path.resolve(__dirname, '../client/index.js'), | ||
}, | ||
clientConfigFile: path.resolve(__dirname, '../client/config.js'), | ||
onPrepared: (app) => prepareThemeData(app, themeData), | ||
}); |
{ | ||
"name": "@vuepress/plugin-theme-data", | ||
"version": "2.0.0-beta.51", | ||
"version": "2.0.0-beta.52", | ||
"description": "VuePress plugin - theme data", | ||
@@ -33,8 +33,8 @@ "keywords": [ | ||
"dependencies": { | ||
"@vue/devtools-api": "^6.2.1", | ||
"@vuepress/client": "2.0.0-beta.51", | ||
"@vuepress/core": "2.0.0-beta.51", | ||
"@vuepress/shared": "2.0.0-beta.51", | ||
"@vuepress/utils": "2.0.0-beta.51", | ||
"vue": "^3.2.37" | ||
"@vue/devtools-api": "^6.4.5", | ||
"@vuepress/client": "2.0.0-beta.52", | ||
"@vuepress/core": "2.0.0-beta.52", | ||
"@vuepress/shared": "2.0.0-beta.52", | ||
"@vuepress/utils": "2.0.0-beta.52", | ||
"vue": "^3.2.41" | ||
}, | ||
@@ -41,0 +41,0 @@ "publishConfig": { |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
9166
172
3
9
0
35
+ Added@mdit-vue/plugin-component@0.11.2(transitive)
+ Added@mdit-vue/plugin-frontmatter@0.11.1(transitive)
+ Added@mdit-vue/plugin-headers@0.11.2(transitive)
+ Added@mdit-vue/plugin-sfc@0.11.1(transitive)
+ Added@mdit-vue/plugin-title@0.11.2(transitive)
+ Added@mdit-vue/plugin-toc@0.11.2(transitive)
+ Added@mdit-vue/shared@0.11.2(transitive)
+ Added@mdit-vue/types@0.11.0(transitive)
+ Added@vuepress/client@2.0.0-beta.52(transitive)
+ Added@vuepress/core@2.0.0-beta.52(transitive)
+ Added@vuepress/markdown@2.0.0-beta.52(transitive)
+ Added@vuepress/shared@2.0.0-beta.52(transitive)
+ Added@vuepress/utils@2.0.0-beta.52(transitive)
+ Addedpostcss@8.4.49(transitive)
- Removed@mdit-vue/plugin-component@0.10.0(transitive)
- Removed@mdit-vue/plugin-frontmatter@0.10.0(transitive)
- Removed@mdit-vue/plugin-headers@0.10.0(transitive)
- Removed@mdit-vue/plugin-sfc@0.10.0(transitive)
- Removed@mdit-vue/plugin-title@0.10.0(transitive)
- Removed@mdit-vue/plugin-toc@0.10.0(transitive)
- Removed@mdit-vue/shared@0.10.0(transitive)
- Removed@mdit-vue/types@0.10.0(transitive)
- Removed@vuepress/client@2.0.0-beta.51(transitive)
- Removed@vuepress/core@2.0.0-beta.51(transitive)
- Removed@vuepress/markdown@2.0.0-beta.51(transitive)
- Removed@vuepress/shared@2.0.0-beta.51(transitive)
- Removed@vuepress/utils@2.0.0-beta.51(transitive)
- Removedpostcss@8.4.47(transitive)
Updated@vue/devtools-api@^6.4.5
Updated@vuepress/core@2.0.0-beta.52
Updatedvue@^3.2.41