chore: move vant to packages folder (#9384)
This commit is contained in:
4
.github/CONTRIBUTING.md
vendored
4
.github/CONTRIBUTING.md
vendored
@@ -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
|
||||
|
||||
|
||||
6
.github/workflows/deploy-v3-site.yml
vendored
6
.github/workflows/deploy-v3-site.yml
vendored
@@ -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
|
||||
|
||||
6
.github/workflows/test.yml
vendored
6
.github/workflows/test.yml
vendored
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user