You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hi @zachlysobey The blockstack.js lib is written in typescript. We recently did an overhaul of that package to determine the minimum required set of packages.
@moxiegirl sounds like it is there for a reason then? But I'm still confused.
I see that typescript is a (build-time) dev-dependency of the blockstack.js project. But that shouldn't mean that you would need to include that package in consumers of blockstack.js. And certainly not as a regular run-time dependency. If typescript really is required, than that would indicate to me that something really really weird is going on :)
Hi @zachlysobey You're right; nothing's written in typescript in Animal Kingdom and it's not needed. I just put it in there because a lot of folks in Animal Kingdom are new users and we don't want to confuse them with a lot of peer dependency warnings, in case someone doesn't know they can be ignored (having typescript in there clears about a half-dozen).
@zachlysobey Thank you for this issue. I'm going to go ahead and change the title slightly. I'll add a small explanation to the docs about why we do this.
Activity
moxiegirl commentedon Jun 21, 2019
Hi @zachlysobey The blockstack.js lib is written in typescript. We recently did an overhaul of that package to determine the minimum required set of packages.
zachlysobey commentedon Jun 21, 2019
@moxiegirl sounds like it is there for a reason then? But I'm still confused.
I see that
typescriptis a (build-time) dev-dependency of theblockstack.jsproject. But that shouldn't mean that you would need to include that package in consumers ofblockstack.js. And certainly not as a regular run-time dependency. If typescript really is required, than that would indicate to me that something really really weird is going on :)Sahana-Srinivasan commentedon Jun 21, 2019
Hi @zachlysobey You're right; nothing's written in typescript in Animal Kingdom and it's not needed. I just put it in there because a lot of folks in Animal Kingdom are new users and we don't want to confuse them with a lot of peer dependency warnings, in case someone doesn't know they can be ignored (having typescript in there clears about a half-dozen).
moxiegirl commentedon Jun 24, 2019
@zachlysobey Thank you for this issue. I'm going to go ahead and change the title slightly. I'll add a small explanation to the docs about why we do this.
[-]Why the typescript dependency?[/-][+]Explain why the typescript dependency?[/+]