diff --git a/packages/create-vant-cli-app/package.json b/packages/create-vant-cli-app/package.json index a851a9625..ae8978eb1 100644 --- a/packages/create-vant-cli-app/package.json +++ b/packages/create-vant-cli-app/package.json @@ -12,10 +12,6 @@ "release": "pnpm build & release-it", "prepare": "pnpm build" }, - "repository": { - "type": "git", - "url": "https://github.com/youzan/vant/tree/dev/packages/create-vant-cli-app" - }, "files": [ "lib", "generators" @@ -26,6 +22,12 @@ "publishConfig": { "registry": "https://registry.npmjs.org/" }, + "repository": { + "type": "git", + "url": "https://github.com/youzan/vant.git", + "directory": "packages/create-vant-cli-app" + }, + "bugs": "https://github.com/youzan/vant/issues", "author": "chenjiahan", "license": "MIT", "devDependencies": { diff --git a/packages/vant-area-data/package.json b/packages/vant-area-data/package.json index 84d0e0efd..54d7a255a 100644 --- a/packages/vant-area-data/package.json +++ b/packages/vant-area-data/package.json @@ -4,15 +4,21 @@ "description": "Vant 省市区数据", "main": "./lib/index.js", "typings": "./lib/index.d.ts", - "publishConfig": { - "access": "public", - "registry": "https://registry.npmjs.org/" - }, "scripts": { "build": "rimraf ./lib && tsc", "release": "pnpm build && npm publish", "prepare": "pnpm build" }, - "license": "MIT", - "repository": "https://github.com/youzan/vant" + "publishConfig": { + "access": "public", + "registry": "https://registry.npmjs.org/" + }, + "repository": { + "type": "git", + "url": "https://github.com/youzan/vant.git", + "directory": "packages/vant-area-data" + }, + "bugs": "https://github.com/youzan/vant/issues", + "author": "chenjiahan", + "license": "MIT" } diff --git a/packages/vant-cli/package.json b/packages/vant-cli/package.json index 25d0ab0d8..5cec09a32 100644 --- a/packages/vant-cli/package.json +++ b/packages/vant-cli/package.json @@ -10,10 +10,6 @@ "engines": { "node": "^14.16.0 || >=16.0.0" }, - "publishConfig": { - "access": "public", - "registry": "https://registry.npmjs.org/" - }, "scripts": { "dev": "tsc --watch", "build": "rimraf ./lib && tsc", @@ -31,6 +27,16 @@ "keywords": [ "vant" ], + "publishConfig": { + "access": "public", + "registry": "https://registry.npmjs.org/" + }, + "repository": { + "type": "git", + "url": "https://github.com/youzan/vant.git", + "directory": "packages/vant-cli" + }, + "bugs": "https://github.com/youzan/vant/issues", "author": "chenjiahan", "license": "MIT", "devDependencies": { diff --git a/packages/vant-eslint-config/package.json b/packages/vant-eslint-config/package.json index df1b4053f..3bccabb81 100644 --- a/packages/vant-eslint-config/package.json +++ b/packages/vant-eslint-config/package.json @@ -7,8 +7,14 @@ "access": "public", "registry": "https://registry.npmjs.org/" }, + "repository": { + "type": "git", + "url": "https://github.com/youzan/vant.git", + "directory": "packages/vant-eslint-config" + }, + "bugs": "https://github.com/youzan/vant/issues", + "author": "chenjiahan", "license": "MIT", - "repository": "https://github.com/youzan/vant/tree/dev/packages/vant-eslint-config", "dependencies": { "@typescript-eslint/eslint-plugin": "^5.3.1", "@typescript-eslint/parser": "5.3.1", diff --git a/packages/vant-icons/package.json b/packages/vant-icons/package.json index d243680d5..25b941ed7 100644 --- a/packages/vant-icons/package.json +++ b/packages/vant-icons/package.json @@ -7,15 +7,21 @@ "files": [ "src" ], + "scripts": { + "release": "release-it" + }, "publishConfig": { "access": "public", "registry": "https://registry.npmjs.org/" }, - "scripts": { - "release": "release-it" + "repository": { + "type": "git", + "url": "https://github.com/youzan/vant.git", + "directory": "packages/vant-icons" }, + "bugs": "https://github.com/youzan/vant/issues", + "author": "chenjiahan", "license": "MIT", - "repository": "https://github.com/youzan/vant/tree/dev/packages/vant-icons", "devDependencies": { "release-it": "^14.11.6" }, diff --git a/packages/vant-markdown-loader/package.json b/packages/vant-markdown-loader/package.json index b2a69b9ca..493200b47 100644 --- a/packages/vant-markdown-loader/package.json +++ b/packages/vant-markdown-loader/package.json @@ -7,8 +7,14 @@ "access": "public", "registry": "https://registry.npmjs.org/" }, + "repository": { + "type": "git", + "url": "https://github.com/youzan/vant.git", + "directory": "packages/vant-markdown-loader" + }, + "bugs": "https://github.com/youzan/vant/issues", + "author": "chenjiahan", "license": "MIT", - "repository": "https://github.com/youzan/vant/tree/dev/packages/vant-markdown-loader", "dependencies": { "front-matter": "^4.0.2", "highlight.js": "^10.7.1", diff --git a/packages/vant-markdown-vetur/package.json b/packages/vant-markdown-vetur/package.json index f0f0b7f1d..d63526874 100644 --- a/packages/vant-markdown-vetur/package.json +++ b/packages/vant-markdown-vetur/package.json @@ -3,13 +3,6 @@ "version": "2.2.0", "description": "simple parse markdown to vue component description for vetur auto-completion", "main": "lib/index.js", - "license": "MIT", - "repository": "https://github.com/youzan/vant/tree/dev/packages/vant-markdown-vetur", - "author": "zhangshuai", - "publishConfig": { - "access": "public", - "registry": "https://registry.npmjs.org/" - }, "files": [ "lib" ], @@ -19,6 +12,18 @@ "release": "pnpm build && npm publish", "prepare": "pnpm build" }, + "publishConfig": { + "access": "public", + "registry": "https://registry.npmjs.org/" + }, + "repository": { + "type": "git", + "url": "https://github.com/youzan/vant.git", + "directory": "packages/vant-markdown-vetur" + }, + "bugs": "https://github.com/youzan/vant/issues", + "author": "zhangshuai", + "license": "MIT", "dependencies": { "fast-glob": "^3.2.2", "fs-extra": "^10.0.0" diff --git a/packages/vant-popperjs/package.json b/packages/vant-popperjs/package.json index ba9086c1b..394242f1c 100644 --- a/packages/vant-popperjs/package.json +++ b/packages/vant-popperjs/package.json @@ -22,8 +22,14 @@ "release": "pnpm build && release-it", "prepare": "pnpm build" }, + "repository": { + "type": "git", + "url": "https://github.com/youzan/vant.git", + "directory": "packages/vant-markdown-loader" + }, + "bugs": "https://github.com/youzan/vant/issues", + "author": "chenjiahan", "license": "MIT", - "repository": "https://github.com/youzan/vant/tree/dev/packages/vant-popperjs", "dependencies": { "@popperjs/core": "^2.9.2" }, diff --git a/packages/vant-stylelint-config/package.json b/packages/vant-stylelint-config/package.json index 810fbce35..6f5ec15f5 100644 --- a/packages/vant-stylelint-config/package.json +++ b/packages/vant-stylelint-config/package.json @@ -7,8 +7,14 @@ "access": "public", "registry": "https://registry.npmjs.org/" }, + "repository": { + "type": "git", + "url": "https://github.com/youzan/vant.git", + "directory": "packages/vant-stylelint-config" + }, + "bugs": "https://github.com/youzan/vant/issues", + "author": "chenjiahan", "license": "MIT", - "repository": "https://github.com/youzan/vant/tree/dev/packages/vant-stylelint-config", "dependencies": { "stylelint-config-prettier": "^8.0.1", "stylelint-config-standard": "^22.0.0" diff --git a/packages/vant-touch-emulator/package.json b/packages/vant-touch-emulator/package.json index 49cc893bb..3531d7993 100644 --- a/packages/vant-touch-emulator/package.json +++ b/packages/vant-touch-emulator/package.json @@ -6,6 +6,12 @@ "publishConfig": { "access": "public" }, - "license": "MIT", - "repository": "https://github.com/youzan/vant/tree/dev/packages/vant-touch-emulator" + "repository": { + "type": "git", + "url": "https://github.com/youzan/vant.git", + "directory": "packages/vant-touch-emulator" + }, + "bugs": "https://github.com/youzan/vant/issues", + "author": "chenjiahan", + "license": "MIT" } diff --git a/packages/vant-use/package.json b/packages/vant-use/package.json index ee21d36f7..ab04fc446 100644 --- a/packages/vant-use/package.json +++ b/packages/vant-use/package.json @@ -22,8 +22,14 @@ "access": "public", "registry": "https://registry.npmjs.org/" }, + "repository": { + "type": "git", + "url": "https://github.com/youzan/vant.git", + "directory": "packages/vant-use" + }, + "bugs": "https://github.com/youzan/vant/issues", + "author": "chenjiahan", "license": "MIT", - "repository": "https://github.com/youzan/vant/tree/dev/packages/vant-use", "devDependencies": { "release-it": "^14.0.2", "rollup": "^2.33.3", diff --git a/packages/vant/docs/markdown/contribution.zh-CN.md b/packages/vant/docs/markdown/contribution.zh-CN.md index 86782581e..e471e9c26 100644 --- a/packages/vant/docs/markdown/contribution.zh-CN.md +++ b/packages/vant/docs/markdown/contribution.zh-CN.md @@ -100,7 +100,7 @@ src ```bash # 添加主仓库到 remote,作为 fork 后仓库的上游仓库 -git remote add upstream https://github.com/youzan/vant.git +git remote add upstream git@github.com:youzan/vant.git # 拉取主仓库最新代码 git fetch upstream diff --git a/packages/vant/package.json b/packages/vant/package.json index b64e52879..490010481 100644 --- a/packages/vant/package.json +++ b/packages/vant/package.json @@ -29,9 +29,6 @@ "lib", "vetur" ], - "publishConfig": { - "registry": "https://registry.npmjs.org/" - }, "scripts": { "dev": "vant-cli dev", "lint": "vant-cli lint", @@ -43,12 +40,19 @@ "test:watch": "vant-cli test --watch", "test:coverage": "open test/coverage/index.html" }, - "npm": { - "tag": "next" + "publishConfig": { + "registry": "https://registry.npmjs.org/" }, "repository": { "type": "git", - "url": "git@github.com:youzan/vant.git" + "url": "https://github.com/youzan/vant.git", + "directory": "packages/vant" + }, + "bugs": "https://github.com/youzan/vant/issues", + "author": "chenjiahan", + "license": "MIT", + "npm": { + "tag": "next" }, "keywords": [ "ui", @@ -59,8 +63,6 @@ "component", "components" ], - "author": "youzanfe", - "license": "MIT", "dependencies": { "@vant/icons": "^1.7.1", "@vant/popperjs": "^1.1.0",