chore: remove remaining website (#3444)

* chore: remove remaining website

* chore: remove README.md part

* chore: remove useless dependency

* yarn.lock

* README.md

* update README.md

* Update .gitignore

* remove transliteration
This commit is contained in:
三咲智子 2021-09-17 09:07:30 +08:00 committed by GitHub
parent c6bed151a5
commit 9defdce04c
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
6 changed files with 128 additions and 3801 deletions

27
.gitignore vendored
View File

@ -1,16 +1,23 @@
# Editor directories and files
.vscode
.idea
# Package Manager
node_modules
.DS_Store
dist
*.local
lerna-debug.json
lerna-debug.log
yarn-error.log
storybook-static
coverage/
website-dist
lib
yarn-debug.log*
yarn-error.log*
# System
.DS_Store
# Bundle
dist
coverage
packages/*/es
packages/*/lib
packages/element-plus/version.ts
/es/
es
# local env files
*.local

View File

@ -87,18 +87,11 @@ the project will install all dependencies and run `lerna bootstrap` to initializ
With command
```bash
$ yarn website-dev
$ yarn docs:dev
```
the project will launch website for you to preview all existing component
You can also use this command to start a blank page to debug
```bash
$ yarn website-dev:play
//source file: ./website/play/index.vue
```
## Component migration process
1. Convert the item in https://github.com/element-plus/element-plus/projects/1 to an issue

View File

@ -3,7 +3,6 @@
import fs from 'fs'
import algoliasearch from 'algoliasearch'
import { slugify } from 'transliteration'
import fg from 'fast-glob'
interface Index {

View File

@ -210,30 +210,6 @@
resolved "https://registry.npmjs.org/@popperjs/core/-/core-2.10.1.tgz#728ecd95ab207aab8a9a4e421f0422db329232be"
integrity sha512-HnUhk1Sy9IuKrxEMdIRCxpIqPw6BFsbYSEUO9p/hNw5sMld/+3OLMWQP80F8/db9qsv3qUjs7ZR5bS/R+iinXw==
"@rollup/plugin-dynamic-import-vars@^1.4.0":
version "1.4.0"
resolved "https://registry.npmjs.org/@rollup/plugin-dynamic-import-vars/-/plugin-dynamic-import-vars-1.4.0.tgz#f95ffc4d0bfa55fe0113a1b8e03a48e9354d28f6"
integrity sha512-oDeBDYJkD+VleSqSmWZo4h7iMHFYgEx/XVnJJZhCGuqkrS9QwOubESyWMqujBuUMeIByv954RvBTFvkAKlLh4A==
dependencies:
"@rollup/pluginutils" "^3.1.0"
estree-walker "^2.0.1"
globby "^11.0.1"
magic-string "^0.25.7"
"@rollup/pluginutils@^3.1.0":
version "3.1.0"
resolved "https://registry.npmjs.org/@rollup/pluginutils/-/pluginutils-3.1.0.tgz#706b4524ee6dc8b103b3c995533e5ad680c02b9b"
integrity sha512-GksZ6pr6TpIjHm8h9lSQ8pi8BE9VeubNT0OMJ3B5uZJ8pz73NPiqOtCog/x2/QzM1ENChPKxMDhiQuRHsqc+lg==
dependencies:
"@types/estree" "0.0.39"
estree-walker "^1.0.1"
picomatch "^2.2.2"
"@types/estree@0.0.39":
version "0.0.39"
resolved "https://registry.npmjs.org/@types/estree/-/estree-0.0.39.tgz#e177e699ee1b8c22d23174caaa7422644389509f"
integrity sha512-EYNwp3bU+98cpU4lAWYYL7Zz+2gryWH1qbdDTidVd6hkiR6weksdbMadyXKXNPEkQFhXM+hVO9ZygomHXp+AIw==
"@types/estree@^0.0.48":
version "0.0.48"
resolved "https://registry.npmjs.org/@types/estree/-/estree-0.0.48.tgz#18dc8091b285df90db2f25aa7d906cfc394b7f74"
@ -362,6 +338,21 @@
resolved "https://registry.npmjs.org/@vue/shared/-/shared-3.2.11.tgz#01899f54949caf1ac241de397bd17069632574de"
integrity sha512-ovfXAsSsCvV9JVceWjkqC/7OF5HbgLOtCWjCIosmPGG8lxbPuavhIxRH1dTx4Dg9xLgRTNLvI3pVxG4ItQZekg==
"@vueuse/core@~6.1.0":
version "6.1.0"
resolved "https://registry.yarnpkg.com/@vueuse/core/-/core-6.1.0.tgz#8137c291cf49b11c2deda4d5079096e55b36fc28"
integrity sha512-6KienU5QOWKuDqvHytep14274IGKyLlACzXjifOrgDQMkqvWZIUnDhpckT/1+O8n8DN59d5wzzICZI/2sfGCyg==
dependencies:
"@vueuse/shared" "6.1.0"
vue-demi "*"
"@vueuse/shared@6.1.0":
version "6.1.0"
resolved "https://registry.yarnpkg.com/@vueuse/shared/-/shared-6.1.0.tgz#1375fd41acefe52f9a1842f3c6a8a348786535ba"
integrity sha512-teW0TUQryGnEprHeOI6oH8NPVJBirknxksEiNCtdEjIi8W7JSTg8JPO+e1XlGI6ly24NDlDXUDYaHJayiaXjuw==
dependencies:
vue-demi "*"
accepts@~1.3.5:
version "1.3.7"
resolved "https://registry.npmjs.org/accepts/-/accepts-1.3.7.tgz#531bc726517a3b2b41f850021c6cc15eaab507cd"
@ -603,13 +594,14 @@ dir-glob@^3.0.1:
dependencies:
path-type "^4.0.0"
element-plus@^1.1.0-beta.9:
version "1.1.0-beta.9"
resolved "https://registry.npmjs.org/element-plus/-/element-plus-1.1.0-beta.9.tgz#e193cc956dfc9b731ed5cb32e2df0eddafd95dcd"
integrity sha512-QA5jOHDGSDJqVGAgzNrv5TTd/bLW+zICWy1ZQuvShzfrrIX8W+xL3RZdHJWANHhbBetLBHPFMvEzLSPvPmUosw==
element-plus@latest:
version "1.1.0-beta.12"
resolved "https://registry.yarnpkg.com/element-plus/-/element-plus-1.1.0-beta.12.tgz#2fd646f3c2f787dfb282d091ec6aa6945d1bec6a"
integrity sha512-IkFHcYWGDzHqeL2LpDM5ZQnuviqkNj8Bu9zg/Q6KImGk8xo4rqMf+e4rBHinIpeKzKdVag0c2TDABNBfKvjaPA==
dependencies:
"@element-plus/icons" "^0.0.11"
"@popperjs/core" "^2.10.1"
"@vueuse/core" "~6.1.0"
async-validator "^3.4.0"
dayjs "1.x"
lodash "^4.17.21"
@ -642,12 +634,7 @@ esprima@^4.0.0:
resolved "https://registry.npmjs.org/esprima/-/esprima-4.0.1.tgz#13b04cdb3e6c5d19df91ab6987a8695619b0aa71"
integrity sha512-eGuFFw7Upda+g4p+QHvnW0RyTX/SVeJBDM/gCtMARO0cLuT2HcEKnTPvhjV6aGeqrCB/sbNop0Kszm0jsaWU4A==
estree-walker@^1.0.1:
version "1.0.1"
resolved "https://registry.npmjs.org/estree-walker/-/estree-walker-1.0.1.tgz#31bc5d612c96b704106b477e6dd5d8aa138cb700"
integrity sha512-1fMXF3YP4pZZVozF8j/ZLfvnR8NSIljt56UhbZ5PeeDmmGHpgpdwQt7ITlGvYaQukCvuBRMLEiKiYC+oeIg4cg==
estree-walker@^2.0.1, estree-walker@^2.0.2:
estree-walker@^2.0.2:
version "2.0.2"
resolved "https://registry.npmjs.org/estree-walker/-/estree-walker-2.0.2.tgz#52f010178c2a4c117a7757cfe942adb7d2da4cac"
integrity sha512-Rfkk/Mp/DL7JVje3u18FxFujQlTNR2q6QfMSMB7AvCBx91NGj/ba3kCfza0f6dVDbw7YlRf/nDrn7pQrCCyQ/w==
@ -734,7 +721,7 @@ glob@^7.0.0:
once "^1.3.0"
path-is-absolute "^1.0.0"
globby@^11.0.1, globby@^11.0.3:
globby@^11.0.3:
version "11.0.4"
resolved "https://registry.npmjs.org/globby/-/globby-11.0.4.tgz#2cbaff77c2f2a62e71e9b2813a67b97a3a3001a5"
integrity sha512-9O4MVG9ioZJ08ffbcyVYyLOJLk5JQ688pJ4eMGLpdWLHq/Wr1D9BlriLQyL0E+jbkuePVZXYFj47QM/v093wHg==
@ -1125,7 +1112,7 @@ path-type@^4.0.0:
resolved "https://registry.npmjs.org/path-type/-/path-type-4.0.0.tgz#84ed01c0a7ba380afe09d90a8c180dcd9d03043b"
integrity sha512-gDKb8aZMDeD/tZWs9P6+q0J9Mwkdl6xMV8TjnGP3qJVJ06bdMgkbBlLU8IdfOsIsFz2BW1rNVT3XuNEl8zPAvw==
picomatch@^2.2.2, picomatch@^2.2.3:
picomatch@^2.2.3:
version "2.3.0"
resolved "https://registry.npmjs.org/picomatch/-/picomatch-2.3.0.tgz#f1f061de8f6a4bf022892e2d128234fb98302972"
integrity sha512-lY1Q/PiJGC2zOv/z391WOTD+Z02bCgsFfvxoXXf6h7kv9o+WmsmzYqrAwY63sNgOxE4xEdq0WyUnXfKeBrSvYw==
@ -1370,11 +1357,6 @@ supports-color@^7.1.0:
dependencies:
has-flag "^4.0.0"
throttle-debounce@^3.0.1:
version "3.0.1"
resolved "https://registry.yarnpkg.com/throttle-debounce/-/throttle-debounce-3.0.1.tgz#32f94d84dfa894f786c9a1f290e7a645b6a19abb"
integrity sha512-dTEWWNu6JmeVXY0ZYoPuH5cRIwc0MeGbJwah9KUNYSJwommQpCzTySTpEe8Gs1J23aeWEuAobe4Ag7EHVt/LOg==
to-fast-properties@^2.0.0:
version "2.0.0"
resolved "https://registry.npmjs.org/to-fast-properties/-/to-fast-properties-2.0.0.tgz#dc5e698cbd079265bc73e0377681a4e4e83f616e"
@ -1464,6 +1446,11 @@ vitepress@^0.17.2:
vite "^2.5.0"
vue "^3.2.7"
vue-demi@*:
version "0.11.4"
resolved "https://registry.yarnpkg.com/vue-demi/-/vue-demi-0.11.4.tgz#6101992fe4724cf5634018a16e953f3052e94e2a"
integrity sha512-/3xFwzSykLW2HiiLie43a+FFgNOcokbBJ+fzvFXd0r2T8MYohqvphUyDQ8lbAwzQ3Dlcrb1c9ykifGkhSIAk6A==
vue@^3.2.7:
version "3.2.11"
resolved "https://registry.npmjs.org/vue/-/vue-3.2.11.tgz#6b92295048df705ddac558fd3e3ed553e55e57c8"

View File

@ -27,9 +27,6 @@
"format": "prettier --write .",
"lint": "eslint ./packages --ext .vue,.js,.ts,.jsx,.tsx && prettier --check .",
"lint:fix": "eslint --fix ./packages --ext .vue,.js,.ts,.jsx,.tsx && prettier --write .",
"website-build": "rimraf website-dist && cross-env NODE_ENV=production webpack --config ./website/webpack.config.js",
"website-dev": "webpack-dev-server --config ./website/webpack.config.js",
"website-dev:play": "cross-env PLAY_ENV=true yarn website-dev",
"prepare": "husky install",
"docs:dev": "if [ ! -d \"dist/element-plus\" ]; then sh scripts/build.sh; fi && yarn docs:gen-locale && cd docs && yarn dev",
"docs:build": "cd docs && yarn build",
@ -84,7 +81,6 @@
"@types/jest": "^26.0.10",
"@types/lodash": "^4.14.161",
"@types/through2": "^2.0.36",
"@types/webpack-dev-server": "^4.1.0",
"@typescript-eslint/eslint-plugin": "^4.30.0",
"@typescript-eslint/parser": "^4.30.0",
"@vue/babel-plugin-jsx": "^1.0.7",
@ -92,7 +88,6 @@
"@vue/component-compiler-utils": "^3.2.2",
"algoliasearch": "^4.10.5",
"babel-jest": "^26.3.0",
"babel-loader": "^8.2.2",
"babel-plugin-lodash": "^3.3.4",
"babel-plugin-module-resolver": "^4.1.0",
"babel-preset-vue": "^2.0.2",
@ -100,8 +95,6 @@
"clipboard-copy": "^4.0.1",
"components-helper": "^1.0.4",
"cross-env": "^7.0.3",
"css-loader": "^4.2.2",
"css-minimizer-webpack-plugin": "^1.1.5",
"cz-conventional-changelog": "^3.3.0",
"esbuild": "^0.12.25",
"eslint": "^7.7.0",
@ -110,25 +103,15 @@
"eslint-plugin-vue": "^7.0.0-beta.0",
"esno": "^0.9.1",
"fast-glob": "^3.2.7",
"file-loader": "^6.2.0",
"file-save": "^0.2.0",
"gulp": "^4.0.2",
"gulp-typescript": "^6.0.0-alpha.1",
"highlight.js": "^10.4.1",
"html-webpack-plugin": "^4.3.0",
"husky": "^7.0.2",
"import-from": "^3.0.0",
"jest": "^26.6.3",
"lerna": "^3.22.1",
"lint-staged": "^11.1.2",
"markdown-it": "^11.0.0",
"markdown-it-anchor": "^5.3.0",
"markdown-it-chain": "^1.3.0",
"markdown-it-container": "^3.0.0",
"mini-css-extract-plugin": "^0.11.2",
"ora": "^5.4.1",
"prettier": "^2.3.2",
"progress-bar-webpack-plugin": "^2.1.0",
"rimraf": "^3.0.2",
"rollup": "^2.56.3",
"rollup-plugin-css-only": "^2.1.0",
@ -139,24 +122,14 @@
"rollup-plugin-typescript2": "^0.27.3",
"rollup-plugin-vue": "^6.0.0",
"sass": "^1.39.0",
"sass-loader": "10.1.1",
"style-loader": "^1.2.1",
"throttle-debounce": "2.3.0",
"through2": "^4.0.2",
"transliteration": "^2.2.0",
"ts-loader": "^8.0.3",
"ts-morph": "^11.0.3",
"ts-node": "^10.1.0",
"typescript": "^4.4.2",
"url-loader": "^4.1.1",
"vue": "^3.2.0",
"vue-jest": "5.0.0-alpha.5",
"vue-loader": "^16.1.2",
"vue-router": "^4.0.2",
"vue-tsc": "^0.3.0",
"webpack": "^4.44.1",
"webpack-bundle-analyzer": "^3.9.0",
"webpack-cli": "^3.3.12",
"webpack-dev-server": "^3.11.0"
"vue-tsc": "^0.3.0"
}
}

3794
yarn.lock

File diff suppressed because it is too large Load Diff