Skip to content

Commit

Permalink
chore(package): change of the export properties (main, browser, modul…
Browse files Browse the repository at this point in the history
…e, es2015)

BREAKING CHANGES:
change properties:
* main: umd.js => es5.js
* browser: umd.js => umd.min.js
* module: es5.js => index.js
* bundle: bundle.js => bundle.min.js
  • Loading branch information
yisraelx committed Feb 27, 2018
1 parent ddedc6a commit 5a146dc
Show file tree
Hide file tree
Showing 55 changed files with 224 additions and 231 deletions.
18 changes: 9 additions & 9 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,15 +4,6 @@
[![MIT License](https://img.shields.io/npm/l/@promises/core.svg)](https://github.com/yisraelx/promises/blob/master/LICENSE)
[![Commitizen friendly](https://img.shields.io/badge/commitizen-friendly-brightgreen.svg)](http://commitizen.github.io/cz-cli/)

## Compatibility
These modules are written in typescript and available in ES5 and ES6 standard, the requirements are a global __Promise__ (native or polyfill).
- main - umd format and es5 standard (umd.js, umd.min.js)
- module - commonjs module and es5 standard (es5.js)
- es2015 - commonjs module and es6 standard (index.js)
- browser - umd format and es5 standard (umd.js, umd.min.js)
- bundle - bundle in umd format includes all scope dependencies in es5 standard (bundle.js, bundle.min.js)
- typings - typescript declaration file (index.d.ts)

## Packages structure
##### The code is divided into many small modules and each module is a package in itself ([Packages List](https://github.com/yisraelx/promises/blob/master/PACKAGES.md)).
##### Each package in the scoop has only one function or class and it in the default export of the package.
Expand Down Expand Up @@ -159,6 +150,15 @@ run(forEachWrap);
// => end 5
// => end 7
```

## Compatibility
These modules are written in typescript and available in ES5 and ES6 standard, the requirements are a global __Promise__ (native or polyfill).
- main - commonjs module and es5 standard (es5.js)
- es2015/module - commonjs module and es6 standard (index.js)
- browser - umd format and es5 standard (umd.js, umd.min.js)
- bundle - bundle in umd format includes all scope dependencies in es5 standard (bundle.js, bundle.min.js)
- typings - typescript declaration file (index.d.ts)

## License
Copyright © 2017 [Yisrael Eliav](https://github.com/yisraelx),
Licensed under the [MIT license](https://github.com/yisraelx/promises/blob/master/LICENSE).
8 changes: 4 additions & 4 deletions modules/-all/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,12 +2,12 @@
"name": "@promises/-all",
"version": "0.2.0",
"description": "All is a group of packages of Promises library",
"main": "umd.js",
"browser": "umd.js",
"module": "es5.js",
"main": "es5.js",
"browser": "umd.min.js",
"module": "index.js",
"es2015": "index.js",
"typings": "index.d.ts",
"bundle": "bundle.js",
"bundle": "bundle.min.js",
"author": {
"name": "Yisrael Eliev",
"url": "https://github.com/yisraelx",
Expand Down
8 changes: 4 additions & 4 deletions modules/-constructor/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,12 +2,12 @@
"name": "@promises/-constructor",
"version": "0.2.0",
"description": "Constructor is a group of packages of Promises library",
"main": "umd.js",
"browser": "umd.js",
"module": "es5.js",
"main": "es5.js",
"browser": "umd.min.js",
"module": "index.js",
"es2015": "index.js",
"typings": "index.d.ts",
"bundle": "bundle.js",
"bundle": "bundle.min.js",
"author": {
"name": "Yisrael Eliev",
"url": "https://github.com/yisraelx",
Expand Down
8 changes: 4 additions & 4 deletions modules/-parallel/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,12 +2,12 @@
"name": "@promises/-parallel",
"version": "0.2.0",
"description": "Parallel is a group of packages of Promises library",
"main": "umd.js",
"browser": "umd.js",
"module": "es5.js",
"main": "es5.js",
"browser": "umd.min.js",
"module": "index.js",
"es2015": "index.js",
"typings": "index.d.ts",
"bundle": "bundle.js",
"bundle": "bundle.min.js",
"author": {
"name": "Yisrael Eliev",
"url": "https://github.com/yisraelx",
Expand Down
8 changes: 4 additions & 4 deletions modules/-prototype/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,12 +2,12 @@
"name": "@promises/-prototype",
"version": "0.2.0",
"description": "Prototype is a group of packages of Promises library",
"main": "umd.js",
"browser": "umd.js",
"module": "es5.js",
"main": "es5.js",
"browser": "umd.min.js",
"module": "index.js",
"es2015": "index.js",
"typings": "index.d.ts",
"bundle": "bundle.js",
"bundle": "bundle.min.js",
"author": {
"name": "Yisrael Eliev",
"url": "https://github.com/yisraelx",
Expand Down
8 changes: 4 additions & 4 deletions modules/-rxjs/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,12 +2,12 @@
"name": "@promises/-rxjs",
"version": "0.2.0",
"description": "Rxjs is a group of packages of Promises library",
"main": "umd.js",
"browser": "umd.js",
"module": "es5.js",
"main": "es5.js",
"browser": "umd.min.js",
"module": "index.js",
"es2015": "index.js",
"typings": "index.d.ts",
"bundle": "bundle.js",
"bundle": "bundle.min.js",
"author": {
"name": "Yisrael Eliev",
"url": "https://github.com/yisraelx",
Expand Down
8 changes: 4 additions & 4 deletions modules/-series/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,12 +2,12 @@
"name": "@promises/-series",
"version": "0.2.0",
"description": "Series is a group of packages of Promises library",
"main": "umd.js",
"browser": "umd.js",
"module": "es5.js",
"main": "es5.js",
"browser": "umd.min.js",
"module": "index.js",
"es2015": "index.js",
"typings": "index.d.ts",
"bundle": "bundle.js",
"bundle": "bundle.min.js",
"author": {
"name": "Yisrael Eliev",
"url": "https://github.com/yisraelx",
Expand Down
8 changes: 4 additions & 4 deletions modules/_create-checks-boolean/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,12 +2,12 @@
"name": "@promises/_create-checks-boolean",
"version": "0.2.0",
"description": "Create Checks Boolean is a internal package from Promises library",
"main": "umd.js",
"browser": "umd.js",
"module": "es5.js",
"main": "es5.js",
"browser": "umd.min.js",
"module": "index.js",
"es2015": "index.js",
"typings": "index.d.ts",
"bundle": "bundle.js",
"bundle": "bundle.min.js",
"author": {
"name": "Yisrael Eliev",
"url": "https://github.com/yisraelx",
Expand Down
8 changes: 4 additions & 4 deletions modules/_create-filter/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,12 +2,12 @@
"name": "@promises/_create-filter",
"version": "0.2.0",
"description": "Create Filter is a internal package from Promises library",
"main": "umd.js",
"browser": "umd.js",
"module": "es5.js",
"main": "es5.js",
"browser": "umd.min.js",
"module": "index.js",
"es2015": "index.js",
"typings": "index.d.ts",
"bundle": "bundle.js",
"bundle": "bundle.min.js",
"author": {
"name": "Yisrael Eliev",
"url": "https://github.com/yisraelx",
Expand Down
8 changes: 4 additions & 4 deletions modules/_create-for-each-series/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,12 +2,12 @@
"name": "@promises/_create-for-each-series",
"version": "0.2.0",
"description": "Create For Each Series is a internal package from Promises library",
"main": "umd.js",
"browser": "umd.js",
"module": "es5.js",
"main": "es5.js",
"browser": "umd.min.js",
"module": "index.js",
"es2015": "index.js",
"typings": "index.d.ts",
"bundle": "bundle.js",
"bundle": "bundle.min.js",
"author": {
"name": "Yisrael Eliev",
"url": "https://github.com/yisraelx",
Expand Down
8 changes: 4 additions & 4 deletions modules/_create-map/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,12 +2,12 @@
"name": "@promises/_create-map",
"version": "0.2.0",
"description": "Create Map is a internal package from Promises library",
"main": "umd.js",
"browser": "umd.js",
"module": "es5.js",
"main": "es5.js",
"browser": "umd.min.js",
"module": "index.js",
"es2015": "index.js",
"typings": "index.d.ts",
"bundle": "bundle.js",
"bundle": "bundle.min.js",
"author": {
"name": "Yisrael Eliev",
"url": "https://github.com/yisraelx",
Expand Down
8 changes: 4 additions & 4 deletions modules/_create-reduce/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,12 +2,12 @@
"name": "@promises/_create-reduce",
"version": "0.2.0",
"description": "Create Reduce is a internal package from Promises library",
"main": "umd.js",
"browser": "umd.js",
"module": "es5.js",
"main": "es5.js",
"browser": "umd.min.js",
"module": "index.js",
"es2015": "index.js",
"typings": "index.d.ts",
"bundle": "bundle.js",
"bundle": "bundle.min.js",
"author": {
"name": "Yisrael Eliev",
"url": "https://github.com/yisraelx",
Expand Down
8 changes: 4 additions & 4 deletions modules/_keys/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,12 +2,12 @@
"name": "@promises/_keys",
"version": "0.2.0",
"description": "Keys is a internal package from Promises library",
"main": "umd.js",
"browser": "umd.js",
"module": "es5.js",
"main": "es5.js",
"browser": "umd.min.js",
"module": "index.js",
"es2015": "index.js",
"typings": "index.d.ts",
"bundle": "bundle.js",
"bundle": "bundle.min.js",
"author": {
"name": "Yisrael Eliev",
"url": "https://github.com/yisraelx",
Expand Down
8 changes: 4 additions & 4 deletions modules/compose/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,12 +2,12 @@
"name": "@promises/compose",
"version": "0.2.0",
"description": "Compose is package from Promises library",
"main": "umd.js",
"browser": "umd.js",
"module": "es5.js",
"main": "es5.js",
"browser": "umd.min.js",
"module": "index.js",
"es2015": "index.js",
"typings": "index.d.ts",
"bundle": "bundle.js",
"bundle": "bundle.min.js",
"author": {
"name": "Yisrael Eliev",
"url": "https://github.com/yisraelx",
Expand Down
8 changes: 4 additions & 4 deletions modules/core/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,12 +2,12 @@
"name": "@promises/core",
"version": "0.2.0",
"description": "Core is package from Promises library",
"main": "umd.js",
"browser": "umd.js",
"module": "es5.js",
"main": "es5.js",
"browser": "umd.min.js",
"module": "index.js",
"es2015": "index.js",
"typings": "index.d.ts",
"bundle": "bundle.js",
"bundle": "bundle.min.js",
"author": {
"name": "Yisrael Eliev",
"url": "https://github.com/yisraelx",
Expand Down
8 changes: 4 additions & 4 deletions modules/create/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,12 +2,12 @@
"name": "@promises/create",
"version": "0.2.0",
"description": "Create is package from Promises library",
"main": "umd.js",
"browser": "umd.js",
"module": "es5.js",
"main": "es5.js",
"browser": "umd.min.js",
"module": "index.js",
"es2015": "index.js",
"typings": "index.d.ts",
"bundle": "bundle.js",
"bundle": "bundle.min.js",
"author": {
"name": "Yisrael Eliev",
"url": "https://github.com/yisraelx",
Expand Down
8 changes: 4 additions & 4 deletions modules/delay/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,12 +2,12 @@
"name": "@promises/delay",
"version": "0.2.0",
"description": "Delay is package from Promises library",
"main": "umd.js",
"browser": "umd.js",
"module": "es5.js",
"main": "es5.js",
"browser": "umd.min.js",
"module": "index.js",
"es2015": "index.js",
"typings": "index.d.ts",
"bundle": "bundle.js",
"bundle": "bundle.min.js",
"author": {
"name": "Yisrael Eliev",
"url": "https://github.com/yisraelx",
Expand Down
8 changes: 4 additions & 4 deletions modules/error/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,12 +2,12 @@
"name": "@promises/error",
"version": "0.2.0",
"description": "Error is package from Promises library",
"main": "umd.js",
"browser": "umd.js",
"module": "es5.js",
"main": "es5.js",
"browser": "umd.min.js",
"module": "index.js",
"es2015": "index.js",
"typings": "index.d.ts",
"bundle": "bundle.js",
"bundle": "bundle.min.js",
"author": {
"name": "Yisrael Eliev",
"url": "https://github.com/yisraelx",
Expand Down
8 changes: 4 additions & 4 deletions modules/every-parallel/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,12 +2,12 @@
"name": "@promises/every-parallel",
"version": "0.2.0",
"description": "Every Parallel is package from Promises library",
"main": "umd.js",
"browser": "umd.js",
"module": "es5.js",
"main": "es5.js",
"browser": "umd.min.js",
"module": "index.js",
"es2015": "index.js",
"typings": "index.d.ts",
"bundle": "bundle.js",
"bundle": "bundle.min.js",
"author": {
"name": "Yisrael Eliev",
"url": "https://github.com/yisraelx",
Expand Down
8 changes: 4 additions & 4 deletions modules/every-series/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,12 +2,12 @@
"name": "@promises/every-series",
"version": "0.2.0",
"description": "Every Series is package from Promises library",
"main": "umd.js",
"browser": "umd.js",
"module": "es5.js",
"main": "es5.js",
"browser": "umd.min.js",
"module": "index.js",
"es2015": "index.js",
"typings": "index.d.ts",
"bundle": "bundle.js",
"bundle": "bundle.min.js",
"author": {
"name": "Yisrael Eliev",
"url": "https://github.com/yisraelx",
Expand Down
8 changes: 4 additions & 4 deletions modules/exec/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,12 +2,12 @@
"name": "@promises/exec",
"version": "0.2.0",
"description": "Exec is package from Promises library",
"main": "umd.js",
"browser": "umd.js",
"module": "es5.js",
"main": "es5.js",
"browser": "umd.min.js",
"module": "index.js",
"es2015": "index.js",
"typings": "index.d.ts",
"bundle": "bundle.js",
"bundle": "bundle.min.js",
"author": {
"name": "Yisrael Eliev",
"url": "https://github.com/yisraelx",
Expand Down
8 changes: 4 additions & 4 deletions modules/filter-parallel/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,12 +2,12 @@
"name": "@promises/filter-parallel",
"version": "0.2.0",
"description": "Filter Parallel is package from Promises library",
"main": "umd.js",
"browser": "umd.js",
"module": "es5.js",
"main": "es5.js",
"browser": "umd.min.js",
"module": "index.js",
"es2015": "index.js",
"typings": "index.d.ts",
"bundle": "bundle.js",
"bundle": "bundle.min.js",
"author": {
"name": "Yisrael Eliev",
"url": "https://github.com/yisraelx",
Expand Down
Loading

0 comments on commit 5a146dc

Please sign in to comment.