-
-
Notifications
You must be signed in to change notification settings - Fork 615
typings not included in jspm distribution #644
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
Comments
@unional take a look at the typescript skeleton. It uses typescript, typings and jspm: https://github.com/aurelia/skeleton-navigation/tree/master/skeleton-typescript |
Please reopen. I'm a contributor of Currently, due to limitation of TypeScript support for I'm adding jspm i npm:aurelia-***
typings i jspm:aurelia-*** // this will resolve the jspm dependency and add the typings locally ping @EisenbergEffect , he is aware of this feature. EDIT: To clarify how this is related, when |
Opening this to consider updating our distribution somehow. |
Thanks. The PR for this feature is at |
Hi, jspm support is landed in |
I've had a few issues relating to this. There's no other option, that I can see, than to distribute/duplicate the I've just remembered that, following the move to typescript, Would it be an acceptable idea to update all non-TS libraries to distribute the |
Commonly used packages to check and update would be:
Any of these?
Quite a list... and I fear I may have missed one or two. |
I have written my own tool to handle this. It is far from ideal. |
they are generated based on TS types in ES6 sources. |
OP is asking for typings support for the jspm repository. Typings is deprecated.. The problem OP was trying to solve is "how do we make typescript and typescript-enabled IDEs aware of types installed by jspm." The TypeScript team has noted that analyzing jspm_packages for types the way it works with node_modules is not as viable because of the way that jspm versions packages. jspm has provided no further specification for specifying types that we can comply with. The less than ideal but not entirely painful solution is to run an npm install to get your types. |
Hi @EisenbergEffect ,
I finally get time to test jspm support for
typings
.I notice when I install
aurelia
packages in jspm, thepackage.json
and*.d.ts
is not included.Using
aurelia-pal
as an example, it points todist/amd
which does not have*.d.ts
Also,
package.json
should also be deployed to that we can find out where the typings file is located (same as whattsc
does onnpm
side).Can you take a look into it?
The text was updated successfully, but these errors were encountered: