Commit graph

211 commits

Author SHA1 Message Date
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
Josh Junon
7a75399b72 Add failing template tests 2017-08-06 18:58:17 -07:00
Boris K
7dbd8c3993 Add related packages in the readme (#193)
Added chalk-animation as suggested by @sindresorhus
Added gradient-string because it also uses chalk and provides new features.
2017-08-02 01:41:35 +02:00
Sindre Sorhus
4c4ba2df3d Fix template literal test 2017-07-23 22:24:56 +02:00
Kevin Mårtensson
4c4eb1fd0a Move testing to ava (#182) 2017-07-23 22:17:33 +02:00
Kevin Mårtensson
e8d28f3041 Return empty string when there are no arguments (#183) 2017-07-23 22:13:55 +02:00
Vadim Demedes
5cdd9eddf8 Demonstrate crash when using Truecolor methods and color is unsupported (#174) 2017-07-22 00:03:49 +02:00
Josh Junon
23092eefd2 add note about brightBlack (ref chalk/ansi-styles#33) 2017-07-07 16:03:36 -07:00
Sindre Sorhus
8d26c1401c Minor meta tweaks 2017-06-30 17:19:57 +02:00
Sindre Sorhus
5ec90cb354 Link to v2 release notes 2017-06-30 12:53:46 +02:00
Sindre Sorhus
3d10f8fad7 Code style tweaks 2017-06-30 12:42:24 +02:00
Josh Junon
5827081719 2.0.1 2017-06-29 20:26:07 -07:00
Josh Junon
caeb7d8dca fix missing TERM cases 2017-06-29 20:11:09 -07:00
Sindre Sorhus
3fca6150e2 2.0.0 2017-06-30 01:49:18 +02:00
Josh Junon
f66271e01a Add tagged template literal (#163) 2017-06-30 01:46:19 +02:00
Josh Junon
23ef1c7ca2 fix linter errors 2017-06-29 16:05:28 -07:00
Josh Junon
c0155688cf add rainbow example 2017-06-29 16:00:51 -07:00
Josh Junon
09fb2d8606 Re-implement chalk.enabled (#160) 2017-06-29 22:34:00 +02:00
Josh Junon
608242a4fc spoof supports-color 2017-06-29 00:01:36 -07:00
Josh Junon
18f2e7c122 add host information output 2017-06-29 00:01:36 -07:00
Josh Junon
523b998e64 Revert "TEMPORARY: emergency travis CI fix (see comments)"
This reverts commit 54975fb20d.
2017-06-29 00:01:19 -07:00
Josh Junon
54975fb20d TEMPORARY: emergency travis CI fix (see comments) 2017-06-28 23:42:38 -07:00
Sindre Sorhus
1d73b21111 Improve readme 2017-06-20 22:17:27 +02:00
Sindre Sorhus
6f4d6b30fb Bump dependencies 2017-06-20 21:38:49 +02:00
Sindre Sorhus
870249689a Remove chalk.styles
Very few consumers use this. Those who need it can just use the `ansi-styles` package directly.
2017-06-20 21:37:29 +02:00
Sindre Sorhus
0412cdf07b Minor code improvements 2017-06-20 21:17:16 +02:00
Sindre Sorhus
249b9ac7e7 ES2015ify the codebase 2017-06-20 19:21:14 +02:00
Josh Junon
cb3f2308e1 Add RGB (256/Truecolor) support (#140) 2017-06-20 19:02:09 +02:00
Haroen Viaene
dbae68d623 Update dependent package count in the readme (#154) 2017-05-31 16:55:22 +07:00
Sindre Sorhus
9b60021fa6 Drop support for Node.js 0.10 and 0.12 2017-05-21 23:28:38 +07:00
Josh
0d2144904b check parent builder object for enabled status (#142) 2017-01-30 04:10:02 -05:00
Sindre Sorhus
5a69476142 add XO badge 2016-10-26 20:13:45 +07:00
Sindre Sorhus
492f11fb59 add example file 2016-10-26 13:00:12 +07:00