Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

@definitelytyped/dtslint version '0.0.183' requires notNeededPackages.json file to exist #775

Open
kamontat opened this issue Oct 22, 2023 · 6 comments

Comments

@kamontat
Copy link

kamontat commented Oct 22, 2023

Invoking: dtslint types
[email protected]
Error: ENOENT: no such file or directory, open '<path>/notNeededPackages.json'
Returned error code: 1
"<project_name>" failed to build.
@jakebailey
Copy link
Member

jakebailey commented Oct 22, 2023

Where are you trying to run this tooling outside of DefinitelyTyped itself? It's likely you will be better served by a tool like tsd or eslint-plugin-expect-type.

@kamontat
Copy link
Author

kamontat commented Oct 22, 2023

@jakebailey Yes, I would like to test against multiple typescript versions (basically I would like to have my own DefinitelyTyped/DefinitelyTyped for internal usage)

BTW tsd you mean this one right?

ref: https://github.com/tsdjs/tsd

@jakebailey
Copy link
Member

Yes, though I guess that tool doesn't check multiple versions. What aspect are you looking for? Just expect type? All of the other stuff is going to be somewhat DT specific, and we have recently greatly changed the layout of DT.

@kamontat
Copy link
Author

@jakebailey Yes, just expect type.

@jakebailey
Copy link
Member

Yeah, but unfortunately tsdjs/tsd#47 isn't yet fixed, so it's somewhat of a challenge.

I suspect that if we were to fix the notNeededPackages thing, you'd just butt up against a new issue introduced by the huge pnpm monorepo migration, unfortunately.

@Maxim-Mazurok
Copy link
Contributor

Hi @jakebailey, I'm having pretty much the same issue, in more details here: #850

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants