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

Add Button, Tooltip, and KeyListener packages #52

Merged
merged 11 commits into from Dec 28, 2018

Conversation

janpaul123
Copy link
Contributor

@janpaul123 janpaul123 commented Dec 27, 2018

Just some small packages, in preparation for the bigger addition of
webviz-core.

Also reran npm run flow-typed-rebuild to get some new definitions for
the new dependencies.

Test plan: verified manually that these packages work when copied over
to the node_modules directory of our proprietary repo. Also made sure
tests/flow/lint works.

Just some small packages, in preparation for the bigger addition of
`webviz-core`.

Note that I opted to use `cruise-button` and `cruise-tooltip` instead of
`@cruise/button` and `@cruise/tooltip`. This is to make the setup with
Lerna and Webpack (when we add stories and `webviz-core`) a bit simpler.

Also reran `npm run flow-typed-rebuild` to get some new definitions for
the new dependencies.

Test plan: verified manually that these packages work when copied over
to the node_modules directory of our proprietary repo. Also made sure
tests/flow/lint works.
Jan Paul Posma added 5 commits December 28, 2018 00:02
Per Jacob’s suggestions:
- cruise-button => @cruise/button
- cruise-tooltip => @cruise/tooltip
(these required an additional line to lerna.json to have Lerna pick them
up)
- keylistener => react-key-listener (to make clear that it’s a React
component, and we’ve been using the KeyListener capitalisation so it
makes sense to translate it into lisp-case/dash-case like that).
Because @cruise was already taken. :)
README.md Outdated Show resolved Hide resolved
@@ -33,5 +34,6 @@
},
"devDependencies": {
"flow-bin": "^0.89.0"
}
},
"gitHead": "a799782ff908186f8c42c37f39806d251922ca6e"
Copy link
Contributor

Choose a reason for hiding this comment

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

What's this for?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Lerna added that automatically when publishing.

README.md Outdated Show resolved Hide resolved
README.md Outdated Show resolved Hide resolved
packages/@cruise-automation/button/README.md Outdated Show resolved Hide resolved
README.md Outdated Show resolved Hide resolved
@jtbandes jtbandes changed the title Add a few more packages to this repo Add Button, Tooltip, and KeyListener packages Dec 28, 2018
jtbandes and others added 5 commits December 28, 2018 11:41
Co-Authored-By: janpaul123 <janpaul123@users.noreply.github.com>
Co-Authored-By: janpaul123 <janpaul123@users.noreply.github.com>
Co-Authored-By: janpaul123 <janpaul123@users.noreply.github.com>
Co-Authored-By: janpaul123 <janpaul123@users.noreply.github.com>
Co-Authored-By: janpaul123 <janpaul123@users.noreply.github.com>
@janpaul123 janpaul123 merged commit 56da090 into master Dec 28, 2018
@janpaul123 janpaul123 deleted the add-some-small-packages branch December 28, 2018 19:48
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants