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

fix(husky): fix husky release #297

Merged
merged 2 commits into from
May 13, 2018
Merged

fix(husky): fix husky release #297

merged 2 commits into from
May 13, 2018

Conversation

apapko
Copy link
Collaborator

@apapko apapko commented May 11, 2018

Details

Use commitlint instead of validate-msg library. Fixes #171

Does this PR introduce a breaking change?

  • Yes
  • No

@apapko apapko requested a review from diervo May 11, 2018 19:06
@salesforce-best-lwc-internal
Copy link

Benchmark results

Base commit: 31fd3f9 | Target commit: 806df66

lwc-engine-benchmark

table-append-1k metric base(31fd3f9) target(806df66) trend
benchmark-table/append/1k duration 149.70 (± 4.40 ms) 146.80 (± 4.60 ms) 1.94% 👌
table-clear-1k metric base(31fd3f9) target(806df66) trend
benchmark-table/clear/1k duration 11.85 (± 0.55 ms) 11.85 (± 0.55 ms) 0.00% 👌
table-create-10k metric base(31fd3f9) target(806df66) trend
benchmark-table/create/10k duration 839.50 (± 5.60 ms) 850.70 (± 7.40 ms) -1.33% 👎
table-create-1k metric base(31fd3f9) target(806df66) trend
benchmark-table/create/1k duration 101.25 (± 1.75 ms) 101.60 (± 1.60 ms) -0.35% 👌
table-update-10th-1k metric base(31fd3f9) target(806df66) trend
benchmark-table/update-10th/1k duration 87.50 (± 6.00 ms) 92.70 (± 5.50 ms) -5.94% 👌
tablecmp-append-1k metric base(31fd3f9) target(806df66) trend
benchmark-table-component/append/1k duration 246.40 (± 2.90 ms) 241.80 (± 8.90 ms) 1.87% 👍
tablecmp-clear-1k metric base(31fd3f9) target(806df66) trend
benchmark-table/clear/1k duration 30.90 (± 1.60 ms) 31.80 (± 0.90 ms) -2.91% 👎
tablecmp-create-10k metric base(31fd3f9) target(806df66) trend
benchmark-table-component/create/10k duration 1683.10 (± 7.90 ms) 1675.40 (± 10.90 ms) 0.46% 👍
tablecmp-create-1k metric base(31fd3f9) target(806df66) trend
benchmark-table-component/create/1k duration 194.60 (± 4.70 ms) 194.00 (± 3.80 ms) 0.31% 👌
tablecmp-update-10th-1k metric base(31fd3f9) target(806df66) trend
benchmark-table-component/update-10th/1k duration 75.40 (± 4.50 ms) 76.30 (± 3.70 ms) -1.19% 👌

@@ -21,15 +21,21 @@
"release:internalbeta": "yarn prepare && lerna publish --canary=beta --skip-git --yes --registry='https://nexus.soma.salesforce.com/nexus/content/repositories/npmjs-internal/'",
"changelog": "yarn changelog:generate && yarn changelog:publish",
"changelog:generate": "conventional-changelog -p angular -i CHANGELOG.md -s -r 0",
"changelog:publish": "git add CHANGELOG.md && git commit -m 'docs(changelog): publish release changelog' && git push",
"commitmsg": "validate-commit-msg"
Copy link
Member

Choose a reason for hiding this comment

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

How was this script getting triggered before?

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

with an old husky interface, by specifying 'commitmsg' you tell husky to intercept commit message - automagic. With a new version of husky they explicitly make you create 'husky' object in your packages.json

Copy link
Member

@ekashida ekashida left a comment

Choose a reason for hiding this comment

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

LGTM

@diervo diervo merged commit 75722cb into master May 13, 2018
@diervo diervo deleted the apapko/pre-commit-fix branch May 13, 2018 17:40
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants