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

Our src/typings folder needs to go away #83421

Closed
7 tasks done
bpasero opened this issue Oct 28, 2019 · 21 comments
Closed
7 tasks done

Our src/typings folder needs to go away #83421

bpasero opened this issue Oct 28, 2019 · 21 comments
Assignees
Labels
debt Code quality issues typescript Typescript support issues
Milestone

Comments

@bpasero
Copy link
Member

bpasero commented Oct 28, 2019

Rather, we should move to a model where we reference the types from our package.json. Unfortunately this will mean quite a bit of work for all modules that currently either do not ship with types or do not have an entry in the DefinitelyTyped repository.

We can split this up by module owner, but someone needs to drive this ideally.

@bpasero bpasero added typescript Typescript support issues debt Code quality issues labels Oct 28, 2019
@bpasero
Copy link
Member Author

bpasero commented Oct 28, 2019

I removed the following:

  • chokidar
  • iconv-lite
  • graceful-fs

@Tyriar
Copy link
Member

Tyriar commented Oct 28, 2019

I removed modifications to xterm.d.ts, will it work by pulling the types from the module now or does it need @types?

@bpasero bpasero self-assigned this Oct 29, 2019
@bpasero bpasero added this to the On Deck milestone Oct 29, 2019
@mjbvz
Copy link
Collaborator

mjbvz commented Nov 5, 2019

Opened the-ress/node-windows-foreground-love#4 for moving typings into the library itself. However since this library is optional and not installed on Mac/Linux builds, I'm not sure if this is the correct solution

@mjbvz
Copy link
Collaborator

mjbvz commented Nov 5, 2019

Opened microsoft/node-spdlog#7 for spdlog

@joaomoreno
Copy link
Member

[email protected] has been released with typings

Tyriar added a commit that referenced this issue Nov 6, 2019
mjbvz added a commit that referenced this issue Nov 7, 2019
Allows us to remove our typings as part of #83421
@mjbvz
Copy link
Collaborator

mjbvz commented Nov 7, 2019

@joaomoreno Can you please pick up the new spdlog version. I reverted my change with 768399b since it broken the remote checks

@bpasero bpasero modified the milestones: On Deck, November 2019 Nov 7, 2019
joaomoreno added a commit that referenced this issue Nov 7, 2019
@joaomoreno
Copy link
Member

@mjbvz Done!

@jrieken
Copy link
Member

jrieken commented Nov 7, 2019

fyi - I have added trustworthy checkboxes and names as good as I could. also, to clarify: we cannot get rid of everything here (e.g IE11 specials) but we should aim at removing all d.ts-files for node_modules. If you/we own a node_module they should ship a d.ts-file and otherwise we need to adding to the typings registry

@alexdima alexdima removed their assignment Nov 21, 2019
@roblourens roblourens removed their assignment Dec 1, 2019
roblourens added a commit that referenced this issue Dec 1, 2019
@weinand weinand removed their assignment Dec 4, 2019
@sandy081 sandy081 modified the milestones: November 2019, December 2019 Dec 6, 2019
@bpasero
Copy link
Member Author

bpasero commented Dec 6, 2019

I updated the list based on what we still have.

@weinand I think VSDA was signed off but I still see it.

@jrieken there are quite a bit of d.ts still around which I think are not there because of a node module dependency. I was not sure if the 2 in the list fall into that category, please check.

@jrieken
Copy link
Member

jrieken commented Dec 6, 2019

Yeah, they are both needed. The Thenable is required to implement the API and the promise extension is for our finally-polyfill that we have.

@weinand
Copy link
Contributor

weinand commented Dec 6, 2019

@bpasero I've added an index.d.ts to vsda but I was not able to remove vsda from src/typings because vsda is an optional dependency. Therefore I've added the "(MUST go through @types/xyz because optional dep)".
If you know a better solution please let me know.

@jrieken jrieken removed their assignment Dec 6, 2019
@bpasero
Copy link
Member Author

bpasero commented Dec 6, 2019

@weinand right, it needs to go to DefnitleyTyped 👍

@sandy081 sandy081 removed their assignment Dec 10, 2019
sandy081 added a commit that referenced this issue Dec 10, 2019
@weinand weinand removed their assignment Dec 10, 2019
@weinand
Copy link
Contributor

weinand commented Dec 10, 2019

There is now a SignService without a dependency on vsda.

@bpasero
Copy link
Member Author

bpasero commented Dec 11, 2019

@vscodebot vscodebot bot locked and limited conversation to collaborators Feb 1, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
debt Code quality issues typescript Typescript support issues
Projects
None yet
Development

No branches or pull requests