* [test] Make DT mock mutable
* [definition-parser] Add tests for current behaviour
* [definition-parser] Support minor version directories
* [package] Update ts-jest
* [test] Fix failure reporting by not symbolicating errors at runtime.
* [README] Prefer npm scripts because those also enable runtime callstack symbolication
* [definition-parser] Cleanup
* [package] Remove dependency on semver pkg again
* [packages] Cleanup
* [packages] Unify and update docs on definitions data
* [definition-parser] Record old minor version path mappings
* [packages] Change DependencyVersion to consider minor versions
* [packages] Take minor versions into consideration
* [tslint] Make green
* [README] Update example snippet from definitions.json
* [definition-parser] Cleanup TODOs
* [definition-parser] Get rid of unneeded data
* Cleanup more comments
* Doc fixes.
Co-Authored-By: Nathan Shively-Sanders <293473+sandersn@users.noreply.github.com>
* [versions] Simplify code
* More doc fixes
* [definition-parser] Improve error output
Co-authored-by: Nathan Shively-Sanders <293473+sandersn@users.noreply.github.com>
As of version 3.1.1 the connect-mongo ships its own definition file.
Adding to white list will enable using 'connect-mongo' as external
dependency in the existing definitions like passport.socketio.
DefinitelyTyped/DefinitelyTyped#42047
Thanks!
* Use CRLF everywhere
* [tslint] Disable a few rules as per current style
* [tslint] Run auto fix
* [tslint] Disable more rules as per current style
* [tslint] Manually fix most failures
* [tslint] Wait for promises to finish
* [package] Run lint as part of test script
Co-authored-by: Orta <orta.therox+github@gmail.com>
* Publish to @types on github, not @testtypepublishing
Since the name is the same as NPM, a lot of name-switching
infrastructure isn't needed anymore.
I'm going to need a separate token for publishing now. I haven't got
that done yet.
* Differentiate github publish:@types vs types-registry
To create 3 different NPM publishers, I needed 3 different tokens, and 3
different enums, which further led to difference between package
publishing and registry publishing code. I think this is OK;
it's clunky but painfully explicit.
* remove GithubPackages token+enum entry
* Remove async in definition-parser and module-info
It seems about 33% faster on my local machine. I need to test it on
Azure of course; also I need to clean up uses of now-possibly-unused FS
methods.
* make FS synchronous
* Saving work so far
Lots of notes on how it *should* work, plus some new tests. It doesn't
work the way it should yet though.
* fix header format in test files
* In-progress, very broken
* Add .vscode/launch.json for debugging
* Tests all pass, refactor is mostly done.
Still need to look at TODOs in definition-parser and probably write more
tests.
* cleanup/refactoring
* add dependencies from OTHER_FILES.txt
* more refactoring
* remove TODOs
* error on bad types references
* more errors for OTHER_FILES.txt
1. errors when it's already reachable (it shouldn't be in the list)
2. errors when it doesn't exist (it ... also shouldn't be in the list).
* fix test failures
* actually fix tests
* Allow files named v1.d.ts
even though it is extremely confusing
* add logging and commentary
* Improve new error message
It is required to be the publisher repo's URL; NPM allows it to be any
URL, so we previously used it indicate the new location of the package.
This is a quickfix; probably the correct fix is to change the
NPM-generated package too.