43 Commits

Author SHA1 Message Date
Ryan Cavanaugh
d8a24e3a5b Merge pull request #15021 from RyanCavanaugh/lintFixes
Update linting to avoid typechecking for booleanTriviaRule
2017-04-05 12:26:58 -07:00
Ryan Cavanaugh
e3bb5d3f28 Update linting to avoid typechecking for booleanTriviaRule 2017-04-04 22:34:51 -07:00
Andy Hanson
73cab09608 Enable jsdoc-format lint rule 2017-04-03 14:39:19 -07:00
jramsay
2e313caa75 Merge pull request #14100 from Microsoft/BowerComponentsFix
Type acquisition support for bower_components directory
2017-03-30 16:38:57 -07:00
Andy Hanson
8371eb6401 Update tslint to latest (next is still on 4.3) and lint for BOM 2017-03-01 10:37:13 -08:00
Jason Ramsay
8d1c9d5f9a Addressing CR comments 2017-02-15 18:05:20 -08:00
Jason Ramsay
7e58afadc4 Bower_Components fix 2017-02-15 15:18:46 -08:00
Andy Hanson
37e18d9741 Add createMapFromTemplate helper 2017-01-11 09:52:50 -08: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
Vladimir Matveev
9e3d6efb19 reduce set of files being watched, increase polling interval (#12054) (#12092) 2016-11-07 21:13:11 -08:00
Andy Hanson
12f6dcefa1 Revert "Merge pull request #11354 from Microsoft/map4"
This reverts commit adfdae0dc47db5ad8248d26929a7b31cb895a539, reversing
changes made to aad663cebf6a89f7029af57d8cb6a0a011854978.
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
Vladimir Matveev
a477d1f7bb Merge pull request #11764 from Microsoft/vladima/11744
watch configuration files if they exist even if they cannot be parsed
2016-10-20 21:31:38 -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
Mohamed Hegazy
f13cef19dd Add fallback for npm location if not running under node.exe 2016-09-22 14:34:08 -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
a2e5c2d2b5 merge with origin/master 2016-08-17 14:38:30 -07:00
Ron Buckton
1dc495adf8 Migrate additional MapLikes to Maps. 2016-08-15 16:41:32 -07:00
Ron Buckton
7f0a02ff02 Migrated more MapLikes to Maps 2016-08-15 15:03:55 -07:00
Vladimir Matveev
9a180122a5 merge with origin/master 2016-08-14 11:42:08 -07:00
Vladimir Matveev
959b6b6c07 remove unused dependencies to reduce the size of output file 2016-08-12 14:26:09 -07:00
Anders Hejlsberg
65e1293b2e Optimize performance of maps 2016-08-10 16:47:06 -07:00
Richard Knoll
084b94c4c1 Merge branch 'master' into glob2
Conflicts:
	Jakefile.js
	src/compiler/commandLineParser.ts
	src/compiler/core.ts
	src/compiler/sys.ts
	src/harness/harness.ts
	src/server/editorServices.ts
	src/services/shims.ts
	tests/cases/unittests/cachingInServerLSHost.ts
2016-05-25 17:06:50 -07:00
Jason Ramsay
ae2b7c2aa2 Removing cachePath from discoverTypings and DiscoverTypingsInfo.
With the move to using the packageNameToLocation map it is no longer required.
2016-03-03 15:17:52 -08:00
Basarat Ali Syed
1bebc711b0 fix(build) TypingResolutionHost interface is used by exported function discoverTypings 2016-03-03 10:32:07 +11:00
Jason Ramsay
e8772bc0a2 - Adding new lines after { for single-line if statements
- Renaming DiscoverTypingsSettings to DiscoverTypingsInfo to match host
2016-03-02 10:11:13 -08:00
Jason Ramsay
4bbdf2a0bb - Removing filesToWatch from getTypingNamesFromNodeModuleFolder.
These modules are already installed and are not expected to change
2016-03-01 19:06:31 -08:00
Jason Ramsay
6aad783db8 - Adding DiscoverTypingsSettings
- Remove all references to Tsd.
Instead pass a map of package names to cached typing locations
2016-03-01 18:52:11 -08:00
Jason Ramsay
b3ceea3b3d - replacing TryParseJson with existing readConfig
- push error for invalid enableAutoDiscovery option
- adding interfaces for jsons
- removing updateNotFoundTypings
- node_modules normalize file names before using
- adding safeListPath to discoverTypings
2016-03-01 11:50:27 -08:00
Jason Ramsay
0346a9889c - Removing ts. from jsTyping.js
- Adding ".json" file extension filter when retrieving json files from host and removoing filter
- simplify isTypingEnabled check
2016-02-29 08:14:00 -08:00
Jason Ramsay
f76ef47174 Adding optionalDependencies and peerDependencies to the list typings to merge in if present. 2016-02-26 15:33:34 -08:00
zhengbli
5981d8e60c CR feedback 2016-02-26 14:27:37 -08:00
zhengbli
39a51d3731 Unify the use of "filter", "map" and "Object.keys" functions 2016-02-26 14:15:07 -08:00
Jason Ramsay
18883f9d32 Using removeComments from commandLineParser. This is more robust as it removes both single and multiline comments 2016-02-23 13:30:24 -08:00
Jason Ramsay
20511f8be1 Adding devDependencies to the list of typings to merge 2016-02-23 10:31:56 -08:00
Jason Ramsay
5b06edbc54 Addressing CR comments
- Adding check to ensure TypingOptions 'include' and 'exclude' arrays are composed of strings
- Allow leading whitespace when removing comments from json
2016-02-22 19:00:06 -08:00
Jason Ramsay
0aaedc5df4 Fixing lint issues caught by Travis CI build
(Rules appear to be more strict - this was not caught on a local lint run)
2016-02-21 21:57:37 -08:00
Jason Ramsay
284d9f527c Salsa: JS support for discovering and acquiring d.ts files
(Mostly isolating VS host changes from PR#6448)
2016-02-21 21:35:02 -08:00