chore: add more packages to workspace

This commit is contained in:
chenjiahan 2021-09-07 20:18:28 +08:00
parent fad3c9301d
commit b7ee642fa7
7 changed files with 14 additions and 1901 deletions

View File

@ -2,7 +2,9 @@
"private": true,
"workspaces": [
"packages/vant",
"packages/vant-cli"
"packages/vant-cli",
"packages/vant-eslint-config",
"packages/vant-stylelint-config"
],
"scripts": {
"prepare": "husky install && cd packages/vant-cli && yarn build",

View File

@ -29,14 +29,13 @@
],
"author": "chenjiahan",
"license": "MIT",
"peerDependencies": {
"vue": "^3.0.0"
},
"devDependencies": {
"@types/fs-extra": "^9.0.12",
"@types/less": "^3.0.3",
"@types/lodash": "^4.14.172",
"@types/postcss-load-config": "^3.0.1"
"@types/postcss-load-config": "^3.0.1",
"@vue/compiler-sfc": "3.2.8",
"vue": "3.2.8"
},
"dependencies": {
"@babel/core": "^7.15.0",
@ -71,6 +70,7 @@
"less": "^4.1.1",
"lint-staged": "^11.1.2",
"lodash": "^4.17.21",
"markdown-it": "^12.2.0",
"markdown-it-anchor": "^8.3.0",
"ora": "^5.4.1",
"postcss": "^8.3.6",

View File

@ -9,9 +9,6 @@
},
"license": "MIT",
"repository": "https://github.com/youzan/vant/tree/dev/packages/vant-eslint-config",
"peerDependencies": {
"eslint": "^7.0.0"
},
"dependencies": {
"@typescript-eslint/eslint-plugin": "^4.29.1",
"@typescript-eslint/parser": "^4.29.1",
@ -22,6 +19,7 @@
"eslint-plugin-vue": "^7.15.2"
},
"devDependencies": {
"eslint": "^7.32.0"
"eslint": "^7.32.0",
"typescript": "^4.0.0"
}
}

File diff suppressed because it is too large Load Diff

View File

@ -9,11 +9,11 @@
},
"license": "MIT",
"repository": "https://github.com/youzan/vant/tree/dev/packages/vant-stylelint-config",
"peerDependencies": {
"stylelint": "^13.0.0"
},
"dependencies": {
"stylelint-config-prettier": "^8.0.1",
"stylelint-config-standard": "^20.0.0"
},
"devDependencies": {
"stylelint": "^13.0.0"
}
}

View File

@ -1,20 +0,0 @@
# THIS IS AN AUTOGENERATED FILE. DO NOT EDIT THIS FILE DIRECTLY.
# yarn lockfile v1
stylelint-config-prettier@^8.0.1:
version "8.0.1"
resolved "https://registry.npm.taobao.org/stylelint-config-prettier/download/stylelint-config-prettier-8.0.1.tgz?cache=0&other_urls=https%3A%2F%2Fregistry.npm.taobao.org%2Fstylelint-config-prettier%2Fdownload%2Fstylelint-config-prettier-8.0.1.tgz#ec7cdd7faabaff52ebfa56c28fed3d995ebb8cab"
integrity sha1-7Hzdf6q6/1Lr+lbCj+09mV67jKs=
stylelint-config-recommended@^3.0.0:
version "3.0.0"
resolved "https://registry.yarnpkg.com/stylelint-config-recommended/-/stylelint-config-recommended-3.0.0.tgz#e0e547434016c5539fe2650afd58049a2fd1d657"
integrity sha512-F6yTRuc06xr1h5Qw/ykb2LuFynJ2IxkKfCMf+1xqPffkxh0S09Zc902XCffcsw/XMFq/OzQ1w54fLIDtmRNHnQ==
stylelint-config-standard@^20.0.0:
version "20.0.0"
resolved "https://registry.npm.taobao.org/stylelint-config-standard/download/stylelint-config-standard-20.0.0.tgz#06135090c9e064befee3d594289f50e295b5e20d"
integrity sha1-BhNQkMngZL7+49WUKJ9Q4pW14g0=
dependencies:
stylelint-config-recommended "^3.0.0"

