Commit graph

231 commits

Author SHA1 Message Date
Alexander 481d70d50d Merge branch 'master' of https://github.com/Microsoft/TypeScript into feature/eslint 2019-08-07 21:23:10 +03:00
Alexander T 5217574414 split lint task to list-scripts, lint-compiler. add list-scripts, lint-compiler to postTest 2019-08-06 09:48:21 +03:00
Alexander a37d34a5b6 lint src/, scripts/ folders separately 2019-08-04 15:33:01 +03:00
Michael Crane 5e19753979 Update browser table 2019-08-02 10:50:49 -07:00
Bill Ticehurst 996e7e50d5 Use optional module "@microsoft/typescript-etw" for ETW logging 2019-07-29 15:32:40 -07:00
Alexander b6c3c7a486 Merge branch 'master' of https://github.com/Microsoft/TypeScript into feature/eslint 2019-07-29 22:25:02 +03:00
Wesley Wigham b963e1a2a7
Update LKG (#32578)
* Update LKG

* Add @types/node version bump

* Small paatches/casts to be compatible with latest node

* Accept API baseline update

* Make internal NodeBuffer compatable with latest Buffer

* Why do we even have an internal buffer type

* Sync up internal buffer type better

* Fix lint

* Readd mroe missing Buffer methods
2019-07-29 10:33:43 -07:00
Alexander T 11ec6118fb @typescript-eslint/array-type 2019-07-29 18:39:11 +03:00
Alexander 0059763d8f move eslint rules from eslint-plugin-microsoft-typescript to scripts/eslint 2019-07-24 13:31:17 +03:00
Alexander T bb817c74c2 update eslint 2019-07-22 13:58:14 +03:00
Alexander T 8bf5ebc417 remove tslint, tslint:disable-next-line, update @typescript-eslint/* 2019-07-18 16:00:44 +03:00
Alexander T 68ae4382bd jsdoc/check-alignment 2019-07-18 15:06:56 +03:00
Alexander T 2c32308f35 no-null/no-null 2019-07-18 10:50:38 +03:00
Alexander c5453c8b35 import/no-extraneous-dependencies 2019-07-05 21:55:05 +03:00
Alexander T ab28ee7005 update eslint, @typescript-eslint/* 2019-06-27 14:08:53 +03:00
Alexander T 810303542d Merge branch 'master' of https://github.com/Microsoft/TypeScript into feature/eslint 2019-06-27 11:51:20 +03:00
Alexander T 702dc59b36 no-fallthrough 2019-06-22 10:50:25 +03:00
Nathan Shively-Sanders a852f2feea Skip costly tests
1. Add a script to generate a sorted list of most costly tests. A tests'
cost is roughly `runtime% / number of edits`. A slow test that's only
been updated once is much less valuable than a slow test that has
been updated 20 times: the latter test is catching more changes in the
type system.

2. Check in the results of running this script. I want to make the
skipping behaviour deterministic and the same for everybody, even though
you may get slightly better performance by examining only *your* test
changes.

3. Add code to skip tests until it reaches a 5% chance of missing an
edit. Right now this provides a 38% speedup.

Still not done:
4. Make this value configurable.
5. Make the CI configuration specify a 0% chance of missing an edit.
2019-06-14 13:35:41 -07:00
Alexander T 55b8a38d50 add eslint 2019-06-13 13:39:49 +03:00
Wesley Wigham 49c44f650a
Add script for pack response postback (#31748) 2019-06-03 15:24:35 -07:00
Daniel Rosenwasser 94f19c7edd Update version to 3.6.0. 2019-05-29 08:59:44 -07:00
Ryan Cavanaugh 885d4d63c8
Remove "generate types" code (#31075) 2019-04-23 13:51:47 -07:00
Daniel Rosenwasser 24b1ec8681 Update version to '3.5.0'. 2019-04-03 13:00:47 -07:00
Wesley Wigham b67f2d6bdf
Remove jake (hopefully for real this time) (#29085)
* Remove jake (hopefully for real this time)

* Fix gulpfile non-lkg build, add sanity-check build to posttest on CI, accept older baseline style to go with lkgd build

* More docs/scripts jake -> gulp
2019-02-20 15:32:15 -08:00
Wesley Wigham ee17915801
Fix build breaks (#29977)
* Some callbacks in watchUtilities werent being strictly checked due to the structural fallback

* Add direct dependeny on ms since mocha removed its impl

* Manually init stats collection on base runner like mocha.run now does
2019-02-19 14:30:58 -08:00
Nathan Shively-Sanders ed8c81a563
Update lodash dependency (#29903)
For security reasons
2019-02-14 14:56:22 -08:00
Ron Buckton e96310790f
Merge pull request #29619 from Microsoft/simpleGulp
Simplify gulp to just use 'tsc -b' to build, update to gulp@4
2019-01-28 15:07:19 -08:00
Daniel Rosenwasser c899c2ee00 Bump version to 3.4. 2019-01-28 12:36:24 -08:00
Ron Buckton 47c2708a9c Simplify gulp to just use 'tsc -b' to build, update to gulp@4 2019-01-27 21:56:56 -08:00
Matt 1b2ca96aad Build - List "pretty-hrtime" as a dev dependency in root "package.json". 2018-12-13 19:11:15 +11:00
Daniel Rosenwasser ece46113a5 Bump to 3.3. 2018-11-20 01:52:42 -05:00
Limon Monte a24b4b9216
chore(package.json): http -> https, add www. for homepage
Google Chrome is marking http websites as insecure starting from July 2018
2018-09-26 10:56:25 +03:00
Daniel Rosenwasser e1fd0ea53e Bump version to 3.2. 2018-09-25 16:48:03 -04:00
Andy c57ff087d6
Add codefix to generate types for untyped module (#26588) 2018-09-18 11:47:29 -07:00
Ron Buckton 111300ccd5 Fix overlapping test runs in 'gulp watch' 2018-08-29 12:57:05 -07:00
Mohamed Hegazy ec6e37ec62 Update version 2018-07-12 11:37:19 -07:00
Ron Buckton 5ed96ec072 Clean up browserify task, remove unused 'debugMode.js' script 2018-06-25 16:21:28 -07:00
Ron Buckton c8c0428162 Cleanup, remove some unneeded dependencies, make it easier to add gulp.watch support later 2018-06-20 18:24:12 -07:00
Ron Buckton 891b15f60a Update gulpfile to support project references 2018-06-18 22:45:13 -07:00
Ron Buckton 23c7571e27 Merge branch 'master' into parallelAsyncTests 2018-06-15 13:26:27 -07:00
Ryan Cavanaugh d63100a21b Add fs-extra 2018-06-13 11:56:10 -07:00
Ron Buckton ece8f2691b Support async tests in runtests-parallel 2018-06-11 14:22:37 -07:00
Ryan Cavanaugh a61a7a2a6e Attempt to rewrite the jakefile and fail 2018-06-10 10:58:16 -07:00
Mohamed Hegazy d55837175c Update version 2018-05-16 13:50:48 -07:00
Wesley Wigham 2dd0ff3ea8
Add script for automatically creating PRs for user test updates (#24036)
* Draft of script to automatically create user baseline update PRs

* Some modifications to make testing easier
2018-05-10 15:02:35 -07:00
Ron Buckton 4863d55d01 Merge branch 'master' into vfs 2018-04-27 14:03:42 -07:00
Andy 4a379d66d4
Use @types/travis-fold (#23694) 2018-04-25 16:15:06 -07:00
Ron Buckton 370107ed7b Merge branch 'master' into vfs 2018-04-19 16:55:35 -07:00
Ron Buckton 154f09bee9 Reorganize project structure. 2018-04-17 18:42:59 -07:00
Ron Buckton 1cbe930e06 Merge branch 'master' into vfs 2018-04-17 14:39:20 -07:00
Wesley Wigham 391c0565d7
Use ts-check instead of ts-node to avoid transpilation overhead on gulp startup (#23486) 2018-04-17 17:19:42 -04:00
Daniel Rosenwasser db1e924a4b Update version to 2.9. 2018-03-22 13:06:00 -07:00
Ron Buckton f153b04f35 Revert changes to unit tests 2018-02-05 23:29:20 -08:00
Ron Buckton 7f4ac292b9 Clean up build steps 2018-01-30 12:51:28 -08:00
Ron Buckton 4d8d51452c Migrate core.ts 2018-01-30 11:57:47 -08:00
Ron Buckton d0988b8078 PR Feedback 2018-01-29 15:35:44 -08:00
Ron Buckton f527a15108 Disable node6 build 2018-01-29 12:49:35 -08:00
Ron Buckton 7ca84aca52 Merge branch 'master' into vfs 2018-01-29 11:05:07 -08:00
Mohamed Hegazy 1cc164b330
Update version (#21319) 2018-01-24 12:05:44 -08:00
Ron Buckton cda87282b4 Update build script 2018-01-24 10:57:18 -08:00
Ron Buckton 87de5ffb5c Merge branch 'master' into vfs 2018-01-22 02:25:22 -08:00
Ron Buckton ee415576b6 More consistent POSIX-like virtual file system. 2018-01-19 21:58:46 -08:00
Mohamed Hegazy 4eb633e0d9
Fix version of @types/node to 8.5.5 (#21019) 2018-01-04 17:46:09 -08:00
Ron Buckton fb469e70cb Update build for node 6 to allow private package 2017-12-20 12:39:19 -08:00
Ron Buckton e426257d8c Revert more baselines, add jake task for typemock 2017-12-19 13:40:32 -08:00
Ron Buckton 7944f5082b Merge branch 'master' into vfs 2017-12-18 12:12:51 -08:00
Josh Goldberg 423ab2e03d Removed colors devDependency (#20430)
* Replaced colors with chalk

* Used chalk's preferred import style
2017-12-14 16:05:25 -08:00
Wesley Wigham 79a1240a19 Revert merge pull request #20429 (removing chai) (#20654)
* Revert "Merge pull request #20429 from Microsoft/unchai"

This reverts commit 66ec938164, reversing
changes made to 37a40561ac.

* Update lockfile
2017-12-13 06:49:50 -08:00
andy-ms 72b7d6ef4e Remove dependency on chai 2017-12-03 18:36:29 -08:00
Ron Buckton fa428356d5 Switch to function spies 2017-11-22 19:07:29 -08:00
Ron Buckton 41567b2261 Migrate tscWatchMode to vfs 2017-11-21 19:47:13 -08:00
Andy ae87cd2fa9
Enable 'no-implicit-dependencies' lint rule (#19716) 2017-11-03 15:08:19 -07:00
Wesley Wigham 3f406bd3ec Use light test flag by default (#19362)
* Use `light` test flag by default

* Different boolean formulation
2017-10-19 17:15:54 -07:00
Mohamed Hegazy 8a292e3514 Update version (#19353)
* Update version

* Accept baselines after version change
2017-10-19 15:37:38 -07:00
Mohamed Hegazy a8b7f7d1e5 Include localized diagnostics (#18702)
* Add lcl files

* Add loclalization script

* Add localization build targets

* use async exists, and add assert

* Generate lcg file

* Add localize task to gulpFile

* Only run loclaize if the generated files neededs update. Also run localize as part of local

* Fix lint errors

* Linter love

* Respond to code review comments
2017-10-02 17:16:08 -07:00
Wesley Wigham 1821735136 Add custom formatter which has clickable links, reduce error duplication in gulp output (#18613) 2017-09-21 08:36:50 -07:00
Andy Hanson b21d3f03bd Move browser-resolve to devDependencies 2017-08-28 07:48:43 -07:00
Ryan Cavanaugh 43b8ce664c Merge 2017-08-22 14:31:49 -07:00
Daniel Rosenwasser a38da8af70 Merge pull request #17838 from Microsoft/rev2.6.0
Bump version to 2.6.0.
2017-08-16 23:50:50 -07:00
Daniel Rosenwasser afdd77f1f6 Bump version to 2.6.0. 2017-08-16 10:41:49 -07:00
Wesley Wigham c92deef6ec Fix runtests-browser with latest node (#17735)
* Fixes for running tests in the browser with the latest node

* Make memoize safe

* Integrate PR feedback, require key func on memoize
2017-08-11 10:58:38 -07:00
Wesley Wigham 2c2df9eec2 Fix runtests-browser in gulp, including RWC, remove into-stream (#17540) 2017-08-01 11:14:39 -07:00
Ryan Cavanaugh 253cde4907 Fix tests 2017-07-27 16:59:31 -07:00
Wesley Wigham e52b996484 Fix gulp & types for gulp to 3 (#16771) 2017-06-27 13:45:41 -07:00
Mohamed Hegazy 1d0087dd2d Update version 2017-06-12 18:28:10 -07:00
Mohamed Hegazy 2e6f31f8e0 Use tslint@latest (#16049)
* Use tslint@latest

* use latest gulp-typescript
2017-05-25 12:23:15 -07:00
Daniel Król ab7e59649b Remove @types/gulp-typescript dependency
gulp-typescript since 2.13 comes with types included
2017-05-04 09:19:07 +02:00
Mohamed Hegazy 2ff38a4b24 Update version 2017-04-26 14:27:46 -07:00
Vladimir Matveev da0bd618f8 update gulp-typescript to 3.1.5 2017-02-16 07:30:19 -08:00
Mohamed Hegazy 53d095bd69 Update version 2017-02-13 20:35:54 -08:00
Andy Hanson a0b417d1be Fix gulp-typescript version 2017-01-09 06:31:17 -08:00
Kagami Sascha Rosylight 67e1fd8403 next again 2016-12-20 03:47:55 +09:00
Mohamed Hegazy 994273dd72 Fix tslint version 2016-12-19 10:24:46 -08:00
chico 1c2ad3eb6e Drop unmaintained versions of Node.js from package.json 2016-12-02 06:35:35 +03:00
Vladimir Matveev 56f97e16e3 remove tsd dependency (#12206) 2016-11-13 13:52:25 -08:00
Vladimir Matveev b15d144955 switch to tslint@next (#12201) 2016-11-13 13:34:18 -08:00
Mohamed Hegazy ea309fe504 Update version (#12162) 2016-11-10 16:30:01 -08:00
Andy Hanson e8c3d62d99 Lock tslint version to 4.0.0-dev.0, because 4.0.0-dev.1 complains about unnecessary semicolons following properties 2016-11-03 08:14:40 -07:00
Nathan Shively-Sanders 8e6f6a4060 Update preferConstRule to use getCombined*X*Flags
now that they are exported.
2016-09-08 08:34:33 -07:00
Mohamed Hegazy e0587a01d8 Fix the TS version to 2.1.0-dev.20160906 to avoid build break in tslint untill a new package is released 2016-09-07 10:43:52 -07:00