From 60463533cfb29afac6feca3f9d39a94dc5958d9b Mon Sep 17 00:00:00 2001 From: bac-joker Date: Sat, 19 Sep 2020 16:47:03 +0800 Subject: [PATCH] chore: learn version ignore private package affects: fes-doc --- lerna.json | 8 +++----- package.json | 3 ++- packages/fes-doc/package.json | 3 ++- 3 files changed, 7 insertions(+), 7 deletions(-) diff --git a/lerna.json b/lerna.json index 456417a0..9178204a 100644 --- a/lerna.json +++ b/lerna.json @@ -17,17 +17,15 @@ }, "command": { "publish": { - "ignoreChanges": ["*.md", "**/test/**"] + "ignoreChanges": ["*.md", "**/test/**"], + "message": "chore(release): publish" }, "version": { "push": false } }, "packages": [ - "packages/fes-cli", - "packages/fes-core", - "packages/fes-ui", - "packages/fes-template" + "packages/*" ], "npmClient": "npm", "ignoreChanges": ["**/test/**", "**/*.md"] diff --git a/package.json b/package.json index bd160f2c..8b1cd89d 100644 --- a/package.json +++ b/package.json @@ -4,7 +4,8 @@ "description": "一个好用的前端管理台快速开发框架", "preferGlobal": true, "scripts": { - "bootstrap": "lerna bootstrap" + "bootstrap": "lerna bootstrap", + "version": "lerna version --no-commit-hooks --no-private" }, "author": "harrywan qlin", "license": "MIT", diff --git a/packages/fes-doc/package.json b/packages/fes-doc/package.json index 80a9e934..63afecd7 100644 --- a/packages/fes-doc/package.json +++ b/packages/fes-doc/package.json @@ -25,5 +25,6 @@ }, "dependencies": { "@webank/fes-ui": "^0.1.1" - } + }, + "private": true }