Skip to content
This repository has been archived by the owner on Jan 16, 2022. It is now read-only.

Refactor: migrating Flow to Typescript #47

Merged
merged 69 commits into from Jun 20, 2019

Conversation

priscilawebdev
Copy link
Contributor

@priscilawebdev priscilawebdev commented May 3, 2019

This PR convert the code base to Typescript, the changes are the following:

  • migrate code base to Typescript (3.4.x)
  • enable eslint and @typescript-eslint/eslint-plugin (warnings still need to be addressed in future pull request
  • update relevant dependencies for this PR (linting, etc)
  • enable bundlezise (it was disabled for some reason)

@priscilawebdev priscilawebdev self-assigned this May 3, 2019
package.json Outdated Show resolved Hide resolved
package.json Outdated Show resolved Hide resolved
package.json Outdated Show resolved Hide resolved
tools/webpack.config.js Outdated Show resolved Hide resolved
yarn.lock Outdated Show resolved Hide resolved
Copy link
Member

@juanpicado juanpicado left a comment

Choose a reason for hiding this comment

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

Remember, to make this works, we cannot change any library yet and no refactorings. We must coordinate since we have other PR in progress and any new bug might be reported anytime while this is PR is open. I'll go with 100% merges from 4.x-master, but it is gonna be challenging since the files are basically new.

I will help on this after May 15th launch. 👍

Good job 👏

@priscilawebdev
Copy link
Contributor Author

priscilawebdev commented Jun 15, 2019

@juanpicado Thank you! About the Search test it was my fault...I forgot to remove the "test.only" from one test...Now it should be fine :-)

eslint needs expecitely to know which file has to lint, by default is JS, in this case we need also ts,tsx files eslint . --ext .js,.ts
@juanpicado juanpicado self-requested a review June 19, 2019 16:01
chore: clean warnings

chore: remove github actions test phases

chore: remove dupe rule
- loading images with css is more performant than using img html tags, switching this might be a breaking change
- restore no-empty-source seems the linting do not accept false
- update snapshots
- remove @material-ui/styles
@juanpicado juanpicado force-pushed the refactor/7_convert_flow_type_to_typescript branch from a95a2b6 to f205bb3 Compare June 19, 2019 17:43
Copy link
Member

@juanpicado juanpicado left a comment

Choose a reason for hiding this comment

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

It has been a long way, but we get there. I updated the PR content @priscilawebdev according to the changes of this PR. Thanks, good job 👏

@juanpicado juanpicado added 4.x-master enhancement New feature or request and removed New UI labels Jun 20, 2019
@juanpicado juanpicado merged commit 6b5d0b7 into 4.x-master Jun 20, 2019
@delete-merged-branch delete-merged-branch bot deleted the refactor/7_convert_flow_type_to_typescript branch June 20, 2019 12:37
sergiohgz added a commit that referenced this pull request Jul 9, 2019
- Remove unnecessary quotes in Emotion css templated string
- Revert md prop removed in #47 (with the size set before that)
juanpicado added a commit to verdaccio/verdaccio that referenced this pull request Jul 29, 2019
- fix: https://github.com/verdaccio/ui/issues/76
- fix: https://github.com/verdaccio/ui/issues/75
- fix: verdaccio/ui#106
- feat: verdaccio/ui#47

Co-Authored-By: Priscila Oliveira <priscilawebdev@gmail.com>
Co-Authored-By: Sergio Hg <sergiohgz@users.noreply.github.com>
Co-Authored-By: Griffith <griffithtp@users.noreply.github.com>
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
enhancement New feature or request
Projects
None yet
4 participants