Commit Graph

2489 Commits

Author SHA1 Message Date
Sebastian Silbermann
4817ed8992 Lint against supported TS versions not just shipped (#679)
Fixes
```AssertionError [ERR_ASSERTION]: The expression evaluated to a falsy value:

  assert(minIdx >= 0)

    at range (/home/runner/work/DefinitelyTyped/DefinitelyTyped/node_modules/@definitelytyped/dtslint-runner/node_modules/@definitelytyped/dtslint/src/lint.ts:261:3)
    at getLintConfig (/home/runner/work/DefinitelyTyped/DefinitelyTyped/node_modules/@definitelytyped/dtslint-runner/node_modules/@definitelytyped/dtslint/src/lint.ts:239:28)
    at lint (/home/runner/work/DefinitelyTyped/DefinitelyTyped/node_modules/@definitelytyped/dtslint-runner/node_modules/@definitelytyped/dtslint/src/lint.ts:40:18)
    at testTypesVersion (/home/runner/work/DefinitelyTyped/DefinitelyTyped/node_modules/@definitelytyped/dtslint-runner/node_modules/@definitelytyped/dtslint/src/index.ts:233:15)
    at runTests (/home/runner/work/DefinitelyTyped/DefinitelyTyped/node_modules/@definitelytyped/dtslint-runner/node_modules/@definitelytyped/dtslint/src/index.ts:197:7)
Error: Process completed with exit code 1.
```
-- DefinitelyTyped/DefinitelyTyped/actions/runs/5030923969/jobs/9023668157?pr=65135#step:6:1920

Only verified these changes locally with `npm run test react`.
2023-05-22 08:24:10 -07:00
TypeScript Bot
7e94d0fdb7 v0.0.161 v0.0.161 2023-05-19 20:08:41 +00:00
TypeScript Bot
b5f64c912e v0.0.161-next.0 v0.0.161-next.0 2023-05-19 19:02:36 +00:00
Nathan Shively-Sanders
941589930b Fix RC installation (#678)
* Fix RC installation

Fixes #677
See that bug for discussion; it's somewhat complicated, but the fix is:
during RC you have to install the RC as well, just in case.

* add explanatory comment (that is good)
2023-05-19 11:59:10 -07:00
TypeScript Bot
8eb317e7ad v0.0.160 v0.0.160 2023-05-16 20:33:25 +00:00
TypeScript Bot
188caa2101 v0.0.160-next.11 v0.0.160-next.11 2023-05-16 17:35:41 +00:00
Nathan Shively-Sanders
27c14146bd Add 5.2 (#676)
Now that 5.1 RC is out and the Typescript main branch is on 5.2
2023-05-16 10:31:08 -07:00
TypeScript Bot
7b3a434277 v0.0.160-next.10 v0.0.160-next.10 2023-05-15 16:44:25 +00:00
Andrew Brobston
313d1f03a3 Add gray-matter to allowed dependencies (#675) 2023-05-15 09:39:53 -07:00
TypeScript Bot
80778bae9a v0.0.160-next.9 v0.0.160-next.9 2023-05-11 15:50:47 +00:00
Nathan Shively-Sanders
f2b8bf5939 Revert appinsights removal (#674)
* Revert "Remove applicationinsights (#673)"

This reverts commit 46828d62ab.

* re-remove just the latency logging
2023-05-11 08:46:58 -07:00
TypeScript Bot
052b0d9c91 v0.0.160-next.8 v0.0.160-next.8 2023-05-10 23:04:32 +00:00
Nathan Shively-Sanders
46828d62ab Remove applicationinsights (#673)
Based on an analysis of azure usage with @RyanCavanaugh.

This hasn't worked for a long time, because there's a bug in the publish
notification code that runs before the logging. I'm not sure whether to
delete that or to fix it. Publication has been reliable (and
predictable!--since the Functions changeover) for a long time
so neither the stats nor the notification are as necessary as they once
were.
2023-05-10 16:00:23 -07:00
TypeScript Bot
19721b381c v0.0.160-next.7 v0.0.160-next.7 2023-05-01 15:29:39 +00:00
Adam Thompson-Sharpe
e475aba97e feat: Add @streamparser/json to allowed dependencies (#670) 2023-05-01 08:26:21 -07:00
TypeScript Bot
e133c15d49 v0.0.160-next.6 v0.0.160-next.6 2023-04-28 18:23:31 +00:00
Andrew Branch
d51037363c Remove some outdated content from publisher readme (#669) 2023-04-28 11:20:04 -07:00
TypeScript Bot
ebb7f3939b v0.0.160-next.5 v0.0.160-next.5 2023-04-26 21:59:26 +00:00
Konrad Perlicki
91e246216f Add googleapis to allowed dependencies (#667) 2023-04-26 14:55:44 -07:00
TypeScript Bot
62d299acb7 v0.0.160-next.4 v0.0.160-next.4 2023-04-25 20:06:57 +00:00
Luna
357c10afe5 Add @react-native/virtualized-lists to allowed deps (#666)
Co-authored-by: Luna Wei <luwe@fb.com>
2023-04-25 13:03:33 -07:00
TypeScript Bot
2b1e9826a7 v0.0.160-next.3 v0.0.160-next.3 2023-04-19 04:33:48 +00:00
Noah Allen
e162cfca1b Add wordpress components to allowed dependencies (#665)
* Add wordpress components to allowed dependencies

* Alphabetize
2023-04-18 21:30:28 -07:00
TypeScript Bot
6d498b13e6 v0.0.160-next.2 v0.0.160-next.2 2023-04-11 17:30:08 +00:00
Maxim Mazurok
d81b8f6927 gapi.client.* updates (#664) 2023-04-11 10:26:21 -07:00
TypeScript Bot
544c895736 v0.0.160-next.1 v0.0.160-next.1 2023-04-04 16:00:19 +00:00
Harris Miller
39ac224305 add types-ramda to allowedPackageJsonDependencies.txt (#660) 2023-04-04 08:56:01 -07:00
TypeScript Bot
b8f151d4e3 v0.0.160-next.0 v0.0.160-next.0 2023-04-03 16:54:46 +00:00
Espen Hovlandsdal
f237aa8fb3 chore(definitions-parser): allow @types/sharp as dependency (#661) 2023-04-03 09:51:07 -07:00
TypeScript Bot
2df7962a3c v0.0.159 v0.0.159 2023-03-28 16:02:41 +00:00
TypeScript Bot
7614f1cdf3 v0.0.159-next.1 v0.0.159-next.1 2023-03-28 15:48:50 +00:00
TypeScript Bot
7c0b2f2203 Format 2023-03-28 15:48:25 +00:00
Nathan Shively-Sanders
35746f1c63 fix no-import-of-default-export (#659)
* fix message of no-import-of-default-export

* run prettier

* only check .d.ts files
2023-03-28 08:43:35 -07:00
TypeScript Bot
6380f4681c v0.0.159-next.0 v0.0.159-next.0 2023-03-27 18:15:03 +00:00
Nathan Shively-Sanders
ec2109bf3b Remove no-import-default-of-export-equals from dtslint.json (#658)
I missed it in my earlier PR
2023-03-27 11:11:08 -07:00
TypeScript Bot
cb2436d5ce v0.0.158 v0.0.158 2023-03-27 17:16:15 +00:00
TypeScript Bot
e4c9437b79 v0.0.158-next.4 v0.0.158-next.4 2023-03-27 17:04:13 +00:00
Nathan Shively-Sanders
eba074f006 Port no import default of export equals (#657)
* Port no-import-default-of-export-equals

First draft and 2/3 of the original tests. The test of modules, the one
that matters, doesn't work with typescript-eslint's test infrastructure
though.

* Port no-import-default-of-export-equals

Also update TS to 5.0 and Jest to 29.

Associated minor changes to jest config (no more top-level ts-node) and
some tslint rules (switch to a combined decorator/modifier list, but
only on select nodes).

* yarn format

* Fix lint and update new jest baseline format

More like real JSON!

* also update dts-critic (??)
2023-03-27 10:00:11 -07:00
TypeScript Bot
cb0d73d177 v0.0.158-next.3 v0.0.158-next.3 2023-03-24 17:48:32 +00:00
Josh Goldberg
214c7bd196 Converted no-single-element-tuple-type from TSLint to ESLint (#653) 2023-03-24 10:44:43 -07:00
TypeScript Bot
f02f34cadd v0.0.158-next.2 v0.0.158-next.2 2023-03-24 17:20:21 +00:00
Josh Goldberg
f2d538de14 Converted no-self-import from TSLint to ESLint (#652)
* Converted no-self-import from TSLint to ESLint

* Update packages/dtslint/src/rules/no-self-import.ts
2023-03-24 10:16:09 -07:00
TypeScript Bot
d5429a4fdb v0.0.158-next.1 v0.0.158-next.1 2023-03-23 17:24:36 +00:00
TypeScript Bot
2f69ce7146 Format 2023-03-23 17:23:59 +00:00
Nathan Shively-Sanders
182e09d338 Port no-outside-dependencies (#650)
* Port no-outside-dependencies

I couldn't imagine how to write a test for this after discovering that
only single files worked for typed tests, so I just tested it manually.

* fix description

* use isMainFile instead of custom check
2023-03-23 10:20:08 -07:00
TypeScript Bot
4dace40c9d v0.0.158-next.0 v0.0.158-next.0 2023-03-22 22:45:50 +00:00
James Garbutt
17d56dc44c chore (definitions-parser): whitelist react-router (#649) 2023-03-22 15:42:02 -07:00
TypeScript Bot
1ec9262caa v0.0.157 v0.0.157 2023-03-22 21:48:21 +00:00
TypeScript Bot
bfbe9cee25 v0.0.157-next.0 v0.0.157-next.0 2023-03-22 21:44:14 +00:00
TypeScript Bot
b53060edd3 Format 2023-03-22 21:43:45 +00:00