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

Codebase migrations #126

Merged
merged 8 commits into from Jan 24, 2019
Merged

Codebase migrations #126

merged 8 commits into from Jan 24, 2019

Conversation

danilowoz
Copy link
Owner

Test to Jest #117
Codebase to typescript #120

* test(Refactor):

* Holder / SVG tests

* Svg tests

* Removed old tests

* Coverage

* Migrate to travis

* Update travis

* Update travis

* ci(Release):

* test(package):

* ci(Travis):
@danilowoz danilowoz self-assigned this Jan 3, 2019
@codecov
Copy link

codecov bot commented Jan 3, 2019

Codecov Report

❗ No coverage uploaded for pull request base (master@fb0e65b). Click here to learn what that means.
The diff coverage is 100%.

Impacted file tree graph

@@            Coverage Diff            @@
##             master     #126   +/-   ##
=========================================
  Coverage          ?   96.72%           
=========================================
  Files             ?        9           
  Lines             ?       61           
  Branches          ?        9           
=========================================
  Hits              ?       59           
  Misses            ?        0           
  Partials          ?        2
Impacted Files Coverage Δ
src/uid.ts 100% <ø> (ø)
src/Holder.tsx 100% <100%> (ø)
src/stylized/BulletListStyle.tsx 100% <100%> (ø)
src/stylized/CodeStyle.tsx 100% <100%> (ø)
src/index.ts 100% <100%> (ø)
src/Svg.tsx 92.85% <100%> (ø)
src/stylized/ListStyle.tsx 100% <100%> (ø)
src/stylized/FacebookStyle.tsx 100% <100%> (ø)
src/stylized/InstagramStyle.tsx 100% <100%> (ø)

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update fb0e65b...3572fbb. Read the comment docs.

danilowoz and others added 5 commits January 3, 2019 13:40
BREAKING CHANGE: Flip all content instead of only flip the animation direction

Closes #122
* Ignore rpt2_cache

* Add typescript pkg; Add tsc runner script

* Replace babel with ts compiler

* Typescript configs

* Update lockfile

* Convert Holder to tsx

* Convert svg to tsx

* Convert index.js to ts

* Convert uid to ts

* Convert BulletListStyle to tsx

* Convert CodeStyle to tsx

* Convert FacebookStyle to tsx

* Convert InstagramStyle to tsx

* Convert ListStyle to tsx

* Remove flow preset

* Add ts-node for ts execustion env for nodejs

* Remove flow preset & rollup-babel plugin; Add ts-node for ts env in nodejs

* Update lockfile

* Update watch script for tsc

* Rename IProps to IContentLoaderProps; Use FC for validation

* Remove unwanted ISvgProps; import IContentLoaderProps for type validations

* import and re-export IContentLoaderProps for better types

* Import and use types from IContentLoaderProps

* Remove eslint; replaced by tslint and tslint-prettier

* Add tslint-config-prettier

* Implement stricter type checking

* Remove comments as it is handled by tslint-config-prettier now

* Replace lint by tsc

* remove eslint and flow configs

* Add style default props

* Add jest options to include ts test files

* Add options to load json file

* Migrate tests from JS to TS for better interoperability

* Updated snapshots

* Remove ts-node

* Break line after react import

* Remove export from bottom of file and move to component definition

BREAKING CHANGE: Migrate codebase to typescript

Closes #120
@danilowoz danilowoz changed the title Migrations Codebase migrations Jan 3, 2019
@danilowoz danilowoz merged commit bfd2707 into master Jan 24, 2019
@danilowoz
Copy link
Owner Author

🎉 This PR is included in version 4.0.0 🎉

The release is available on:

Your semantic-release bot 📦🚀

@danilowoz danilowoz deleted the develop branch September 25, 2019 13:03
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants