Commit graph

217 commits

Author SHA1 Message Date
calebboyd
64f592b70c fix(types): optional chalkOptions, Extended -> Ansi256 2017-10-16 15:02:39 -05:00
calebboyd
98b42414b4 chore(types): code style fixes 2017-10-15 12:48:06 -05:00
Sindre Sorhus
74a0ccf8b6 Update index.js 2017-10-15 14:51:37 +07:00
Sindre Sorhus
aa16f6f8db Update index.d.ts 2017-10-15 14:50:57 +07:00
Sindre Sorhus
6b256dbe89 Update package.json 2017-10-15 14:50:25 +07:00
Sindre Sorhus
77a3e81147 Update test.ts 2017-10-15 14:46:10 +07:00
calebboyd
5d9f316842 feat: default export + typescript definitions 2017-09-09 13:19:05 -05:00
Thomas Sauer
9c3d0f381c Changed to default export in Typescript definition 2017-09-09 12:52:17 -05:00
Thomas Sauer
ffc1878305 Updated TS interfaces 2017-09-09 12:52:17 -05:00
Thomas Sauer
ec7b0750c8 Updated typings 2017-09-09 12:52:17 -05:00
Sindre Sorhus
d59027d55f Update index.d.ts 2017-09-09 12:52:17 -05:00
Sindre Sorhus
00efb6efd9 Update package.json 2017-09-09 12:52:17 -05:00
Sindre Sorhus
f91b392932 Update test.ts 2017-09-09 12:51:52 -05:00
Thomas Sauer
433124e267 Added test for Typescript definition 2017-09-09 12:51:52 -05:00
Thomas Sauer
0e3388a17b Added Typescript definition 2017-09-09 12:51:27 -05: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