Skip to content

Setup: lint, flow, storybook. Proposed Package structure.#1

Merged
DianaSuvorova merged 7 commits intomasterfrom
setup
Mar 12, 2018
Merged

Setup: lint, flow, storybook. Proposed Package structure.#1
DianaSuvorova merged 7 commits intomasterfrom
setup

Conversation

@DianaSuvorova
Copy link
Collaborator

@DianaSuvorova DianaSuvorova commented Mar 9, 2018

There is a lot going on here. Please provide feedback.

To try it out

  • check out this branch
  • yarn run storybook

I added storybook as a dev/testing set up. It is also can be used for demo/docs purposes I was not focusing on the latter.

In this PR:

  • linting
  • commit linting
  • prettier
  • flow
  • storybook

Didn't add but planning for future PR:

  • test infra (unit + integration)
  • potentially semanticrelease (I am a fan)

@DianaSuvorova DianaSuvorova requested a review from nadiia March 9, 2018 22:16
.eslintrc.js Outdated
"flowtype"
],
"extends": [
"airbnb",
Copy link
Contributor

Choose a reason for hiding this comment

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

we probably should use eslint-config-uber-universal-stage-3 instead

package.json Outdated
"name": "baseui",
"version": "0.0.1",
"description": "React implementation of uber design components platform.",
"main": "src/index.js",
Copy link
Contributor

Choose a reason for hiding this comment

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

I think we'll have to transpile, so it'll be dist/index.js

@nadiia
Copy link
Contributor

nadiia commented Mar 9, 2018

let's do lower case folders names src/button

package.json Outdated
"base-ui"
],
"author": "",
"license": "ISC",
Copy link
Contributor

@schnerd schnerd Mar 9, 2018

Choose a reason for hiding this comment

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

MIT + add LICENSE file? (can probably copy from fusion)

@schnerd
Copy link
Contributor

schnerd commented Mar 9, 2018

lgtm! excited to try out storybook. we should probably add prettier sooner than later too.

@DianaSuvorova
Copy link
Collaborator Author

@nadiia, added eslint-config-uber-universal-stage-3. I kept airbnb one (because it has nice set of rules for react) and have uber's come after so it overrides all airbnb rules. src/button is lower case now as well

@schnerd LICENSE updated to match fusion.

Also I added prettier.

@nadiia
Copy link
Contributor

nadiia commented Mar 12, 2018

I think there is a react plugin we normally use, so we can get rid of airbnb config and use that one instead, but it's a minor thing that we can change any time later. Looks great, let's merge!

@DianaSuvorova DianaSuvorova merged commit 13b7ff6 into master Mar 12, 2018
@DianaSuvorova DianaSuvorova deleted the setup branch April 17, 2018 15:55
UberOpenSourceBot pushed a commit that referenced this pull request Nov 7, 2019
test(vrt): update visual snapshots for leyan/flex-grid [skip ci]
@nadiia nadiia mentioned this pull request Dec 11, 2019
3 tasks
UberOpenSourceBot pushed a commit that referenced this pull request Jan 8, 2020
test(vrt): update visual snapshots for feat/card-img-props [skip ci]
UberOpenSourceBot pushed a commit that referenced this pull request Feb 4, 2020
test(vrt): update visual snapshots for table-grid-sort [skip ci]
UberOpenSourceBot pushed a commit that referenced this pull request Mar 2, 2020
UberOpenSourceBot pushed a commit that referenced this pull request Mar 30, 2020
test(vrt): update visual snapshots for YashGadle:master [skip ci]
UberOpenSourceBot pushed a commit that referenced this pull request Jul 16, 2020
…ticonsSize

test(vrt): update visual snapshots for TanyaChauhan9:flexibleEmoticonsSize [skip ci]
UberOpenSourceBot pushed a commit that referenced this pull request Dec 16, 2020
test(vrt): update visual snapshots for Deliaz:progress-bar-rounded [skip ci]
UberOpenSourceBot pushed a commit that referenced this pull request Mar 23, 2021
UberOpenSourceBot pushed a commit that referenced this pull request Jun 1, 2021
test(vrt): update visual snapshots for gevgeny:shadow-dom-support [skip ci]
@cloudflare-workers-and-pages
Copy link

cloudflare-workers-and-pages bot commented Mar 31, 2022

Deploying with  Cloudflare Pages  Cloudflare Pages

Latest commit: d842c01
Status: ✅  Deploy successful!
Preview URL: https://1a42eddb.baseweb.pages.dev
Branch Preview URL: https://main.baseweb.pages.dev

View logs

@MarcusMorba MarcusMorba mentioned this pull request Apr 7, 2022
chasestarr pushed a commit that referenced this pull request May 24, 2022
* feat(payment-card): added uatp support

* feat(payment-card): added uatp support

* test(vrt): update visual snapshots for 539d81f [skip ci] (#1)

Co-authored-by: UberOpenSourceBot <UberOpenSourceBot@users.noreply.github.com>

Co-authored-by: UberOpenSourceBot <33560951+UberOpenSourceBot@users.noreply.github.com>
Co-authored-by: UberOpenSourceBot <UberOpenSourceBot@users.noreply.github.com>
UberOpenSourceBot pushed a commit that referenced this pull request Jul 6, 2022
test(vrt): update visual snapshots for fsilvaco:fix-prop-divider [skip ci]
UberOpenSourceBot pushed a commit that referenced this pull request Oct 3, 2022
test(vrt): update visual snapshots for mia-le:ml_datatable-submit [skip ci]
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