Skip to content

🚧 V5 #44

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

Open
wants to merge 44 commits into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
44 commits
Select commit Hold shift + click to select a range
a715630
🖇❔ isEmpty, move isJSON, 🔬 tests
aretecode Jul 17, 2017
b9f3af3
🚚⚪️ move frisbee module/example 🆙 update it
aretecode Jul 17, 2017
2e4dafd
🆓🎁 start fp with prop, pipe, path, map, curry
aretecode Jul 17, 2017
e905ccf
🖇❔ is/ ℹ docblocks 🆓 use some curry, isArguments
aretecode Jul 17, 2017
ec97334
🖇🗝️ keys for objOrArray utils
aretecode Jul 17, 2017
37c9ff8
🖇 reduce; use 🆓 fp on 🛁 clean
aretecode Jul 17, 2017
56ae957
minor docblock adjustments, isBuffer, links, metadata
aretecode Jul 17, 2017
6360f00
📘⛓ SwitchChain example
aretecode Jul 18, 2017
b8220df
📘⛓ example: RegExp chain
aretecode Jul 18, 2017
03e41c1
📘⛓ example: ObjectDefineChain
aretecode Jul 18, 2017
2e77777
🎱 add InstancePooler with tests
aretecode Jul 19, 2017
922429a
🆓🎁 more fp 🔬 more tests ℹ️️ more docblocks
aretecode Jul 19, 2017
d9e8f1b
🛡🆓 wrap encase: tryCatch & withSpec with curry
aretecode Jul 19, 2017
0dd28f9
🖇 conditionals utils 🆓 wrap with curry + ℹ️️
aretecode Jul 19, 2017
8a9d3c6
ℹ️️ docblocks for dot-prop 🆓 use fp/replace on escape
aretecode Jul 19, 2017
00f0e5f
🖇❔move reusable `is` functions from validator builder into files
aretecode Jul 19, 2017
f279512
🐫 add camelCase 🔬 tests + move to string/ folder
aretecode Jul 19, 2017
d923099
ℹ️️ minor naming & docs on core classes
aretecode Jul 19, 2017
9771c03
🌊 update typings
aretecode Jul 19, 2017
e30f41e
⚡perf ℹ️️ docs 👾 variable name clarity 📝 todos
aretecode Jul 19, 2017
13a1806
👣 big update 🏰 refactor ℹ️️ docs 🎱 pooler 🤸🛁
aretecode Jul 19, 2017
11bd67f
🏗 build & 🤖📖 docgen update & 📇 metadata
aretecode Jul 19, 2017
3ea81ec
📖🤖 docgen: metadata. ⚒ minor eq path require fix
aretecode Jul 19, 2017
67cd443
🛅 built dev version for links from docgen site until upgraded
aretecode Jul 19, 2017
a7aea68
🖇 noop util ⚪️⛓ frisbee
aretecode Jul 19, 2017
b15b322
tests, metadata, doc examples, examples rename, readme
aretecode Jul 20, 2017
5990326
tests, fp split arity, fp/remove, code cov, changelog
aretecode Jul 20, 2017
699e6a6
👣traverser 👾 simplify, refactor eq & copy 🔬
aretecode Jul 20, 2017
344bb6b
🔢 start OrderedMap ℹ️️🔗 docblock links 📦🐈🏗🗝️
aretecode Jul 20, 2017
dbd515c
🛅 bundle size ⚡ minor opts
aretecode Jul 20, 2017
e59fc83
🖇use more utils, ℹ️️ docblock, isNested
aretecode Jul 21, 2017
a555fc9
typedefs update, docs + docgen, metadata - JS.ORG!
aretecode Jul 22, 2017
1efab96
🆙 conditional 🐏 curry includes ℹ️ docs
aretecode Jul 22, 2017
faef99c
🔩 /native/ folder 🚚 move ignored to meta/
aretecode Jul 22, 2017
543539c
⚖️ `eq` 🛁 minor clean + ℹ️🔗 doclinks 👕lint tweaks
aretecode Jul 22, 2017
843caf9
🆙 utils/ 🕴 exports 👷 construct > new in index
aretecode Jul 22, 2017
e564ce2
🖇 util 🆕 localGlobal 🆙⛑ update & safety ℹ️️ docs
aretecode Jul 22, 2017
a7e586e
🐏 🎁 fp: ⬅️ reverse 👷 construct 📞 invoke ℹ️️ docs
aretecode Jul 22, 2017
d2f3da7
❔ is/ ℹ️ℹ️ℹ️️ docs 🆕🆕🆕 🔬 tests 🔩 native/
aretecode Jul 22, 2017
3d66b9b
- 🐏 🎁 fp/ ...again
aretecode Jul 22, 2017
08f388a
🆕 add expressions/ 🆕 add to/ 🚚 move some
aretecode Jul 22, 2017
eb95e15
🤖📖 docgen 📇 metadata 👣 Traverse ⚡ minor perf
aretecode Jul 22, 2017
1d7160c
🏗 build/ 📅 mini plan + 🖇 node utils for scripts
aretecode Jul 22, 2017
380f65b
🚧📜 easy-npm-files build export script (🐴 messy)
aretecode Jul 22, 2017
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
8 changes: 8 additions & 0 deletions .eslintrc.js
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,14 @@ module.exports = {
'jsdoc/require-param': 'error',
'jsdoc/require-param-description': 'error',
'jsdoc/require-returns-type': 'error',

// 'filenames/match-regex': [2, '^[a-z_]+[a-zA-Z_]+$', true],
// "filenames/match-exported": [2, [ null, "kebab", "snake" ] ],
// "filenames/match-exported": [ 2, null, "\\.react$" ],
// 'filenames/match-regex': 2,
// 'filenames/match-exported': 2,
// 'filenames/no-index': 2,

// 'inferno/display-name': 'OFF',
// 'inferno/display-no-depreciated': 'OFF',
},
Expand Down
6 changes: 6 additions & 0 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -41,6 +41,9 @@ lint:
docgen:
node build/cli --docs

site:
node docs/_site/index.js

dox:
yarn run dox -- 'src/**/*.js' --layout markdown --output docs/bits/doxdox.md

Expand All @@ -58,6 +61,9 @@ babel:
tests:
yarn run test -- --notify

frisbee:
cd _modules/frisbee && npm run test

testdist:
yarn run ava -- test/built.js --verbose

Expand Down
19 changes: 12 additions & 7 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,12 +7,11 @@
[![BuildStatus](https://travis-ci.org/fluents/awesome-fluents.svg?branch=master)](https://travis-ci.org/fluents/awesome-fluents)
[![Coverage Status](https://coveralls.io/repos/github/fluents/chain-able/badge.svg?branch=master)](https://coveralls.io/github/fluents/chain-able?branch=master)
[![Codacy Badge](https://api.codacy.com/project/badge/Grade/b1d92a30c4aa43df9a6233cfadde2307)](https://www.codacy.com/app/aretecode/chain-able?utm_source=github.com&utm_medium=referral&utm_content=fluents/chain-able&utm_campaign=Badge_Grade)
[![gzip size](http://img.badgesize.io/https://unpkg.com/[email protected]/index.amd.js?compression=gzip)](https://unpkg.com/[email protected])
[![gzip size](http://img.badgesize.io/https://unpkg.com/[email protected]/dists/amd/index.js?compression=gzip)](https://unpkg.com/[email protected])

[![fluent](https://img.shields.io/badge/⛓-fluent-9659F7.svg)](https://github.com/fluents/awesome-fluents)
[![fluent](https://img.shields.io/badge/🎡-playground-black.svg)](https://aretecode.github.io/chain-able-playground/)


<!-- https://david-dm.org/fluents/chain-able.svg -->
[david-deps-img]: https://img.shields.io/badge/0-dependencies-blue.svg
[david-deps-url]: https://david-dm.org/fluents/chain-able
[chain-able-npm-image]: https://img.shields.io/npm/v/chain-able.svg
Expand Down Expand Up @@ -57,6 +56,8 @@

> interfaces that describe their intentions

❗ chain-able now has a website!
[🔗 chain-able.js.org](https://chain-able.js.org)

### 📦 install

Expand All @@ -65,6 +66,11 @@ yarn add chain-able
npm i chain-able --save
```

#### cdn
- _dev_ `<script src="https://unpkg.com/chain-able@beta/dists/dev/index.js"></script>`
- _min_ `<script src="https://unpkg.com/chain-able@beta/dists/umd/index.js"></script>`


# 🏰 benefits

writing an api using chain-able means:
Expand All @@ -78,8 +84,8 @@ writing an api using chain-able means:

- [expressive, clearly communicative code][wiki]
- [runtime type validation][Schema]
- [🔬 230+ tests][Tests] with [96%+ code coverage][cov]
- ⚡ [performant & tiny][Src] `~7kb` _(gzip)_ [_300 byte_ minimal version available as snippet][snippet]
- [🔬 300+ tests][Tests] with [96%+ code coverage][cov]
- ⚡ [performant & tiny][Src] `~8kb` _(gzip)_ [_300 byte_ minimal version available as snippet][snippet]

<details><summary><em><b>more...</b></em></summary>

Expand Down Expand Up @@ -123,7 +129,6 @@ writing an api using chain-able means:
- [🏭 infinitely nestable understandable factories][FactoryChain]
- [▶️◀️ easy deep merging][MergeChain]
- [☮️ compatibility - typescript, nodejs, webpack, rollup, fusebox, babel, buble, amd][API]
- ⚡ performant & tiny `~7kb` _(gzip)_ [_300 byte_ minimal version available as snippet][snippet]

</details>

Expand All @@ -140,4 +145,4 @@ writing an api using chain-able means:
- thanks to [Jon Schlinkert](https://github.com/jonschlinkert/kind-of) & [inferno](https://github.com/infernojs/inferno/blob/master/packages/inferno-shared/src/index.ts) for type checking inspirations
- transpiled with [buble](https://gitlab.com/Rich-Harris/buble)
- [Martin Fowler on FluentInterface](https://www.martinfowler.com/bliki/FluentInterface.html)
<!-- - thanks to [ramda](https://github.com/ramda/ramda/tree/master/src/internal) & [lodash](https://github.com/lodash/lodash) for the currying -->
- [ramda](https://github.com/ramda/ramda) & [lodash](https://github.com/lodash/lodash) for some well tested & documented utilities (currying, mapping)
5 changes: 1 addition & 4 deletions _modules/_chain-able-md/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -10,9 +10,6 @@
"babel-plugin-transform-flow-strip-types": "^6.22.0"
},
Copy link
Contributor Author

Choose a reason for hiding this comment

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

#29

"dependencies": {
"fliplog": "^1.0.4",
"frisbee": "^1.5.0",
"node-fetch": "^1.7.1",
"xmlhttprequest": "^1.8.0"
"fliplog": "^1.0.4"
}
}
Loading