Compare commits

...

6 Commits

Author SHA1 Message Date
chenjiahan
db2e6ca12f docs: fix publicPath 2022-02-21 13:39:21 +08:00
chenjiahan
992eea3eeb build: fix workflow name 2022-02-21 12:27:25 +08:00
chenjiahan
3a1e792e31 docs: update 2022-02-21 12:26:31 +08:00
chenjiahan
06199faf2c build: deploy v4 site 2022-02-21 12:22:46 +08:00
chenjiahan
c206642d2d release: 4.0.0-alpha.0 2022-02-21 12:13:17 +08:00
chenjiahan
5bade79394 chore: add npm tag 2022-02-21 12:11:18 +08:00
8 changed files with 16 additions and 12 deletions

View File

@ -1,8 +1,8 @@
name: Deploy V3 Site
name: Deploy V4 Site
on:
push:
branches: [dev]
branches: [next]
paths:
- 'packages/vant/docs/**'
@ -13,7 +13,7 @@ jobs:
- name: Checkout 🛎️
uses: actions/checkout@v2
with:
ref: 'dev'
ref: 'next'
- name: Install pnpm
uses: pnpm/action-setup@v2.0.1
@ -36,4 +36,5 @@ jobs:
with:
branch: gh-pages
folder: packages/vant/site-dist
target-folder: v4
clean: false

View File

@ -1,3 +0,0 @@
# 更新日志
## 更新内容

View File

@ -18,3 +18,5 @@ Vant follows [Semantic Versioning 2.0.0](https://semver.org/lang/zh-CN/).
- Major versionincluding breaking changes and new features.
## Details
TODO

View File

@ -19,9 +19,9 @@ Vant 遵循 [Semver](https://semver.org/lang/zh-CN/) 语义化版本规范。
## 更新内容
### unreleased
### 4.0.0-alpha.0
`2022-01-17`
`2022-02-21`
**Feature**

View File

@ -1,4 +1,4 @@
# 从 v2 升级
# 从 v2 升级到 v3
### 介绍

View File

@ -1,4 +1,4 @@
# 从 v3 升级
# 从 v3 升级到 v4
### 介绍

View File

@ -1,6 +1,6 @@
{
"name": "vant",
"version": "3.4.5",
"version": "4.0.0-alpha.0",
"description": "Mobile UI Components built on Vue",
"main": "lib/vant.cjs.js",
"module": "es/index.js",
@ -24,6 +24,9 @@
"./lib/": "./lib/",
"./package.json": "./package.json"
},
"npm": {
"tag": "next"
},
"files": [
"es",
"lib",

View File

@ -7,7 +7,7 @@ export default {
packageManager: 'pnpm',
site: {
publicPath:
(typeof window === 'undefined' && process.env.PUBLIC_PATH) || '/vant/',
(typeof window === 'undefined' && process.env.PUBLIC_PATH) || '/vant/v4',
},
vetur: {
tagPrefix: 'van-',
@ -19,6 +19,7 @@ export default {
versions: [
{ label: 'v1', link: '/vant/v1/' },
{ label: 'v2', link: '/vant/v2/' },
{ label: 'v3', link: '/vant/v3/' },
],
baiduAnalytics: {
seed: 'ad6b5732c36321f2dafed737ac2da92f',