diff --git a/lerna.json b/lerna.json index 055ecb91..5a65f434 100644 --- a/lerna.json +++ b/lerna.json @@ -1,6 +1,16 @@ { "lerna": "3.4.2", - "version": "3.0.0", + "version": "independent", "npmClient": "yarn", - "useWorkspaces": true + "useWorkspaces": true, + "command": { + "publish": { + "allowBranch": "master" + } + }, + "ignoreChanges": [ + "**/test/**", + "**/examples/**", + "**/*.md" + ] } diff --git a/package.json b/package.json index 9e2e3768..59509515 100644 --- a/package.json +++ b/package.json @@ -4,6 +4,11 @@ "lerna": "3.4.2" }, "scripts": { + "lerna": "lerna", + "prepublishOnly": "lerna run prepublishOnly", + "publish": "lerna publish", + "canary": "lerna publish --canary preminor --npm-tag alpha", + "next": "lerna publish --bump prerelease --npm-tag next", "lint": "lerna run lint --since master -- --color", "lint:all": "lerna run lint -- --color", "test": "lerna run test --since master -- --colors",