Commit graph

204 commits

Author SHA1 Message Date
Nathan Shively-Sanders a5061eff19
Update scripts for octokit 17 (#36915)
* Update scripts for octokit 17

Also put playwright in alphabetical order, npm seems to like that.

* back to passing auth in the ctor I GUESS
2020-02-21 09:49:02 -08:00
Orta 19c3bcb9a9
Adds puppeteer to test whether typescript.js runs in the browser (#35471)
* Adds puppeteer to test whether typescript.js runs in the browser

* Adds a check for the browser integration into the GitHub Actions CI

* Update to use playwright, and test in three browsers
2020-02-13 14:19:33 -05:00
Wesley Wigham 1fd0e8f9a6
Bump package.json version to reflect reality 2020-02-11 15:08:03 -08:00
Alexander T 8c31700735
Enable @typescript-eslint/space-before-function-paren, @typescript-eslint/no-unused-expressions (#36569)
* use @typescript-eslint/no-unused-expressions instead of no-unused-expressions

* enable @typescript-eslint/space-before-function-paren
2020-02-04 14:43:25 -08:00
Nathan Shively-Sanders 0bbeab6e61
Revert "Skip costly tests" (#35197)
* Revert "Skip costly tests"

* fix package.json format
2019-11-19 12:59:09 -08:00
Daniel Rosenwasser 1b0fca5df5 Update version to 3.8. 2019-10-21 14:51:21 -07:00
Alexander T a3da2e77f9 update eslint. fix eslint @typescript-eslint/no-unnecessary-type-assertion errors 2019-10-04 11:00:24 +03: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
Andrew Branch 1755db4d81
Add build-eslint-rules to npm prepare script (#33417)
* Add build-eslint-rules to local build

* Switch to prepare script
2019-09-13 14:38:10 -07:00
Alexander T 861f0bec01 update eslint-formatter-autolinkable-stylish 2019-09-10 16:34:20 +03:00
Alexander 3e9d651f48 update typescript-eslint to the latest version 2019-09-09 21:35:00 +03:00
Alexander T 7ea134bacd Merge branch 'master' of https://github.com/Microsoft/TypeScript into feature/eslint 2019-09-05 09:52:04 +03:00
Wesley Wigham 2b153fc75a
Add browser field entries for all require calls in sys.ts (#33242) 2019-09-04 16:59:16 -07:00
Alexander d85eb26777 update typescript-eslint, eslint-plugin-jsdoc, del. remove @types/del 2019-09-02 20:36:15 +03:00
Alexander 49c3afdc20 update eslint, typescript-eslint, eslint-plugin-jsdoc 2019-08-31 22:16:36 +03:00
Alexander T 800248321f update eslint 2019-08-20 18:13:41 +03:00
Alexander T 41ede77c66 update typescript-eslint packages to 2.0.1-alpha.14 2019-08-20 11:09:49 +03:00
Alexander T 383750c9da update typescript-eslint, eslint 2019-08-19 14:40:07 +03:00
Alexander T 3b7f3daa28 update typescript-eslint packages to 2.0.1-alpha.8 2019-08-19 13:35:29 +03:00
Alexander T 4c30a6027b add --ci option to lint command to run eslint with the .eslintrc.ci config 2019-08-16 11:55:54 +03:00
Alexander T f20a2828f2 Merge branch 'master' of https://github.com/Microsoft/TypeScript into feature/eslint 2019-08-15 10:32:45 +03:00
Ryan Cavanaugh 11c28d6dd0
Update versions to 3.7 (#32879)
* Update versions to 3.7

* Update API baselines
2019-08-14 13:00:26 -07:00
Alexander T 466ee10011 add .eslintrc for src and scripts. update typescript-eslint 2019-08-14 12:34:16 +03:00
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