Commit Graph

2413 Commits

Author SHA1 Message Date
TypeScript Bot
9b08cd6c2b v0.0.152-next.5 v0.0.152-next.5 2023-03-14 18:29:23 +00:00
Jake Bailey
28dea9bfed Link to DT support window rather than mentioning TS 2.0 (#633) 2023-03-14 11:24:50 -07:00
TypeScript Bot
956da9e538 v0.0.152-next.4 v0.0.152-next.4 2023-03-13 23:48:59 +00:00
TypeScript Bot
2b5703939b Format 2023-03-13 23:48:29 +00:00
Nathan Shively-Sanders
f3b30c31d4 Handle EmptyStatement at top-level in global files (#635)
* Handle EmptyStatement at top-level in global files

getModuleInfo's per-node handling of top-level statements in a
non-module sourcefile forgot to include EmptyStatement.

* improve naming of test variables
2023-03-13 16:44:21 -07:00
Nathan Shively-Sanders
ead9b9f823 Clean up expectedFailures (#630)
Based on DefinitelyTyped/DefinitelyTyped#64559
2023-03-02 16:41:39 -08:00
TypeScript Bot
e3e10779e7 v0.0.152-next.3 v0.0.152-next.3 2023-03-02 23:02:09 +00:00
TypeScript Bot
76fecc970a Format 2023-03-02 23:01:40 +00:00
Gabriela Araujo Britto
7c43189848 Report results from running on-demand DT to github (#614)
* add comment to post results, and add write failures to file option

* merge job's files

* WIP: use folder

* add octokit dependency

* limit packages for testing

* read all files in dir

* get rid of job arg

* always write to file

* use glob

* add failure reporting

* link logs in failure report

* remove slicing

* update lock with new dependencies

* make const again

* CR comments

* limit tested packages for testing purposes

* log error

* fix for loop

* change output formatting

* update test

* remove slicing used for testing
2023-03-02 14:58:30 -08:00
TypeScript Bot
f7dcfe3b2f v0.0.152-next.2 v0.0.152-next.2 2023-03-02 00:27:21 +00:00
Marek Dědič
73f6268ea1 Added @wordpress/data to allowedPackageJsonDependencies.txt (#628)
Needed for other wordpress type packages

Co-authored-by: Andrew Branch <andrewbranch@users.noreply.github.com>
2023-03-01 16:22:36 -08:00
TypeScript Bot
560111ec4c v0.0.152-next.1 v0.0.152-next.1 2023-03-02 00:20:35 +00:00
Marek Dědič
f39f2c14a7 Added @wordpress/core-data to allowedPackageJsonDependencies.txt (#629)
Needed for other wordpress type packages
2023-03-01 16:11:39 -08:00
TypeScript Bot
66f853f297 v0.0.152-next.0 v0.0.152-next.0 2023-03-01 17:20:04 +00:00
Nathan Bierema
de948f3366 Add fflate to allowed dependencies (#627)
Needed for three.js types, since three.js re-exports fflate.
2023-03-01 09:15:46 -08:00
TypeScript Bot
695ae16032 v0.0.151 v0.0.151 2023-02-28 23:37:18 +00:00
TypeScript Bot
fa74745d66 v0.0.151-next.3 v0.0.151-next.3 2023-02-28 23:34:33 +00:00
TypeScript Bot
5c4a7b0b4d Format 2023-02-28 23:34:09 +00:00
Andrew Branch
1ad066ac05 Ignore files outside of DT repo for module resolution when detecting used files (#625) 2023-02-28 15:30:59 -08:00
TypeScript Bot
68f9b9444c v0.0.151-next.2 v0.0.151-next.2 2023-02-28 21:57:45 +00:00
Nathan Bierema
0bef3d9c3c Add lil-gui to allowed dependencies (#624)
Needed for three.js types, since three.js re-exports lil-gui
2023-02-28 13:54:04 -08:00
TypeScript Bot
566d736f4e v0.0.151-next.1 v0.0.151-next.1 2023-02-28 01:43:57 +00:00
Andrew Branch
456dc98013 Bring error for superfluous entry in OTHER_FILES back (#623)
* Bring superfluous OTHER_FILES error back

* Remove superfluous slash
2023-02-27 17:38:56 -08:00
TypeScript Bot
61c7032bcf v0.0.151-next.0 v0.0.151-next.0 2023-02-27 23:04:54 +00:00
James Garbutt
b834162420 chore (definition-parser): whitelist react-router-native (#622) 2023-02-27 15:00:25 -08:00
TypeScript Bot
8b1269bbe3 v0.0.150 v0.0.150 2023-02-27 22:13:15 +00:00
TypeScript Bot
b000dc411a v0.0.150-next.1 v0.0.150-next.1 2023-02-27 22:01:23 +00:00
TypeScript Bot
bd014a1e14 Format 2023-02-27 22:00:59 +00:00
Andrew Branch
ed2a4f3350 Use real resolution for used file detection (#615)
* Use real TypeScript resolution for determining used files

* getTypingInfo needs the whole DT FS

* Fix a few things not showing up in tests

* Disable superfluous OTHER_FILES error

* Replace internal API

* Bring back error for relatively referencing other packages

* Fix `getLocallyInstalledDefinitelyTyped`

* PR suggestions
2023-02-27 13:57:22 -08:00
TypeScript Bot
8bff9d7e83 v0.0.150-next.0 v0.0.150-next.0 2023-02-27 21:44:39 +00:00
TypeScript Bot
f47cb222f5 Format 2023-02-27 21:44:07 +00:00
Nathan Shively-Sanders
8fb472ba1c Add TS 5.1 in preparation for 5.0 RC (#616) 2023-02-27 13:40:33 -08:00
TypeScript Bot
4b46bd0681 v0.0.149 v0.0.149 2023-02-27 20:39:31 +00:00
TypeScript Bot
1eec0f6213 v0.0.149-next.0 v0.0.149-next.0 2023-02-27 20:13:26 +00:00
Nathan Shively-Sanders
32beddf26b Delete estree.clearProgramCache (#620)
1. The newest version of estree makes clearCaches clear all caches, not
just the watch caches.
2. The newest version of estree also mistakenly exports
clearProgramCache as the *call* of clearCaches, not an alias for it.

Previous to the new version of estree, clearCaches and clearProgramCache
were two different things, and both were needed to avoid running out of
memory in dtslint-runner.
2023-02-27 12:09:54 -08:00
TypeScript Bot
7d6b632d5d v0.0.148 v0.0.148 2023-02-27 17:10:03 +00:00
TypeScript Bot
88cc50053f v0.0.148-next.9 v0.0.148-next.9 2023-02-27 16:59:45 +00:00
Nathan Shively-Sanders
cc66601b2f Update typescript eslint at root (#617)
* Update typescript-eslint dependencies at root

Looks like overnight runs are mistakenly using typescript-eslint/*@4
when they should be on 5 to have access to the cache-clearing function.
Try upgrading the dev version of typescript-eslint to 5 to see if that
fixes it.

* Add missing dependency

Makes lint succeed.
2023-02-27 08:56:14 -08:00
TypeScript Bot
6b7b87b7dd v0.0.148-next.8 v0.0.148-next.8 2023-02-16 22:40:48 +00:00
Nathan Shively-Sanders
ce0d29ce71 typescript-eslint workaround + misc fixes (#613)
* typescript-eslint workaround + misc fixes

1. typescript-eslint memory usage workaround provided by @bradzacher in
https://github.com/typescript-eslint/typescript-eslint/issues/6462.
Clear caches after each run so that ts.Program objects aren't retained
forever.
2. typescript-eslint speedup provided the same way. Avoid constructing
some objects that are only needed for editors.
3. Add yet another jsdoc tag to no-redundant-jsdoc2
4. Correct and reduce amount of perf-related printing at end of
ExpectRule. The correction is needed now that ExpectRule saves the
equivalent of --extendedDiagnostics after running; I changed the name of
the properties to match.

* fix semicolon lint
2023-02-16 14:37:19 -08:00
TypeScript Bot
7cafafbeb5 v0.0.148-next.7 v0.0.148-next.7 2023-02-10 01:16:15 +00:00
Nathan Shively-Sanders
3fd975c8bd Skip eslint in --expectOnly (#612)
expectRule hasn't been ported, so no need to run eslint when
--expectOnly is provided.
2023-02-09 17:12:37 -08:00
TypeScript Bot
c30a9f59a6 v0.0.148-next.6 v0.0.148-next.6 2023-02-09 22:58:15 +00:00
TypeScript Bot
f120be06d4 Format 2023-02-09 22:57:51 +00:00
Nathan Shively-Sanders
fb9364af19 Add same perf logging as tsc's --extendedDiagnostics (#611)
* Add same perf logging as tsc's --extendedDiagnostics

* remove outdated comment
2023-02-09 14:54:43 -08:00
TypeScript Bot
d9bdbfa085 v0.0.148-next.5 v0.0.148-next.5 2023-02-09 17:34:01 +00:00
TypeScript Bot
587a419cac Format 2023-02-09 17:33:36 +00:00
Nathan Shively-Sanders
fc284b4e7a Add child restart interval flag (#610)
* Add child restart interval flag

* exempt another CONST from linting
2023-02-09 09:29:27 -08:00
TypeScript Bot
c2215f5abe v0.0.148-next.4 v0.0.148-next.4 2023-02-08 23:42:51 +00:00
Nathan Shively-Sanders
226582f90f Try only 20 tasks per child instead of 50 (#609)
50 tasks per child avoids about 90% of ooms without slowing down tests
much at all. Let's see if 20 tasks per child will avoid closer to 100%
without slowing down too much more.
2023-02-08 15:38:19 -08:00