George Gkasdrogkas
8577e6dd58
[ #293 ] Add documentation comments and tests for TS Definitions
...
Notable changes:
- Move index.d.ts from types/ to project root (needed for
tsd-check module).
- Rename test.ts to index.test-d.ts and place it under root
(needed for tsd-check module).
- Add tsd-check module to test Typescript Definitions.
Future Work:
The properties inverse, hidden, strikethrough and visible
of Chalk interface in index.d.ts needs to be documented.
2018-09-18 14:35:30 +03:00
Chris Harwood
6a14c58e54
Add failing test for #234 ( #235 )
2018-09-18 15:48:47 +07:00
Sindre Sorhus
2a678789b1
Validate the level option
...
Fixes #248
2018-09-18 15:33:20 +07:00
Sindre Sorhus
0307f263cb
Require Node.js 6
2018-09-18 14:32:14 +07:00
Sindre Sorhus
70f22d87ba
Tiny travis.yml tweak
2018-09-01 02:50:53 +07:00
Sindre Sorhus
a2b5fa22dc
Add some badges to the readme
2018-08-06 15:53:00 +07:00
Sindre Sorhus
a6ad945452
Fix XO linting and update some dev dependencies
...
Fixes #275
2018-05-28 09:16:44 +07:00
Sindre Sorhus
48ba5b0b9b
2.4.1
2018-04-26 12:15:49 +07:00
Jamie
01cfb5c888
Improve Flow type definition for CommonJS interop ( #268 )
2018-04-26 12:14:22 +07:00
Sindre Sorhus
fc9a7e369b
GitHub now natively supports SVG
2018-04-20 13:42:59 +07:00
Sindre Sorhus
af8b3657e9
2.4.0
2018-04-17 11:28:35 +07:00
Saad Quadri
7c6f83f719
Add Flow type definitions ( #260 )
2018-04-17 11:26:17 +07:00
Sindre Sorhus
58483b5ab1
Add a related package to the readme
2018-04-05 00:43:46 +07:00
Sindre Sorhus
0dae4c28e1
Add Patreon badge
2018-04-02 14:35:53 +07:00
Sindre Sorhus
84f27d4bd8
2.3.2
2018-03-03 00:43:48 +07:00
Sindre Sorhus
245dfa5c6f
Bump dependencies
...
Closes #255
Fixes #254
Fixes #224
2018-03-03 00:42:56 +07:00
Josh Junon
e80f02e2dd
Disable unicorn/no-hex-escape for template tests
2018-02-14 18:30:52 -08:00
Josh Junon
925397a0f5
Disable unicorn/no-unsafe-regex for template parser
2018-02-14 18:30:50 -08:00
Josh Junon
52823001a5
Revert "Fix linting"
...
This reverts commit 12d1276b36 .
2018-02-14 18:28:22 -08:00
Sindre Sorhus
12d1276b36
Fix linting
2018-02-15 00:41:45 +07:00
Sindre Sorhus
576d8d2171
Update URL to XO
2018-02-15 00:15:28 +07:00
Sindre Sorhus
ae8a03f2c5
2.3.1
2018-02-11 20:18:25 +07:00
Sindre Sorhus
b55dd79f8b
Force bump dependencies
...
npm is buggy, so doing this just to be sure.
2018-02-11 20:04:55 +07:00
Kayla Washburn
678152cf19
Update chalk to use the latest updates to supports-color ( #247 )
2018-02-11 16:59:24 +07:00
Aman Pratap Singh
011dd0421e
Fix usage example in the readme ( #251 )
2018-02-11 16:03:50 +07:00
Mario Nebl
6554030550
Use svg screenshot
2018-01-29 07:20:23 -08:00
Samarth Verma
bc3dd75329
Update usage stats in the readme ( #242 )
2017-12-31 16:20:49 +01:00
Brandon Smith
a8c60e37fa
Fix spelling error in readme ( #232 )
2017-12-09 11:20:28 +01:00
Andrew
5392313414
Correct HSV and HWB examples
2017-10-25 23:33:12 -07:00
Sindre Sorhus
14e0aa9772
2.3.0
2017-10-24 11:12:53 +07:00
calebboyd
7be154c074
TypeScript fixes ( #217 )
2017-10-24 11:02:36 +07:00
Josh Junon
e1177ec362
2.2.2
2017-10-23 20:15:51 -07:00
Josh Junon
e2a4aa4275
fix .visible when called after .enable is set to false
2017-10-23 20:12:34 -07:00
Josh Junon
ede310303b
add failing test for .visible bug
2017-10-23 20:12:16 -07:00
Josh Junon
6adf5794a3
2.2.1
2017-10-23 19:46:10 -07:00
Danny Kirchmeier
dc092b4a5f
Add .visible for emitting text only when enabled ( fixes #192 )
2017-10-23 19:44:46 -07:00
Sindre Sorhus
4372d27f7e
Add Awesome mentioned badge
2017-10-22 15:20:23 +07:00
Sindre Sorhus
d86db88e77
2.2.0
2017-10-18 10:15:39 +07:00
Sindre Sorhus
f0533f655d
Bump dev dependencies
2017-10-18 10:14:40 +07:00
calebboyd
f653b061d6
Add TypeScript definitions ( #207 )
2017-10-18 10:10:43 +07:00
Kevin Martensson
5e6d5fda44
Add strip-ansi-stream to related modules
2017-09-20 18:03:52 +02:00
LitoMore
7898eda561
Update chalk-pipe description
2017-08-24 01:15:18 -07:00
LitoMore
37db75e1fd
Add related package in the readme
2017-08-24 01:15:18 -07:00
Sindre Sorhus
a9f0c77142
Use a Map and some minor regex tweaks
2017-08-07 17:42:39 +02:00
Josh Junon
38f641a222
v2.1.0
2017-08-06 20:51:22 -07:00
Josh Junon
69ac663f29
Fix undefined and null interpolated expressions ( fixes #194 )
2017-08-06 18:58:17 -07:00
Josh Junon
106f086aaf
Rewrite templating system ( closes #186 , fixes #184 )
2017-08-06 18:58:17 -07:00
Josh Junon
f0c0178d12
Allow multiple arguments in base chalk object ( fixes #187 )
2017-08-06 18:58:17 -07:00
Josh Junon
0827d3b632
Fix level when supportsColor returns falsey ( fixes #176 , #175 )
2017-08-06 18:58:17 -07:00
Josh Junon
fbd17e7a69
Escape backslashes in template arguments ( fixes #177 )
2017-08-06 18:58:17 -07:00