chore: move vant to packages folder (#9384)

This commit is contained in:
neverland
2021-09-03 14:32:16 +08:00
committed by GitHub
parent 5a75326b65
commit c21324b256
1022 changed files with 150 additions and 164 deletions

View File

@@ -18,7 +18,7 @@ It's welcomed to pull request, And there are some tips about that:
- When in doubt, keep your pull requests small. To give a PR the best chance of getting accepted, don't bundle more than one feature or bug fix per pull request. It's always best to create two smaller PRs than one big one.
- When adding new features or modifying existing, please attempt to include tests to confirm the new behaviour.
- When adding new features or modifying existing, please attempt to include tests to confirm the new behavior.
- Rebase before creating a PR to keep commit history clear.
@@ -29,7 +29,7 @@ It's welcomed to pull request, And there are some tips about that:
```bash
git clone git@github.com:youzan/vant.git
cd vant && yarn
cd packages/vant && yarn
npm run dev

View File

@@ -17,13 +17,15 @@ jobs:
- name: Install dependencies
uses: bahmutov/npm-install@v1
with:
working-directory: packages/vant
- name: Build Site
run: npx --no-install vant-cli build-site
run: npm run build:site
- name: Deploy 🚀
uses: JamesIves/github-pages-deploy-action@4.1.1
with:
branch: gh-pages
folder: site
folder: packages/vant/site
target-folder: v3

View File

@@ -13,6 +13,8 @@ jobs:
- name: Install dependencies
uses: bahmutov/npm-install@v1
with:
working-directory: packages/vant
- name: Run linter
run: npm run lint
@@ -27,6 +29,8 @@ jobs:
- name: Install dependencies
uses: bahmutov/npm-install@v1
with:
working-directory: packages/vant
- name: Run test cases
run: npm test
@@ -46,6 +50,8 @@ jobs:
- name: Install dependencies
uses: bahmutov/npm-install@v1
with:
working-directory: packages/vant
- name: Build
run: npm run build