Switch to Lerna#21
Closed
ericclemmons wants to merge 3 commits into
Closed
Conversation
Owner
Author
diff --git a/lerna.json b/lerna.json
new file mode 100644
index 0000000..4000003
--- /dev/null
+++ b/lerna.json
@@ -0,0 +1,8 @@
+{
+ "npmClient": "yarn",
+ "packages": [
+ "packages/*"
+ ],
+ "version": "1.2.0",
+ "useWorkspaces": true
+}
diff --git a/package.json b/package.json
index e1c7f43..e705ccb 100644
--- a/package.json
+++ b/package.json
@@ -1,6 +1,7 @@
{
"private": true,
"scripts": {
+ "install": "lerna bootstrap",
"postinstall": "yarn workspace polydev link",
"dev": "DEBUG=polydev polydev -r ts-node/register",
"dev:server": "DEBUG=polydev node server",
@@ -10,5 +11,10 @@
"start": "NODE_ENV=production polydev",
"start:server": "NODE_ENV=production node server"
},
- "workspaces": ["packages/*"]
+ "workspaces": [
+ "packages/*"
+ ],
+ "devDependencies": {
+ "lerna": "^3.10.7"
+ }
} |
Owner
Author
|
Interesting enough, |
Owner
Author
|
Adding |
Owner
Author
|
Trying out https://github.com/lerna/lerna-changelog now: |
Owner
Author
|
Getting errors with
|
Owner
Author
|
Babel is good as an example
|
Owner
Author
|
I give up. https://changebot.app/preview/ericclemmons/polydev is much better. All that's missing is a way of generating it from the CLI or cURLing it. |
Owner
Author
|
But still, publishing isn't working how I want it. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
This would resolve #14