Commit Graph

34 Commits

Author SHA1 Message Date
Andrew Casey
35545d4a0a Update project on PackageInstalledResponse
As with `SetTypings`, new typings have been installed so the project
should be updated and the client should be notified (via event).

Changed PackageInstalledResponse from "event" to "action" for the sake
of explicitness.

Fixes #20084.
2017-11-21 15:59:46 -08:00
Andy
f67a9ba96e Apply 'interface-name' lint rule (#19695) 2017-11-02 17:20:18 -07:00
Andy
0f55f4a701 Use Promise instead of PromiseLike (#19305) 2017-10-18 16:04:42 -07:00
Andy
d05443bb1d Add quickfix and refactoring to install @types packages (#19130)
* Add quickfix and refactoring to install @types packages

* Move `validatePackageName` to `jsTyping.ts`

* Remove combinePaths overloads

* Respond to code review

* Update api baselines

* Use native PromiseConstructor

* Return false instead of undefined

* Remove getProjectRootPath

* Update api
2017-10-17 15:04:09 -07:00
Sheetal Nandi
17565d8407 Handle watches of missing directories and make project the module resolution host 2017-08-31 09:13:59 -07:00
Andy
555776eb3c Minor cleanups in builder (#17208)
* Minor cleanups in builder

* Use enumerateInsertsAndDeletes
2017-07-17 12:24:56 -07:00
Arthur Ozga
7e03429a8e enforce triple-equals 2017-04-04 15:51:13 -07:00
Andy Hanson
6b1cc8972d Use native maps when they're available 2016-12-08 06:40:31 -08:00
Jason Ramsay
5a9451ae23 Rename typingOptions.enableAutoDiscovery to typeAcquisition.enable 2016-11-18 18:14:32 -08:00
Andy Hanson
12f6dcefa1 Revert "Merge pull request #11354 from Microsoft/map4"
This reverts commit adfdae0dc4, reversing
changes made to aad663cebf.
2016-10-27 15:50:21 -07:00
Andy Hanson
bcc0807198 Respond to PR comments 2016-10-27 13:14:56 -07:00
Andy Hanson
c958c47ef5 Merge branch 'master' into map4 2016-10-26 11:05:51 -07:00
Vladimir Matveev
7890f63250 use unresolved imports as a source of used typings (#11828) 2016-10-25 15:24:21 -07:00
Andy Hanson
5e7e5421fa Add noop, notImplemented, and notYetImplemented helpers 2016-10-19 14:21:48 -07:00
Andy Hanson
a11838215c Merge branch 'master' into map4 2016-10-19 13:16:55 -07:00
Andy Hanson
6814c1d883 Forbid unused locals/parameters anywhere 2016-10-19 08:27:49 -07:00
Andy Hanson
aadcbcc083 Use native maps when they're available 2016-10-06 13:29:18 -07:00
Jason Ramsay
d15381682b - invalidate typings fix
- update gc timer
2016-08-30 15:51:43 -07:00
Jason Ramsay
ba50c6eb25 Merge branch 'tsserverVS-WIP' into tsserverVS-Types2.0 2016-08-30 13:43:33 -07:00
Vladimir Matveev
38ce6279cd add tsserver specific resolution pass that will load typings from cache locations if auto discovery is enabled 2016-08-29 22:21:58 -07:00
Jason Ramsay
199e533059 - Command line should use spaces between types instead of comma
- if entry.typings is empty use entry.typings for default typings to install
2016-08-29 19:01:55 -07:00
Jason Ramsay
7132fe5112 Merge branch 'tsserverVS-WIP' into tsserverVS-Types2.0
# Conflicts:
#	src/server/typingsCache.ts
2016-08-26 16:41:50 -07:00
Jason Ramsay
1f9f20f043 Swap out TSD for Types 2.0 2016-08-25 16:25:34 -07:00
Vladimir Matveev
dd979e8ede added more tests for cases when typingOptions are provided by external projects, set typing options after root files are added 2016-08-24 13:37:07 -07:00
Vladimir Matveev
d736db3b01 add typingOptions to the protocol.ExternalProject 2016-08-23 15:15:12 -07:00
Jason Ramsay
5e37a310d7 types 2.0 WIP 2016-08-23 09:50:44 -07:00
Vladimir Matveev
edfd104e56 use localhost:<eventPort> to send notifications when typings are updated 2016-08-18 14:29:21 -07:00
Vladimir Matveev
3f18fbc145 introduce branded type for TypingsArray 2016-08-17 16:42:05 -07:00
Vladimir Matveev
f0e1f9b108 [WIP] file watching 2016-08-16 14:21:09 -07:00
Vladimir Matveev
9a180122a5 merge with origin/master 2016-08-14 11:42:08 -07:00
Vladimir Matveev
253d5d6ce9 [WIP] initial version of tests 2016-08-13 23:09:14 -07:00
Vladimir Matveev
512ec04d29 [WIP] send\receive install typing requests 2016-08-12 18:17:16 -07:00
Vladimir Matveev
b1871a5bf9 [WIP] pass ITypingsInstaller to ProjectService 2016-08-12 14:01:23 -07:00
Vladimir Matveev
d8d117ffaf [WIP] typings discovery in tsserver 2016-08-12 11:04:43 -07:00