forked from azu/lerna-monorepo-github-actions-release
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpackage.json
37 lines (37 loc) · 1.38 KB
/
package.json
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
{
"private": true,
"name": "root",
"version": "1.0.0",
"description": "Root",
"homepage": "https://github.com/azu/lerna-monorepo-github-actions-release",
"bugs": {
"url": "https://github.com/azu/lerna-monorepo-github-actions-release/issues"
},
"repository": {
"type": "git",
"url": "https://github.com/azu/lerna-monorepo-github-actions-release.git"
},
"license": "MIT",
"author": "azu",
"workspaces": {
"packages": [
"packages/*"
]
},
"scripts": {
"versionup": "lerna version --conventional-commits --no-git-tag-version",
"versionup:patch": "lerna version patch --conventional-commits --no-git-tag-version",
"versionup:minor": "lerna version minor --conventional-commits --no-git-tag-version",
"versionup:major": "lerna version major --conventional-commits --no-git-tag-version",
"postversionup": "npm run commit-version",
"postversionup:patch": "npm run commit-version",
"postversionup:minor": "npm run commit-version",
"postversionup:major": "npm run commit-version",
"commit-version": "git add . && git commit -m \"chore(release): publish `node -p 'require(\"./lerna.json\").version'`\"",
"release": "lerna publish from-package",
"release:canary": "lerna publish --canary --preid next --dist-tag next --force-publish='*' --no-push --no-git-tag-version --yes"
},
"devDependencies": {
"lerna": "^3.20.2"
}
}