Commit Graph
51 Commits
Author SHA1 Message Date
AndyandGitHub ae4fe7b6de Use "lib" in tsconfigs instead of "target". (#13968)
* Use "lib" in tsconfigs instead of "target".

Only add "dom" to libraries that need it. This is determined by a script, so many libraries that have "dom" maybe should not.

* Update new-package and readme

* Add back "target" where necessary
2017-01-18 07:51:51 -08:00
roy-codefreshandAndy d6397a9075 Moving the version of the file to the header. (#13793)
As said in the contribution guide: "If the version of the library is known then add it as a semver to the label."
2017-01-06 06:40:44 -08:00
AndyandGitHub a4bd9fa3c1 Add "noImplicitThis" to all tsconfig.json (#13446)
* Add "noImplicitThis" to all tsconfig.json

* Use `"noImplicitThis": false` on packages with broken tests.
2016-12-19 14:11:46 -08:00
Nathan Shively-Sanders c997518b9e Merge branch 'winston-config' of https://github.com/heycalmdown/DefinitelyTyped into winston-config 2016-11-22 11:33:33 -08:00
heycalmdown e9696401d4 Fix indent 2016-11-22 12:14:22 +09:00
heycalmdown 27a9d53693 Add configs(cli, npm, syslog)
- refactor to abstract configs
2016-11-22 12:14:22 +09:00
Nathan Shively-Sanders 983c93531a Merge branch 'types-2.0' into types-merge-20161118 2016-11-21 16:16:59 -08:00
Mine Yalcinalp Starks 253e456e3c Merge remote-tracking branch 'upstream/master' into types-2.0
Many badly resolved merge conflicts
2016-11-18 20:42:46 -08:00
Fred K. Schott 447629b229 add back missing DailyRotateFileTransportInstance definition 2016-11-14 13:37:00 -08:00
Fred K. Schott 4c0c558430 winston: add missing transport properties 2016-11-14 13:37:00 -08:00
Leo RudbergandMasahiro Wakame 9a1a183337 Add "string enum" types for base config log levels (#12520)
See the base/default config options here: https://github.com/winstonjs/winston/tree/master/lib/winston/config
2016-11-08 22:34:45 +09:00
Daniel Rosenwasser e1a436489d Moved the 'Winston' interface to the namespace so that it can be augmented. 2016-11-07 21:22:42 -08:00
Daniel Rosenwasser ce87f73b3e Added a test for the default logger in 'winston'. 2016-11-07 21:13:52 -08:00
Daniel Rosenwasser a32d7bf956 Fixed 'winston' to expose a member named 'default'. 2016-11-07 21:13:30 -08:00
Daniel Rosenwasser d59071ff07 Decomposed 'winston' into a var/namespace/type so it can export a member named 'default'. 2016-11-07 21:09:13 -08:00
João CristóvãoandMasahiro Wakame 65ec496d30 added silly and verbose levels to winston (#12230) 2016-10-26 00:39:02 +09:00
zhengbli 62e37b17e1 Merge commit 'origin/master~100' into zhengbli_merge 2016-10-24 20:34:59 -07:00
Andrew ThroenerandMohamed Hegazy 1fbfdc6924 fix(winston): add configure method (#11797) 2016-10-06 12:45:46 -07:00
Ryan Cavanaugh a5f4d50ccc Fix tsconfig files for new option name / behavior.
Also fixes some inconsistent whitespace.
2016-07-12 13:54:56 -07:00
Raghav Katyal 395c4e1639 Turning on consistent casing flag and fixing failures 2016-06-30 15:14:49 -07:00
Ryan Cavanaugh bfd400a8f8 Add noEmit to all config files 2016-05-10 12:24:49 -07:00
Ryan Cavanaugh 50387d4046 Change relative reference paths to types references. Errors incoming... 2016-05-09 18:06:27 -07:00
Ryan Cavanaugh 49b1ac6a38 Rename all entry points to index.d.ts and explicitify all file lists 2016-05-09 17:29:10 -07:00
Ryan Cavanaugh ab2b4191c5 Add typesRoot to all config files 2016-05-09 13:52:25 -07:00
Ryan Cavanaugh ded70421be Turn off strict null checks 2016-05-04 15:08:38 -07:00
Ryan Cavanaugh 69d1929d8a Add tsconfig.json files 2016-05-04 14:14:39 -07:00
Ryan Cavanaugh fa204a87d1 Remove obsolesced reference comments 2016-04-27 21:53:46 -07:00
Ryan Cavanaugh 337587de8c Rename external modules to index.d.ts 2016-04-27 21:30:22 -07:00
Ryan Cavanaugh e7c111c4b7 Merge remote-tracking branch 'upstream/master' into types2.0
Add tsconfig files everywhere

# Conflicts:
#	azure-mobile-services-client/AzureMobileServicesClient.d.ts
#	bookshelf/bookshelf.d.ts
#	hapi/hapi.d.ts
#	helmet/helmet.d.ts
#	mongodb/mongodb.d.ts
#	nock/nock.d.ts
#	react-bootstrap/react-bootstrap.d.ts
#	react-helmet/react-helmet.d.ts
#	restify/restify.d.ts
#	sequelize/sequelize.d.ts
2016-04-27 20:40:21 -07:00
Ryan Cavanaugh 541e24b685 Fix angularjs/angular; 'export declare'/'declare export' 2016-04-25 13:02:25 -07:00
Ryan Cavanaugh 4a433abbf4 Unwrap all lone ambient external modules 2016-04-22 14:12:45 -07:00
Federico CaselliandMasahiro Wakame fb53f43026 Added level to winston Logger (#9005) 2016-04-18 00:28:29 +09:00
Jason Hu cc3e106d89 Add remove(transport: string) 2016-03-24 09:32:41 -07:00
Horiuchi_H d4121d7690 Merge pull request #8472 from MugeSo/winston-fix-methods-argument
Winston fix methods argument
2016-03-23 12:06:10 +09:00
vvakame 56295f5058 replace https://github.com/borisyankov/DefinitelyTyped to https://github.com/DefinitelyTyped/DefinitelyTyped 2016-03-17 00:55:26 +09:00
Barth, Chris 6a7b75abc6 Update winston definitions for v2.2.x 2016-03-11 11:53:16 -05:00
TANAKA Koichi e1bc35c34e winston: allow a specific TransportOptions as 2nd arg of logger.add and winston.add 2016-03-10 18:27:34 +09:00
TANAKA Koichi 1e6c77315c winston: allow interpolation arguments in log methods 2016-03-10 18:09:00 +09:00
Masahiro Wakame f29447a469 Merge pull request #8369 from Stephn-R/patch-1
update winston.d.ts to include color logging levels
2016-03-04 22:34:39 +09:00
Stephen Rodriguez 29d33801ce update winston.d.ts to include color logging levels
See more details >> https://github.com/winstonjs/winston#using-custom-logging-levels
2016-03-03 11:04:35 -05:00
Barth, Chris cabe5cca7d Add support for Winston 'stringify' option 2016-02-26 16:55:05 -05:00
Aya Morisawa fd9f16f862 Remove trailing whitespaces 2016-01-27 19:49:29 +09:00
Nimish Telang f9eaa6f13b Fix types of addRewriters 2016-01-14 16:59:22 +00:00
Nishiyama Shun 59637e7da6 make instances ddspecific in winston
Related 5c69bdeb45
2015-09-07 15:10:55 +09:00
Daniel Rosenwasser 5c69bdeb45 Add indexer to option constructors in 'winston'. 2015-08-26 15:26:57 -07:00
Joseph Rossi 943b4db4ab Adding the default logger's level property. 2015-05-12 12:10:52 -04:00
Steven Yackel 1ad6deec11 Added the missing addColors method from winston 2014-11-20 15:51:29 -06:00
vvakame 72b094e548 fix winston/winston.d.ts 2014-10-07 14:44:26 +09:00
CodeAnimal f8127f0223 Remove legacy node references
The legacy node references have been removed to stop the global
namespace being littered with old node definitions.
2014-09-25 01:13:47 +01:00
CodeAnimal 42dc44b2d5 Update winston definitions and tests
A large rewrite, with greater detailed definitions.

*BREAKING CHANGE:* winston.Transport and winston.Logger types have been
renamed to winston.TransportStatic and winston.LoggerStatic
respectively. Instantiating the types still uses the old syntax: ```var
logger = new winston.Logger``` but the return type's name has had
"Static" appended.
2014-09-24 22:05:34 +01:00