George Gkasdrogkas
840483a750
Update TS types in definition file
...
Use the full words for parameters in color methods, not just
`r` and `g`. This make our definitions more self-documented and
allow us to remove @param from comments. This commit also fix
other minor issues.
2018-09-18 14:57:39 +03:00
George Gkasdrogkas
a489365c4f
Update types key in package.json to point to new TS definition file
2018-09-18 14:52:17 +03:00
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
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
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
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
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
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
Sindre Sorhus
14e0aa9772
2.3.0
2017-10-24 11:12:53 +07:00
Josh Junon
e1177ec362
2.2.2
2017-10-23 20:15:51 -07:00
Josh Junon
6adf5794a3
2.2.1
2017-10-23 19:46:10 -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
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
Kevin Mårtensson
4c4eb1fd0a
Move testing to ava ( #182 )
2017-07-23 22:17:33 +02:00
Vadim Demedes
5cdd9eddf8
Demonstrate crash when using Truecolor methods and color is unsupported ( #174 )
2017-07-22 00:03:49 +02:00
Sindre Sorhus
8d26c1401c
Minor meta tweaks
2017-06-30 17:19:57 +02:00
Josh Junon
5827081719
2.0.1
2017-06-29 20:26:07 -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
Sindre Sorhus
6f4d6b30fb
Bump dependencies
2017-06-20 21:38:49 +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
Sindre Sorhus
9b60021fa6
Drop support for Node.js 0.10 and 0.12
2017-05-21 23:28:38 +07:00
Sindre Sorhus
492f11fb59
add example file
2016-10-26 13:00:12 +07:00
Sindre Sorhus
4ce73b632b
make XO happy
2016-10-17 23:50:22 +07:00
Sindre Sorhus
2653218312
meta tweaks
2016-04-06 23:05:21 +07:00
Joshua Boy Nicolai Appelman
9001b3933a
Updates maintainer email.
2016-02-21 13:14:22 +01:00
Steve Mao
5679ec0c04
bump deps
...
No breaking changes to this modules.
2016-01-06 19:00:34 +11:00
vdemedes
04cae226cc
remove has-ansi and strip-ansi dependencies
2015-12-12 23:55:01 +01:00
Sindre Sorhus
8b554e254e
1.1.1
2015-08-20 03:10:52 +07:00
Sindre Sorhus
409f95eef5
add XO
...
https://github.com/sindresorhus/xo
2015-08-20 03:05:43 +07:00
Qix
d7537f37df
Merge branch 'master' of https://github.com/sindresorhus/chalk
2015-07-01 07:32:36 -06:00
Qix
632bd4a088
added Qix as maintainer
2015-07-01 07:32:17 -06:00
Joshua Appelman
e9bb6e6000
1.1.0
2015-07-01 15:31:59 +02:00
Joshua Appelman
ed03714ec2
Bump ansi-styles version.
...
Fixes #63 as ansi-styles now exposes a unique object per required
instance.
2015-07-01 15:30:32 +02:00
Sindre Sorhus
425e3a7ee8
bump deps
2015-07-01 00:58:59 +02:00
Sindre Sorhus
bd73784b90
update references
2015-06-30 19:55:37 +02:00
Sindre Sorhus
c8e08f5e79
minor tweaks
2015-05-26 16:06:57 +02:00
Benjamin Coe
b630e70855
add coverage reporting using nyc and coveralls
2015-05-25 01:37:33 -07:00
Wei Kin Huang
e3272e8449
Close #60 PR: Don't override windows blue when in xterm mode. Fixes #59
2015-04-26 16:00:01 +07:00
Sindre Sorhus
8864d35633
1.0.0
2015-02-23 14:41:32 +07:00