130 Commits

Author SHA1 Message Date
Jake Bailey
3cd72e76b2 Change build system to hereby
This eliminates a significant number of dependencies, eliminating all
npm audit issues, speeding up `npm ci` by 20%, and overall making the
build faster (faster startup, direct code is faster than streams, etc)
and clearer to understand.

I'm finding it much easier to make build changes for the module
transform with this; I can more clearly indicate task dependencies and
prevent running tasks that don't need to be run.

Given we're changing our build process entirely (new deps, new steps),
it seems like this is a good time to change things up.
2022-11-07 13:35:48 -08:00
Jake Bailey
4139807e75 Add build via esbuild
This configures the existing build tasks to use esbuild by default. If
using the plain files is desired, passing `--bundle=false` will build
using plain files and still produce a runnable system.

This is only a basic build; a more efficient build is provided later
when gulp is replaced by hereby.
2022-11-07 13:34:44 -08:00
Andrew Casey
f1d62f4dc4
Change watchdog tagged users (#51411) 2022-11-04 15:23:08 -07:00
Jake Bailey
754eeb2986
Update CodeQL workflow and configuration, fix found bugs (#51263) 2022-10-27 16:29:55 -07:00
Andrew Casey
2c12b14999
Add a GH Action to file a new issue if we go a week without seeing a typescript-error-deltas issue (#51271)
* Add a GH Action to file a new issue if we go a week without seeing a typescript-error-deltas issue

* Don't use the search terms in the title of the bug report
2022-10-24 10:23:04 -07:00
Jake Bailey
ad56b5ca56
Convert scripts/Gulpfile to checked mjs/cjs so they can run without compilation (#50988) 2022-10-07 09:50:46 -07:00
Jake Bailey
9dfffd0fbb
Update GitHub Actions (#51045) 2022-10-04 08:11:58 -07:00
Jake Bailey
acb8977190
Remove .github/tsc.json (#50664) 2022-09-21 17:11:54 -07:00
Andrew Branch
6d384876e5
Fix workflow typo (#50746) 2022-09-12 15:41:30 -07:00
Andrew Branch
7120b520cf
Update twoslash workflow (#50738)
* Update twoslash workflow

* Split conditional checkout
2022-09-12 13:35:36 -07:00
Jake Bailey
68d526c200
Don't run linter after tests runs (#50597) 2022-09-12 13:30:18 -07:00
Jake Bailey
3c3820b1a4
Simplify CI detection (#50661) 2022-09-06 16:36:37 -07:00
Jake Bailey
cbc0b17eac
Push package-lock.json updates via typescript-bot token (#50476) 2022-08-26 14:36:25 -07:00
Jake Bailey
12c32553e4
Split CI linting/playwright out into separate jobs (#50406) 2022-08-22 17:42:29 -07:00
Andrew Casey
c0461be025
Update pr_owners.txt
Add Navya
2022-07-27 15:12:08 -07:00
Jake Bailey
1361567ea4
Update to npm 8, pin in package.json via volta and corepack (#49941) 2022-07-27 14:02:24 -07:00
Jake Bailey
adfb20fbeb
Don't uninstall typescript before npm ci in GHA (#50062) 2022-07-27 09:42:22 -07:00
Jack Bates
9357c183cb
Fix up "Use symbolic GitHub Actions Node.js versions (#49403)" (#49420)
* Fix up "Use symbolic GitHub Actions Node.js versions (#49403)"

* Use npm v6 to update package-lock.json
2022-06-07 14:20:05 -07:00
Jack Bates
0d7fbbb415
Use symbolic GitHub Actions Node.js versions (#49403) 2022-06-06 13:51:04 -07:00
Darius D
bab02d24be
Add Node v18 to CI (#48824)
* Add Node v18 to CI

* Address comments
2022-04-27 08:50:22 -07:00
Andrew Branch
7920783876
Fix workflow syntax error (#48842) 2022-04-25 13:03:02 -07:00
Marek Dědič
42fc05b087
Don't run scheduled GitHub actions on forks (#48693)
Co-authored-by: TypeScript Bot <typescriptbot@microsoft.com>
2022-04-25 11:37:54 -07:00
Andrew Branch
0976658418
Allow triggering twoslash bisection manually (#48721) 2022-04-15 12:44:37 -07:00
Andrew Branch
4fdffbf58f
Checkout needs everything (#48689) 2022-04-13 17:25:05 -07:00
Andrew Branch
f1df67cf00
Fix workflow syntax 2022-04-13 17:21:19 -07:00
Andrew Branch
d7c95930ef
setup-node needs a version spec (#48688) 2022-04-13 17:19:39 -07:00
Andrew Branch
cb8ddd972d
WIP (#48682) 2022-04-13 17:16:31 -07:00
Andrew Branch
a7d818b24a
Allow twoslash-repros action to be run on-demand 2022-04-11 11:50:46 -07:00
Wesley Wigham
f30ce1ff8f
Update update-package-lock.yaml
12 -> 14
2022-04-08 11:16:49 -07:00
Wesley Wigham
5e721d979d
Update update-lkg.yml
12 -> 14
2022-04-08 11:16:27 -07:00
Wesley Wigham
76e6e46d51
Update sync-branch.yaml 2022-04-08 11:15:41 -07:00
Wesley Wigham
6bcc53bbce
Update set-version.yaml 2022-04-08 11:15:21 -07:00
Wesley Wigham
b246dee2b8
Update nightly.yaml 2022-04-08 11:14:50 -07:00
Wesley Wigham
a33e7acfc8
Update ci.yml
Update node versions
2022-04-08 11:14:11 -07:00
Wesley Wigham
8e447462a6
Update accept-baselines-fix-lints.yaml
12 -> 14
2022-04-08 11:13:37 -07:00
Wesley Wigham
ee82068989
Update new-release-branch.yaml
12 -> 14
2022-04-08 11:13:13 -07:00
Wesley Wigham
1df80737a1
Update release-branch-artifact.yaml
12 -> 14 (we have odd test errors on 12 that aren't worth debugging)
2022-04-08 11:12:29 -07:00
Ryan Cavanaugh
7addca63ae
Update issue templates (#48261) 2022-03-15 14:43:46 -07:00
Andrew Branch
03f9035029
[GH Actions] Implicitly use AUTHORIZATION header instead of PAT-in-URL (#47894)
* Implicitly use AUTHORIZATION header instead of PAT-in-URL

* Does just GITHUB_TOKEN work?

* Try unsetting extraheader config

* Do config inside repos
2022-02-14 12:40:07 -08:00
Orta Therox
935c05cf34
Fix the related repos CI (#47386) 2022-01-11 15:27:51 +00:00
Orta Therox
e46f3baec1
Adds a github actions workflow which pings related repos with a blank commit once a month to ensure their automation stays running (#46747) 2022-01-07 13:37:16 +00:00
tjjfvi
5cab95150a
Discourage typo fixes in PR template (#46908)
* Discourage typo fixes in PR template

Wording taken from [this comment](https://github.com/microsoft/TypeScript/pull/45834#issuecomment-919606286).

There have been a number of rejected typo fix PRs lately; hopefully this can reduce the amount of typo-fix-rejecting work for the team.

* Tweak typo fix discouragement in PR template

Removed "the same generally applies to other projects" per orta

* Update typo fix discouragement
2021-12-23 14:58:23 +00:00
Daniel Rosenwasser
6a1af7cf5f
Add DanielRosenwasser to PR owners. (#47006) 2021-12-03 12:32:16 -08:00
Jake Bailey
5113ba284b
Add jakebailey to pr_owners.txt (#46996) 2021-12-02 14:09:10 -08:00
Nathan Shively-Sanders
f30ab60579
Update github workflows node10 -> node16 (#45996) 2021-09-21 16:00:09 -07:00
Jack Bates
6aaefe41fe
Remove vestigial baselines (#45916)
* Remove vestigial baselines

* Update Baselines and/or Applied Lint Fixes

* Add --quiet

Co-authored-by: TypeScript Bot <typescriptbot@microsoft.com>
2021-09-16 12:49:47 -07:00
Orta Therox
a4364dcc62
Update pr_owners.txt (#45911) 2021-09-16 09:20:00 -07:00
Dirk Bäumer
b45e129f4a
Add rich navigation indexing action (#45431)
* Add rich navigation indexing action

* Remove dbaeumer/richNav from indexed branches

* Move lsifrc file to .github folder

* Remove dbaeumer/richNav
2021-08-24 13:38:11 -07: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
Eli Barzilay
58a6692ef0 Implement a two-way mirroring between the wiki and its public repo
Previously, changes to the wiki would get merged to the public repo in a
once-a-week action.  This significantly revises this, making the two
sides be mirrors (up to the few seconds it takes to do a merge).

This is driven by a minimal-ish yaml file in both sides (`TypeScript`
and `TypeScript-wiki`) that *always* works from the script in the public
repo.

The two action specs are nearly identical, but there are some differences:

  - On the main repo, trigger on a `gollum` event, and in the wiki repo
    the usual (pushes, schedule, manual).  (The schedule run is kept as
    a just-in-case, and it's now running twice a week.)
  - The filename is `sync-wiki` on the TS side and just `sync` in the
    wiki.  (Good to avoid confusion if both files somehow find
    themselves in the same neighborhood.)
  - The secret names are different since I used the name that already
    exists in each side.

The script does *not* start with a checkout of its repository.  Doing
this in the TS side would be redundant (it would get the TS tree) and
slow.  Instead, it's always cloning the public wiki repo (`DASHREMOTE`,
since its url is `.../TypeScript-wiki`) and then fetching into it the
repo of the rendered wiki (`DOTREMOTE`, with a `.../TypeScript.wiki`)
url.

Also revised the README, since they should always be mirrored with this
change, and therefore there is no "source of truth".
2021-05-24 16:14:42 -04:00