Skip to content
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

Merged
merged 1 commit into from
Nov 26, 2018

Conversation

emmenko
Copy link
Member

@emmenko emmenko commented Nov 26, 2018

Following the decision in the ui-kit about releasing to next by default.

@@ -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'",
Copy link
Member Author

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)

Copy link
Contributor

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",
Copy link
Contributor

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'",
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Nice.

Copy link
Contributor

@dferber90 dferber90 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

👍

@emmenko emmenko merged commit b26c0e1 into master Nov 26, 2018
@emmenko emmenko deleted the nm-publish-to-next branch November 26, 2018 19:06
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
🙏 Status: Dev Review Waiting for technical reviews 🔮 Type: Chore
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants