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

initial version of TypeScript support in jspm #735

Merged
merged 2 commits into from
May 25, 2015

Conversation

vladima
Copy link
Contributor

@vladima vladima commented May 5, 2015

No description provided.

@guybedford
Copy link
Member

👍

// having shim implies that 'typescript' module will have 'global' format
options.override = {
shim: { 'bin/typescript': { 'exports': 'ts' } }
};
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This needs to be committed to the jspm registry rather as a shared override - https://github.com/jspm/registry/.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

sure, I'll send a separate PR to the jspm registry repo

@vladima
Copy link
Contributor Author

vladima commented May 8, 2015

PR for adding TypeScript to jspm registry: jspm/registry#377

@PatrickJS
Copy link

👍

@guybedford guybedford merged commit ae79b72 into jspm:master May 25, 2015
@guybedford
Copy link
Member

@vladima finally merged! Thanks again for your efforts and patience. Release will follow as soon as I can this week, just IE testing and documentation to go. Happy to update the TypeScript reference when the time comes, please do update here when that happens.

@crissdev
Copy link

Awesome! I've been waiting for this. 👍
I'll be using the master branch until release. So far it works well.

@vladima
Copy link
Contributor Author

vladima commented May 26, 2015

@guybedford thanks! looking forward for the official release

@atrauzzi
Copy link

When the official release of TS support in JSPM happens, would it it be possible to get some of the documentation updated to discuss the workflow. Even if it's just to outline similar things with a TS-specific bent.

@guybedford, perhaps you can shed some light on this - but right now when working with other TypeScript packages, one would be leveraging that package's built-output. Not the raw TS code that might be included.

Are there any plans or is there perhaps already a convention to use the actual .ts or .r.ts files from my JSPM project's .ts sources? It would be neat to be able to require an NPM package and start smashing away with strongly typed code, instead of having to assume it's all been flattened to ES5 already.

@guybedford
Copy link
Member

@atrauzzi @frankwallis is the best person to chat to about this - I have very limited knowledge on the TypeScript workflows.

@Rush
Copy link

Rush commented Nov 20, 2015

What's the performance of the TypeScript integration in regards to using it in a medium to large project? For example I am concerned that compiling 100 js files in the browser may be too heavy on every page open in development. I am going for max 3 seconds from open to load of my application in development.

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

Successfully merging this pull request may close these issues.

6 participants