[Improvement] upgrade to precss 3.0 (#1696)

This commit is contained in:
neverland 2018-08-27 15:41:45 +08:00 committed by GitHub
parent 26ff8ef43a
commit ab00a16b6a
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
16 changed files with 655 additions and 528 deletions

View File

@ -141,4 +141,4 @@ export default create({
#### 样式
组件样式使用 `precss 2.0` 作为预处理器,具体语法请参考 [precss 文档](https://github.com/jonathantneal/precss).
组件样式使用 `precss 3.0` 作为预处理器,具体语法请参考 [precss 文档](https://github.com/jonathantneal/precss).

View File

@ -19,9 +19,6 @@ import 'vant/packages/vant-css/src/checkbox.css';
```javascript
module.exports = {
plugins: [
require('postcss-easy-import')({
extensions: ['pcss', 'css']
}),
require('postcss-theme-variables')({
vars: {
red: '#F60',
@ -39,8 +36,6 @@ module.exports = {
};
```
> 注意: precss2 和 3 版本不兼容, 请将precss的版本改为2.0.0
### 方案二. 本地构建
可以通过在本地构建 vant-css 的方式生成所需的主题
@ -54,4 +49,3 @@ cd packages/vant-css
```bash
npm run build
```

View File

@ -61,7 +61,7 @@
"devDependencies": {
"@vue/server-test-utils": "^1.0.0-beta.24",
"@vue/test-utils": "^1.0.0-beta.24",
"autoprefixer": "^9.1.2",
"autoprefixer": "^9.1.3",
"babel-cli": "^6.26.0",
"babel-core": "^6.26.3",
"babel-jest": "^23.4.2",
@ -89,9 +89,8 @@
"md5-file": "^4.0.0",
"postcss": "^7.0.2",
"postcss-calc": "^6.0.0",
"postcss-easy-import": "^3.0.0",
"postcss-loader": "^3.0.0",
"precss": "2.0.0",
"precss": "3.1.2",
"progress-bar-webpack-plugin": "^1.11.0",
"rimraf": "^2.5.4",
"shelljs": "^0.8.1",
@ -101,16 +100,16 @@
"stylelint-config-standard": "^18.2.0",
"uppercamelcase": "^3.0.0",
"url-loader": "^1.1.1",
"vant-doc": "1.0.14",
"vant-doc": "1.0.15",
"vue": "2.5.17",
"vue-jest": "^2.6.0",
"vue-loader": "^15.4.0",
"vue-loader": "^15.4.1",
"vue-router": "^3.0.1",
"vue-server-renderer": "^2.5.17",
"vue-sfc-compiler": "^0.0.8",
"vue-template-compiler": "2.5.17",
"vue-template-es2015-compiler": "^1.6.0",
"webpack": "^4.16.5",
"webpack": "^4.17.1",
"webpack-cli": "^3.1.0",
"webpack-serve": "^2.0.2"
}

View File

@ -13,14 +13,13 @@
},
"license": "MIT",
"devDependencies": {
"autoprefixer": "^8.3.0",
"fs-extra": "^6.0.1",
"autoprefixer": "^9.1.3",
"fs-extra": "^7.0.0",
"gulp": "^3.9.1",
"gulp-clean-css": "^3.9.0",
"gulp-postcss": "^7.0.0",
"gulp-clean-css": "^3.10.0",
"gulp-postcss": "^8.0.0",
"postcss-calc": "^6.0.1",
"postcss-easy-import": "^3.0.0",
"postcss-theme-variables": "^1.0.0",
"precss": "^2.0.0"
"precss": "^3.1.2"
}
}

View File

@ -58,7 +58,7 @@
&__title {
max-height: 40px;
@mixin multi-ellipsis 2;
@include multi-ellipsis(2);
}
&__desc {
@ -66,7 +66,7 @@
font-size: 12px;
max-height: 20px;
@mixin ellipsis;
@include ellipsis;
}
&__price,

View File

@ -1,5 +1,5 @@
@import '../mixins/clearfix.css';
.van-clearfix {
@mixin clearfix;
@include clearfix;
}

View File

@ -1,5 +1,5 @@
@import '../mixins/ellipsis.css';
.van-ellipsis {
@mixin ellipsis;
@include ellipsis;
}

View File

@ -1,10 +1,10 @@
@import "../mixins/border-retina.css";
@import "../mixins/hairline.css";
[class*='van-hairline'] {
position: relative;
&::after {
@mixin hairline;
@include hairline;
}
}

View File

@ -70,7 +70,7 @@
h2 {
margin: 0;
@mixin ellipsis;
@include ellipsis;
}
h2 {

View File

@ -1,34 +0,0 @@
@import '../common/var.css';
$border-poses: top, right, bottom, left;
@define-mixin border-retina $poses: $border-poses, $border-retina-color: $border-color {
content: '';
position: absolute;
top: 0;
left: 0;
width: 200%;
height: 200%;
transform: scale(.5);
transform-origin: 0 0;
pointer-events: none;
box-sizing: border-box;
@each $pos in $poses {
border-$(pos): 1px solid $border-retina-color;
}
}
@define-mixin hairline $border-retina-color: $border-color {
content: '';
position: absolute;
top: 0;
left: 0;
width: 200%;
height: 200%;
transform: scale(.5);
transform-origin: 0 0;
pointer-events: none;
box-sizing: border-box;
border: 0 solid $border-retina-color;
}

View File

@ -1,4 +1,4 @@
@define-mixin clearfix {
@mixin clearfix {
&::after {
content: '';
display: table;

View File

@ -1,13 +1,13 @@
@define-mixin multi-ellipsis $lines {
overflow : hidden;
@mixin multi-ellipsis($lines) {
overflow: hidden;
text-overflow: ellipsis;
display: -webkit-box;
-webkit-line-clamp: $lines;
-webkit-box-orient: vertical;
}
@define-mixin ellipsis {
overflow: hidden;
white-space: nowrap;
text-overflow: ellipsis;
}
@mixin ellipsis {
overflow: hidden;
white-space: nowrap;
text-overflow: ellipsis;
}

View File

@ -0,0 +1,13 @@
@mixin hairline($border-color: #e5e5e5) {
content: '';
position: absolute;
top: 0;
left: 0;
width: 200%;
height: 200%;
transform: scale(0.5);
transform-origin: 0 0;
pointer-events: none;
box-sizing: border-box;
border: 0 solid $border-color;
}

File diff suppressed because it is too large Load Diff

View File

@ -1,6 +1,5 @@
module.exports = {
plugins: {
'postcss-easy-import': {},
'precss': {},
'postcss-calc': {},
'autoprefixer': {

410
yarn.lock
View File

@ -184,6 +184,21 @@
lodash "^4.17.10"
to-fast-properties "^2.0.0"
"@csstools/convert-colors@^1.4.0":
version "1.4.0"
resolved "https://registry.yarnpkg.com/@csstools/convert-colors/-/convert-colors-1.4.0.tgz#ad495dc41b12e75d588c6db8b9834f08fa131eb7"
"@csstools/postcss-image-set-function@^1.0.0":
version "1.0.0"
resolved "https://registry.yarnpkg.com/@csstools/postcss-image-set-function/-/postcss-image-set-function-1.0.0.tgz#1ef0913d90a9c4440495eb41624c202e53a703f3"
dependencies:
postcss "^6.0.20"
postcss-value-parser "^3.3.0"
"@csstools/sass-import-resolve@^1":
version "1.0.0"
resolved "https://registry.yarnpkg.com/@csstools/sass-import-resolve/-/sass-import-resolve-1.0.0.tgz#32c3cdb2f7af3cd8f0dca357b592e7271f3831b5"
"@mrmlnc/readdir-enhanced@^2.2.1":
version "2.2.1"
resolved "https://registry.yarnpkg.com/@mrmlnc/readdir-enhanced/-/readdir-enhanced-2.2.1.tgz#524af240d1a360527b730475ecfa1344aa540dde"
@ -803,12 +818,12 @@ autoprefixer@^9.0.0:
postcss "^7.0.2"
postcss-value-parser "^3.2.3"
autoprefixer@^9.1.2:
version "9.1.2"
resolved "https://registry.yarnpkg.com/autoprefixer/-/autoprefixer-9.1.2.tgz#73672614e3ee43a433b84c1c2a4b1ca392d2f6a1"
autoprefixer@^9.1.3:
version "9.1.3"
resolved "https://registry.yarnpkg.com/autoprefixer/-/autoprefixer-9.1.3.tgz#bd5940ccb9d1bfa3508308659915f0a14394c8d5"
dependencies:
browserslist "^4.0.2"
caniuse-lite "^1.0.30000877"
caniuse-lite "^1.0.30000878"
normalize-range "^0.1.2"
num2fraction "^1.2.2"
postcss "^7.0.2"
@ -1525,7 +1540,7 @@ babel-register@^6.26.0:
mkdirp "^0.5.1"
source-map-support "^0.4.15"
babel-runtime@6.x, babel-runtime@^6.0.0, babel-runtime@^6.18.0, babel-runtime@^6.22.0, babel-runtime@^6.26.0:
babel-runtime@6.x, babel-runtime@^6.0.0, babel-runtime@^6.18.0, babel-runtime@^6.22.0, babel-runtime@^6.23.0, babel-runtime@^6.26.0:
version "6.26.0"
resolved "https://registry.yarnpkg.com/babel-runtime/-/babel-runtime-6.26.0.tgz#965c7058668e82b55d7bfe04ff2337bc8b5647fe"
dependencies:
@ -1583,10 +1598,6 @@ bail@^1.0.0:
version "1.0.3"
resolved "https://registry.yarnpkg.com/bail/-/bail-1.0.3.tgz#63cfb9ddbac829b02a3128cd53224be78e6c21a3"
balanced-match@0.1.0:
version "0.1.0"
resolved "https://registry.yarnpkg.com/balanced-match/-/balanced-match-0.1.0.tgz#b504bd05869b39259dd0c5efc35d843176dccc4a"
balanced-match@^0.4.2:
version "0.4.2"
resolved "https://registry.yarnpkg.com/balanced-match/-/balanced-match-0.4.2.tgz#cb3f3e3c732dc0f01ee70b403f302e61d7709838"
@ -1775,6 +1786,13 @@ browserify-zlib@^0.2.0:
dependencies:
pako "~1.0.5"
browserslist@^3.2.4:
version "3.2.8"
resolved "https://registry.yarnpkg.com/browserslist/-/browserslist-3.2.8.tgz#b0005361d6471f0f5952797a76fc985f1f978fc6"
dependencies:
caniuse-lite "^1.0.30000844"
electron-to-chromium "^1.3.47"
browserslist@^3.2.6:
version "3.2.6"
resolved "https://registry.yarnpkg.com/browserslist/-/browserslist-3.2.6.tgz#138a44d04a9af64443679191d041f28ce5b965d5"
@ -1891,10 +1909,6 @@ camel-case@3.0.x:
no-case "^2.2.0"
upper-case "^1.1.1"
camelcase-css@^1.0.1:
version "1.0.1"
resolved "https://registry.yarnpkg.com/camelcase-css/-/camelcase-css-1.0.1.tgz#157c4238265f5cf94a1dffde86446552cbf3f705"
camelcase-keys@^2.0.0:
version "2.1.0"
resolved "https://registry.yarnpkg.com/camelcase-keys/-/camelcase-keys-2.1.0.tgz#308beeaffdf28119051efa1d932213c91b8f92e7"
@ -1926,6 +1940,10 @@ camelize@^1.0.0:
version "1.0.0"
resolved "https://registry.yarnpkg.com/camelize/-/camelize-1.0.0.tgz#164a5483e630fa4321e5af07020e531831b2609b"
caniuse-lite@^1.0.30000823, caniuse-lite@^1.0.30000844, caniuse-lite@^1.0.30000878:
version "1.0.30000878"
resolved "https://registry.yarnpkg.com/caniuse-lite/-/caniuse-lite-1.0.30000878.tgz#c644c39588dd42d3498e952234c372e5a40a4123"
caniuse-lite@^1.0.30000830:
version "1.0.30000830"
resolved "https://registry.yarnpkg.com/caniuse-lite/-/caniuse-lite-1.0.30000830.tgz#cb96b8a2dd3cbfe04acea2af3c4e894249095328"
@ -1934,7 +1952,7 @@ caniuse-lite@^1.0.30000865:
version "1.0.30000865"
resolved "https://registry.yarnpkg.com/caniuse-lite/-/caniuse-lite-1.0.30000865.tgz#70026616e8afe6e1442f8bb4e1092987d81a2f25"
caniuse-lite@^1.0.30000876, caniuse-lite@^1.0.30000877:
caniuse-lite@^1.0.30000876:
version "1.0.30000877"
resolved "https://registry.yarnpkg.com/caniuse-lite/-/caniuse-lite-1.0.30000877.tgz#f189673b86ecc06436520e3e391de6a13ca923b4"
@ -2247,33 +2265,43 @@ 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.8.2:
version "1.9.2"
resolved "https://registry.yarnpkg.com/color-convert/-/color-convert-1.9.2.tgz#49881b8fba67df12a96bdf3f56c0aab9e7913147"
dependencies:
color-name "1.1.1"
color-convert@^1.9.0:
version "1.9.1"
resolved "https://registry.yarnpkg.com/color-convert/-/color-convert-1.9.1.tgz#c1261107aeb2f294ebffec9ed9ecad529a6097ed"
dependencies:
color-name "^1.1.1"
color-name@1.1.1:
version "1.1.1"
resolved "https://registry.yarnpkg.com/color-name/-/color-name-1.1.1.tgz#4b1415304cf50028ea81643643bd82ea05803689"
color-name@^1.0.0, color-name@^1.1.1:
version "1.1.3"
resolved "https://registry.yarnpkg.com/color-name/-/color-name-1.1.3.tgz#a7d0558bd89c42f795dd42328f740831ca53bc25"
color-string@^0.3.0:
version "0.3.0"
resolved "https://registry.yarnpkg.com/color-string/-/color-string-0.3.0.tgz#27d46fb67025c5c2fa25993bfbf579e47841b991"
color-string@^1.4.0:
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-support@^1.1.3:
version "1.1.3"
resolved "https://registry.yarnpkg.com/color-support/-/color-support-1.1.3.tgz#93834379a1cc9a0c61f82f52f0d04322251bd5a2"
color@^0.11.0:
version "0.11.4"
resolved "https://registry.yarnpkg.com/color/-/color-0.11.4.tgz#6d7b5c74fb65e841cd48792ad1ed5e07b904d764"
color@^1.0.3:
version "1.0.3"
resolved "https://registry.yarnpkg.com/color/-/color-1.0.3.tgz#e48e832d85f14ef694fb468811c2d5cfe729b55d"
dependencies:
clone "^1.0.2"
color-convert "^1.3.0"
color-string "^0.3.0"
color-convert "^1.8.2"
color-string "^1.4.0"
combined-stream@1.0.6, combined-stream@~1.0.5:
version "1.0.6"
@ -2526,15 +2554,6 @@ crypto-random-string@^1.0.0:
version "1.0.0"
resolved "https://registry.yarnpkg.com/crypto-random-string/-/crypto-random-string-1.0.0.tgz#a230f64f568310e1498009940790ec99545bca7e"
css-color-function@~1.3.3:
version "1.3.3"
resolved "https://registry.yarnpkg.com/css-color-function/-/css-color-function-1.3.3.tgz#8ed24c2c0205073339fafa004bc8c141fccb282e"
dependencies:
balanced-match "0.1.0"
color "^0.11.0"
debug "^3.1.0"
rgb "~0.1.0"
css-loader@^1.0.0:
version "1.0.0"
resolved "https://registry.yarnpkg.com/css-loader/-/css-loader-1.0.0.tgz#9f46aaa5ca41dbe31860e3b62b8e23c42916bf56"
@ -2586,6 +2605,10 @@ css@^2.1.0:
source-map-resolve "^0.3.0"
urix "^0.1.0"
cssdb@^1.6.0:
version "1.6.0"
resolved "https://registry.yarnpkg.com/cssdb/-/cssdb-1.6.0.tgz#3360c4163e07cf4d1efe58c1bc15170535f4d393"
cssesc@^0.1.0:
version "0.1.0"
resolved "https://registry.yarnpkg.com/cssesc/-/cssesc-0.1.0.tgz#c814903e45623371a0477b40109aaafbeeaddbb4"
@ -3024,6 +3047,10 @@ electron-to-chromium@^1.3.42:
version "1.3.45"
resolved "https://registry.yarnpkg.com/electron-to-chromium/-/electron-to-chromium-1.3.45.tgz#458ac1b1c5c760ce8811a16d2bfbd97ec30bafb8"
electron-to-chromium@^1.3.47:
version "1.3.61"
resolved "https://registry.yarnpkg.com/electron-to-chromium/-/electron-to-chromium-1.3.61.tgz#a8ac295b28d0f03d85e37326fd16b6b6b17a1795"
electron-to-chromium@^1.3.52:
version "1.3.55"
resolved "https://registry.yarnpkg.com/electron-to-chromium/-/electron-to-chromium-1.3.55.tgz#f150e10b20b77d9d41afcca312efe0c3b1a7fdce"
@ -4690,6 +4717,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"
@ -5984,7 +6015,7 @@ lodash.template@^3.0.0:
lodash.restparam "^3.0.0"
lodash.templatesettings "^3.0.0"
lodash.template@^4.4.0:
lodash.template@^4.2.4, lodash.template@^4.4.0:
version "4.4.0"
resolved "https://registry.yarnpkg.com/lodash.template/-/lodash.template-4.4.0.tgz#e73a0385c8355591746e020b99679c690e68fba0"
dependencies:
@ -7233,7 +7264,7 @@ performance-now@^2.1.0:
version "2.1.0"
resolved "https://registry.yarnpkg.com/performance-now/-/performance-now-2.1.0.tgz#6309f4e0e5fa913ec1c69307ae364b4b377c9e7b"
pify@^2.0.0, pify@^2.3.0:
pify@^2.0.0:
version "2.3.0"
resolved "https://registry.yarnpkg.com/pify/-/pify-2.3.0.tgz#ed141a6ac043a849ea588498e7dca8b15330e90c"
@ -7299,11 +7330,20 @@ posix-character-classes@^0.1.0:
version "0.1.1"
resolved "https://registry.yarnpkg.com/posix-character-classes/-/posix-character-classes-0.1.1.tgz#01eac0fe3b5af71a2a6c02feabb8c1fef7e00eab"
postcss-advanced-variables@1.2.2:
version "1.2.2"
resolved "https://registry.yarnpkg.com/postcss-advanced-variables/-/postcss-advanced-variables-1.2.2.tgz#90a6213262e66a050a368b4a9c5d4778d72dbd74"
postcss-advanced-variables@^2.3.3:
version "2.3.3"
resolved "https://registry.yarnpkg.com/postcss-advanced-variables/-/postcss-advanced-variables-2.3.3.tgz#80ac5b05988d02f63352974491e319910f33337e"
dependencies:
postcss "^5.0.10"
"@csstools/sass-import-resolve" "^1"
postcss "^6"
postcss-apply@^0.9.0:
version "0.9.0"
resolved "https://registry.yarnpkg.com/postcss-apply/-/postcss-apply-0.9.0.tgz#a152e6e34a6c55d0895751929319c262c5d8c289"
dependencies:
babel-runtime "^6.23.0"
balanced-match "^0.4.2"
postcss "^6.0.0"
postcss-atroot@^0.1.3:
version "0.1.3"
@ -7311,6 +7351,13 @@ postcss-atroot@^0.1.3:
dependencies:
postcss "^5.0.5"
postcss-attribute-case-insensitive@^2.0.0:
version "2.0.0"
resolved "https://registry.yarnpkg.com/postcss-attribute-case-insensitive/-/postcss-attribute-case-insensitive-2.0.0.tgz#94dc422c8f90997f16bd33a3654bbbec084963b4"
dependencies:
postcss "^6.0.0"
postcss-selector-parser "^2.2.3"
postcss-calc@^6.0.0:
version "6.0.1"
resolved "https://registry.yarnpkg.com/postcss-calc/-/postcss-calc-6.0.1.tgz#3d24171bbf6e7629d422a436ebfe6dd9511f4330"
@ -7320,13 +7367,34 @@ postcss-calc@^6.0.0:
postcss-selector-parser "^2.2.2"
reduce-css-calc "^2.0.0"
postcss-color-function@^4.0.0:
version "4.0.1"
resolved "https://registry.yarnpkg.com/postcss-color-function/-/postcss-color-function-4.0.1.tgz#402b3f2cebc3f6947e618fb6be3654fbecef6444"
postcss-color-hex-alpha@^3.0.0:
version "3.0.0"
resolved "https://registry.yarnpkg.com/postcss-color-hex-alpha/-/postcss-color-hex-alpha-3.0.0.tgz#1e53e6c8acb237955e8fd08b7ecdb1b8b8309f95"
dependencies:
css-color-function "~1.3.3"
color "^1.0.3"
postcss "^6.0.1"
postcss-message-helpers "^2.0.0"
postcss-color-mod-function@^2.4.2:
version "2.4.3"
resolved "https://registry.yarnpkg.com/postcss-color-mod-function/-/postcss-color-mod-function-2.4.3.tgz#14a97f5b17a5f19396e9dea7ffcb5be732592baf"
dependencies:
"@csstools/convert-colors" "^1.4.0"
postcss "^6.0.23"
postcss-values-parser "^1.5.0"
postcss-color-rebeccapurple@^3.0.0:
version "3.1.0"
resolved "https://registry.yarnpkg.com/postcss-color-rebeccapurple/-/postcss-color-rebeccapurple-3.1.0.tgz#ce1269ecc2d0d8bf92aab44bd884e633124c33ec"
dependencies:
postcss "^6.0.22"
postcss-values-parser "^1.5.0"
postcss-color-rgb@^2.0.0:
version "2.0.0"
resolved "https://registry.yarnpkg.com/postcss-color-rgb/-/postcss-color-rgb-2.0.0.tgz#14539c8a7131494b482e0dd1cc265ff6514b5263"
dependencies:
postcss "^6.0.1"
postcss-value-parser "^3.3.0"
postcss-custom-media@^6.0.0:
@ -7335,9 +7403,9 @@ postcss-custom-media@^6.0.0:
dependencies:
postcss "^6.0.1"
postcss-custom-properties@^6.1.0:
version "6.3.1"
resolved "https://registry.yarnpkg.com/postcss-custom-properties/-/postcss-custom-properties-6.3.1.tgz#5c52abde313d7ec9368c4abf67d27a656cba8b39"
postcss-custom-properties@^7.0.0:
version "7.0.0"
resolved "https://registry.yarnpkg.com/postcss-custom-properties/-/postcss-custom-properties-7.0.0.tgz#24dc4fbe6d6ed550ea4fd3b11204660e9ffa3b33"
dependencies:
balanced-match "^1.0.0"
postcss "^6.0.18"
@ -7349,24 +7417,37 @@ postcss-custom-selectors@^4.0.1:
postcss "^6.0.1"
postcss-selector-matches "^3.0.0"
postcss-easy-import@^3.0.0:
postcss-dir-pseudo-class@^3.0.0:
version "3.0.0"
resolved "https://registry.yarnpkg.com/postcss-easy-import/-/postcss-easy-import-3.0.0.tgz#8eaaf5ae59566083d0cae98735dfd803e3ab194d"
resolved "https://registry.yarnpkg.com/postcss-dir-pseudo-class/-/postcss-dir-pseudo-class-3.0.0.tgz#31a18af3b9b1b33be635599b998a9829896c3fed"
dependencies:
globby "^6.1.0"
is-glob "^4.0.0"
lodash "^4.17.4"
object-assign "^4.0.1"
pify "^3.0.0"
postcss "^6.0.11"
postcss-import "^10.0.0"
resolve "^1.1.7"
postcss "^6.0.20"
postcss-selector-parser "^3.1.1"
postcss-extend@^1.0.5:
version "1.0.5"
resolved "https://registry.yarnpkg.com/postcss-extend/-/postcss-extend-1.0.5.tgz#5ea98bf787ba3cacf4df4609743f80a833b1d0e7"
postcss-extend-rule@^1.1.0:
version "1.1.0"
resolved "https://registry.yarnpkg.com/postcss-extend-rule/-/postcss-extend-rule-1.1.0.tgz#11e4d590ffe4253b853ef1fc03be7167da607d38"
dependencies:
postcss "^5.0.4"
postcss "^6.0.11"
postcss-nesting "^4.2.1"
postcss-focus-visible@^2.0.0:
version "2.0.0"
resolved "https://registry.yarnpkg.com/postcss-focus-visible/-/postcss-focus-visible-2.0.0.tgz#a6b9881f6710f6251790e2f151c94b161e23eeb6"
dependencies:
postcss "^6.0"
postcss-font-family-system-ui@^3.0.0:
version "3.0.0"
resolved "https://registry.yarnpkg.com/postcss-font-family-system-ui/-/postcss-font-family-system-ui-3.0.0.tgz#675fe7a9e029669f05f8dba2e44c2225ede80623"
dependencies:
postcss "^6.0"
postcss-font-variant@^3.0.0:
version "3.0.0"
resolved "https://registry.yarnpkg.com/postcss-font-variant/-/postcss-font-variant-3.0.0.tgz#08ccc88f6050ba82ed8ef2cc76c0c6a6b41f183e"
dependencies:
postcss "^6.0.1"
postcss-html@^0.33.0:
version "0.33.0"
@ -7374,22 +7455,12 @@ postcss-html@^0.33.0:
dependencies:
htmlparser2 "^3.9.2"
postcss-import@^10.0.0:
version "10.0.0"
resolved "https://registry.yarnpkg.com/postcss-import/-/postcss-import-10.0.0.tgz#4c85c97b099136cc5ea0240dc1dfdbfde4e2ebbe"
postcss-initial@^2.0.0:
version "2.0.0"
resolved "https://registry.yarnpkg.com/postcss-initial/-/postcss-initial-2.0.0.tgz#72715f7336e0bb79351d99ee65c4a253a8441ba4"
dependencies:
object-assign "^4.0.1"
lodash.template "^4.2.4"
postcss "^6.0.1"
postcss-value-parser "^3.2.3"
read-cache "^1.0.0"
resolve "^1.1.7"
postcss-js@^1.0.1:
version "1.0.1"
resolved "https://registry.yarnpkg.com/postcss-js/-/postcss-js-1.0.1.tgz#ffaf29226e399ea74b5dce02cab1729d7addbc7b"
dependencies:
camelcase-css "^1.0.1"
postcss "^6.0.11"
postcss-jsx@^0.33.0:
version "0.33.0"
@ -7421,6 +7492,12 @@ postcss-loader@^3.0.0:
postcss-load-config "^2.0.0"
schema-utils "^1.0.0"
postcss-logical@^1.1.1:
version "1.1.1"
resolved "https://registry.yarnpkg.com/postcss-logical/-/postcss-logical-1.1.1.tgz#bcabf0638d8aa747743b32bc52f9d90d4a3313d2"
dependencies:
postcss "^6.0.20"
postcss-markdown@^0.33.0:
version "0.33.0"
resolved "https://registry.yarnpkg.com/postcss-markdown/-/postcss-markdown-0.33.0.tgz#2d0462742ee108c9d6020780184b499630b8b33a"
@ -7442,16 +7519,6 @@ 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"
postcss-mixins@^6.0.1:
version "6.2.0"
resolved "https://registry.yarnpkg.com/postcss-mixins/-/postcss-mixins-6.2.0.tgz#fa9d2c2166b2ae7745956c727ab9dd2de4b96a40"
dependencies:
globby "^6.1.0"
postcss "^6.0.13"
postcss-js "^1.0.1"
postcss-simple-vars "^4.1.0"
sugarss "^1.0.0"
postcss-modules-extract-imports@^1.2.0:
version "1.2.0"
resolved "https://registry.yarnpkg.com/postcss-modules-extract-imports/-/postcss-modules-extract-imports-1.2.0.tgz#66140ecece38ef06bf0d3e355d69bf59d141ea85"
@ -7479,33 +7546,77 @@ postcss-modules-values@^1.3.0:
icss-replace-symbols "^1.1.0"
postcss "^6.0.1"
postcss-nested@^2.0.2:
version "2.1.2"
resolved "https://registry.yarnpkg.com/postcss-nested/-/postcss-nested-2.1.2.tgz#04057281f9631fef684857fb0119bae04ede03c6"
postcss-nested@^3.0.0:
version "3.0.0"
resolved "https://registry.yarnpkg.com/postcss-nested/-/postcss-nested-3.0.0.tgz#cde40bd07a078565f3df72e2dc2665871c724852"
dependencies:
postcss "^6.0.9"
postcss-selector-parser "^2.2.3"
postcss "^6.0.14"
postcss-selector-parser "^3.1.1"
postcss-nesting@^4.0.1:
postcss-nesting@^4.2.1:
version "4.2.1"
resolved "https://registry.yarnpkg.com/postcss-nesting/-/postcss-nesting-4.2.1.tgz#0483bce338b3f0828ced90ff530b29b98b00300d"
dependencies:
postcss "^6.0.11"
postcss-partial-import@^4.1.0:
version "4.1.0"
resolved "https://registry.yarnpkg.com/postcss-partial-import/-/postcss-partial-import-4.1.0.tgz#f6c3e78e7bbeda4d9dab96d360367b90b353f9a4"
postcss-page-break@^1.0.0:
version "1.0.0"
resolved "https://registry.yarnpkg.com/postcss-page-break/-/postcss-page-break-1.0.0.tgz#09a63b6e03db092d38569b33dcba42a343ace60b"
dependencies:
glob "^7.1.1"
postcss-import "^10.0.0"
postcss "^6.0.16"
postcss-property-lookup@^1.2.1:
version "1.2.1"
resolved "https://registry.yarnpkg.com/postcss-property-lookup/-/postcss-property-lookup-1.2.1.tgz#30450a1361b7aae758bbedd5201fbe057bb8270b"
postcss-preset-env@^3.2.2:
version "3.5.0"
resolved "https://registry.yarnpkg.com/postcss-preset-env/-/postcss-preset-env-3.5.0.tgz#b3aae2c65e5b3fa61d735b70392fa758a665b785"
dependencies:
"@csstools/postcss-image-set-function" "^1.0.0"
browserslist "^3.2.4"
caniuse-lite "^1.0.30000823"
cssdb "^1.6.0"
postcss "^6.0.21"
postcss-apply "^0.9.0"
postcss-attribute-case-insensitive "^2.0.0"
postcss-color-hex-alpha "^3.0.0"
postcss-color-mod-function "^2.4.2"
postcss-color-rebeccapurple "^3.0.0"
postcss-color-rgb "^2.0.0"
postcss-custom-media "^6.0.0"
postcss-custom-properties "^7.0.0"
postcss-custom-selectors "^4.0.1"
postcss-dir-pseudo-class "^3.0.0"
postcss-focus-visible "^2.0.0"
postcss-font-family-system-ui "^3.0.0"
postcss-font-variant "^3.0.0"
postcss-initial "^2.0.0"
postcss-logical "^1.1.1"
postcss-media-minmax "^3.0.0"
postcss-nesting "^4.2.1"
postcss-page-break "^1.0.0"
postcss-pseudo-class-any-link "^4.0.0"
postcss-replace-overflow-wrap "^2.0.0"
postcss-selector-matches "^3.0.1"
postcss-selector-not "^3.0.1"
postcss-property-lookup@^2.0.0:
version "2.0.0"
resolved "https://registry.yarnpkg.com/postcss-property-lookup/-/postcss-property-lookup-2.0.0.tgz#c995d1df42a75420f2aea834c2cbe296b2c15922"
dependencies:
object-assign "^4.0.1"
postcss "^5.0.4"
tcomb "^2.5.1"
postcss "^6.0.6"
tcomb "^3.2.21"
postcss-pseudo-class-any-link@^4.0.0:
version "4.0.0"
resolved "https://registry.yarnpkg.com/postcss-pseudo-class-any-link/-/postcss-pseudo-class-any-link-4.0.0.tgz#9152a0613d3450720513e8892854bae42d0ee68e"
dependencies:
postcss "^6.0.1"
postcss-selector-parser "^2.2.3"
postcss-replace-overflow-wrap@^2.0.0:
version "2.0.0"
resolved "https://registry.yarnpkg.com/postcss-replace-overflow-wrap/-/postcss-replace-overflow-wrap-2.0.0.tgz#794db6faa54f8db100854392a93af45768b4e25b"
dependencies:
postcss "^6.0.1"
postcss-reporter@^5.0.0:
version "5.0.0"
@ -7569,12 +7680,6 @@ postcss-selector-parser@^3.1.0, postcss-selector-parser@^3.1.1:
indexes-of "^1.0.1"
uniq "^1.0.1"
postcss-simple-vars@^4.1.0:
version "4.1.0"
resolved "https://registry.yarnpkg.com/postcss-simple-vars/-/postcss-simple-vars-4.1.0.tgz#043248cfef8d3f51b3486a28c09f8375dbf1b2f9"
dependencies:
postcss "^6.0.9"
postcss-styled@>=0.33.0, postcss-styled@^0.33.0:
version "0.33.0"
resolved "https://registry.yarnpkg.com/postcss-styled/-/postcss-styled-0.33.0.tgz#69be377584105a582fda7e4f76888e5b97eed737"
@ -7603,7 +7708,7 @@ postcss@6.0.22, postcss@^6.0.8:
source-map "^0.6.1"
supports-color "^5.4.0"
postcss@^5.0.10, postcss@^5.0.4, postcss@^5.0.5, postcss@^5.2.16:
postcss@^5.0.5, postcss@^5.2.16:
version "5.2.18"
resolved "https://registry.yarnpkg.com/postcss/-/postcss-5.2.18.tgz#badfa1497d46244f6390f58b319830d9107853c5"
dependencies:
@ -7612,15 +7717,7 @@ postcss@^5.0.10, postcss@^5.0.4, postcss@^5.0.5, postcss@^5.2.16:
source-map "^0.5.6"
supports-color "^3.2.3"
postcss@^6.0.0, postcss@^6.0.1, postcss@^6.0.11, postcss@^6.0.13, postcss@^6.0.14, postcss@^6.0.18, postcss@^6.0.20, postcss@^6.0.21, postcss@^6.0.3, postcss@^6.0.9:
version "6.0.21"
resolved "https://registry.yarnpkg.com/postcss/-/postcss-6.0.21.tgz#8265662694eddf9e9a5960db6da33c39e4cd069d"
dependencies:
chalk "^2.3.2"
source-map "^0.6.1"
supports-color "^5.3.0"
postcss@^6.0.23:
postcss@^6, postcss@^6.0, postcss@^6.0.16, postcss@^6.0.19, postcss@^6.0.22, postcss@^6.0.23, postcss@^6.0.6:
version "6.0.23"
resolved "https://registry.yarnpkg.com/postcss/-/postcss-6.0.23.tgz#61c82cc328ac60e677645f979054eb98bc0e3324"
dependencies:
@ -7628,6 +7725,14 @@ postcss@^6.0.23:
source-map "^0.6.1"
supports-color "^5.4.0"
postcss@^6.0.0, postcss@^6.0.1, postcss@^6.0.11, postcss@^6.0.14, postcss@^6.0.18, postcss@^6.0.20, postcss@^6.0.21:
version "6.0.21"
resolved "https://registry.yarnpkg.com/postcss/-/postcss-6.0.21.tgz#8265662694eddf9e9a5960db6da33c39e4cd069d"
dependencies:
chalk "^2.3.2"
source-map "^0.6.1"
supports-color "^5.3.0"
postcss@^7.0.0, postcss@^7.0.2:
version "7.0.2"
resolved "https://registry.yarnpkg.com/postcss/-/postcss-7.0.2.tgz#7b5a109de356804e27f95a960bef0e4d5bc9bb18"
@ -7654,26 +7759,17 @@ precinct@^4.2.0:
module-definition "^2.2.4"
node-source-walk "^3.3.0"
precss@2.0.0:
version "2.0.0"
resolved "https://registry.yarnpkg.com/precss/-/precss-2.0.0.tgz#7f567e3318e06d44c8fdbf9e58452e8358bf4b71"
precss@3.1.2:
version "3.1.2"
resolved "https://registry.yarnpkg.com/precss/-/precss-3.1.2.tgz#c82c0aa4ca5fe1e879799d697db0fac6d15d23bc"
dependencies:
postcss "^6.0.3"
postcss-advanced-variables "1.2.2"
postcss "^6.0.19"
postcss-advanced-variables "^2.3.3"
postcss-atroot "^0.1.3"
postcss-color-function "^4.0.0"
postcss-custom-media "^6.0.0"
postcss-custom-properties "^6.1.0"
postcss-custom-selectors "^4.0.1"
postcss-extend "^1.0.5"
postcss-media-minmax "^3.0.0"
postcss-mixins "^6.0.1"
postcss-nested "^2.0.2"
postcss-nesting "^4.0.1"
postcss-partial-import "^4.1.0"
postcss-property-lookup "^1.2.1"
postcss-selector-matches "^3.0.1"
postcss-selector-not "^3.0.1"
postcss-extend-rule "^1.1.0"
postcss-nested "^3.0.0"
postcss-preset-env "^3.2.2"
postcss-property-lookup "^2.0.0"
prelude-ls@~1.1.2:
version "1.1.2"
@ -7870,12 +7966,6 @@ rc@^1.1.7:
minimist "^1.2.0"
strip-json-comments "~2.0.1"
read-cache@^1.0.0:
version "1.0.0"
resolved "https://registry.yarnpkg.com/read-cache/-/read-cache-1.0.0.tgz#e664ef31161166c9751cdbe8dbcf86b5fb58f774"
dependencies:
pify "^2.3.0"
read-pkg-up@^1.0.1:
version "1.0.1"
resolved "https://registry.yarnpkg.com/read-pkg-up/-/read-pkg-up-1.0.1.tgz#9d63c13276c065918d57f002a57f40a1b643fb02"
@ -8316,10 +8406,6 @@ ret@~0.1.10:
version "0.1.15"
resolved "https://registry.yarnpkg.com/ret/-/ret-0.1.15.tgz#b8a4825d5bdb1fc3f6f53c2bc33f81388681c7bc"
rgb@~0.1.0:
version "0.1.0"
resolved "https://registry.yarnpkg.com/rgb/-/rgb-0.1.0.tgz#be27b291e8feffeac1bd99729721bfa40fc037b5"
right-align@^0.1.1:
version "0.1.3"
resolved "https://registry.yarnpkg.com/right-align/-/right-align-0.1.3.tgz#61339b722fe6a3515689210d24e14c96148613ef"
@ -8529,6 +8615,12 @@ signale@^1.2.1:
figures "^2.0.0"
pkg-conf "^2.1.0"
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@^0.1.0:
version "0.1.0"
resolved "https://registry.yarnpkg.com/sisteransi/-/sisteransi-0.1.0.tgz#2e6706ac427019b84e60f751d588d87920484f25"
@ -8993,12 +9085,6 @@ stylus-lookup@^2.0.0:
commander "^2.8.1"
debug "^3.1.0"
sugarss@^1.0.0:
version "1.0.1"
resolved "https://registry.yarnpkg.com/sugarss/-/sugarss-1.0.1.tgz#be826d9003e0f247735f92365dc3fd7f1bae9e44"
dependencies:
postcss "^6.0.14"
sugarss@^2.0.0:
version "2.0.0"
resolved "https://registry.yarnpkg.com/sugarss/-/sugarss-2.0.0.tgz#ddd76e0124b297d40bf3cca31c8b22ecb43bc61d"
@ -9110,9 +9196,9 @@ tar@^4:
safe-buffer "^5.1.1"
yallist "^3.0.2"
tcomb@^2.5.1:
version "2.7.0"
resolved "https://registry.yarnpkg.com/tcomb/-/tcomb-2.7.0.tgz#10d62958041669a5d53567b9a4ee8cde22b1c2b0"
tcomb@^3.2.21:
version "3.2.27"
resolved "https://registry.yarnpkg.com/tcomb/-/tcomb-3.2.27.tgz#f4928bfc536b959d21a47e5f5f1ca2b2e4b7188a"
term-size@^1.2.0:
version "1.2.0"
@ -9654,9 +9740,9 @@ validate-npm-package-license@^3.0.1:
spdx-correct "^3.0.0"
spdx-expression-parse "^3.0.0"
vant-doc@1.0.14:
version "1.0.14"
resolved "https://registry.yarnpkg.com/vant-doc/-/vant-doc-1.0.14.tgz#c7f259e5b535b140a7025c6b5397611430551199"
vant-doc@1.0.15:
version "1.0.15"
resolved "https://registry.yarnpkg.com/vant-doc/-/vant-doc-1.0.15.tgz#2abed8c5408a027098490ef66d978f60ba43d483"
dependencies:
cheerio "0.22.0"
commander "^2.17.1"
@ -9786,9 +9872,9 @@ vue-lazyload@1.2.3:
version "1.2.3"
resolved "https://registry.yarnpkg.com/vue-lazyload/-/vue-lazyload-1.2.3.tgz#901f9ec15c7e6ca78781a2bae4a343686bdedb2c"
vue-loader@^15.4.0:
version "15.4.0"
resolved "https://registry.yarnpkg.com/vue-loader/-/vue-loader-15.4.0.tgz#8c90f94ece61c6b4707e87b4a58617f97faa125b"
vue-loader@^15.4.1:
version "15.4.1"
resolved "https://registry.yarnpkg.com/vue-loader/-/vue-loader-15.4.1.tgz#10c2da6f50ce5fc6bff2317dcbd1dccf4b3c7702"
dependencies:
"@vue/component-compiler-utils" "^2.0.0"
hash-sum "^1.0.2"
@ -9965,9 +10051,9 @@ webpack-sources@^1.0.1, webpack-sources@^1.1.0:
source-list-map "^2.0.0"
source-map "~0.6.1"
webpack@^4.16.5:
version "4.16.5"
resolved "https://registry.yarnpkg.com/webpack/-/webpack-4.16.5.tgz#29fb39462823d7eb8aefcab8b45f7f241db0d092"
webpack@^4.17.1:
version "4.17.1"
resolved "https://registry.yarnpkg.com/webpack/-/webpack-4.17.1.tgz#0f026e3d823f3fc604f811ed3ea8f0d9b267fb1e"
dependencies:
"@webassemblyjs/ast" "1.5.13"
"@webassemblyjs/helper-module-context" "1.5.13"