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

Include flow types into library #649

Merged
merged 8 commits into from
Apr 19, 2018
Merged

Include flow types into library #649

merged 8 commits into from
Apr 19, 2018

Conversation

istarkov
Copy link
Contributor

This removes the need of flow-typed, manual copying anything etc
Now types are provided with recompose

@istarkov istarkov self-assigned this Apr 18, 2018
@istarkov
Copy link
Contributor Author

@TrySound can you help me a little, do I need to place index.js.flow into dist folder too, or placing it as it is will be enough

@istarkov istarkov requested a review from wuct April 18, 2018 23:59
package.json Outdated
"test:watch": "cross-env BABEL_ENV=cjs jest --watch",
"release": "node scripts/release.js",
"postinstall": "node scripts/installNestedPackageDeps.js",
"format": "prettier --semi false --trailing-comma es5 --single-quote --write 'scripts/*.js' 'src/packages/*/*.js' 'src/packages/*/!(node_modules)/**/*.js'",
"precommit": "lint-staged",
"prepush": "yarn test"
"prepush": "yarn test",
"flow": "flow"
Copy link
Contributor

Choose a reason for hiding this comment

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

it's not necessary with yarn

@istarkov istarkov merged commit d9042e7 into master Apr 19, 2018
@istarkov istarkov deleted the new-flow branch April 19, 2018 08:09
neighborhood999 added a commit to neighborhood999/recompose that referenced this pull request Apr 22, 2018
* Add CHANGELOG.md

* add lifecycle example in docs

* filter packages by the existence of a package.json file (acdlite#575)

* use static class properties to convert toClass implicit return arrow

* Adding an optional callback argument to the `dispatch` method provided by `withReducer`

* Fix babel-plugin-lodash name on readme (acdlite#606)

* Add a debugging section in README

* Fix a typo in README

* Update docs & readme

* babel-preset-es2015 -> babel-preset-env

* change rest element to be the last in restructuring

* Pass blacklist argument to hoist-non-react-statics using hoistStatics

* Add blacklist docs for hoistStatics (acdlite#635)

* Refactor rollup config (acdlite#645)

- move all bundles into dist folder
- add size snapshot
- remove treeshake test

* Update dependencies before changes according to React 16.3+ (acdlite#646)

* New lifecycles support (acdlite#647)

* Remove cache from withHandlers

* Update createSink

* Update withPropsOnChange

* remove memoize as useless

* Simplify code

* Include flow types into library (acdlite#649)

* Fix types for modern flow

* Move flow declarations and test into recompose

* Fix docs

* Remove errors

* Add yarn-error to gitignore

* Append flow 2 test

* Update release to support flow types

* Remove unneeded command

* recompose v0.27.0

* chore: update yarn.lock

* chore: update yarn.lock

* fix: fix scripts

* fix: remove flow command in test
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants