mirror of
https://github.com/terribleplan/next.js.git
synced 2024-01-19 02:48:18 +00:00
Allow publishing the master branch using Lerna
This commit is contained in:
parent
7d6eb38f79
commit
a2bb542f39
|
@ -10,7 +10,7 @@
|
|||
},
|
||||
"publish": {
|
||||
"npmClient": "npm",
|
||||
"allowBranch": "canary",
|
||||
"allowBranch": ["master", "canary"],
|
||||
"registry": "https://registry.npmjs.org/"
|
||||
}
|
||||
},
|
||||
|
|
|
@ -19,6 +19,7 @@
|
|||
"typescript": "lerna run typescript",
|
||||
"prepublish": "lerna run prepublish",
|
||||
"publish-canary": "lerna version prerelease --preid canary --force-publish && release --pre",
|
||||
"publish-stable": "lerna version --force-publish",
|
||||
"lint-staged": "lint-staged"
|
||||
},
|
||||
"pre-commit": "lint-staged",
|
||||
|
|
Loading…
Reference in a new issue