-
Notifications
You must be signed in to change notification settings - Fork 29
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
chore: publish to next dist-tag by default, add command to move to latest #137
Conversation
@@ -18,14 +18,15 @@ | |||
"format:md": "prettier --write --parser markdown '**/*.md'", | |||
"format:yaml": "prettier --write --parser yaml '**/*.yaml'", | |||
"start": "yarn playground:start", | |||
"release": "npm run build; lerna publish --exact", | |||
"release": "npm run build; lerna publish --exact --npm-tag next", | |||
"release-to-latest": "lerna exec --no-bail --no-private --no-sort --stream -- '[ -n \"$(npm v . dist-tags.next)\" ] && npm dist-tag add ${LERNA_PACKAGE_NAME}@$(npm v . dist-tags.next) latest'", |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I found this here: lerna/lerna#1364 (comment)
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Nice.
"build:es": "NODE_ENV=production lerna run build:es --ignore 'playground'", | ||
"build:es:watch": "NODE_ENV=development lerna run --ignore 'playground' --parallel build:es:watch" | ||
"build": "NODE_ENV=production lerna run build --no-private", | ||
"build:es": "NODE_ENV=production lerna run build:es --no-private", |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Ah. That's nice 💯
@@ -18,14 +18,15 @@ | |||
"format:md": "prettier --write --parser markdown '**/*.md'", | |||
"format:yaml": "prettier --write --parser yaml '**/*.yaml'", | |||
"start": "yarn playground:start", | |||
"release": "npm run build; lerna publish --exact", | |||
"release": "npm run build; lerna publish --exact --npm-tag next", | |||
"release-to-latest": "lerna exec --no-bail --no-private --no-sort --stream -- '[ -n \"$(npm v . dist-tags.next)\" ] && npm dist-tag add ${LERNA_PACKAGE_NAME}@$(npm v . dist-tags.next) latest'", |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Nice.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
👍
Following the decision in the ui-kit about releasing to
next
by default.