@vuepress/plugin-nprogress
Advanced tools
Comparing version 2.0.0-beta.38 to 2.0.0-beta.40
import type { Plugin } from '@vuepress/core'; | ||
export declare type NprogressPluginOptions = Record<never, never>; | ||
export declare const nprogressPlugin: Plugin<NprogressPluginOptions>; | ||
export declare const nprogressPlugin: () => Plugin; |
@@ -5,16 +5,6 @@ "use strict"; | ||
const utils_1 = require("@vuepress/utils"); | ||
const nprogressPlugin = (_, app) => { | ||
if (app.env.isDev && app.options.bundler.endsWith('vite')) { | ||
// eslint-disable-next-line import/no-extraneous-dependencies | ||
app.options.bundlerConfig.viteOptions = require('vite').mergeConfig(app.options.bundlerConfig.viteOptions, { | ||
optimizeDeps: { | ||
include: ['nprogress'], | ||
}, | ||
}); | ||
} | ||
return { | ||
name: '@vuepress/plugin-nprogress', | ||
clientAppSetupFiles: utils_1.path.resolve(__dirname, '../client/clientAppSetup.js'), | ||
}; | ||
}; | ||
const nprogressPlugin = () => ({ | ||
name: '@vuepress/plugin-nprogress', | ||
clientAppSetupFiles: utils_1.path.resolve(__dirname, '../client/clientAppSetup.js'), | ||
}); | ||
exports.nprogressPlugin = nprogressPlugin; |
{ | ||
"name": "@vuepress/plugin-nprogress", | ||
"version": "2.0.0-beta.38", | ||
"version": "2.0.0-beta.40", | ||
"description": "VuePress plugin - nprogress", | ||
@@ -26,13 +26,8 @@ "keywords": [ | ||
], | ||
"scripts": { | ||
"build": "tsc -b tsconfig.build.json", | ||
"clean": "rimraf lib *.tsbuildinfo", | ||
"copy": "cpx \"src/**/*.css\" lib" | ||
}, | ||
"dependencies": { | ||
"@vuepress/client": "2.0.0-beta.38", | ||
"@vuepress/core": "2.0.0-beta.38", | ||
"@vuepress/utils": "2.0.0-beta.38", | ||
"@vuepress/client": "2.0.0-beta.40", | ||
"@vuepress/core": "2.0.0-beta.40", | ||
"@vuepress/utils": "2.0.0-beta.40", | ||
"nprogress": "^0.2.0", | ||
"vue": "^3.2.31", | ||
"vue": "^3.2.33", | ||
"vue-router": "^4.0.14" | ||
@@ -46,3 +41,7 @@ }, | ||
}, | ||
"gitHead": "7cb24eab18628a66371a367090f7c9c33b519136" | ||
} | ||
"scripts": { | ||
"build": "tsc -b tsconfig.build.json", | ||
"clean": "rimraf lib *.tsbuildinfo", | ||
"copy": "cpx \"src/**/*.css\" lib" | ||
} | ||
} |
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
5609
101
+ Added@vuepress/client@2.0.0-beta.40(transitive)
+ Added@vuepress/core@2.0.0-beta.40(transitive)
+ Added@vuepress/markdown@2.0.0-beta.40(transitive)
+ Added@vuepress/shared@2.0.0-beta.40(transitive)
+ Added@vuepress/utils@2.0.0-beta.40(transitive)
+ Addedentities@3.0.1(transitive)
+ Addedlinkify-it@4.0.1(transitive)
+ Addedmarkdown-it@13.0.2(transitive)
- Removed@types/hash-sum@1.0.2(transitive)
- Removed@vuepress/client@2.0.0-beta.38(transitive)
- Removed@vuepress/core@2.0.0-beta.38(transitive)
- Removed@vuepress/markdown@2.0.0-beta.38(transitive)
- Removed@vuepress/shared@2.0.0-beta.38(transitive)
- Removed@vuepress/utils@2.0.0-beta.38(transitive)
- Removedentities@2.1.0(transitive)
- Removedlinkify-it@3.0.3(transitive)
- Removedmarkdown-it@12.3.2(transitive)
Updated@vuepress/core@2.0.0-beta.40
Updatedvue@^3.2.33