Commit graph

417 commits

Author SHA1 Message Date
Orta Therox 41dcad056a
Adds a script for removing unused diagnostics (#44324)
* Adds a script for removing unused diagnostics

* Accidentally deleted the wrong one
2021-08-24 13:03:18 +01:00
Ryan Cavanaugh e00b5ecd40
Enable max-statements-per-line lint rule (#45475)
* Enable the rule

* Fix all the violations
2021-08-16 13:53:51 -07:00
Orta Therox fdc31baffe
Fix types in the boolean trivial lint rule (#44801) 2021-06-29 11:53:35 -07:00
Oleksandr T 7c47be76b0
fix(44738): fix eslint rules (#44739) 2021-06-25 14:50:19 -07:00
Ikko Ashimine 4903c64ad2
Fix typo in open-cherry-pick-pr.ts (#44517)
seperately -> separately
2021-06-09 14:16:08 +01:00
Orta Therox be2fec1386
Update playground build script (#44456) 2021-06-07 21:39:52 +01:00
Orta Therox b603a04eed
Switch references to master to main in the codebase + validating infra post-main migration (#44347)
* Update package.json

* Remove references to master in the codebase

* Add more master - main
2021-06-01 20:44:18 +01:00
Oleksandr T db01e84700
feat(eslint): consistent-type-assertions (#43556) 2021-05-18 06:20:57 -07:00
Ron Buckton 68b0323b72
Refactor emit substitution into transform (#42676)
* Refactor emit substitution into transform

* Add reusable state machine for binary expressions

* Allow emitBinary to use state machine for comments/sourcemaps

* Switch core trampoline state back to arrays

* Switch binder to parallel stacks, temporarily partially revert emitBinary

* Add link to benchmark when posting perf results

* Ensure work stacks are per-execution

* Reenable comments and sourcemaps
2021-02-25 23:01:41 -08:00
Andrew Branch d3055f0f29
--inspect can no longer be used as a flag through gulp (#42701)
* --inspect can no longer be used as a flag through gulp

* Add --break alias

* Update scripts/build/options.js
2021-02-12 16:01:22 -08:00
Wesley Wigham 3722584029
Make the configurePrerelease script OK with version having a string type annotation (#42008) 2020-12-17 10:13:12 -08:00
Oleksandr T 2437ce5793 feat(eslint): upgrade typescript-eslint/eslint 2020-11-02 12:37:10 +02:00
Andrew Branch 2084404b8f
Install playwright on demand (#40722)
* Remove playwright from package.json

* Install playwright on demand

* Adds debugging info to the playwright script

* Move installation first

* Get it working on node 10 again

* Update browserIntegrationTest.js

* Update browserIntegrationTest.js

Co-authored-by: Orta <git@orta.io>
2020-09-29 12:22:04 -07:00
Wesley Wigham 83574ba135
Reorder LKG tasks so protocol build isn't using partial LKG (#40717)
* Reorder LKG tasks so protocl build isnt using partial LKG

* Update scripts/produceLKG.ts

Co-authored-by: Daniel Rosenwasser <DanielRosenwasser@users.noreply.github.com>

Co-authored-by: Daniel Rosenwasser <DanielRosenwasser@users.noreply.github.com>
2020-09-23 00:49:12 -07:00
Wesley Wigham 3a75838cb7
include stdout in runSequence thrown error 2020-09-02 14:35:00 -07:00
Wesley Wigham 56a2e34991
Ping @sandersn on new user baseline commits (#40117)
* Ping @sandersn on new user baseline commits

You asked for this~

* Update whitespace/comment
2020-08-18 13:28:33 -07:00
Wesley Wigham 5519027600
Minor fixes to consmetic build issues in user test PR script 2020-07-17 06:43:50 -07:00
Orta Therox 3593c28692
Adds a script for hooking up dev builds of TS to the playground (#38859) 2020-07-06 12:27:52 -04:00
Andrew Casey 0e3f25d079
Copy typesMap.json in produceLKG.ts (#39329)
* Copy typesMap.json in produceLKG.ts

It doesn't change very often and there's a hardcoded backup, but this
seems like a booby trap.

* Remove unused import
2020-07-01 13:55:35 -07:00
Orta Therox 479650fbca
Use MS repo for making monaco builds (#39316) 2020-07-01 11:18:15 -04:00
Ron Buckton fbd1c958e5
Update failed test tracking to support Mocha 6+ (#39211)
* Update failed test tracking to support Mocha 6+

* grep should not be an array
2020-06-23 15:19:30 -07:00
Wenlu Wang 59ad375234
Add deprecated related feature (#38523)
* Add deprecated related feature

* Add more support

* fix navtree

* Add identifier check

* Add more deprecated

* fix crash

* fix more crash

* fix crash

* improve diagnostic

* avoid new tag

* avoid tags

* accept baseline

* Check deprecated in binder

* fix baseline

* fix jsdoc cache

* fix incorrect fix

* Avoid useless changes

* Accept baseline

* Add tests

* fix perf

* fix public api

* Adjust deprecated mark on qualifed name

* Revolve alias symbol

* Use modifier flags insted of symbol props

* Fix modifier flag resolve

* Make lint happy

* Fix crash

* fix crash

* Add cached utils function

* Accept baseline

* Add more tests

* try pinning octokit again

* Avoid tests

* Use utils some

* Deprecated perf test (#3)

* check valueDeclaration only

* check without modifierFlags

* donot check alias

* use cached tag

* remove call to jsdoc

* use deprecated tag

* revert changes

* Revert mission changes

* use node flags

* cache result

* cache

* avoid modifier flags

* Opts

* fix jsdoc include modifier

* fix tests

* fix again

* use symbol flag

* set @octokit/rest back to latest

* fix trailing spacel int

Co-authored-by: Nathan Shively-Sanders <293473+sandersn@users.noreply.github.com>
2020-06-18 17:41:26 -07:00
Ron Buckton b2afa7b657
Update request-pr-review script to latest version of octokit (#39031) 2020-06-11 18:04:21 -07:00
Ron Buckton ec426eec8b
Add script to work around GH issue with suggested reviewers (#37422) 2020-03-17 12:10:55 -07:00
Wesley Wigham d34af449ca
Recognise master branch-equivalent as master 2020-03-11 15:19:39 -07:00
Wesley Wigham bacfda4ce8
Update user test baseline script to diff against a single authoratative WIP master branch (like RWC) (#37350) 2020-03-11 14:38:59 -07:00
Ethan Resnick 5d6b385e65
cleanup: remove unused variable assignment (#33917)
The initial value in `text` was being immediately overwritten by the next statement
2020-03-09 14:48:35 -07:00
Wesley Wigham d33fb87da8
Include input PR title in bot PR title 2020-02-27 11:07:32 -08:00
Orta e804dc8900
Update the authors script to generate the content of authors.md (#36867) 2020-02-27 12:47:09 -05:00
Wesley Wigham 9190fac5fd
Some would say it's trigger'd 2020-02-21 14:20:19 -08:00
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
Wesley Wigham e3b6bd2b54
getDate not getDay, also 1-based months please 2020-02-19 11:39:17 -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 8ef498f69e
Also edit the cherry-pick script to handle non-master base branches while we are here 2020-02-05 11:01:02 -08:00
Wesley Wigham a8f01dfff8
Patch cherry pick script for new octokit 2020-02-05 10:47:25 -08:00
Hye Sung Jung 8ed129771f
fix spelling errors (#36523)
* fix spelling errors

* remove changes in lib/*
2020-01-30 13:39:54 -08:00
Ron Buckton 6769313eee
Fix potential leaks in checker (#36491) 2020-01-28 16:48:28 -08:00
Daniel Rosenwasser d044e0680a
Renamed references to 'configurePrerelease'. (#35997) 2020-01-06 16:38:46 -08:00
Eli Barzilay 8939b251b8 Fix cmdline aliases specs 2020-01-03 15:43:30 -05:00
Eli Barzilay dadb64ba70 Disable timeout when debugging
Use `-t 0` since somewhere a default timeout is set otherwise.
2019-12-30 14:42:35 -05:00
Eli Barzilay 5d3284032b Fix scripts/hooks/post-checkout
Shell scripts must use LFs.  Also make it executable.

(Both failures probably don't happen on some windows environment where
git is told to translate EOLs, and all files are assumed executable.)
2019-12-18 17:25:07 -05:00
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 cfefe841b7 Allow --inspect=port in gulp runtests
Makes it possible to run two debuggers side-by-side.
2019-11-22 08:42:38 -05: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
Orta e39bdc3606
Adds back the script to request a playrgound build (#35168) 2019-11-18 12:05:54 -05:00
Andrew Casey 5c951635e5
Fix chalk import (#35040) 2019-11-11 11:24:20 -08:00
Orta b9fe84e591
Fix up some of the ignore files, and removing the create language service script (#33684)
* Fix up some of the ignore files, and removing the create script

* Update .dockerignore
2019-11-06 11:11:29 -05:00
Orta ec367feb58
Remove the ping for playgrounds on TS deploys (#34862) 2019-10-31 18:50:00 -07:00
Orta 72b7a6527e Adds accept header to the dispatch request when requesting a playground build of monaco (#34763) 2019-10-28 11:07:36 -07:00
Orta Therox 392af2bea8 Merge branch 'master' of https://github.com/microsoft/TypeScript into small_ts 2019-09-26 13:55:12 -04:00