2502 Commits

Author SHA1 Message Date
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
TypeScript Bot
7f14573a82 v0.0.148-next.3 v0.0.148-next.3 2023-02-08 21:33:13 +00:00
TypeScript Bot
90711c10ae Format 2023-02-08 21:32:41 +00:00
Nathan Shively-Sanders
f82cb3daa5 dtslint-runner restarts children periodically (#608)
Once every 50 tasks, instead of every task. This should be enough to
avoid most ooms without slowing down execution much at all.
2023-02-08 13:29:25 -08:00
TypeScript Bot
8a7e4b2f64 v0.0.148-next.2 v0.0.148-next.2 2023-02-08 20:42:16 +00:00
Nathan Shively-Sanders
b3eb3c98d6 Print node version on startup (#607) 2023-02-08 12:38:29 -08:00
TypeScript Bot
0d18e4bd46 v0.0.148-next.1 v0.0.148-next.1 2023-02-08 17:57:22 +00:00
Nathan Shively-Sanders
8e934cc08d Stop and restart each dtslint individually (#606)
See if it stops out-of-memory crashes, even though it will be
considerably slower.
2023-02-08 09:53:24 -08:00
Nathan Shively-Sanders
d6648751b5 4 small fixes (#605)
1. 2 typo fixes
2. Use slice instead of substr, which is deprecated
3. Add support for JSDocThrowsTag using the workaround for the
dependency that doesn't have it in its enum.
2023-02-08 09:44:00 -08:00
TypeScript Bot
9df9c03345 v0.0.148-next.0 v0.0.148-next.0 2023-02-06 23:32:45 +00:00
James Garbutt
2b664ac63f chore (definitions-parser): whitelist micro package (#604) 2023-02-06 15:28:42 -08:00
TypeScript Bot
3890b87a12 v0.0.147 v0.0.147 2023-02-03 16:53:41 +00:00