Commit Graph

219 Commits

Author SHA1 Message Date
Wesley Wigham
c447ebc59c Refactor: No more than 1 namespace declaration per file (#35373)
* Refactor: No more than 1 namespace declaration per file

* Simplify refs where possible
2019-11-27 13:44:31 -08:00
Eli Barzilay
cd34808a14 Fixes missing error exit code when a bogus input file is specified
Fixes #33849.
2019-10-15 15:35:07 -04:00
Eli Barzilay
f25575e5fe Typofix: ..._OutputsSkupped -> ..._OutputsSkipped 2019-10-15 15:13:11 -04:00
Wesley Wigham
558ece72cb Add support for capturing cpu profiles into tsc itself (#33586)
* Add support for capturing cpu profiles into tsc itself

* Accept baseline for new compiler option in showConfig

* Fix lints

* Support profiling build mode, only ever have one live profiling session

* Minor modification to enable/disable semaphore, accept re-cased baseline

* Add pid into autognerated cpuprofile path

* Rename to fix case

* Sanitize filepaths in emitted cpuprofile for easier adoption by enterprise people, add inspector to browser field
2019-09-27 13:34:44 -07:00
Sheetal Nandi
382ff17df2 Update emitting timestamps during testing 2019-09-24 16:20:07 -07:00
Sheetal Nandi
b76277092c Add test to verify tsc like command line input 2019-09-20 14:10:48 -07:00
Sheetal Nandi
e430f2a81c Add output file names api for supporting ts-loader 2019-09-18 14:13:49 -07:00
Sheetal Nandi
c0f0d9f798 Merge branch 'master' into dtsOnlyEmit 2019-09-11 12:42:48 -07:00
Sheetal Nandi
e43d504422 Baseline tsbuild info section files from written files 2019-09-09 15:14:35 -07:00
Alexander T
f20a2828f2 Merge branch 'master' of https://github.com/Microsoft/TypeScript into feature/eslint 2019-08-15 10:32:45 +03:00
Sheetal Nandi
9e8fbcd7f8 Transitively upstream blocked project should not build 2019-08-09 13:38:25 -07:00
Sheetal Nandi
94d54b967d Circular reference in the build queue is build stoppable error 2019-08-09 13:38:25 -07:00
Alexander
023e4c6249 disable no-redeclare 2019-08-09 07:30:40 +03:00
Alexander
ceccfd8867 array-type: [ default: array, generic: array ] 2019-08-08 21:30:18 +03:00
Alexander
a292ae1789 Merge branch 'master' of https://github.com/Microsoft/TypeScript into feature/eslint 2019-08-04 15:35:41 +03:00
Sheetal Nandi
2db8a13d81 Remove project status, watches etc when project is no longer part of build order 2019-07-29 15:33:34 -07:00
Alexander T
11ec6118fb @typescript-eslint/array-type 2019-07-29 18:39:11 +03:00
Alexander T
9f474150c6 Merge branch 'master' of https://github.com/Microsoft/TypeScript into feature/eslint 2019-07-02 17:57:44 +03:00
Sheetal Nandi
b32afb55d1 Merge pull request #31985 from microsoft/buildInfoData
Make paths in tsbuildinfo file to be relative to the file
2019-06-27 12:49:52 -07:00
Alexander T
136f4cfc0f no-redeclare 2019-06-27 12:29:32 +03:00
Alexander
7389200ce2 Merge branch 'master' of https://github.com/Microsoft/TypeScript into feature/eslint 2019-06-23 18:49:35 +03:00
Alexander T
702dc59b36 no-fallthrough 2019-06-22 10:50:25 +03:00
Sheetal Nandi
0e5d95feef Container only ref needs to be ignored from uptodate status
Fixes #31288
2019-06-20 16:09:35 -07:00
Sheetal Nandi
d36099c98d Use absolute paths for buildInfoDirectory 2019-06-20 12:55:02 -07:00
Sheetal Nandi
06d188a255 Support --locale with --build
Fixes #31960
2019-06-19 15:38:05 -07:00
Sheetal Nandi
d760cbb74b Make any paths in buildInfoFile to be relative to it. 2019-06-19 12:54:21 -07:00
Sheetal Nandi
098c9008b8 Make more build options internal which correspond to internal compiler options
Also fix return type of readBuilderProgram
2019-05-16 14:50:09 -07:00
Sheetal Nandi
ec4ea0e474 Watch only built projects 2019-05-16 11:21:09 -07:00
Sheetal Nandi
0cb980dd6e Add api to build referenced projects 2019-05-15 15:28:13 -07:00
Sheetal Nandi
629bc0c04d Always emit tsbuild info if path says so (irrespecitive of if there exists bundle and project) 2019-05-15 11:54:17 -07:00
Sheetal Nandi
89d1475fde Add writeFileCallbacks to done method and also on host 2019-05-15 09:38:02 -07:00
Sheetal Nandi
d7c3b5e5d0 Add getParsedCommandLine as optional method on SolutionBuilderHost 2019-05-14 16:33:08 -07:00
Sheetal Nandi
97fcea14d5 Api to get next invalidated project 2019-05-09 16:02:26 -07:00
Sheetal Nandi
8c489bfdf8 UpdateBundleProject<T> to contain emit method 2019-05-09 15:30:16 -07:00
Sheetal Nandi
f0b7e08d2c Move towards BuildInvalidatedProject api where one can query program and perform its operations 2019-05-09 14:18:15 -07:00
Sheetal Nandi
e4fe4acc17 Make update bundle return invalidated project if it cant update the bundle 2019-05-07 14:22:34 -07:00
Sheetal Nandi
5270b7e9b0 Make invalidated projects as api so we can expose it later 2019-05-07 14:14:30 -07:00
Sheetal Nandi
6227fabbed Make invalidated project when only need to be built or updated 2019-05-07 13:24:49 -07:00
Sheetal Nandi
f017433857 Move everything into state so we can pass it around 2019-05-06 15:43:25 -07:00
Sheetal Nandi
71b190af61 Create api for buildNextProject 2019-05-02 16:15:40 -07:00
Sheetal Nandi
5c18513e96 Make SolutionBuilder as Public API 2019-05-02 15:36:15 -07:00
Sheetal Nandi
3da47963d5 Remove startWatching as explicit method from api 2019-05-02 15:22:07 -07:00
Sheetal Nandi
e8074f7fdc Rename cleanAll to clean and take optional project as input 2019-05-02 15:00:53 -07:00
Sheetal Nandi
5b361c8497 Make API to build project and wire cancellation token 2019-05-02 14:16:06 -07:00
Sheetal Nandi
9ba4ab1eae Merge branch 'master' into builderAPI 2019-04-30 12:36:07 -07:00
Sheetal Nandi
7c63658f73 Merge branch 'master' into buildWatchCaching 2019-04-30 11:24:43 -07:00
Sheetal Nandi
1a75c62ceb Remove resetBuildContext 2019-04-29 13:27:53 -07:00
Sheetal Nandi
04a972b9f3 More refactoring 2019-04-29 13:17:07 -07:00
Sheetal Nandi
4b572bea37 Instead of having two separate paths for building projects, (build all or invalidated use single path) 2019-04-29 13:17:06 -07:00
Sheetal Nandi
ddee617e84 Make SolutionBuilder and SolutionBuilderWithWatch separate 2019-04-29 13:16:36 -07:00