View File

@ -1762,19 +1762,6 @@
resolved "https://registry.nlark.com/@vant/area-data/download/@vant/area-data-1.1.1.tgz#b9acf8a804c0d60f721b6900680299422b006b1a"
integrity sha1-uaz4qATA1g9yG2kAaAKZQisAaxo=
"@vant/eslint-config@^3.3.2":
version "3.3.2"
resolved "https://registry.nlark.com/@vant/eslint-config/download/@vant/eslint-config-3.3.2.tgz#c2c8af3b097ef5b769e7134049e4b71c1ac5a2b7"
integrity sha1-wsivOwl+9bdp5xNASeS3HBrForc=
dependencies:
"@typescript-eslint/eslint-plugin" "^4.29.1"
"@typescript-eslint/parser" "^4.29.1"
eslint-config-airbnb-base "^14.2.1"
eslint-config-prettier "^8.3.0"
eslint-plugin-import "^2.24.0"
eslint-plugin-markdown "^2.2.0"
eslint-plugin-vue "^7.15.2"
"@vant/icons@^1.7.0":
version "1.7.0"
resolved "https://registry.nlark.com/@vant/icons/download/@vant/icons-1.7.0.tgz?cache=0&sync_timestamp=1626958553251&other_urls=https%3A%2F%2Fregistry.nlark.com%2F%40vant%2Ficons%2Fdownload%2F%40vant%2Ficons-1.7.0.tgz#02d427532a8142c35db159da9c364fe6890c3ac9"
@ -1800,14 +1787,6 @@
dependencies:
"@popperjs/core" "^2.9.2"
"@vant/stylelint-config@^1.4.2":
version "1.4.2"
resolved "https://registry.npm.taobao.org/@vant/stylelint-config/download/@vant/stylelint-config-1.4.2.tgz#defca4ded4b5c8a9eaf168ee1ba40819bcc646c1"
integrity sha1-3vyk3tS1yKnq8WjuG6QIGbzGRsE=
dependencies:
stylelint-config-prettier "^8.0.1"
stylelint-config-standard "^20.0.0"
"@vant/touch-emulator@^1.3.2":
version "1.3.2"
resolved "https://registry.nlark.com/@vant/touch-emulator/download/@vant/touch-emulator-1.3.2.tgz?cache=0&sync_timestamp=1625708536883&other_urls=https%3A%2F%2Fregistry.nlark.com%2F%40vant%2Ftouch-emulator%2Fdownload%2F%40vant%2Ftouch-emulator-1.3.2.tgz#9392c3971dd7247c2cf8e5d5aabc951e33cd5e6f"
@ -7385,7 +7364,7 @@ stylelint-config-standard@^20.0.0:
dependencies:
stylelint-config-recommended "^3.0.0"
stylelint@^13.13.1:
stylelint@^13.0.0, stylelint@^13.13.1:
version "13.13.1"
resolved "https://registry.nlark.com/stylelint/download/stylelint-13.13.1.tgz#fca9c9f5de7990ab26a00f167b8978f083a18f3c"
integrity sha1-/KnJ9d55kKsmoA8We4l48IOhjzw=
@ -7751,7 +7730,7 @@ typedarray-to-buffer@^3.1.5:
dependencies:
is-typedarray "^1.0.0"
typescript@^4.3.5:
typescript@^4.0.0, typescript@^4.3.5:
version "4.4.2"
resolved "https://registry.nlark.com/typescript/download/typescript-4.4.2.tgz?cache=0&sync_timestamp=1630999312832&other_urls=https%3A%2F%2Fregistry.nlark.com%2Ftypescript%2Fdownload%2Ftypescript-4.4.2.tgz#6d618640d430e3569a1dfb44f7d7e600ced3ee86"
integrity sha1-bWGGQNQw41aaHftE99fmAM7T7oY=