mirror of
https://github.com/wahyd4/vuepress.git
synced 2026-08-24 20:55:51 +10:00
Merge branch 'master' into plugin-prism
This commit is contained in:
@@ -34,4 +34,4 @@ jobs:
|
||||
key: v1-dependencies-{{ checksum "package.json" }}
|
||||
|
||||
# run tests!
|
||||
- run: yarn lint && yarn test
|
||||
- run: yarn build && yarn lint && yarn test
|
||||
|
||||
@@ -19,4 +19,4 @@ about: Suggest an idea for this project
|
||||
|
||||
#### How should this be implemented in your opinion?
|
||||
|
||||
#### Are you willing to work on this yourself?**
|
||||
#### Are you willing to work on this yourself?
|
||||
|
||||
@@ -1,3 +1,67 @@
|
||||
<a name="1.0.0-alpha.47"></a>
|
||||
# [1.0.0-alpha.47](https://github.com/vuejs/vuepress/compare/v1.0.0-alpha.46...v1.0.0-alpha.47) (2019-04-06)
|
||||
|
||||
|
||||
### Bug Fixes
|
||||
|
||||
* **$core:** `index.styl` is not injected at the end of the style bundle (close: [#1523](https://github.com/vuejs/vuepress/issues/1523)) ([dabf506](https://github.com/vuejs/vuepress/commit/dabf506))
|
||||
* **$core:** `routerBase` will always get '/' (close: [#1503](https://github.com/vuejs/vuepress/issues/1503)) ([9fba549](https://github.com/vuejs/vuepress/commit/9fba549))
|
||||
* **$markdown:** Snippets should allow spaces in file path (closes [#1505](https://github.com/vuejs/vuepress/issues/1505)) ([#1517](https://github.com/vuejs/vuepress/issues/1517)) ([5c307c9](https://github.com/vuejs/vuepress/commit/5c307c9))
|
||||
|
||||
|
||||
### Features
|
||||
|
||||
* **$core:** assert return type for functional plugin ([#1516](https://github.com/vuejs/vuepress/issues/1516)) ([74887c5](https://github.com/vuejs/vuepress/commit/74887c5))
|
||||
* **$core:** emit warning if the source directory doesn't exist (close: [#1521](https://github.com/vuejs/vuepress/issues/1521)) ([6da9a5f](https://github.com/vuejs/vuepress/commit/6da9a5f))
|
||||
* **$plugin-pwa:** allow using local workbox files (close: [#539](https://github.com/vuejs/vuepress/issues/539)) ([4640614](https://github.com/vuejs/vuepress/commit/4640614))
|
||||
|
||||
|
||||
|
||||
<a name="1.0.0-alpha.46"></a>
|
||||
# [1.0.0-alpha.46](https://github.com/vuejs/vuepress/compare/v1.0.0-alpha.45...v1.0.0-alpha.46) (2019-04-01)
|
||||
|
||||
|
||||
### Bug Fixes
|
||||
|
||||
* **$core:** regression of introducing dynamic `routerBase` (close: [#1498](https://github.com/vuejs/vuepress/issues/1498)) ([5e12b49](https://github.com/vuejs/vuepress/commit/5e12b49))
|
||||
|
||||
|
||||
|
||||
<a name="1.0.0-alpha.45"></a>
|
||||
# [1.0.0-alpha.45](https://github.com/vuejs/vuepress/compare/v1.0.0-alpha.44...v1.0.0-alpha.45) (2019-03-31)
|
||||
|
||||
|
||||
### Bug Fixes
|
||||
|
||||
* **$core:** do not register component in render function ([#1449](https://github.com/vuejs/vuepress/issues/1449)) ([ef82c47](https://github.com/vuejs/vuepress/commit/ef82c47))
|
||||
* **$core:** do not use stylus in outbound link ([d34e038](https://github.com/vuejs/vuepress/commit/d34e038))
|
||||
* **$core:** should default host be 0.0.0.0 ([699492a](https://github.com/vuejs/vuepress/commit/699492a))
|
||||
* **$markdown:** treat styl as stylus language ([#1433](https://github.com/vuejs/vuepress/issues/1433)) ([f44e2db](https://github.com/vuejs/vuepress/commit/f44e2db))
|
||||
* **$markdown-loader:** always use `/` instead of `\` in `relPath` ([#1484](https://github.com/vuejs/vuepress/issues/1484)) ([944ebe4](https://github.com/vuejs/vuepress/commit/944ebe4))
|
||||
* **$plugin-active-header-links:** side navigation edge case bug ([#1477](https://github.com/vuejs/vuepress/issues/1477)) ([8a11d14](https://github.com/vuejs/vuepress/commit/8a11d14))
|
||||
* **$plugin-blog:** inconsistent paths of tag and category pages with index page ([#1420](https://github.com/vuejs/vuepress/issues/1420)) ([5c0e62f](https://github.com/vuejs/vuepress/commit/5c0e62f))
|
||||
* **$plugin-pwa:** fix a typo in `opacity` ([#1444](https://github.com/vuejs/vuepress/issues/1444)) ([c174f0d](https://github.com/vuejs/vuepress/commit/c174f0d))
|
||||
* **$theme-default:** fix wrong editLink (close: [#1115](https://github.com/vuejs/vuepress/issues/1115), [#1125](https://github.com/vuejs/vuepress/issues/1125)) ([#1419](https://github.com/vuejs/vuepress/issues/1419)) ([3b14375](https://github.com/vuejs/vuepress/commit/3b14375))
|
||||
* **$theme-default:** nav url change bug (close: [#865](https://github.com/vuejs/vuepress/issues/865)) ([#1475](https://github.com/vuejs/vuepress/issues/1475)) ([521dddd](https://github.com/vuejs/vuepress/commit/521dddd))
|
||||
|
||||
|
||||
### Features
|
||||
|
||||
* **$core:** allow dynamic routeBase at runtime ([fc99d59](https://github.com/vuejs/vuepress/commit/fc99d59))
|
||||
* **$core:** decode page path for better readablility ([#1438](https://github.com/vuejs/vuepress/issues/1438)) ([93b2ca1](https://github.com/vuejs/vuepress/commit/93b2ca1))
|
||||
* **$core:** export version ([#1486](https://github.com/vuejs/vuepress/issues/1486)) ([d7b8daf](https://github.com/vuejs/vuepress/commit/d7b8daf))
|
||||
* **$core:** functional siteConfig.evergreen ([#1489](https://github.com/vuejs/vuepress/issues/1489)) ([19e0569](https://github.com/vuejs/vuepress/commit/19e0569))
|
||||
* **$core:** support array as plugin options ([#1493](https://github.com/vuejs/vuepress/issues/1493)) ([9e07b1e](https://github.com/vuejs/vuepress/commit/9e07b1e))
|
||||
* **$markdown:** markdown plugin (close: [#585](https://github.com/vuejs/vuepress/issues/585)) ([#1422](https://github.com/vuejs/vuepress/issues/1422)) ([9734a58](https://github.com/vuejs/vuepress/commit/9734a58))
|
||||
* **$plugin-register-components:** custom name registration (close: [#656](https://github.com/vuejs/vuepress/issues/656)) ([#1418](https://github.com/vuejs/vuepress/issues/1418)) ([9c6a00b](https://github.com/vuejs/vuepress/commit/9c6a00b))
|
||||
|
||||
|
||||
### Breaking Changes
|
||||
|
||||
* Depreated [@vuepress/plugin-container](https://www.npmjs.com/package/@vuepress/plugin-container) and moved it to [vuepress-plugin-container](https://www.npmjs.com/package/vuepress-plugin-container).
|
||||
* Depreated [@vuepress/plugin-clean-urls](https://www.npmjs.com/package/@vuepress/plugin-clean-urls) and moved it to [vuepress-plugin-clean-urls](https://www.npmjs.com/package/vuepress-plugin-clean-urls).
|
||||
|
||||
|
||||
<a name="1.0.0-alpha.44"></a>
|
||||
# [1.0.0-alpha.44](https://github.com/vuejs/vuepress/compare/v1.0.0-alpha.43...v1.0.0-alpha.44) (2019-03-10)
|
||||
|
||||
|
||||
+1
-1
@@ -2,5 +2,5 @@
|
||||
"lerna": "2.5.1",
|
||||
"npmClient": "yarn",
|
||||
"useWorkspaces": true,
|
||||
"version": "1.0.0-alpha.44"
|
||||
"version": "1.0.0-alpha.47"
|
||||
}
|
||||
|
||||
@@ -61,8 +61,12 @@ Vue.prototype.$withBase = function (path) {
|
||||
}
|
||||
|
||||
export function createApp (isServer) {
|
||||
const routerBase = typeof window !== 'undefined' && window.__VUEPRESS_ROUTER_BASE__
|
||||
? window.__VUEPRESS_ROUTER_BASE__
|
||||
: (siteData.routerBase || siteData.base)
|
||||
|
||||
const router = new Router({
|
||||
base: siteData.base,
|
||||
base: routerBase,
|
||||
mode: 'history',
|
||||
fallback: false,
|
||||
routes,
|
||||
|
||||
@@ -41,6 +41,9 @@ module.exports = class App {
|
||||
this.options = options
|
||||
this.sourceDir = this.options.sourceDir || path.join(__dirname, 'docs.fallback')
|
||||
logger.debug('sourceDir', this.sourceDir)
|
||||
if (!fs.existsSync(this.sourceDir)) {
|
||||
logger.warn(`Source directory doesn't exist: ${chalk.yellow(this.sourceDir)}`)
|
||||
}
|
||||
|
||||
const { tempPath, writeTemp } = createTemp(options.temp)
|
||||
this.tempPath = tempPath
|
||||
@@ -149,12 +152,12 @@ module.exports = class App {
|
||||
.use(require('./internal-plugins/transformModule'))
|
||||
.use(require('./internal-plugins/dataBlock'))
|
||||
.use(require('./internal-plugins/frontmatterBlock'))
|
||||
.use('@vuepress/container', {
|
||||
.use('container', {
|
||||
type: 'slot',
|
||||
before: info => `<template slot="${info}">`,
|
||||
after: '</template>'
|
||||
})
|
||||
.use('@vuepress/container', {
|
||||
.use('container', {
|
||||
type: 'v-pre',
|
||||
before: '<div v-pre>',
|
||||
after: '</div>'
|
||||
|
||||
@@ -266,7 +266,7 @@ module.exports = class DevProcess extends EventEmitter {
|
||||
*/
|
||||
|
||||
function resolveHost (host) {
|
||||
const defaultHost = 'localhost'
|
||||
const defaultHost = '0.0.0.0'
|
||||
host = host || defaultHost
|
||||
const displayHost = host === defaultHost
|
||||
? 'localhost'
|
||||
|
||||
@@ -31,15 +31,22 @@ module.exports = (options, ctx) => ({
|
||||
? `@import(${JSON.stringify(userPalette.replace(/[\\]+/g, '/'))})`
|
||||
: ''
|
||||
|
||||
const nullComment = '// null'
|
||||
|
||||
// user's palette can override theme's palette.
|
||||
let paletteContent = themePaletteContent + userPaletteContent
|
||||
let paletteContent = '// Theme\'s Palette\n'
|
||||
+ (themePaletteContent || nullComment)
|
||||
+ '\n\n// User\'s Palette\n'
|
||||
+ (userPaletteContent || nullComment)
|
||||
|
||||
if (ctx.themeAPI.existsParentTheme) {
|
||||
const parentThemePalette = path.resolve(ctx.themeAPI.parentTheme.path, 'styles/palette.styl')
|
||||
const parentThemePaletteContent = fs.existsSync(parentThemePalette)
|
||||
? `@import(${JSON.stringify(parentThemePalette.replace(/[\\]+/g, '/'))})`
|
||||
: ''
|
||||
paletteContent = parentThemePaletteContent + paletteContent
|
||||
paletteContent = '// Parent Theme\'s Palette\n'
|
||||
+ (parentThemePaletteContent || nullComment)
|
||||
+ '\n\n' + paletteContent
|
||||
}
|
||||
|
||||
await writeTemp('palette.styl', paletteContent)
|
||||
|
||||
@@ -30,14 +30,23 @@ module.exports = (options, ctx) => ({
|
||||
? `@import(${JSON.stringify(userStyle.replace(/[\\]+/g, '/'))})`
|
||||
: ''
|
||||
|
||||
let styleContent = themeStyleContent + userStyleContent
|
||||
const nullComment = '// null'
|
||||
|
||||
// user's styles can override theme's styles.
|
||||
let styleContent = '// Theme\'s Styles\n'
|
||||
+ (themeStyleContent || nullComment)
|
||||
+ '\n\n// User\'s Styles\n'
|
||||
+ (userStyleContent || nullComment)
|
||||
|
||||
if (themeAPI.existsParentTheme) {
|
||||
const parentThemeStyle = path.resolve(themeAPI.parentTheme.path, 'styles/index.styl')
|
||||
const parentThemeStyleContent = fs.existsSync(parentThemeStyle)
|
||||
? `@import(${JSON.stringify(parentThemeStyle.replace(/[\\]+/g, '/'))})`
|
||||
: ''
|
||||
styleContent = parentThemeStyleContent + styleContent
|
||||
|
||||
styleContent = '// Parent Theme\'s Styles\n'
|
||||
+ (parentThemeStyleContent || nullComment)
|
||||
+ '\n\n' + styleContent
|
||||
}
|
||||
|
||||
await writeTemp('style.styl', styleContent)
|
||||
|
||||
@@ -22,7 +22,7 @@ exports.flattenPlugin = function (
|
||||
pluginContext,
|
||||
self
|
||||
) {
|
||||
const { valid, warnMsg } = assertTypes(pluginOptions, [Object, Boolean])
|
||||
const { valid, warnMsg } = assertTypes(pluginOptions, [Object, Array, Boolean])
|
||||
if (!valid) {
|
||||
if (pluginOptions !== undefined) {
|
||||
logger.warn(
|
||||
@@ -43,6 +43,14 @@ exports.flattenPlugin = function (
|
||||
// 'Object.create' here is to give each plugin a separate context,
|
||||
// but also own the inheritance context.
|
||||
config = config(pluginOptions, Object.create(pluginContext), self)
|
||||
const { valid, warnMsg } = assertTypes(config, [Object])
|
||||
if (!valid) {
|
||||
logger.warn(
|
||||
`[${chalk.gray(shortcut)}] `
|
||||
+ `Invalid value for plugin: ${warnMsg}`
|
||||
)
|
||||
config = {}
|
||||
}
|
||||
}
|
||||
|
||||
// respect name in local plugin config
|
||||
|
||||
@@ -127,7 +127,10 @@ module.exports = function createBaseConfig (context, isServer) {
|
||||
.loader('pug-plain-loader')
|
||||
.end()
|
||||
|
||||
if (!siteConfig.evergreen) {
|
||||
const evergreen = typeof siteConfig.evergreen === 'function'
|
||||
? siteConfig.evergreen()
|
||||
: siteConfig.evergreen
|
||||
if (!evergreen) {
|
||||
const libDir = path.join(__dirname, '..')
|
||||
config.module
|
||||
.rule('js')
|
||||
|
||||
@@ -7,6 +7,7 @@
|
||||
module.exports = function createClientConfig (ctx) {
|
||||
const { env } = require('@vuepress/shared-utils')
|
||||
const createBaseConfig = require('./createBaseConfig')
|
||||
const safeParser = require('postcss-safe-parser')
|
||||
|
||||
const config = createBaseConfig(ctx)
|
||||
|
||||
@@ -49,7 +50,7 @@ module.exports = function createClientConfig (ctx) {
|
||||
.use(require('optimize-css-assets-webpack-plugin'), [{
|
||||
canPrint: false,
|
||||
cssProcessorOptions: {
|
||||
safe: true,
|
||||
parser: safeParser,
|
||||
autoprefixer: { disable: true },
|
||||
mergeLonghand: false
|
||||
}
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "@vuepress/core",
|
||||
"version": "1.0.0-alpha.44",
|
||||
"version": "1.0.0-alpha.47",
|
||||
"description": "Minimalistic doc generator with Vue component based layout system",
|
||||
"main": "lib/index.js",
|
||||
"repository": {
|
||||
@@ -31,12 +31,11 @@
|
||||
"dependencies": {
|
||||
"@babel/core": "^7.0.0",
|
||||
"@vue/babel-preset-app": "^3.1.1",
|
||||
"@vuepress/markdown": "^1.0.0-alpha.44",
|
||||
"@vuepress/markdown-loader": "^1.0.0-alpha.44",
|
||||
"@vuepress/plugin-container": "^1.0.0-alpha.44",
|
||||
"@vuepress/plugin-last-updated": "^1.0.0-alpha.44",
|
||||
"@vuepress/plugin-register-components": "^1.0.0-alpha.44",
|
||||
"@vuepress/shared-utils": "^1.0.0-alpha.44",
|
||||
"@vuepress/markdown": "^1.0.0-alpha.47",
|
||||
"@vuepress/markdown-loader": "^1.0.0-alpha.47",
|
||||
"@vuepress/plugin-last-updated": "^1.0.0-alpha.47",
|
||||
"@vuepress/plugin-register-components": "^1.0.0-alpha.47",
|
||||
"@vuepress/shared-utils": "^1.0.0-alpha.47",
|
||||
"autoprefixer": "^7.1.2",
|
||||
"babel-loader": "^8.0.4",
|
||||
"cache-loader": "^1.2.2",
|
||||
@@ -49,9 +48,10 @@
|
||||
"js-yaml": "^3.11.0",
|
||||
"lru-cache": "^5.1.1",
|
||||
"mini-css-extract-plugin": "0.4.4",
|
||||
"optimize-css-assets-webpack-plugin": "^4.0.0",
|
||||
"optimize-css-assets-webpack-plugin": "^5.0.1",
|
||||
"portfinder": "^1.0.13",
|
||||
"postcss-loader": "^2.1.5",
|
||||
"postcss-safe-parser": "^4.0.1",
|
||||
"toml": "^2.3.3",
|
||||
"url-loader": "^1.0.1",
|
||||
"vue": "^2.5.16",
|
||||
@@ -60,6 +60,7 @@
|
||||
"vue-server-renderer": "^2.5.16",
|
||||
"vue-template-compiler": "^2.5.16",
|
||||
"vuepress-html-webpack-plugin": "^3.2.0",
|
||||
"vuepress-plugin-container": "^2.0.0",
|
||||
"webpack": "^4.8.1",
|
||||
"webpack-chain": "^4.6.0",
|
||||
"webpack-dev-server": "^3.1.14",
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "@vuepress/markdown-loader",
|
||||
"version": "1.0.0-alpha.44",
|
||||
"version": "1.0.0-alpha.47",
|
||||
"description": "markdown-loader for vuepress",
|
||||
"main": "index.js",
|
||||
"publishConfig": {
|
||||
@@ -18,7 +18,7 @@
|
||||
"generator"
|
||||
],
|
||||
"dependencies": {
|
||||
"@vuepress/markdown": "^1.0.0-alpha.44",
|
||||
"@vuepress/markdown": "^1.0.0-alpha.47",
|
||||
"loader-utils": "^1.1.0",
|
||||
"lru-cache": "^5.1.1"
|
||||
},
|
||||
|
||||
@@ -1,5 +1,15 @@
|
||||
// Jest Snapshot v1, https://goo.gl/fbAQLP
|
||||
|
||||
exports[`snippet import snipets when the file has a space in the file path 1`] = `
|
||||
<div class="highlight-lines">
|
||||
<div class="highlighted"> </div>
|
||||
<div class="highlighted"> </div>
|
||||
<div class="highlighted"> </div><br>
|
||||
</div>export default function () {
|
||||
// ..
|
||||
}
|
||||
`;
|
||||
|
||||
exports[`snippet import snippet 1`] = `
|
||||
<pre><code class="language-js">export default function () {
|
||||
// ..
|
||||
|
||||
@@ -0,0 +1 @@
|
||||
<<< @/packages/@vuepress/markdown/__tests__/fragments/snippet with spaces.js {1-3}
|
||||
@@ -0,0 +1,3 @@
|
||||
export default function () {
|
||||
// ..
|
||||
}
|
||||
@@ -24,4 +24,10 @@ describe('snippet', () => {
|
||||
const output = mdH.render(input)
|
||||
expect(output).toMatchSnapshot()
|
||||
})
|
||||
|
||||
test('import snipets when the file has a space in the file path', () => {
|
||||
const input = getFragment(__dirname, 'code-snippet-with-space-in-path.md')
|
||||
const output = mdH.render(input)
|
||||
expect(output).toMatchSnapshot()
|
||||
})
|
||||
})
|
||||
|
||||
@@ -43,7 +43,7 @@ module.exports = function snippet (md, options = {}) {
|
||||
const start = pos + 3
|
||||
const end = state.skipSpacesBack(max, pos)
|
||||
const rawPath = state.src.slice(start, end).trim().replace(/^@/, root)
|
||||
const filename = rawPath.split(/[{\s]/).shift()
|
||||
const filename = rawPath.split(/{/).shift().trim()
|
||||
const meta = rawPath.replace(filename, '')
|
||||
|
||||
state.line = startLine + 1
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "@vuepress/markdown",
|
||||
"version": "1.0.0-alpha.44",
|
||||
"version": "1.0.0-alpha.47",
|
||||
"description": "markdown for vuepress",
|
||||
"main": "index.js",
|
||||
"publishConfig": {
|
||||
@@ -19,7 +19,7 @@
|
||||
"markdown"
|
||||
],
|
||||
"dependencies": {
|
||||
"@vuepress/shared-utils": "^1.0.0-alpha.44",
|
||||
"@vuepress/shared-utils": "^1.0.0-alpha.47",
|
||||
"lru-cache": "^5.1.1",
|
||||
"markdown-it": "^8.4.1",
|
||||
"markdown-it-anchor": "^5.0.2",
|
||||
@@ -27,7 +27,7 @@
|
||||
"markdown-it-emoji": "^1.4.0"
|
||||
},
|
||||
"devDependencies": {
|
||||
"@vuepress/test-utils": "^1.0.0-alpha.44"
|
||||
"@vuepress/test-utils": "^1.0.0-alpha.47"
|
||||
},
|
||||
"author": "Evan You",
|
||||
"maintainers": [
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "@vuepress/plugin-active-header-links",
|
||||
"version": "1.0.0-alpha.44",
|
||||
"version": "1.0.0-alpha.47",
|
||||
"description": "active-header-links plugin for vuepress",
|
||||
"main": "index.js",
|
||||
"publishConfig": {
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "@vuepress/plugin-back-to-top",
|
||||
"version": "1.0.0-alpha.44",
|
||||
"version": "1.0.0-alpha.47",
|
||||
"description": "back-to-top plugin for vuepress",
|
||||
"main": "index.js",
|
||||
"publishConfig": {
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "@vuepress/plugin-blog",
|
||||
"version": "1.0.0-alpha.44",
|
||||
"version": "1.0.0-alpha.47",
|
||||
"description": "blog plugin for vuepress",
|
||||
"main": "index.js",
|
||||
"publishConfig": {
|
||||
|
||||
@@ -1,3 +0,0 @@
|
||||
__tests__
|
||||
__mocks__
|
||||
.temp
|
||||
@@ -1,5 +0,0 @@
|
||||
# @vuepress/plugin-container
|
||||
|
||||
> markdown container plugin for vuepress
|
||||
|
||||
See [documentation](https://v1.vuepress.vuejs.org/plugin/official/plugin-container.html).
|
||||
@@ -1,48 +0,0 @@
|
||||
// Jest Snapshot v1, https://goo.gl/fbAQLP
|
||||
|
||||
exports[`containers danger.md 1`] = `
|
||||
<div class="danger custom-block">
|
||||
<p class="custom-block-title">DANGER</p>
|
||||
<p>I am a danger</p>
|
||||
</div>
|
||||
`;
|
||||
|
||||
exports[`containers markdown-slots.md 1`] = `
|
||||
<template slot="header">
|
||||
<h1 id="here-might-be-a-page-title"><a class="header-anchor" href="#here-might-be-a-page-title" aria-hidden="true">#</a> Here might be a page title</h1>
|
||||
</template>
|
||||
<ul>
|
||||
<li>A Paragraph</li>
|
||||
<li>Another Paragraph</li>
|
||||
</ul>
|
||||
<template slot="footer">
|
||||
<p>Here's some contact info</p>
|
||||
</template>
|
||||
`;
|
||||
|
||||
exports[`containers tip.md 1`] = `
|
||||
<div class="tip custom-block">
|
||||
<p class="custom-block-title">TIP</p>
|
||||
<p>I am a tip</p>
|
||||
</div>
|
||||
`;
|
||||
|
||||
exports[`containers tip-override.md 1`] = `
|
||||
<div class="tip custom-block">
|
||||
<p class="custom-block-title">提示</p>
|
||||
<p>I am a tip</p>
|
||||
</div>
|
||||
`;
|
||||
|
||||
exports[`containers v-pre.md 1`] = `
|
||||
<div v-pre>
|
||||
<p>I am a v-pre</p>
|
||||
</div>
|
||||
`;
|
||||
|
||||
exports[`containers warning.md 1`] = `
|
||||
<div class="warning custom-block">
|
||||
<p class="custom-block-title">WARNING</p>
|
||||
<p>I am a warning</p>
|
||||
</div>
|
||||
`;
|
||||
@@ -1,3 +0,0 @@
|
||||
::: danger
|
||||
I am a danger
|
||||
:::
|
||||
@@ -1,10 +0,0 @@
|
||||
::: slot header
|
||||
# Here might be a page title
|
||||
:::
|
||||
|
||||
- A Paragraph
|
||||
- Another Paragraph
|
||||
|
||||
::: slot footer
|
||||
Here's some contact info
|
||||
:::
|
||||
@@ -1,3 +0,0 @@
|
||||
::: tip 提示
|
||||
I am a tip
|
||||
:::
|
||||
@@ -1,3 +0,0 @@
|
||||
::: tip
|
||||
I am a tip
|
||||
:::
|
||||
@@ -1,3 +0,0 @@
|
||||
::: v-pre
|
||||
I am a v-pre
|
||||
:::
|
||||
@@ -1,3 +0,0 @@
|
||||
::: warning
|
||||
I am a warning
|
||||
:::
|
||||
@@ -1,36 +0,0 @@
|
||||
const { createApp } = require('@vuepress/core')
|
||||
const { getFragments } = require('@vuepress/test-utils')
|
||||
import containerPlugin from '..'
|
||||
|
||||
describe('containers', async () => {
|
||||
let app
|
||||
|
||||
beforeAll(async () => {
|
||||
app = createApp()
|
||||
app.options.siteConfig = {
|
||||
plugins: [
|
||||
[containerPlugin, { type: 'tip' }],
|
||||
[containerPlugin, { type: 'warning' }],
|
||||
[containerPlugin, { type: 'danger' }],
|
||||
[containerPlugin, {
|
||||
type: 'slot',
|
||||
before: info => `<template slot="${info}">`,
|
||||
after: '</template>'
|
||||
}],
|
||||
[containerPlugin, {
|
||||
type: 'v-pre',
|
||||
before: '<div v-pre>',
|
||||
after: '</div>'
|
||||
}]
|
||||
]
|
||||
}
|
||||
return app.process()
|
||||
})
|
||||
|
||||
getFragments(__dirname).forEach(({ name, content: input }) => {
|
||||
test(name, () => {
|
||||
const { html } = app.markdown.render(input)
|
||||
expect(html).toMatchSnapshot()
|
||||
})
|
||||
})
|
||||
})
|
||||
@@ -1,50 +0,0 @@
|
||||
const container = require('markdown-it-container')
|
||||
|
||||
function call (target, ...args) {
|
||||
if (typeof target === 'function') {
|
||||
return target(...args)
|
||||
} else {
|
||||
return target
|
||||
}
|
||||
}
|
||||
|
||||
module.exports = (options, context) => ({
|
||||
name: require('./package').name,
|
||||
|
||||
multiple: true,
|
||||
|
||||
extendMarkdown (md) {
|
||||
const {
|
||||
validate,
|
||||
marker,
|
||||
before,
|
||||
after,
|
||||
type = '',
|
||||
defaultTitle = type.toUpperCase()
|
||||
} = options
|
||||
if (!type) return
|
||||
|
||||
let { render } = options
|
||||
if (!render) {
|
||||
if (before !== undefined && after !== undefined) {
|
||||
render = (tokens, index) => {
|
||||
const info = tokens[index].info.trim().slice(type.length).trim()
|
||||
return tokens[index].nesting === 1 ? call(before, info) : call(after, info)
|
||||
}
|
||||
} else {
|
||||
render = (tokens, index) => {
|
||||
const token = tokens[index]
|
||||
let title = token.info.trim().slice(type.length).trim() || defaultTitle
|
||||
if (title) title = `<p class="custom-block-title">${title}</p>`
|
||||
if (token.nesting === 1) {
|
||||
return `<div class="${type} custom-block">${title}\n`
|
||||
} else {
|
||||
return `</div>\n`
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
md.use(container, type, { render, validate, marker })
|
||||
}
|
||||
})
|
||||
@@ -1,32 +0,0 @@
|
||||
{
|
||||
"name": "@vuepress/plugin-container",
|
||||
"version": "1.0.0-alpha.44",
|
||||
"description": "markdown container plugin for vuepress",
|
||||
"main": "index.js",
|
||||
"publishConfig": {
|
||||
"access": "public"
|
||||
},
|
||||
"repository": {
|
||||
"type": "git",
|
||||
"url": "git+https://github.com/vuejs/vuepress.git",
|
||||
"directory": "packages/@vuepress/plugin-container"
|
||||
},
|
||||
"keywords": [
|
||||
"documentation",
|
||||
"vue",
|
||||
"vuepress",
|
||||
"generator"
|
||||
],
|
||||
"dependencies": {
|
||||
"markdown-it-container": "^2.0.0"
|
||||
},
|
||||
"devDependencies": {
|
||||
"@vuepress/test-utils": "^1.0.0-alpha.44"
|
||||
},
|
||||
"author": "Shigma <1700011071@pku.edu.cn>",
|
||||
"license": "MIT",
|
||||
"bugs": {
|
||||
"url": "https://github.com/vuejs/vuepress/issues"
|
||||
},
|
||||
"homepage": "https://github.com/vuejs/vuepress/packages/@vuepress/plugin-container#readme"
|
||||
}
|
||||
@@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "@vuepress/plugin-google-analytics",
|
||||
"version": "1.0.0-alpha.44",
|
||||
"version": "1.0.0-alpha.47",
|
||||
"description": "google-analytics plugin for vuepress",
|
||||
"main": "index.js",
|
||||
"publishConfig": {
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "@vuepress/plugin-last-updated",
|
||||
"version": "1.0.0-alpha.44",
|
||||
"version": "1.0.0-alpha.47",
|
||||
"description": "last-updated plugin for vuepress",
|
||||
"main": "index.js",
|
||||
"publishConfig": {
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "@vuepress/plugin-medium-zoom",
|
||||
"version": "1.0.0-alpha.44",
|
||||
"version": "1.0.0-alpha.47",
|
||||
"description": "medium-zoom plugin for vuepress",
|
||||
"main": "index.js",
|
||||
"publishConfig": {
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "@vuepress/plugin-nprogress",
|
||||
"version": "1.0.0-alpha.44",
|
||||
"version": "1.0.0-alpha.47",
|
||||
"description": "nprogress plugin for vuepress",
|
||||
"main": "index.js",
|
||||
"publishConfig": {
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "@vuepress/plugin-pagination",
|
||||
"version": "1.0.0-alpha.44",
|
||||
"version": "1.0.0-alpha.47",
|
||||
"description": "pagination plugin for vuepress",
|
||||
"main": "index.js",
|
||||
"publishConfig": {
|
||||
|
||||
@@ -40,7 +40,8 @@ module.exports = (options, context) => ({
|
||||
await wbb.generateSW({
|
||||
swDest: swFilePath,
|
||||
globDirectory: outDir,
|
||||
globPatterns: ['**\/*.{js,css,html,png,jpg,jpeg,gif,svg,woff,woff2,eot,ttf,otf}']
|
||||
globPatterns: ['**\/*.{js,css,html,png,jpg,jpeg,gif,svg,woff,woff2,eot,ttf,otf}'],
|
||||
...(options.generateSWConfig || {})
|
||||
})
|
||||
await fs.writeFile(
|
||||
swFilePath,
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "@vuepress/plugin-pwa",
|
||||
"version": "1.0.0-alpha.44",
|
||||
"version": "1.0.0-alpha.47",
|
||||
"description": "pwa plugin for vuepress",
|
||||
"main": "index.js",
|
||||
"publishConfig": {
|
||||
@@ -18,7 +18,7 @@
|
||||
"generator"
|
||||
],
|
||||
"dependencies": {
|
||||
"@vuepress/shared-utils": "^1.0.0-alpha.44",
|
||||
"@vuepress/shared-utils": "^1.0.0-alpha.47",
|
||||
"register-service-worker": "^1.5.2",
|
||||
"workbox-build": "^3.1.0"
|
||||
},
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "@vuepress/plugin-register-components",
|
||||
"version": "1.0.0-alpha.44",
|
||||
"version": "1.0.0-alpha.47",
|
||||
"description": "register-global-components plugin for vuepress",
|
||||
"main": "index.js",
|
||||
"publishConfig": {
|
||||
@@ -24,6 +24,6 @@
|
||||
},
|
||||
"homepage": "https://github.com/vuejs/vuepress/packages/@vuepress/plugin-register-components#readme",
|
||||
"dependencies": {
|
||||
"@vuepress/shared-utils": "^1.0.0-alpha.44"
|
||||
"@vuepress/shared-utils": "^1.0.0-alpha.47"
|
||||
}
|
||||
}
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "@vuepress/plugin-search",
|
||||
"version": "1.0.0-alpha.44",
|
||||
"version": "1.0.0-alpha.47",
|
||||
"description": "search plugin for vuepress",
|
||||
"main": "index.js",
|
||||
"publishConfig": {
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "@vuepress/shared-utils",
|
||||
"version": "1.0.0-alpha.44",
|
||||
"version": "1.0.0-alpha.47",
|
||||
"description": "shared-utils for vuepress",
|
||||
"main": "lib/index.js",
|
||||
"types": "types/index.d.ts",
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "@vuepress/test-utils",
|
||||
"version": "1.0.0-alpha.44",
|
||||
"version": "1.0.0-alpha.47",
|
||||
"description": "test-utils for vuepress",
|
||||
"main": "index.js",
|
||||
"publishConfig": {
|
||||
@@ -22,8 +22,8 @@
|
||||
"@babel/preset-env": "^7.0.0",
|
||||
"@types/jest": "^24.0.9",
|
||||
"@vue/test-utils": "^1.0.0-beta.29",
|
||||
"@vuepress/core": "^1.0.0-alpha.44",
|
||||
"@vuepress/shared-utils": "^1.0.0-alpha.44",
|
||||
"@vuepress/core": "^1.0.0-alpha.47",
|
||||
"@vuepress/shared-utils": "^1.0.0-alpha.47",
|
||||
"babel-jest": "^24.1.0",
|
||||
"execa": "^0.10.0",
|
||||
"jest": "^24.1.0",
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
{
|
||||
"private": true,
|
||||
"name": "@vuepress/theme-blog",
|
||||
"version": "1.0.0-alpha.44",
|
||||
"version": "1.0.0-alpha.47",
|
||||
"description": "theme-blog for vuepress",
|
||||
"main": "index.js",
|
||||
"publishConfig": {
|
||||
@@ -19,10 +19,10 @@
|
||||
"generator"
|
||||
],
|
||||
"dependencies": {
|
||||
"@vuepress/plugin-blog": "^1.0.0-alpha.44",
|
||||
"@vuepress/plugin-medium-zoom": "^1.0.0-alpha.44",
|
||||
"@vuepress/plugin-pagination": "^1.0.0-alpha.44",
|
||||
"@vuepress/plugin-search": "^1.0.0-alpha.44"
|
||||
"@vuepress/plugin-blog": "^1.0.0-alpha.47",
|
||||
"@vuepress/plugin-medium-zoom": "^1.0.0-alpha.47",
|
||||
"@vuepress/plugin-pagination": "^1.0.0-alpha.47",
|
||||
"@vuepress/plugin-search": "^1.0.0-alpha.47"
|
||||
},
|
||||
"author": "ULIVZ <chl814@foxmail.com>",
|
||||
"license": "MIT",
|
||||
|
||||
@@ -18,12 +18,27 @@ module.exports = (options, ctx) => ({
|
||||
},
|
||||
|
||||
plugins: [
|
||||
'@vuepress/active-header-links',
|
||||
['@vuepress/active-header-links', options.activeHeaderLinks],
|
||||
'@vuepress/search',
|
||||
'@vuepress/plugin-nprogress',
|
||||
['@vuepress/container', { type: 'tip' }],
|
||||
['@vuepress/container', { type: 'warning' }],
|
||||
['@vuepress/container', { type: 'danger' }],
|
||||
['container', {
|
||||
type: 'tip',
|
||||
defaultTitle: {
|
||||
'/zh/': '提示'
|
||||
}
|
||||
}],
|
||||
['container', {
|
||||
type: 'warning',
|
||||
defaultTitle: {
|
||||
'/zh/': '注意'
|
||||
}
|
||||
}],
|
||||
['container', {
|
||||
type: 'danger',
|
||||
defaultTitle: {
|
||||
'/zh/': '警告'
|
||||
}
|
||||
}],
|
||||
['prism', {
|
||||
theme: 'tomorrow',
|
||||
preview: {
|
||||
|
||||
@@ -24,5 +24,3 @@ export default {
|
||||
}
|
||||
}
|
||||
</script>
|
||||
|
||||
<style src="../styles/theme.styl" lang="stylus"></style>
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "@vuepress/theme-default",
|
||||
"version": "1.0.0-alpha.44",
|
||||
"version": "1.0.0-alpha.47",
|
||||
"description": "Default theme for VuePress",
|
||||
"main": "index.js",
|
||||
"publishConfig": {
|
||||
@@ -30,12 +30,12 @@
|
||||
},
|
||||
"homepage": "https://github.com/vuejs/vuepress/packages/@vuepress/theme-default#readme",
|
||||
"dependencies": {
|
||||
"@vuepress/plugin-active-header-links": "^1.0.0-alpha.44",
|
||||
"@vuepress/plugin-container": "^1.0.0-alpha.44",
|
||||
"@vuepress/plugin-nprogress": "^1.0.0-alpha.44",
|
||||
"@vuepress/plugin-search": "^1.0.0-alpha.44",
|
||||
"@vuepress/plugin-active-header-links": "^1.0.0-alpha.47",
|
||||
"@vuepress/plugin-nprogress": "^1.0.0-alpha.47",
|
||||
"@vuepress/plugin-search": "^1.0.0-alpha.47",
|
||||
"docsearch.js": "^2.5.2",
|
||||
"stylus": "^0.54.5",
|
||||
"stylus-loader": "^3.0.2"
|
||||
"stylus-loader": "^3.0.2",
|
||||
"vuepress-plugin-container": "^2.0.0"
|
||||
}
|
||||
}
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "@vuepress/theme-vue",
|
||||
"version": "1.0.0-alpha.44",
|
||||
"version": "1.0.0-alpha.47",
|
||||
"description": "VuePress theme for official Vue projects",
|
||||
"main": "index.js",
|
||||
"publishConfig": {
|
||||
@@ -30,6 +30,6 @@
|
||||
},
|
||||
"homepage": "https://github.com/vuejs/vuepress/packages/@vuepress/theme-vue#readme",
|
||||
"dependencies": {
|
||||
"@vuepress/theme-default": "^1.0.0-alpha.44"
|
||||
"@vuepress/theme-default": "^1.0.0-alpha.47"
|
||||
}
|
||||
}
|
||||
|
||||
@@ -2,13 +2,13 @@
|
||||
"private": true,
|
||||
"name": "blog",
|
||||
"description": "blog of VuePress",
|
||||
"version": "1.0.0-alpha.44",
|
||||
"version": "1.0.0-alpha.47",
|
||||
"scripts": {
|
||||
"dev": "vuepress dev source --temp .temp",
|
||||
"build": "vuepress build source --temp .temp"
|
||||
},
|
||||
"dependencies": {
|
||||
"@vuepress/theme-blog": "^1.0.0-alpha.44",
|
||||
"vuepress": "^1.0.0-alpha.44"
|
||||
"@vuepress/theme-blog": "^1.0.0-alpha.47",
|
||||
"vuepress": "^1.0.0-alpha.47"
|
||||
}
|
||||
}
|
||||
|
||||
@@ -74,12 +74,12 @@ module.exports = ctx => ({
|
||||
['@vuepress/google-analytics', {
|
||||
ga: 'UA-128189152-1'
|
||||
}],
|
||||
['@vuepress/container', {
|
||||
['container', {
|
||||
type: 'vue',
|
||||
before: '<pre class="vue-container"><code>',
|
||||
after: '</code></pre>',
|
||||
}],
|
||||
['@vuepress/container', {
|
||||
['container', {
|
||||
type: 'upgrade',
|
||||
before: info => `<UpgradePath title="${info}">`,
|
||||
after: '</UpgradePath>',
|
||||
|
||||
@@ -356,7 +356,7 @@ module.exports = {
|
||||
|
||||
### evergreen
|
||||
|
||||
- Type: `boolean`
|
||||
- Type: `boolean | Function`
|
||||
- Default: `false`
|
||||
|
||||
Set to `true` if you are only targeting evergreen browsers. This will disable ES5 transpilation and polyfills for IE, and result in faster builds and smaller files.
|
||||
|
||||
@@ -131,7 +131,7 @@ Danger zone, do not proceed
|
||||
|
||||
**Also see:**
|
||||
|
||||
- [@vuepress/plugin-container](../plugin/official/plugin-container.md)
|
||||
- [vuepress-plugin-container](https://vuepress.github.io/plugins/container/)
|
||||
|
||||
## Syntax Highlighting in Code Blocks
|
||||
|
||||
|
||||
@@ -5,6 +5,6 @@ Plugins usually add global-level functionality to VuePress. There is no strictly
|
||||
1. Extend the page's metadata generated at compile time. e.g. [@vuepress/plugin-last-updated](./official/plugin-last-updated.md);
|
||||
2. Generate extra files before or after compilation. e.g. [@vuepress/plugin-pwa](./official/plugin-pwa.md);
|
||||
3. Inject global UI. e.g. [@vuepress/plugin-back-to-top](./official/plugin-back-to-top.md);
|
||||
4. Exntend command of CLI,如 [vuepress-plugin-export](https://github.com/ulivz/vuepress-plugin-export)。
|
||||
4. Extend the CLI with custom commands. e.g. [vuepress-plugin-export](https://github.com/ulivz/vuepress-plugin-export).
|
||||
|
||||

|
||||
|
||||
@@ -1,80 +0,0 @@
|
||||
---
|
||||
title: container
|
||||
metaTitle: A plugin for registering markdown containers | VuePress
|
||||
---
|
||||
|
||||
# [@vuepress/plugin-container](https://github.com/vuejs/vuepress/tree/master/packages/@vuepress/plugin-container)
|
||||
|
||||
> A plugin for registering markdown containers, based on [markdown-it-container](https://github.com/markdown-it/markdown-it-container). <Badge text="1.0.0-alpha.41+"/>
|
||||
|
||||
## Install
|
||||
|
||||
```bash
|
||||
yarn add -D @vuepress/plugin-container@next
|
||||
# OR npm install -D @vuepress/plugin-container@next
|
||||
```
|
||||
|
||||
## Usage
|
||||
|
||||
```javascript
|
||||
module.exports = {
|
||||
plugins: ['@vuepress/container']
|
||||
}
|
||||
```
|
||||
|
||||
## Options
|
||||
|
||||
### type
|
||||
|
||||
- Type: `string`
|
||||
- This is a required option.
|
||||
|
||||
The type for the container. For example, if `type` is set to `foo`, only the following syntax will be parsed as a container:
|
||||
|
||||
```md
|
||||
::: foo bar
|
||||
write something here ~
|
||||
:::
|
||||
```
|
||||
|
||||
### defaultTitle
|
||||
|
||||
- Type: `string`
|
||||
- Default: the upper case of `type`
|
||||
|
||||
The default title for the container. If no title is provided, `defaultTitle` will be shown as the title of the container.
|
||||
|
||||
### before
|
||||
|
||||
- Type: `string | Function`
|
||||
- Default: `undefined`
|
||||
|
||||
String to be placed before the block. If specified as a function, an argument `info` will be passed to it. (In the example above, `info` will be `bar`.) If specified, it will override `defaultTitle`.
|
||||
|
||||
### after
|
||||
|
||||
- Type: `string | Function`
|
||||
- Default: `undefined`
|
||||
|
||||
String to be placed after the block. If specified as a function, an argument `info` will be passed to it. (In the example above, `info` will be `bar`.) If specified, it will override `defaultTitle`.
|
||||
|
||||
### validate
|
||||
|
||||
- Type: `Function`
|
||||
- Default: `undefined`
|
||||
|
||||
A function to validate tail after opening marker, should return `true` on success.
|
||||
|
||||
### render
|
||||
|
||||
- Type: `Function`
|
||||
- Default: `undefined`
|
||||
|
||||
The renderer function for opening/closing tokens. If specified, it will override `before`, `after` and `defaultTitle`.
|
||||
|
||||
### marker
|
||||
|
||||
- Type: `string`
|
||||
- Default: `':'`
|
||||
|
||||
The character to use as a delimiter.
|
||||
@@ -45,6 +45,14 @@ The `serviceWorker` option only handles the service worker. To make your site fu
|
||||
Also, only enable this if you are able to deploy your site with SSL, since service worker can only be registered under HTTPs URLs.
|
||||
:::
|
||||
|
||||
### generateSWConfig
|
||||
|
||||
- Type: `object`
|
||||
- Default: `{}`
|
||||
|
||||
[generateSW config](https://developers.google.com/web/tools/workbox/modules/workbox-build#full_generatesw_config) of workbox-build.
|
||||
|
||||
|
||||
### updatePopup
|
||||
|
||||
- Type: `boolean|object`
|
||||
|
||||
@@ -348,7 +348,7 @@ module.exports = {
|
||||
|
||||
### evergreen
|
||||
|
||||
- 类型: `boolean`
|
||||
- 类型: `boolean | Function`
|
||||
- 默认值: `false`
|
||||
|
||||
如果你的对象只有那些 “常青树” 浏览器,你可以将其设置成 `true`,这将会禁止 ESNext 到 ES5 的转译以及对 IE 的 polyfills,同时会带来更快的构建速度和更小的文件体积。
|
||||
|
||||
@@ -129,7 +129,7 @@ Danger zone, do not proceed
|
||||
|
||||
**参考:**
|
||||
|
||||
- [@vuepress/plugin-container](../plugin/official/plugin-container.md)
|
||||
- [vuepress-plugin-container](https://vuepress.github.io/plugins/container/)
|
||||
|
||||
## 代码块中的语法高亮
|
||||
|
||||
|
||||
@@ -1,80 +0,0 @@
|
||||
---
|
||||
title: container
|
||||
metaTitle: Markdown 容器插件 | VuePress
|
||||
---
|
||||
|
||||
# [@vuepress/plugin-container](https://github.com/vuejs/vuepress/tree/master/packages/@vuepress/plugin-container)
|
||||
|
||||
> 用于注册 Markdown 容器的插件,基于 [markdown-it-container](https://github.com/markdown-it/markdown-it-container)。<Badge text="1.0.0-alpha.41+"/>
|
||||
|
||||
## 安装
|
||||
|
||||
```bash
|
||||
yarn add -D @vuepress/plugin-container@next
|
||||
# OR npm install -D @vuepress/plugin-container@next
|
||||
```
|
||||
|
||||
## 使用
|
||||
|
||||
```javascript
|
||||
module.exports = {
|
||||
plugins: ['@vuepress/container']
|
||||
}
|
||||
```
|
||||
|
||||
## 选项
|
||||
|
||||
### type
|
||||
|
||||
- 类型: `string`
|
||||
- 这是一个必需的选项
|
||||
|
||||
容器的类型。举个例子,如果 `type` 被设置为 `foo`,则仅有下面的语法会被视为对应的容器:
|
||||
|
||||
```md
|
||||
::: foo bar
|
||||
随便写点啥 ~
|
||||
:::
|
||||
```
|
||||
|
||||
### defaultTitle
|
||||
|
||||
- 类型: `string`
|
||||
- 默认值: `type` 的大写形式
|
||||
|
||||
容器的默认标题。如果没有提供标题,则会使用 `defaultTitle` 作为容器的标题。
|
||||
|
||||
### before
|
||||
|
||||
- 类型: `string | Function`
|
||||
- 默认值: `undefined`
|
||||
|
||||
要插入在容器前的 HTML。如果设置为一个函数,将传入当前的 `info` 作为第一个参数。(在上面的例子中,`info` 的值为 `bar`。)如果设置了这个值,它将覆盖 `defaultTitle` 的效果。
|
||||
|
||||
### after
|
||||
|
||||
- 类型: `string | Function`
|
||||
- 默认值: `undefined`
|
||||
|
||||
要插入在容器后的 HTML。如果设置为一个函数,将传入当前的 `info` 作为第一个参数。(在上面的例子中,`info` 的值为 `bar`。)如果设置了这个值,它将覆盖 `defaultTitle` 的效果。
|
||||
|
||||
### validate
|
||||
|
||||
- 类型: `Function`
|
||||
- 默认值: `undefined`
|
||||
|
||||
一个用于判定容器是否结束的函数。当认定容器范围结束时应返回一个 `true`。
|
||||
|
||||
### render
|
||||
|
||||
- 类型: `Function`
|
||||
- 默认值: `undefined`
|
||||
|
||||
容器开头和结束 token 的渲染函数。如果设置了这个值,它将覆盖 `before`, `after` 和 `defaultTitle` 的效果。
|
||||
|
||||
### marker
|
||||
|
||||
- 类型: `string`
|
||||
- 默认值: `':'`
|
||||
|
||||
用于分隔符的字符。
|
||||
@@ -44,6 +44,14 @@ module.exports = {
|
||||
此外,只有您能够使用 SSL 部署您的站点时才能启用此功能,因为 service worker 只能在 HTTPs 的 URL 下注册。
|
||||
:::
|
||||
|
||||
### generateSWConfig
|
||||
|
||||
- 类型: `object`
|
||||
- 默认值: `{}`
|
||||
|
||||
workbox-build 的 [generateSW config](https://developers.google.com/web/tools/workbox/modules/workbox-build#full_generatesw_config)。
|
||||
|
||||
|
||||
### updatePopup
|
||||
|
||||
- 类型: `boolean|popupConfig`
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
# 默认主题配置
|
||||
|
||||
::: tip 提示
|
||||
::: tip
|
||||
本页所列的选项仅对默认主题生效。如果你在使用一个自定义主题,选项可能会有不同。
|
||||
:::
|
||||
|
||||
|
||||
@@ -46,6 +46,6 @@ module.exports = {
|
||||
}
|
||||
```
|
||||
|
||||
::: warning 注意
|
||||
::: warning
|
||||
以 `@vuepress/theme-` 开头的主题是官方维护的主题。
|
||||
:::
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
{
|
||||
"private": true,
|
||||
"version": "1.0.0-alpha.44",
|
||||
"version": "1.0.0-alpha.47",
|
||||
"name": "docs",
|
||||
"description": "docs of VuePress",
|
||||
"scripts": {
|
||||
@@ -25,13 +25,13 @@
|
||||
},
|
||||
"homepage": "https://github.com/vuejs/vuepress#readme",
|
||||
"devDependencies": {
|
||||
"@vuepress/plugin-back-to-top": "^1.0.0-alpha.44",
|
||||
"@vuepress/plugin-google-analytics": "^1.0.0-alpha.44",
|
||||
"@vuepress/plugin-medium-zoom": "^1.0.0-alpha.44",
|
||||
"@vuepress/plugin-pwa": "^1.0.0-alpha.44",
|
||||
"@vuepress/theme-vue": "^1.0.0-alpha.44",
|
||||
"@vuepress/plugin-back-to-top": "^1.0.0-alpha.47",
|
||||
"@vuepress/plugin-google-analytics": "^1.0.0-alpha.47",
|
||||
"@vuepress/plugin-medium-zoom": "^1.0.0-alpha.47",
|
||||
"@vuepress/plugin-pwa": "^1.0.0-alpha.47",
|
||||
"@vuepress/theme-vue": "^1.0.0-alpha.47",
|
||||
"vue-toasted": "^1.1.25",
|
||||
"vuepress": "^1.0.0-alpha.44",
|
||||
"vuepress": "^1.0.0-alpha.47",
|
||||
"vuepress-plugin-flowchart": "^1.4.2"
|
||||
}
|
||||
}
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "vuepress",
|
||||
"version": "1.0.0-alpha.44",
|
||||
"version": "1.0.0-alpha.47",
|
||||
"description": "Minimalistic doc generator with Vue component based layout system",
|
||||
"main": "index.js",
|
||||
"repository": {
|
||||
@@ -29,8 +29,8 @@
|
||||
},
|
||||
"homepage": "https://github.com/vuejs/vuepress#readme",
|
||||
"dependencies": {
|
||||
"@vuepress/core": "^1.0.0-alpha.44",
|
||||
"@vuepress/theme-default": "^1.0.0-alpha.44",
|
||||
"@vuepress/core": "^1.0.0-alpha.47",
|
||||
"@vuepress/theme-default": "^1.0.0-alpha.47",
|
||||
"cac": "^6.3.9"
|
||||
},
|
||||
"engines": {
|
||||
|
||||
@@ -1347,6 +1347,10 @@
|
||||
version "10.12.29"
|
||||
resolved "https://registry.yarnpkg.com/@types/node/-/node-10.12.29.tgz#c2c8d2d27bb55649fbafe8ea1731658421f38acf"
|
||||
|
||||
"@types/q@^1.5.1":
|
||||
version "1.5.2"
|
||||
resolved "https://registry.yarnpkg.com/@types/q/-/q-1.5.2.tgz#690a1475b84f2a884fd07cd797c00f5f31356ea8"
|
||||
|
||||
"@types/semver@^5.5.0":
|
||||
version "5.5.0"
|
||||
resolved "https://registry.yarnpkg.com/@types/semver/-/semver-5.5.0.tgz#146c2a29ee7d3bae4bf2fcb274636e264c813c45"
|
||||
@@ -1706,7 +1710,7 @@ algoliasearch@^3.24.5:
|
||||
semver "^5.1.0"
|
||||
tunnel-agent "^0.6.0"
|
||||
|
||||
alphanum-sort@^1.0.1, alphanum-sort@^1.0.2:
|
||||
alphanum-sort@^1.0.0, alphanum-sort@^1.0.1, alphanum-sort@^1.0.2:
|
||||
version "1.0.2"
|
||||
resolved "https://registry.yarnpkg.com/alphanum-sort/-/alphanum-sort-1.0.2.tgz#97a1119649b211ad33691d9f9f486a8ec9fbe0a3"
|
||||
|
||||
@@ -2122,7 +2126,7 @@ bonjour@^3.5.0:
|
||||
multicast-dns "^6.0.1"
|
||||
multicast-dns-service-types "^1.1.0"
|
||||
|
||||
boolbase@~1.0.0:
|
||||
boolbase@^1.0.0, boolbase@~1.0.0:
|
||||
version "1.0.0"
|
||||
resolved "https://registry.yarnpkg.com/boolbase/-/boolbase-1.0.0.tgz#68dff5fbe60c51eb37725ea9e3ed310dcc1e776e"
|
||||
|
||||
@@ -2229,6 +2233,14 @@ browserslist@^2.11.3:
|
||||
caniuse-lite "^1.0.30000792"
|
||||
electron-to-chromium "^1.3.30"
|
||||
|
||||
browserslist@^4.0.0:
|
||||
version "4.5.4"
|
||||
resolved "https://registry.yarnpkg.com/browserslist/-/browserslist-4.5.4.tgz#166c4ecef3b51737a42436ea8002aeea466ea2c7"
|
||||
dependencies:
|
||||
caniuse-lite "^1.0.30000955"
|
||||
electron-to-chromium "^1.3.122"
|
||||
node-releases "^1.1.13"
|
||||
|
||||
browserslist@^4.3.4:
|
||||
version "4.4.2"
|
||||
resolved "https://registry.yarnpkg.com/browserslist/-/browserslist-4.4.2.tgz#6ea8a74d6464bb0bd549105f659b41197d8f0ba2"
|
||||
@@ -2434,10 +2446,23 @@ caniuse-api@^1.5.2:
|
||||
lodash.memoize "^4.1.2"
|
||||
lodash.uniq "^4.5.0"
|
||||
|
||||
caniuse-api@^3.0.0:
|
||||
version "3.0.0"
|
||||
resolved "https://registry.yarnpkg.com/caniuse-api/-/caniuse-api-3.0.0.tgz#5e4d90e2274961d46291997df599e3ed008ee4c0"
|
||||
dependencies:
|
||||
browserslist "^4.0.0"
|
||||
caniuse-lite "^1.0.0"
|
||||
lodash.memoize "^4.1.2"
|
||||
lodash.uniq "^4.5.0"
|
||||
|
||||
caniuse-db@^1.0.30000529, caniuse-db@^1.0.30000634, caniuse-db@^1.0.30000639:
|
||||
version "1.0.30000939"
|
||||
resolved "https://registry.yarnpkg.com/caniuse-db/-/caniuse-db-1.0.30000939.tgz#8cb54a9868fe040fbf2e2441408c68b7008912e8"
|
||||
|
||||
caniuse-lite@^1.0.0, caniuse-lite@^1.0.30000955:
|
||||
version "1.0.30000957"
|
||||
resolved "https://registry.yarnpkg.com/caniuse-lite/-/caniuse-lite-1.0.30000957.tgz#fb1026bf184d7d62c685205358c3b24b9e29f7b3"
|
||||
|
||||
caniuse-lite@^1.0.30000792, caniuse-lite@^1.0.30000805, caniuse-lite@^1.0.30000939:
|
||||
version "1.0.30000939"
|
||||
resolved "https://registry.yarnpkg.com/caniuse-lite/-/caniuse-lite-1.0.30000939.tgz#b9ab7ac9e861bf78840b80c5dfbc471a5cd7e679"
|
||||
@@ -2594,6 +2619,14 @@ co@^4.6.0:
|
||||
version "4.6.0"
|
||||
resolved "https://registry.yarnpkg.com/co/-/co-4.6.0.tgz#6ea6bdf3d853ae54ccb8e47bfa0bf3f9031fb184"
|
||||
|
||||
coa@^2.0.2:
|
||||
version "2.0.2"
|
||||
resolved "https://registry.yarnpkg.com/coa/-/coa-2.0.2.tgz#43f6c21151b4ef2bf57187db0d73de229e3e7ec3"
|
||||
dependencies:
|
||||
"@types/q" "^1.5.1"
|
||||
chalk "^2.4.1"
|
||||
q "^1.1.2"
|
||||
|
||||
coa@~1.0.1:
|
||||
version "1.0.4"
|
||||
resolved "https://registry.yarnpkg.com/coa/-/coa-1.0.4.tgz#a9ef153660d6a86a8bdec0289a5c684d217432fd"
|
||||
@@ -2611,7 +2644,7 @@ collection-visit@^1.0.0:
|
||||
map-visit "^1.0.0"
|
||||
object-visit "^1.0.0"
|
||||
|
||||
color-convert@^1.3.0, color-convert@^1.9.0:
|
||||
color-convert@^1.3.0, color-convert@^1.9.0, color-convert@^1.9.1:
|
||||
version "1.9.3"
|
||||
resolved "https://registry.yarnpkg.com/color-convert/-/color-convert-1.9.3.tgz#bb71850690e1f136567de629d2d5471deda4c1e8"
|
||||
dependencies:
|
||||
@@ -2631,6 +2664,13 @@ color-string@^0.3.0:
|
||||
dependencies:
|
||||
color-name "^1.0.0"
|
||||
|
||||
color-string@^1.5.2:
|
||||
version "1.5.3"
|
||||
resolved "https://registry.yarnpkg.com/color-string/-/color-string-1.5.3.tgz#c9bbc5f01b58b5492f3d6857459cb6590ce204cc"
|
||||
dependencies:
|
||||
color-name "^1.0.0"
|
||||
simple-swizzle "^0.2.2"
|
||||
|
||||
color@^0.11.0:
|
||||
version "0.11.4"
|
||||
resolved "https://registry.yarnpkg.com/color/-/color-0.11.4.tgz#6d7b5c74fb65e841cd48792ad1ed5e07b904d764"
|
||||
@@ -2639,6 +2679,13 @@ color@^0.11.0:
|
||||
color-convert "^1.3.0"
|
||||
color-string "^0.3.0"
|
||||
|
||||
color@^3.0.0:
|
||||
version "3.1.0"
|
||||
resolved "https://registry.yarnpkg.com/color/-/color-3.1.0.tgz#d8e9fb096732875774c84bf922815df0308d0ffc"
|
||||
dependencies:
|
||||
color-convert "^1.9.1"
|
||||
color-string "^1.5.2"
|
||||
|
||||
colormin@^1.0.5:
|
||||
version "1.1.2"
|
||||
resolved "https://registry.yarnpkg.com/colormin/-/colormin-1.1.2.tgz#ea2f7420a72b96881a38aae59ec124a6f7298133"
|
||||
@@ -3055,6 +3102,15 @@ cosmiconfig@^4.0.0:
|
||||
parse-json "^4.0.0"
|
||||
require-from-string "^2.0.1"
|
||||
|
||||
cosmiconfig@^5.0.0:
|
||||
version "5.2.0"
|
||||
resolved "https://registry.yarnpkg.com/cosmiconfig/-/cosmiconfig-5.2.0.tgz#45038e4d28a7fe787203aede9c25bca4a08b12c8"
|
||||
dependencies:
|
||||
import-fresh "^2.0.0"
|
||||
is-directory "^0.3.1"
|
||||
js-yaml "^3.13.0"
|
||||
parse-json "^4.0.0"
|
||||
|
||||
cosmiconfig@^5.0.2, cosmiconfig@^5.1.0:
|
||||
version "5.1.0"
|
||||
resolved "https://registry.yarnpkg.com/cosmiconfig/-/cosmiconfig-5.1.0.tgz#6c5c35e97f37f985061cdf653f114784231185cf"
|
||||
@@ -3127,10 +3183,17 @@ crypto-browserify@^3.11.0:
|
||||
randombytes "^2.0.0"
|
||||
randomfill "^1.0.3"
|
||||
|
||||
css-color-names@0.0.4:
|
||||
css-color-names@0.0.4, css-color-names@^0.0.4:
|
||||
version "0.0.4"
|
||||
resolved "https://registry.yarnpkg.com/css-color-names/-/css-color-names-0.0.4.tgz#808adc2e79cf84738069b646cb20ec27beb629e0"
|
||||
|
||||
css-declaration-sorter@^4.0.1:
|
||||
version "4.0.1"
|
||||
resolved "https://registry.yarnpkg.com/css-declaration-sorter/-/css-declaration-sorter-4.0.1.tgz#c198940f63a76d7e36c1e71018b001721054cb22"
|
||||
dependencies:
|
||||
postcss "^7.0.1"
|
||||
timsort "^0.3.0"
|
||||
|
||||
css-loader@^0.28.11:
|
||||
version "0.28.11"
|
||||
resolved "https://registry.yarnpkg.com/css-loader/-/css-loader-0.28.11.tgz#c3f9864a700be2711bb5a2462b2389b1a392dab7"
|
||||
@@ -3154,6 +3217,10 @@ css-parse@1.7.x:
|
||||
version "1.7.0"
|
||||
resolved "https://registry.yarnpkg.com/css-parse/-/css-parse-1.7.0.tgz#321f6cf73782a6ff751111390fc05e2c657d8c9b"
|
||||
|
||||
css-select-base-adapter@^0.1.1:
|
||||
version "0.1.1"
|
||||
resolved "https://registry.yarnpkg.com/css-select-base-adapter/-/css-select-base-adapter-0.1.1.tgz#3b2ff4972cc362ab88561507a95408a1432135d7"
|
||||
|
||||
css-select@^1.1.0:
|
||||
version "1.2.0"
|
||||
resolved "https://registry.yarnpkg.com/css-select/-/css-select-1.2.0.tgz#2b3a110539c5355f1cd8d314623e870b121ec858"
|
||||
@@ -3163,6 +3230,15 @@ css-select@^1.1.0:
|
||||
domutils "1.5.1"
|
||||
nth-check "~1.0.1"
|
||||
|
||||
css-select@^2.0.0:
|
||||
version "2.0.2"
|
||||
resolved "https://registry.yarnpkg.com/css-select/-/css-select-2.0.2.tgz#ab4386cec9e1f668855564b17c3733b43b2a5ede"
|
||||
dependencies:
|
||||
boolbase "^1.0.0"
|
||||
css-what "^2.1.2"
|
||||
domutils "^1.7.0"
|
||||
nth-check "^1.0.2"
|
||||
|
||||
css-selector-tokenizer@^0.7.0:
|
||||
version "0.7.1"
|
||||
resolved "https://registry.yarnpkg.com/css-selector-tokenizer/-/css-selector-tokenizer-0.7.1.tgz#a177271a8bca5019172f4f891fc6eed9cbf68d5d"
|
||||
@@ -3171,7 +3247,29 @@ css-selector-tokenizer@^0.7.0:
|
||||
fastparse "^1.1.1"
|
||||
regexpu-core "^1.0.0"
|
||||
|
||||
css-what@2.1:
|
||||
css-tree@1.0.0-alpha.28:
|
||||
version "1.0.0-alpha.28"
|
||||
resolved "https://registry.yarnpkg.com/css-tree/-/css-tree-1.0.0-alpha.28.tgz#8e8968190d886c9477bc8d61e96f61af3f7ffa7f"
|
||||
dependencies:
|
||||
mdn-data "~1.1.0"
|
||||
source-map "^0.5.3"
|
||||
|
||||
css-tree@1.0.0-alpha.29:
|
||||
version "1.0.0-alpha.29"
|
||||
resolved "https://registry.yarnpkg.com/css-tree/-/css-tree-1.0.0-alpha.29.tgz#3fa9d4ef3142cbd1c301e7664c1f352bd82f5a39"
|
||||
dependencies:
|
||||
mdn-data "~1.1.0"
|
||||
source-map "^0.5.3"
|
||||
|
||||
css-unit-converter@^1.1.1:
|
||||
version "1.1.1"
|
||||
resolved "https://registry.yarnpkg.com/css-unit-converter/-/css-unit-converter-1.1.1.tgz#d9b9281adcfd8ced935bdbaba83786897f64e996"
|
||||
|
||||
css-url-regex@^1.1.0:
|
||||
version "1.1.0"
|
||||
resolved "https://registry.yarnpkg.com/css-url-regex/-/css-url-regex-1.1.0.tgz#83834230cc9f74c457de59eebd1543feeb83b7ec"
|
||||
|
||||
css-what@2.1, css-what@^2.1.2:
|
||||
version "2.1.3"
|
||||
resolved "https://registry.yarnpkg.com/css-what/-/css-what-2.1.3.tgz#a6d7604573365fe74686c3f311c56513d88285f2"
|
||||
|
||||
@@ -3192,6 +3290,59 @@ cssesc@^2.0.0:
|
||||
version "2.0.0"
|
||||
resolved "https://registry.yarnpkg.com/cssesc/-/cssesc-2.0.0.tgz#3b13bd1bb1cb36e1bcb5a4dcd27f54c5dcb35703"
|
||||
|
||||
cssnano-preset-default@^4.0.7:
|
||||
version "4.0.7"
|
||||
resolved "https://registry.yarnpkg.com/cssnano-preset-default/-/cssnano-preset-default-4.0.7.tgz#51ec662ccfca0f88b396dcd9679cdb931be17f76"
|
||||
dependencies:
|
||||
css-declaration-sorter "^4.0.1"
|
||||
cssnano-util-raw-cache "^4.0.1"
|
||||
postcss "^7.0.0"
|
||||
postcss-calc "^7.0.1"
|
||||
postcss-colormin "^4.0.3"
|
||||
postcss-convert-values "^4.0.1"
|
||||
postcss-discard-comments "^4.0.2"
|
||||
postcss-discard-duplicates "^4.0.2"
|
||||
postcss-discard-empty "^4.0.1"
|
||||
postcss-discard-overridden "^4.0.1"
|
||||
postcss-merge-longhand "^4.0.11"
|
||||
postcss-merge-rules "^4.0.3"
|
||||
postcss-minify-font-values "^4.0.2"
|
||||
postcss-minify-gradients "^4.0.2"
|
||||
postcss-minify-params "^4.0.2"
|
||||
postcss-minify-selectors "^4.0.2"
|
||||
postcss-normalize-charset "^4.0.1"
|
||||
postcss-normalize-display-values "^4.0.2"
|
||||
postcss-normalize-positions "^4.0.2"
|
||||
postcss-normalize-repeat-style "^4.0.2"
|
||||
postcss-normalize-string "^4.0.2"
|
||||
postcss-normalize-timing-functions "^4.0.2"
|
||||
postcss-normalize-unicode "^4.0.1"
|
||||
postcss-normalize-url "^4.0.1"
|
||||
postcss-normalize-whitespace "^4.0.2"
|
||||
postcss-ordered-values "^4.1.2"
|
||||
postcss-reduce-initial "^4.0.3"
|
||||
postcss-reduce-transforms "^4.0.2"
|
||||
postcss-svgo "^4.0.2"
|
||||
postcss-unique-selectors "^4.0.1"
|
||||
|
||||
cssnano-util-get-arguments@^4.0.0:
|
||||
version "4.0.0"
|
||||
resolved "https://registry.yarnpkg.com/cssnano-util-get-arguments/-/cssnano-util-get-arguments-4.0.0.tgz#ed3a08299f21d75741b20f3b81f194ed49cc150f"
|
||||
|
||||
cssnano-util-get-match@^4.0.0:
|
||||
version "4.0.0"
|
||||
resolved "https://registry.yarnpkg.com/cssnano-util-get-match/-/cssnano-util-get-match-4.0.0.tgz#c0e4ca07f5386bb17ec5e52250b4f5961365156d"
|
||||
|
||||
cssnano-util-raw-cache@^4.0.1:
|
||||
version "4.0.1"
|
||||
resolved "https://registry.yarnpkg.com/cssnano-util-raw-cache/-/cssnano-util-raw-cache-4.0.1.tgz#b26d5fd5f72a11dfe7a7846fb4c67260f96bf282"
|
||||
dependencies:
|
||||
postcss "^7.0.0"
|
||||
|
||||
cssnano-util-same-parent@^4.0.0:
|
||||
version "4.0.1"
|
||||
resolved "https://registry.yarnpkg.com/cssnano-util-same-parent/-/cssnano-util-same-parent-4.0.1.tgz#574082fb2859d2db433855835d9a8456ea18bbf3"
|
||||
|
||||
cssnano@^3.10.0:
|
||||
version "3.10.0"
|
||||
resolved "https://registry.yarnpkg.com/cssnano/-/cssnano-3.10.0.tgz#4f38f6cea2b9b17fa01490f23f1dc68ea65c1c38"
|
||||
@@ -3229,6 +3380,21 @@ cssnano@^3.10.0:
|
||||
postcss-value-parser "^3.2.3"
|
||||
postcss-zindex "^2.0.1"
|
||||
|
||||
cssnano@^4.1.0:
|
||||
version "4.1.10"
|
||||
resolved "https://registry.yarnpkg.com/cssnano/-/cssnano-4.1.10.tgz#0ac41f0b13d13d465487e111b778d42da631b8b2"
|
||||
dependencies:
|
||||
cosmiconfig "^5.0.0"
|
||||
cssnano-preset-default "^4.0.7"
|
||||
is-resolvable "^1.0.0"
|
||||
postcss "^7.0.0"
|
||||
|
||||
csso@^3.5.1:
|
||||
version "3.5.1"
|
||||
resolved "https://registry.yarnpkg.com/csso/-/csso-3.5.1.tgz#7b9eb8be61628973c1b261e169d2f024008e758b"
|
||||
dependencies:
|
||||
css-tree "1.0.0-alpha.29"
|
||||
|
||||
csso@~2.3.1:
|
||||
version "2.3.2"
|
||||
resolved "https://registry.yarnpkg.com/csso/-/csso-2.3.2.tgz#ddd52c587033f49e94b71fc55569f252e8ff5f85"
|
||||
@@ -3384,7 +3550,7 @@ defaults@^1.0.3:
|
||||
dependencies:
|
||||
clone "^1.0.2"
|
||||
|
||||
define-properties@^1.1.2:
|
||||
define-properties@^1.1.2, define-properties@^1.1.3:
|
||||
version "1.1.3"
|
||||
resolved "https://registry.yarnpkg.com/define-properties/-/define-properties-1.1.3.tgz#cf88da6cbee26fe6db7094f61d870cbd84cee9f1"
|
||||
dependencies:
|
||||
@@ -3586,7 +3752,7 @@ domutils@1.5.1:
|
||||
dom-serializer "0"
|
||||
domelementtype "1"
|
||||
|
||||
domutils@^1.5.1:
|
||||
domutils@^1.5.1, domutils@^1.7.0:
|
||||
version "1.7.0"
|
||||
resolved "https://registry.yarnpkg.com/domutils/-/domutils-1.7.0.tgz#56ea341e834e06e6748af7a1cb25da67ea9f8c2a"
|
||||
dependencies:
|
||||
@@ -3599,7 +3765,7 @@ dot-prop@^3.0.0:
|
||||
dependencies:
|
||||
is-obj "^1.0.0"
|
||||
|
||||
dot-prop@^4.2.0:
|
||||
dot-prop@^4.1.1, dot-prop@^4.2.0:
|
||||
version "4.2.0"
|
||||
resolved "https://registry.yarnpkg.com/dot-prop/-/dot-prop-4.2.0.tgz#1f19e0c2e1aa0e32797c49799f2837ac6af69c57"
|
||||
dependencies:
|
||||
@@ -3644,6 +3810,10 @@ electron-to-chromium@^1.2.7, electron-to-chromium@^1.3.113, electron-to-chromium
|
||||
version "1.3.113"
|
||||
resolved "https://registry.yarnpkg.com/electron-to-chromium/-/electron-to-chromium-1.3.113.tgz#b1ccf619df7295aea17bc6951dc689632629e4a9"
|
||||
|
||||
electron-to-chromium@^1.3.122:
|
||||
version "1.3.124"
|
||||
resolved "https://registry.yarnpkg.com/electron-to-chromium/-/electron-to-chromium-1.3.124.tgz#861fc0148748a11b3e5ccebdf8b795ff513fa11f"
|
||||
|
||||
elegant-spinner@^1.0.1:
|
||||
version "1.0.1"
|
||||
resolved "https://registry.yarnpkg.com/elegant-spinner/-/elegant-spinner-1.0.1.tgz#db043521c95d7e303fd8f345bedc3349cfb0729e"
|
||||
@@ -3715,7 +3885,7 @@ error-ex@^1.2.0, error-ex@^1.3.1:
|
||||
dependencies:
|
||||
is-arrayish "^0.2.1"
|
||||
|
||||
es-abstract@^1.5.1:
|
||||
es-abstract@^1.12.0, es-abstract@^1.5.1:
|
||||
version "1.13.0"
|
||||
resolved "https://registry.yarnpkg.com/es-abstract/-/es-abstract-1.13.0.tgz#ac86145fdd5099d8dd49558ccba2eaf9b88e24e9"
|
||||
dependencies:
|
||||
@@ -4679,7 +4849,7 @@ has-values@^1.0.0:
|
||||
is-number "^3.0.0"
|
||||
kind-of "^4.0.0"
|
||||
|
||||
has@^1.0.1, has@^1.0.3:
|
||||
has@^1.0.0, has@^1.0.1, has@^1.0.3:
|
||||
version "1.0.3"
|
||||
resolved "https://registry.yarnpkg.com/has/-/has-1.0.3.tgz#722d7cbfc1f6aa8241f16dd814e011e1f41e8796"
|
||||
dependencies:
|
||||
@@ -4707,6 +4877,10 @@ he@1.2.x, he@^1.1.0:
|
||||
version "1.2.0"
|
||||
resolved "https://registry.yarnpkg.com/he/-/he-1.2.0.tgz#84ae65fa7eafb165fddb61566ae14baf05664f0f"
|
||||
|
||||
hex-color-regex@^1.1.0:
|
||||
version "1.1.0"
|
||||
resolved "https://registry.yarnpkg.com/hex-color-regex/-/hex-color-regex-1.1.0.tgz#4c06fccb4602fe2602b3c93df82d7e7dbf1a8a8e"
|
||||
|
||||
hmac-drbg@^1.0.0:
|
||||
version "1.0.1"
|
||||
resolved "https://registry.yarnpkg.com/hmac-drbg/-/hmac-drbg-1.0.1.tgz#d2745701025a6c775a6c545793ed502fc0c649a1"
|
||||
@@ -4739,6 +4913,14 @@ hpack.js@^2.1.6:
|
||||
readable-stream "^2.0.1"
|
||||
wbuf "^1.1.0"
|
||||
|
||||
hsl-regex@^1.0.0:
|
||||
version "1.0.0"
|
||||
resolved "https://registry.yarnpkg.com/hsl-regex/-/hsl-regex-1.0.0.tgz#d49330c789ed819e276a4c0d272dffa30b18fe6e"
|
||||
|
||||
hsla-regex@^1.0.0:
|
||||
version "1.0.0"
|
||||
resolved "https://registry.yarnpkg.com/hsla-regex/-/hsla-regex-1.0.0.tgz#c1ce7a3168c8c6614033a4b5f7877f3b225f9c38"
|
||||
|
||||
html-comment-regex@^1.1.0:
|
||||
version "1.1.2"
|
||||
resolved "https://registry.yarnpkg.com/html-comment-regex/-/html-comment-regex-1.1.2.tgz#97d4688aeb5c81886a364faa0cad1dda14d433a7"
|
||||
@@ -5071,6 +5253,10 @@ is-arrayish@^0.2.1:
|
||||
version "0.2.1"
|
||||
resolved "https://registry.yarnpkg.com/is-arrayish/-/is-arrayish-0.2.1.tgz#77c99840527aa8ecb1a8ba697b80645a7a926a9d"
|
||||
|
||||
is-arrayish@^0.3.1:
|
||||
version "0.3.2"
|
||||
resolved "https://registry.yarnpkg.com/is-arrayish/-/is-arrayish-0.3.2.tgz#4574a2ae56f7ab206896fb431eaeed066fdf8f03"
|
||||
|
||||
is-binary-path@^1.0.0:
|
||||
version "1.0.1"
|
||||
resolved "https://registry.yarnpkg.com/is-binary-path/-/is-binary-path-1.0.1.tgz#75f16642b480f187a711c814161fd3a4a7655898"
|
||||
@@ -5097,6 +5283,17 @@ is-ci@^2.0.0:
|
||||
dependencies:
|
||||
ci-info "^2.0.0"
|
||||
|
||||
is-color-stop@^1.0.0:
|
||||
version "1.1.0"
|
||||
resolved "https://registry.yarnpkg.com/is-color-stop/-/is-color-stop-1.1.0.tgz#cfff471aee4dd5c9e158598fbe12967b5cdad345"
|
||||
dependencies:
|
||||
css-color-names "^0.0.4"
|
||||
hex-color-regex "^1.1.0"
|
||||
hsl-regex "^1.0.0"
|
||||
hsla-regex "^1.0.0"
|
||||
rgb-regex "^1.0.1"
|
||||
rgba-regex "^1.0.0"
|
||||
|
||||
is-data-descriptor@^0.1.4:
|
||||
version "0.1.4"
|
||||
resolved "https://registry.yarnpkg.com/is-data-descriptor/-/is-data-descriptor-0.1.4.tgz#0b5ee648388e2c860282e793f1856fec3f301b56"
|
||||
@@ -5259,6 +5456,12 @@ is-svg@^2.0.0:
|
||||
dependencies:
|
||||
html-comment-regex "^1.1.0"
|
||||
|
||||
is-svg@^3.0.0:
|
||||
version "3.0.0"
|
||||
resolved "https://registry.yarnpkg.com/is-svg/-/is-svg-3.0.0.tgz#9321dbd29c212e5ca99c4fa9794c714bcafa2f75"
|
||||
dependencies:
|
||||
html-comment-regex "^1.1.0"
|
||||
|
||||
is-symbol@^1.0.2:
|
||||
version "1.0.2"
|
||||
resolved "https://registry.yarnpkg.com/is-symbol/-/is-symbol-1.0.2.tgz#a055f6ae57192caee329e7a860118b497a950f38"
|
||||
@@ -5753,6 +5956,13 @@ js-yaml@^3.11.0, js-yaml@^3.12.0, js-yaml@^3.9.0, js-yaml@^3.9.1:
|
||||
argparse "^1.0.7"
|
||||
esprima "^4.0.0"
|
||||
|
||||
js-yaml@^3.13.0:
|
||||
version "3.13.1"
|
||||
resolved "https://registry.yarnpkg.com/js-yaml/-/js-yaml-3.13.1.tgz#aff151b30bfdfa8e49e05da22e7415e9dfa37847"
|
||||
dependencies:
|
||||
argparse "^1.0.7"
|
||||
esprima "^4.0.0"
|
||||
|
||||
js-yaml@~3.7.0:
|
||||
version "3.7.0"
|
||||
resolved "https://registry.yarnpkg.com/js-yaml/-/js-yaml-3.7.0.tgz#5c967ddd837a9bfdca5f2de84253abe8a1c03b80"
|
||||
@@ -6317,6 +6527,10 @@ md5.js@^1.3.4:
|
||||
inherits "^2.0.1"
|
||||
safe-buffer "^5.1.2"
|
||||
|
||||
mdn-data@~1.1.0:
|
||||
version "1.1.4"
|
||||
resolved "https://registry.yarnpkg.com/mdn-data/-/mdn-data-1.1.4.tgz#50b5d4ffc4575276573c4eedb8780812a8419f01"
|
||||
|
||||
mdurl@^1.0.1:
|
||||
version "1.0.1"
|
||||
resolved "https://registry.yarnpkg.com/mdurl/-/mdurl-1.0.1.tgz#fe85b2ec75a59037f2adfec100fd6c601761152e"
|
||||
@@ -6750,6 +6964,12 @@ node-pre-gyp@^0.10.0:
|
||||
semver "^5.3.0"
|
||||
tar "^4"
|
||||
|
||||
node-releases@^1.1.13:
|
||||
version "1.1.13"
|
||||
resolved "https://registry.yarnpkg.com/node-releases/-/node-releases-1.1.13.tgz#8c03296b5ae60c08e2ff4f8f22ae45bd2f210083"
|
||||
dependencies:
|
||||
semver "^5.3.0"
|
||||
|
||||
node-releases@^1.1.8:
|
||||
version "1.1.9"
|
||||
resolved "https://registry.yarnpkg.com/node-releases/-/node-releases-1.1.9.tgz#70d0985ec4bf7de9f08fc481f5dae111889ca482"
|
||||
@@ -6811,7 +7031,7 @@ normalize-url@^1.4.0:
|
||||
query-string "^4.1.0"
|
||||
sort-keys "^1.0.0"
|
||||
|
||||
normalize-url@^3.3.0:
|
||||
normalize-url@^3.0.0, normalize-url@^3.3.0:
|
||||
version "3.3.0"
|
||||
resolved "https://registry.yarnpkg.com/normalize-url/-/normalize-url-3.3.0.tgz#b2e1c4dc4f7c6d57743df733a4f5978d18650559"
|
||||
|
||||
@@ -6900,7 +7120,7 @@ nprogress@^0.2.0:
|
||||
version "0.2.0"
|
||||
resolved "https://registry.yarnpkg.com/nprogress/-/nprogress-0.2.0.tgz#cb8f34c53213d895723fcbab907e9422adbcafb1"
|
||||
|
||||
nth-check@~1.0.1:
|
||||
nth-check@^1.0.2, nth-check@~1.0.1:
|
||||
version "1.0.2"
|
||||
resolved "https://registry.yarnpkg.com/nth-check/-/nth-check-1.0.2.tgz#b2bd295c37e3dd58a3bf0700376663ba4d9cf05c"
|
||||
dependencies:
|
||||
@@ -6966,6 +7186,15 @@ object.pick@^1.3.0:
|
||||
dependencies:
|
||||
isobject "^3.0.1"
|
||||
|
||||
object.values@^1.1.0:
|
||||
version "1.1.0"
|
||||
resolved "https://registry.yarnpkg.com/object.values/-/object.values-1.1.0.tgz#bf6810ef5da3e5325790eaaa2be213ea84624da9"
|
||||
dependencies:
|
||||
define-properties "^1.1.3"
|
||||
es-abstract "^1.12.0"
|
||||
function-bind "^1.1.1"
|
||||
has "^1.0.3"
|
||||
|
||||
obuf@^1.0.0, obuf@^1.1.2:
|
||||
version "1.1.2"
|
||||
resolved "https://registry.yarnpkg.com/obuf/-/obuf-1.1.2.tgz#09bea3343d41859ebd446292d11c9d4db619084e"
|
||||
@@ -7009,11 +7238,11 @@ optimist@^0.6.1:
|
||||
minimist "~0.0.1"
|
||||
wordwrap "~0.0.2"
|
||||
|
||||
optimize-css-assets-webpack-plugin@^4.0.0:
|
||||
version "4.0.3"
|
||||
resolved "https://registry.yarnpkg.com/optimize-css-assets-webpack-plugin/-/optimize-css-assets-webpack-plugin-4.0.3.tgz#4f714e276b279700892c4a6202b7e22812d6f683"
|
||||
optimize-css-assets-webpack-plugin@^5.0.1:
|
||||
version "5.0.1"
|
||||
resolved "https://registry.yarnpkg.com/optimize-css-assets-webpack-plugin/-/optimize-css-assets-webpack-plugin-5.0.1.tgz#9eb500711d35165b45e7fd60ba2df40cb3eb9159"
|
||||
dependencies:
|
||||
cssnano "^3.10.0"
|
||||
cssnano "^4.1.0"
|
||||
last-call-webpack-plugin "^3.0.0"
|
||||
|
||||
optionator@^0.8.1, optionator@^0.8.2:
|
||||
@@ -7387,6 +7616,15 @@ postcss-calc@^5.2.0:
|
||||
postcss-message-helpers "^2.0.0"
|
||||
reduce-css-calc "^1.2.6"
|
||||
|
||||
postcss-calc@^7.0.1:
|
||||
version "7.0.1"
|
||||
resolved "https://registry.yarnpkg.com/postcss-calc/-/postcss-calc-7.0.1.tgz#36d77bab023b0ecbb9789d84dcb23c4941145436"
|
||||
dependencies:
|
||||
css-unit-converter "^1.1.1"
|
||||
postcss "^7.0.5"
|
||||
postcss-selector-parser "^5.0.0-rc.4"
|
||||
postcss-value-parser "^3.3.1"
|
||||
|
||||
postcss-colormin@^2.1.8:
|
||||
version "2.2.2"
|
||||
resolved "https://registry.yarnpkg.com/postcss-colormin/-/postcss-colormin-2.2.2.tgz#6631417d5f0e909a3d7ec26b24c8a8d1e4f96e4b"
|
||||
@@ -7395,6 +7633,16 @@ postcss-colormin@^2.1.8:
|
||||
postcss "^5.0.13"
|
||||
postcss-value-parser "^3.2.3"
|
||||
|
||||
postcss-colormin@^4.0.3:
|
||||
version "4.0.3"
|
||||
resolved "https://registry.yarnpkg.com/postcss-colormin/-/postcss-colormin-4.0.3.tgz#ae060bce93ed794ac71264f08132d550956bd381"
|
||||
dependencies:
|
||||
browserslist "^4.0.0"
|
||||
color "^3.0.0"
|
||||
has "^1.0.0"
|
||||
postcss "^7.0.0"
|
||||
postcss-value-parser "^3.0.0"
|
||||
|
||||
postcss-convert-values@^2.3.4:
|
||||
version "2.6.1"
|
||||
resolved "https://registry.yarnpkg.com/postcss-convert-values/-/postcss-convert-values-2.6.1.tgz#bbd8593c5c1fd2e3d1c322bb925dcae8dae4d62d"
|
||||
@@ -7402,30 +7650,61 @@ postcss-convert-values@^2.3.4:
|
||||
postcss "^5.0.11"
|
||||
postcss-value-parser "^3.1.2"
|
||||
|
||||
postcss-convert-values@^4.0.1:
|
||||
version "4.0.1"
|
||||
resolved "https://registry.yarnpkg.com/postcss-convert-values/-/postcss-convert-values-4.0.1.tgz#ca3813ed4da0f812f9d43703584e449ebe189a7f"
|
||||
dependencies:
|
||||
postcss "^7.0.0"
|
||||
postcss-value-parser "^3.0.0"
|
||||
|
||||
postcss-discard-comments@^2.0.4:
|
||||
version "2.0.4"
|
||||
resolved "https://registry.yarnpkg.com/postcss-discard-comments/-/postcss-discard-comments-2.0.4.tgz#befe89fafd5b3dace5ccce51b76b81514be00e3d"
|
||||
dependencies:
|
||||
postcss "^5.0.14"
|
||||
|
||||
postcss-discard-comments@^4.0.2:
|
||||
version "4.0.2"
|
||||
resolved "https://registry.yarnpkg.com/postcss-discard-comments/-/postcss-discard-comments-4.0.2.tgz#1fbabd2c246bff6aaad7997b2b0918f4d7af4033"
|
||||
dependencies:
|
||||
postcss "^7.0.0"
|
||||
|
||||
postcss-discard-duplicates@^2.0.1:
|
||||
version "2.1.0"
|
||||
resolved "https://registry.yarnpkg.com/postcss-discard-duplicates/-/postcss-discard-duplicates-2.1.0.tgz#b9abf27b88ac188158a5eb12abcae20263b91932"
|
||||
dependencies:
|
||||
postcss "^5.0.4"
|
||||
|
||||
postcss-discard-duplicates@^4.0.2:
|
||||
version "4.0.2"
|
||||
resolved "https://registry.yarnpkg.com/postcss-discard-duplicates/-/postcss-discard-duplicates-4.0.2.tgz#3fe133cd3c82282e550fc9b239176a9207b784eb"
|
||||
dependencies:
|
||||
postcss "^7.0.0"
|
||||
|
||||
postcss-discard-empty@^2.0.1:
|
||||
version "2.1.0"
|
||||
resolved "https://registry.yarnpkg.com/postcss-discard-empty/-/postcss-discard-empty-2.1.0.tgz#d2b4bd9d5ced5ebd8dcade7640c7d7cd7f4f92b5"
|
||||
dependencies:
|
||||
postcss "^5.0.14"
|
||||
|
||||
postcss-discard-empty@^4.0.1:
|
||||
version "4.0.1"
|
||||
resolved "https://registry.yarnpkg.com/postcss-discard-empty/-/postcss-discard-empty-4.0.1.tgz#c8c951e9f73ed9428019458444a02ad90bb9f765"
|
||||
dependencies:
|
||||
postcss "^7.0.0"
|
||||
|
||||
postcss-discard-overridden@^0.1.1:
|
||||
version "0.1.1"
|
||||
resolved "https://registry.yarnpkg.com/postcss-discard-overridden/-/postcss-discard-overridden-0.1.1.tgz#8b1eaf554f686fb288cd874c55667b0aa3668d58"
|
||||
dependencies:
|
||||
postcss "^5.0.16"
|
||||
|
||||
postcss-discard-overridden@^4.0.1:
|
||||
version "4.0.1"
|
||||
resolved "https://registry.yarnpkg.com/postcss-discard-overridden/-/postcss-discard-overridden-4.0.1.tgz#652aef8a96726f029f5e3e00146ee7a4e755ff57"
|
||||
dependencies:
|
||||
postcss "^7.0.0"
|
||||
|
||||
postcss-discard-unused@^2.2.1:
|
||||
version "2.2.3"
|
||||
resolved "https://registry.yarnpkg.com/postcss-discard-unused/-/postcss-discard-unused-2.2.3.tgz#bce30b2cc591ffc634322b5fb3464b6d934f4433"
|
||||
@@ -7469,6 +7748,15 @@ postcss-merge-longhand@^2.0.1:
|
||||
dependencies:
|
||||
postcss "^5.0.4"
|
||||
|
||||
postcss-merge-longhand@^4.0.11:
|
||||
version "4.0.11"
|
||||
resolved "https://registry.yarnpkg.com/postcss-merge-longhand/-/postcss-merge-longhand-4.0.11.tgz#62f49a13e4a0ee04e7b98f42bb16062ca2549e24"
|
||||
dependencies:
|
||||
css-color-names "0.0.4"
|
||||
postcss "^7.0.0"
|
||||
postcss-value-parser "^3.0.0"
|
||||
stylehacks "^4.0.0"
|
||||
|
||||
postcss-merge-rules@^2.0.3:
|
||||
version "2.1.2"
|
||||
resolved "https://registry.yarnpkg.com/postcss-merge-rules/-/postcss-merge-rules-2.1.2.tgz#d1df5dfaa7b1acc3be553f0e9e10e87c61b5f721"
|
||||
@@ -7479,6 +7767,17 @@ postcss-merge-rules@^2.0.3:
|
||||
postcss-selector-parser "^2.2.2"
|
||||
vendors "^1.0.0"
|
||||
|
||||
postcss-merge-rules@^4.0.3:
|
||||
version "4.0.3"
|
||||
resolved "https://registry.yarnpkg.com/postcss-merge-rules/-/postcss-merge-rules-4.0.3.tgz#362bea4ff5a1f98e4075a713c6cb25aefef9a650"
|
||||
dependencies:
|
||||
browserslist "^4.0.0"
|
||||
caniuse-api "^3.0.0"
|
||||
cssnano-util-same-parent "^4.0.0"
|
||||
postcss "^7.0.0"
|
||||
postcss-selector-parser "^3.0.0"
|
||||
vendors "^1.0.0"
|
||||
|
||||
postcss-message-helpers@^2.0.0:
|
||||
version "2.0.0"
|
||||
resolved "https://registry.yarnpkg.com/postcss-message-helpers/-/postcss-message-helpers-2.0.0.tgz#a4f2f4fab6e4fe002f0aed000478cdf52f9ba60e"
|
||||
@@ -7491,6 +7790,13 @@ postcss-minify-font-values@^1.0.2:
|
||||
postcss "^5.0.4"
|
||||
postcss-value-parser "^3.0.2"
|
||||
|
||||
postcss-minify-font-values@^4.0.2:
|
||||
version "4.0.2"
|
||||
resolved "https://registry.yarnpkg.com/postcss-minify-font-values/-/postcss-minify-font-values-4.0.2.tgz#cd4c344cce474343fac5d82206ab2cbcb8afd5a6"
|
||||
dependencies:
|
||||
postcss "^7.0.0"
|
||||
postcss-value-parser "^3.0.0"
|
||||
|
||||
postcss-minify-gradients@^1.0.1:
|
||||
version "1.0.5"
|
||||
resolved "https://registry.yarnpkg.com/postcss-minify-gradients/-/postcss-minify-gradients-1.0.5.tgz#5dbda11373703f83cfb4a3ea3881d8d75ff5e6e1"
|
||||
@@ -7498,6 +7804,15 @@ postcss-minify-gradients@^1.0.1:
|
||||
postcss "^5.0.12"
|
||||
postcss-value-parser "^3.3.0"
|
||||
|
||||
postcss-minify-gradients@^4.0.2:
|
||||
version "4.0.2"
|
||||
resolved "https://registry.yarnpkg.com/postcss-minify-gradients/-/postcss-minify-gradients-4.0.2.tgz#93b29c2ff5099c535eecda56c4aa6e665a663471"
|
||||
dependencies:
|
||||
cssnano-util-get-arguments "^4.0.0"
|
||||
is-color-stop "^1.0.0"
|
||||
postcss "^7.0.0"
|
||||
postcss-value-parser "^3.0.0"
|
||||
|
||||
postcss-minify-params@^1.0.4:
|
||||
version "1.2.2"
|
||||
resolved "https://registry.yarnpkg.com/postcss-minify-params/-/postcss-minify-params-1.2.2.tgz#ad2ce071373b943b3d930a3fa59a358c28d6f1f3"
|
||||
@@ -7507,6 +7822,17 @@ postcss-minify-params@^1.0.4:
|
||||
postcss-value-parser "^3.0.2"
|
||||
uniqs "^2.0.0"
|
||||
|
||||
postcss-minify-params@^4.0.2:
|
||||
version "4.0.2"
|
||||
resolved "https://registry.yarnpkg.com/postcss-minify-params/-/postcss-minify-params-4.0.2.tgz#6b9cef030c11e35261f95f618c90036d680db874"
|
||||
dependencies:
|
||||
alphanum-sort "^1.0.0"
|
||||
browserslist "^4.0.0"
|
||||
cssnano-util-get-arguments "^4.0.0"
|
||||
postcss "^7.0.0"
|
||||
postcss-value-parser "^3.0.0"
|
||||
uniqs "^2.0.0"
|
||||
|
||||
postcss-minify-selectors@^2.0.4:
|
||||
version "2.1.1"
|
||||
resolved "https://registry.yarnpkg.com/postcss-minify-selectors/-/postcss-minify-selectors-2.1.1.tgz#b2c6a98c0072cf91b932d1a496508114311735bf"
|
||||
@@ -7516,6 +7842,15 @@ postcss-minify-selectors@^2.0.4:
|
||||
postcss "^5.0.14"
|
||||
postcss-selector-parser "^2.0.0"
|
||||
|
||||
postcss-minify-selectors@^4.0.2:
|
||||
version "4.0.2"
|
||||
resolved "https://registry.yarnpkg.com/postcss-minify-selectors/-/postcss-minify-selectors-4.0.2.tgz#e2e5eb40bfee500d0cd9243500f5f8ea4262fbd8"
|
||||
dependencies:
|
||||
alphanum-sort "^1.0.0"
|
||||
has "^1.0.0"
|
||||
postcss "^7.0.0"
|
||||
postcss-selector-parser "^3.0.0"
|
||||
|
||||
postcss-modules-extract-imports@^1.2.0:
|
||||
version "1.2.1"
|
||||
resolved "https://registry.yarnpkg.com/postcss-modules-extract-imports/-/postcss-modules-extract-imports-1.2.1.tgz#dc87e34148ec7eab5f791f7cd5849833375b741a"
|
||||
@@ -7549,6 +7884,62 @@ postcss-normalize-charset@^1.1.0:
|
||||
dependencies:
|
||||
postcss "^5.0.5"
|
||||
|
||||
postcss-normalize-charset@^4.0.1:
|
||||
version "4.0.1"
|
||||
resolved "https://registry.yarnpkg.com/postcss-normalize-charset/-/postcss-normalize-charset-4.0.1.tgz#8b35add3aee83a136b0471e0d59be58a50285dd4"
|
||||
dependencies:
|
||||
postcss "^7.0.0"
|
||||
|
||||
postcss-normalize-display-values@^4.0.2:
|
||||
version "4.0.2"
|
||||
resolved "https://registry.yarnpkg.com/postcss-normalize-display-values/-/postcss-normalize-display-values-4.0.2.tgz#0dbe04a4ce9063d4667ed2be476bb830c825935a"
|
||||
dependencies:
|
||||
cssnano-util-get-match "^4.0.0"
|
||||
postcss "^7.0.0"
|
||||
postcss-value-parser "^3.0.0"
|
||||
|
||||
postcss-normalize-positions@^4.0.2:
|
||||
version "4.0.2"
|
||||
resolved "https://registry.yarnpkg.com/postcss-normalize-positions/-/postcss-normalize-positions-4.0.2.tgz#05f757f84f260437378368a91f8932d4b102917f"
|
||||
dependencies:
|
||||
cssnano-util-get-arguments "^4.0.0"
|
||||
has "^1.0.0"
|
||||
postcss "^7.0.0"
|
||||
postcss-value-parser "^3.0.0"
|
||||
|
||||
postcss-normalize-repeat-style@^4.0.2:
|
||||
version "4.0.2"
|
||||
resolved "https://registry.yarnpkg.com/postcss-normalize-repeat-style/-/postcss-normalize-repeat-style-4.0.2.tgz#c4ebbc289f3991a028d44751cbdd11918b17910c"
|
||||
dependencies:
|
||||
cssnano-util-get-arguments "^4.0.0"
|
||||
cssnano-util-get-match "^4.0.0"
|
||||
postcss "^7.0.0"
|
||||
postcss-value-parser "^3.0.0"
|
||||
|
||||
postcss-normalize-string@^4.0.2:
|
||||
version "4.0.2"
|
||||
resolved "https://registry.yarnpkg.com/postcss-normalize-string/-/postcss-normalize-string-4.0.2.tgz#cd44c40ab07a0c7a36dc5e99aace1eca4ec2690c"
|
||||
dependencies:
|
||||
has "^1.0.0"
|
||||
postcss "^7.0.0"
|
||||
postcss-value-parser "^3.0.0"
|
||||
|
||||
postcss-normalize-timing-functions@^4.0.2:
|
||||
version "4.0.2"
|
||||
resolved "https://registry.yarnpkg.com/postcss-normalize-timing-functions/-/postcss-normalize-timing-functions-4.0.2.tgz#8e009ca2a3949cdaf8ad23e6b6ab99cb5e7d28d9"
|
||||
dependencies:
|
||||
cssnano-util-get-match "^4.0.0"
|
||||
postcss "^7.0.0"
|
||||
postcss-value-parser "^3.0.0"
|
||||
|
||||
postcss-normalize-unicode@^4.0.1:
|
||||
version "4.0.1"
|
||||
resolved "https://registry.yarnpkg.com/postcss-normalize-unicode/-/postcss-normalize-unicode-4.0.1.tgz#841bd48fdcf3019ad4baa7493a3d363b52ae1cfb"
|
||||
dependencies:
|
||||
browserslist "^4.0.0"
|
||||
postcss "^7.0.0"
|
||||
postcss-value-parser "^3.0.0"
|
||||
|
||||
postcss-normalize-url@^3.0.7:
|
||||
version "3.0.8"
|
||||
resolved "https://registry.yarnpkg.com/postcss-normalize-url/-/postcss-normalize-url-3.0.8.tgz#108f74b3f2fcdaf891a2ffa3ea4592279fc78222"
|
||||
@@ -7558,6 +7949,22 @@ postcss-normalize-url@^3.0.7:
|
||||
postcss "^5.0.14"
|
||||
postcss-value-parser "^3.2.3"
|
||||
|
||||
postcss-normalize-url@^4.0.1:
|
||||
version "4.0.1"
|
||||
resolved "https://registry.yarnpkg.com/postcss-normalize-url/-/postcss-normalize-url-4.0.1.tgz#10e437f86bc7c7e58f7b9652ed878daaa95faae1"
|
||||
dependencies:
|
||||
is-absolute-url "^2.0.0"
|
||||
normalize-url "^3.0.0"
|
||||
postcss "^7.0.0"
|
||||
postcss-value-parser "^3.0.0"
|
||||
|
||||
postcss-normalize-whitespace@^4.0.2:
|
||||
version "4.0.2"
|
||||
resolved "https://registry.yarnpkg.com/postcss-normalize-whitespace/-/postcss-normalize-whitespace-4.0.2.tgz#bf1d4070fe4fcea87d1348e825d8cc0c5faa7d82"
|
||||
dependencies:
|
||||
postcss "^7.0.0"
|
||||
postcss-value-parser "^3.0.0"
|
||||
|
||||
postcss-ordered-values@^2.1.0:
|
||||
version "2.2.3"
|
||||
resolved "https://registry.yarnpkg.com/postcss-ordered-values/-/postcss-ordered-values-2.2.3.tgz#eec6c2a67b6c412a8db2042e77fe8da43f95c11d"
|
||||
@@ -7565,6 +7972,14 @@ postcss-ordered-values@^2.1.0:
|
||||
postcss "^5.0.4"
|
||||
postcss-value-parser "^3.0.1"
|
||||
|
||||
postcss-ordered-values@^4.1.2:
|
||||
version "4.1.2"
|
||||
resolved "https://registry.yarnpkg.com/postcss-ordered-values/-/postcss-ordered-values-4.1.2.tgz#0cf75c820ec7d5c4d280189559e0b571ebac0eee"
|
||||
dependencies:
|
||||
cssnano-util-get-arguments "^4.0.0"
|
||||
postcss "^7.0.0"
|
||||
postcss-value-parser "^3.0.0"
|
||||
|
||||
postcss-reduce-idents@^2.2.2:
|
||||
version "2.4.0"
|
||||
resolved "https://registry.yarnpkg.com/postcss-reduce-idents/-/postcss-reduce-idents-2.4.0.tgz#c2c6d20cc958284f6abfbe63f7609bf409059ad3"
|
||||
@@ -7578,6 +7993,15 @@ postcss-reduce-initial@^1.0.0:
|
||||
dependencies:
|
||||
postcss "^5.0.4"
|
||||
|
||||
postcss-reduce-initial@^4.0.3:
|
||||
version "4.0.3"
|
||||
resolved "https://registry.yarnpkg.com/postcss-reduce-initial/-/postcss-reduce-initial-4.0.3.tgz#7fd42ebea5e9c814609639e2c2e84ae270ba48df"
|
||||
dependencies:
|
||||
browserslist "^4.0.0"
|
||||
caniuse-api "^3.0.0"
|
||||
has "^1.0.0"
|
||||
postcss "^7.0.0"
|
||||
|
||||
postcss-reduce-transforms@^1.0.3:
|
||||
version "1.0.4"
|
||||
resolved "https://registry.yarnpkg.com/postcss-reduce-transforms/-/postcss-reduce-transforms-1.0.4.tgz#ff76f4d8212437b31c298a42d2e1444025771ae1"
|
||||
@@ -7586,6 +8010,21 @@ postcss-reduce-transforms@^1.0.3:
|
||||
postcss "^5.0.8"
|
||||
postcss-value-parser "^3.0.1"
|
||||
|
||||
postcss-reduce-transforms@^4.0.2:
|
||||
version "4.0.2"
|
||||
resolved "https://registry.yarnpkg.com/postcss-reduce-transforms/-/postcss-reduce-transforms-4.0.2.tgz#17efa405eacc6e07be3414a5ca2d1074681d4e29"
|
||||
dependencies:
|
||||
cssnano-util-get-match "^4.0.0"
|
||||
has "^1.0.0"
|
||||
postcss "^7.0.0"
|
||||
postcss-value-parser "^3.0.0"
|
||||
|
||||
postcss-safe-parser@^4.0.1:
|
||||
version "4.0.1"
|
||||
resolved "https://registry.yarnpkg.com/postcss-safe-parser/-/postcss-safe-parser-4.0.1.tgz#8756d9e4c36fdce2c72b091bbc8ca176ab1fcdea"
|
||||
dependencies:
|
||||
postcss "^7.0.0"
|
||||
|
||||
postcss-selector-parser@^2.0.0, postcss-selector-parser@^2.2.2:
|
||||
version "2.2.3"
|
||||
resolved "https://registry.yarnpkg.com/postcss-selector-parser/-/postcss-selector-parser-2.2.3.tgz#f9437788606c3c9acee16ffe8d8b16297f27bb90"
|
||||
@@ -7594,7 +8033,15 @@ postcss-selector-parser@^2.0.0, postcss-selector-parser@^2.2.2:
|
||||
indexes-of "^1.0.1"
|
||||
uniq "^1.0.1"
|
||||
|
||||
postcss-selector-parser@^5.0.0:
|
||||
postcss-selector-parser@^3.0.0:
|
||||
version "3.1.1"
|
||||
resolved "https://registry.yarnpkg.com/postcss-selector-parser/-/postcss-selector-parser-3.1.1.tgz#4f875f4afb0c96573d5cf4d74011aee250a7e865"
|
||||
dependencies:
|
||||
dot-prop "^4.1.1"
|
||||
indexes-of "^1.0.1"
|
||||
uniq "^1.0.1"
|
||||
|
||||
postcss-selector-parser@^5.0.0, postcss-selector-parser@^5.0.0-rc.4:
|
||||
version "5.0.0"
|
||||
resolved "https://registry.yarnpkg.com/postcss-selector-parser/-/postcss-selector-parser-5.0.0.tgz#249044356697b33b64f1a8f7c80922dddee7195c"
|
||||
dependencies:
|
||||
@@ -7611,6 +8058,15 @@ postcss-svgo@^2.1.1:
|
||||
postcss-value-parser "^3.2.3"
|
||||
svgo "^0.7.0"
|
||||
|
||||
postcss-svgo@^4.0.2:
|
||||
version "4.0.2"
|
||||
resolved "https://registry.yarnpkg.com/postcss-svgo/-/postcss-svgo-4.0.2.tgz#17b997bc711b333bab143aaed3b8d3d6e3d38258"
|
||||
dependencies:
|
||||
is-svg "^3.0.0"
|
||||
postcss "^7.0.0"
|
||||
postcss-value-parser "^3.0.0"
|
||||
svgo "^1.0.0"
|
||||
|
||||
postcss-unique-selectors@^2.0.2:
|
||||
version "2.0.2"
|
||||
resolved "https://registry.yarnpkg.com/postcss-unique-selectors/-/postcss-unique-selectors-2.0.2.tgz#981d57d29ddcb33e7b1dfe1fd43b8649f933ca1d"
|
||||
@@ -7619,7 +8075,15 @@ postcss-unique-selectors@^2.0.2:
|
||||
postcss "^5.0.4"
|
||||
uniqs "^2.0.0"
|
||||
|
||||
postcss-value-parser@^3.0.1, postcss-value-parser@^3.0.2, postcss-value-parser@^3.1.1, postcss-value-parser@^3.1.2, postcss-value-parser@^3.2.3, postcss-value-parser@^3.3.0:
|
||||
postcss-unique-selectors@^4.0.1:
|
||||
version "4.0.1"
|
||||
resolved "https://registry.yarnpkg.com/postcss-unique-selectors/-/postcss-unique-selectors-4.0.1.tgz#9446911f3289bfd64c6d680f073c03b1f9ee4bac"
|
||||
dependencies:
|
||||
alphanum-sort "^1.0.0"
|
||||
postcss "^7.0.0"
|
||||
uniqs "^2.0.0"
|
||||
|
||||
postcss-value-parser@^3.0.0, postcss-value-parser@^3.0.1, postcss-value-parser@^3.0.2, postcss-value-parser@^3.1.1, postcss-value-parser@^3.1.2, postcss-value-parser@^3.2.3, postcss-value-parser@^3.3.0, postcss-value-parser@^3.3.1:
|
||||
version "3.3.1"
|
||||
resolved "https://registry.yarnpkg.com/postcss-value-parser/-/postcss-value-parser-3.3.1.tgz#9ff822547e2893213cf1c30efa51ac5fd1ba8281"
|
||||
|
||||
@@ -7648,7 +8112,7 @@ postcss@^6.0.0, postcss@^6.0.1, postcss@^6.0.17:
|
||||
source-map "^0.6.1"
|
||||
supports-color "^5.4.0"
|
||||
|
||||
postcss@^7.0.14:
|
||||
postcss@^7.0.0, postcss@^7.0.1, postcss@^7.0.14, postcss@^7.0.5:
|
||||
version "7.0.14"
|
||||
resolved "https://registry.yarnpkg.com/postcss/-/postcss-7.0.14.tgz#4527ed6b1ca0d82c53ce5ec1a2041c2346bbd6e5"
|
||||
dependencies:
|
||||
@@ -8276,6 +8740,14 @@ retry@^0.10.0:
|
||||
version "0.10.1"
|
||||
resolved "https://registry.yarnpkg.com/retry/-/retry-0.10.1.tgz#e76388d217992c252750241d3d3956fed98d8ff4"
|
||||
|
||||
rgb-regex@^1.0.1:
|
||||
version "1.0.1"
|
||||
resolved "https://registry.yarnpkg.com/rgb-regex/-/rgb-regex-1.0.1.tgz#c0e0d6882df0e23be254a475e8edd41915feaeb1"
|
||||
|
||||
rgba-regex@^1.0.0:
|
||||
version "1.0.0"
|
||||
resolved "https://registry.yarnpkg.com/rgba-regex/-/rgba-regex-1.0.0.tgz#43374e2e2ca0968b0ef1523460b7d730ff22eeb3"
|
||||
|
||||
rimraf@2, rimraf@^2.2.8, rimraf@^2.5.4, rimraf@^2.6.1, rimraf@^2.6.2, rimraf@~2.6.2:
|
||||
version "2.6.3"
|
||||
resolved "https://registry.yarnpkg.com/rimraf/-/rimraf-2.6.3.tgz#b2d104fe0d8fb27cf9e0a1cda8262dd3833c6cab"
|
||||
@@ -8355,7 +8827,7 @@ sax@0.5.x:
|
||||
version "0.5.8"
|
||||
resolved "https://registry.yarnpkg.com/sax/-/sax-0.5.8.tgz#d472db228eb331c2506b0e8c15524adb939d12c1"
|
||||
|
||||
sax@^1.2.4, sax@~1.2.1:
|
||||
sax@^1.2.4, sax@~1.2.1, sax@~1.2.4:
|
||||
version "1.2.4"
|
||||
resolved "https://registry.yarnpkg.com/sax/-/sax-1.2.4.tgz#2816234e2378bddc4e5354fab5caa895df7100d9"
|
||||
|
||||
@@ -8509,6 +8981,12 @@ signal-exit@^3.0.0, signal-exit@^3.0.2:
|
||||
version "3.0.2"
|
||||
resolved "https://registry.yarnpkg.com/signal-exit/-/signal-exit-3.0.2.tgz#b5fdc08f1287ea1178628e415e25132b73646c6d"
|
||||
|
||||
simple-swizzle@^0.2.2:
|
||||
version "0.2.2"
|
||||
resolved "https://registry.yarnpkg.com/simple-swizzle/-/simple-swizzle-0.2.2.tgz#a4da6b635ffcccca33f70d17cb92592de95e557a"
|
||||
dependencies:
|
||||
is-arrayish "^0.3.1"
|
||||
|
||||
sisteransi@^1.0.0:
|
||||
version "1.0.0"
|
||||
resolved "https://registry.yarnpkg.com/sisteransi/-/sisteransi-1.0.0.tgz#77d9622ff909080f1c19e5f4a1df0c1b0a27b88c"
|
||||
@@ -8744,6 +9222,10 @@ ssri@^6.0.0, ssri@^6.0.1:
|
||||
dependencies:
|
||||
figgy-pudding "^3.5.1"
|
||||
|
||||
stable@^0.1.8:
|
||||
version "0.1.8"
|
||||
resolved "https://registry.yarnpkg.com/stable/-/stable-0.1.8.tgz#836eb3c8382fe2936feaf544631017ce7d47a3cf"
|
||||
|
||||
stack-utils@^1.0.1:
|
||||
version "1.0.2"
|
||||
resolved "https://registry.yarnpkg.com/stack-utils/-/stack-utils-1.0.2.tgz#33eba3897788558bebfc2db059dc158ec36cebb8"
|
||||
@@ -8920,6 +9402,14 @@ strong-log-transformer@^2.0.0:
|
||||
minimist "^1.2.0"
|
||||
through "^2.3.4"
|
||||
|
||||
stylehacks@^4.0.0:
|
||||
version "4.0.3"
|
||||
resolved "https://registry.yarnpkg.com/stylehacks/-/stylehacks-4.0.3.tgz#6718fcaf4d1e07d8a1318690881e8d96726a71d5"
|
||||
dependencies:
|
||||
browserslist "^4.0.0"
|
||||
postcss "^7.0.0"
|
||||
postcss-selector-parser "^3.0.0"
|
||||
|
||||
stylus-loader@^3.0.2:
|
||||
version "3.0.2"
|
||||
resolved "https://registry.yarnpkg.com/stylus-loader/-/stylus-loader-3.0.2.tgz#27a706420b05a38e038e7cacb153578d450513c6"
|
||||
@@ -8977,6 +9467,25 @@ svgo@^0.7.0:
|
||||
sax "~1.2.1"
|
||||
whet.extend "~0.9.9"
|
||||
|
||||
svgo@^1.0.0:
|
||||
version "1.2.1"
|
||||
resolved "https://registry.yarnpkg.com/svgo/-/svgo-1.2.1.tgz#3fedde75a4016193e1c2608b5fdef6f3e4a9fd99"
|
||||
dependencies:
|
||||
chalk "^2.4.1"
|
||||
coa "^2.0.2"
|
||||
css-select "^2.0.0"
|
||||
css-select-base-adapter "^0.1.1"
|
||||
css-tree "1.0.0-alpha.28"
|
||||
css-url-regex "^1.1.0"
|
||||
csso "^3.5.1"
|
||||
js-yaml "^3.13.0"
|
||||
mkdirp "~0.5.1"
|
||||
object.values "^1.1.0"
|
||||
sax "~1.2.4"
|
||||
stable "^0.1.8"
|
||||
unquote "~1.1.1"
|
||||
util.promisify "~1.0.0"
|
||||
|
||||
symbol-observable@^1.1.0:
|
||||
version "1.2.0"
|
||||
resolved "https://registry.yarnpkg.com/symbol-observable/-/symbol-observable-1.2.0.tgz#c22688aed4eab3cdc2dfeacbb561660560a00804"
|
||||
@@ -9116,6 +9625,10 @@ timers-browserify@^2.0.4:
|
||||
dependencies:
|
||||
setimmediate "^1.0.4"
|
||||
|
||||
timsort@^0.3.0:
|
||||
version "0.3.0"
|
||||
resolved "https://registry.yarnpkg.com/timsort/-/timsort-0.3.0.tgz#405411a8e7e6339fe64db9a234de11dc31e02bd4"
|
||||
|
||||
tiny-emitter@^2.0.0:
|
||||
version "2.1.0"
|
||||
resolved "https://registry.yarnpkg.com/tiny-emitter/-/tiny-emitter-2.1.0.tgz#1d1a56edfc51c43e863cbb5382a72330e3555423"
|
||||
@@ -9348,6 +9861,10 @@ unpipe@1.0.0, unpipe@~1.0.0:
|
||||
version "1.0.0"
|
||||
resolved "https://registry.yarnpkg.com/unpipe/-/unpipe-1.0.0.tgz#b2bf4ee8514aae6165b4817829d21b2ef49904ec"
|
||||
|
||||
unquote@~1.1.1:
|
||||
version "1.1.1"
|
||||
resolved "https://registry.yarnpkg.com/unquote/-/unquote-1.1.1.tgz#8fded7324ec6e88a0ff8b905e7c098cdc086d544"
|
||||
|
||||
unset-value@^1.0.0:
|
||||
version "1.0.0"
|
||||
resolved "https://registry.yarnpkg.com/unset-value/-/unset-value-1.0.0.tgz#8376873f7d2335179ffb1e6fc3a8ed0dfc8ab559"
|
||||
@@ -9407,7 +9924,7 @@ util-deprecate@^1.0.1, util-deprecate@~1.0.1:
|
||||
version "1.0.2"
|
||||
resolved "https://registry.yarnpkg.com/util-deprecate/-/util-deprecate-1.0.2.tgz#450d4dc9fa70de732762fbd2d4a28981419a0ccf"
|
||||
|
||||
util.promisify@1.0.0, util.promisify@^1.0.0:
|
||||
util.promisify@1.0.0, util.promisify@^1.0.0, util.promisify@~1.0.0:
|
||||
version "1.0.0"
|
||||
resolved "https://registry.yarnpkg.com/util.promisify/-/util.promisify-1.0.0.tgz#440f7165a459c9a16dc145eb8e72f35687097030"
|
||||
dependencies:
|
||||
@@ -9568,6 +10085,12 @@ vuepress-html-webpack-plugin@^3.2.0:
|
||||
toposort "^1.0.0"
|
||||
util.promisify "1.0.0"
|
||||
|
||||
vuepress-plugin-container@^2.0.0:
|
||||
version "2.0.1"
|
||||
resolved "https://registry.yarnpkg.com/vuepress-plugin-container/-/vuepress-plugin-container-2.0.1.tgz#b20ef97dd91f137c8be119460927c5ffd64e0f77"
|
||||
dependencies:
|
||||
markdown-it-container "^2.0.0"
|
||||
|
||||
vuepress-plugin-flowchart@^1.4.2:
|
||||
version "1.4.3"
|
||||
resolved "https://registry.yarnpkg.com/vuepress-plugin-flowchart/-/vuepress-plugin-flowchart-1.4.3.tgz#1692807257c9ba02f764ced0caf930c627f65bdb"
|
||||
|
||||
Reference in New Issue
Block a user