-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat(fp): convert fp to sub-package, and add fp to all group packages
Convert fp support to sub-package in all packages that support fp. Adding a sub-package of fp to all group packages, for the exports of all methods that in the group that have support in fp. BREAKING CHANGES: remove "@promises/-fp" package, use "@promises/-all/fp" sub-package instead.
- Loading branch information
Showing
63 changed files
with
448 additions
and
104 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,7 +1,7 @@ | ||
{ | ||
"lerna": "2.9.0", | ||
"packages": [ | ||
"modules/**" | ||
"modules/*" | ||
], | ||
"version": "0.4.0" | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,30 @@ | ||
/** | ||
* @module @promises/-all/fp | ||
* @copyright © 2017 Yisrael Eliav <yisraelx@gmail.com> (https://github.com/yisraelx) | ||
* @license MIT | ||
*/ | ||
|
||
export {default as error} from '@promises/error/fp'; | ||
export {default as everyParallel} from '@promises/every-parallel/fp'; | ||
export {default as everySeries} from '@promises/every-series/fp'; | ||
export {default as filterParallel} from '@promises/filter-parallel/fp'; | ||
export {default as filterSeries} from '@promises/filter-series/fp'; | ||
export {default as finally} from '@promises/finally/fp'; | ||
export {default as forEachParallel} from '@promises/for-each-parallel/fp'; | ||
export {default as forEachRightSeries} from '@promises/for-each-right-series/fp'; | ||
export {default as forEachSeries} from '@promises/for-each-series/fp'; | ||
export {default as mapParallel} from '@promises/map-parallel/fp'; | ||
export {default as mapSeries} from '@promises/map-series/fp'; | ||
export {default as next} from '@promises/next/fp'; | ||
export {default as reduceRightSeries} from '@promises/reduce-right-series/fp'; | ||
export {default as reduceSeries} from '@promises/reduce-series/fp'; | ||
export {default as rejectParallel} from '@promises/reject-parallel/fp'; | ||
export {default as rejectSeries} from '@promises/reject-series/fp'; | ||
export {default as reset} from '@promises/reset/fp'; | ||
export {default as sleep} from '@promises/sleep/fp'; | ||
export {default as someParallel} from '@promises/some-parallel/fp'; | ||
export {default as someSeries} from '@promises/some-series/fp'; | ||
export {default as timesParallel} from '@promises/times-parallel/fp'; | ||
export {default as timesSeries} from '@promises/times-series/fp'; | ||
export {default as toCallback} from '@promises/to-callback/fp'; | ||
export {default as wait} from '@promises/wait/fp'; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
{ | ||
"name": "@promises/-all/fp", | ||
"main": "es5.js", | ||
"browser": "umd.min.js", | ||
"module": "index.js", | ||
"es2015": "index.js", | ||
"typings": "index.d.ts", | ||
"bundle": "bundle.min.js" | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
/** | ||
* @module @promises/-constructor/fp | ||
* @copyright © 2017 Yisrael Eliav <yisraelx@gmail.com> (https://github.com/yisraelx) | ||
* @license MIT | ||
*/ | ||
|
||
export {default as timesParallel} from '@promises/times-parallel/fp'; | ||
export {default as timesSeries} from '@promises/times-series/fp'; | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
{ | ||
"name": "@promises/-constructor/fp", | ||
"main": "es5.js", | ||
"browser": "umd.min.js", | ||
"module": "index.js", | ||
"es2015": "index.js", | ||
"typings": "index.d.ts", | ||
"bundle": "bundle.min.js" | ||
} |
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
/** | ||
* @module @promises/-parallel/fp | ||
* @copyright © 2017 Yisrael Eliav <yisraelx@gmail.com> (https://github.com/yisraelx) | ||
* @license MIT | ||
*/ | ||
|
||
export { default as everyParallel } from '@promises/every-parallel/fp'; | ||
export { default as filterParallel } from '@promises/filter-parallel/fp'; | ||
export { default as forEachParallel } from '@promises/for-each-parallel/fp'; | ||
export { default as mapParallel } from '@promises/map-parallel/fp'; | ||
export { default as rejectParallel } from '@promises/reject-parallel/fp'; | ||
export { default as someParallel } from '@promises/some-parallel/fp'; | ||
export { default as timesParallel } from '@promises/times-parallel/fp'; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
{ | ||
"name": "@promises/-parallel/fp", | ||
"main": "es5.js", | ||
"browser": "umd.min.js", | ||
"module": "index.js", | ||
"es2015": "index.js", | ||
"typings": "index.d.ts", | ||
"bundle": "bundle.min.js" | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
{ | ||
"name": "@promises/-prototype/fp", | ||
"main": "es5.js", | ||
"browser": "umd.min.js", | ||
"module": "index.js", | ||
"es2015": "index.js", | ||
"typings": "index.d.ts", | ||
"bundle": "bundle.min.js" | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,16 @@ | ||
/** | ||
* @module @promises/-series/fp | ||
* @copyright © 2017 Yisrael Eliav <yisraelx@gmail.com> (https://github.com/yisraelx) | ||
* @license MIT | ||
*/ | ||
|
||
export { default as everySeries } from '@promises/every-series/fp'; | ||
export { default as filterSeries } from '@promises/filter-series/fp'; | ||
export { default as forEachSeries } from '@promises/for-each-series/fp'; | ||
export { default as forEachRightSeries } from '@promises/for-each-right-series/fp'; | ||
export { default as mapSeries } from '@promises/map-series/fp'; | ||
export { default as reduceSeries } from '@promises/reduce-series/fp'; | ||
export { default as reduceRightSeries } from '@promises/reduce-right-series/fp'; | ||
export { default as rejectSeries } from '@promises/reject-series/fp'; | ||
export { default as someSeries } from '@promises/some-series/fp'; | ||
export { default as timesSeries } from '@promises/times-series/fp'; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
{ | ||
"name": "@promises/-series/fp", | ||
"main": "es5.js", | ||
"browser": "umd.min.js", | ||
"module": "index.js", | ||
"es2015": "index.js", | ||
"typings": "index.d.ts", | ||
"bundle": "bundle.min.js" | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
{ | ||
"name": "@promises/error/fp", | ||
"main": "index.js", | ||
"browser": "bundle.umd.js", | ||
"es2015": "index.es6.js", | ||
"typings": "index.d.ts" | ||
} |
7 changes: 6 additions & 1 deletion
7
modules/every-parallel/fp.ts → modules/every-parallel/fp/index.ts
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
{ | ||
"name": "@promises/every-parallel/fp", | ||
"main": "index.js", | ||
"browser": "bundle.umd.js", | ||
"es2015": "index.es6.js", | ||
"typings": "index.d.ts" | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
{ | ||
"name": "@promises/every-series/fp", | ||
"main": "index.js", | ||
"browser": "bundle.umd.js", | ||
"es2015": "index.es6.js", | ||
"typings": "index.d.ts" | ||
} |
7 changes: 6 additions & 1 deletion
7
modules/filter-parallel/fp.ts → modules/filter-parallel/fp/index.ts
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
{ | ||
"name": "@promises/filter-parallel/fp", | ||
"main": "index.js", | ||
"browser": "bundle.umd.js", | ||
"es2015": "index.es6.js", | ||
"typings": "index.d.ts" | ||
} |
7 changes: 6 additions & 1 deletion
7
modules/filter-series/fp.ts → modules/filter-series/fp/index.ts
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
{ | ||
"name": "@promises/filter-series/fp", | ||
"main": "index.js", | ||
"browser": "bundle.umd.js", | ||
"es2015": "index.es6.js", | ||
"typings": "index.d.ts" | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
{ | ||
"name": "@promises/finally/fp", | ||
"main": "index.js", | ||
"browser": "bundle.umd.js", | ||
"es2015": "index.es6.js", | ||
"typings": "index.d.ts" | ||
} |
7 changes: 6 additions & 1 deletion
7
modules/for-each-parallel/fp.ts → modules/for-each-parallel/fp/index.ts
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
{ | ||
"name": "@promises/for-each-parallel/fp", | ||
"main": "index.js", | ||
"browser": "bundle.umd.js", | ||
"es2015": "index.es6.js", | ||
"typings": "index.d.ts" | ||
} |
Oops, something went wrong.