Skip to content
This repository was archived by the owner on Aug 4, 2021. It is now read-only.

Remove Typescript from dependencies #50

Closed
cebor opened this issue Jul 17, 2016 · 8 comments
Closed

Remove Typescript from dependencies #50

cebor opened this issue Jul 17, 2016 · 8 comments

Comments

@cebor
Copy link

cebor commented Jul 17, 2016

Is it possible to remove Typescript from dependencies, so it's not bound to a specific version, and it's possible to use Typescript 2.0.0.

@amcdnl
Copy link

amcdnl commented Jul 19, 2016

Agreed, and probably update to TS 2.0

@cebor
Copy link
Author

cebor commented Jul 22, 2016

Think removing is the better way, so you can decide which version of typescript you want to use.

Or maybe move it to devDeps so the tests will still work.

@cebor
Copy link
Author

cebor commented Jul 22, 2016

PR: #55

@emilekberg
Copy link

it is still possible to use typescript 2.0, install it as through npm and do as the readme says.

npm install typescript@beta
- then - 
return rollup({
        entry: './src/core.ts',
        plugins: [
            typescript({
                typescript: require('typescript')
            })
        ]
});

@TrySound
Copy link
Member

This "feature" will require user to think more then user should. It's your choice if you want to use different version. One more dependency won't break your life. Upgrade will be someday.

@alex-kinokon
Copy link

Can we have TypeScript 2.0 now?

@tabanliviu
Copy link

#81 shows a systematic problem with custom typescript libraries because helpers are hardcoded in the plugin source

@PaulBGD
Copy link
Collaborator

PaulBGD commented May 23, 2017

I'm going to close this as a no, however in the future for another major version I'll consider this. I think it's definitely helpful for a baseline TypeScript version to be installed for the user, however offering the ability to use whatever version you want is something that I support as well.

@PaulBGD PaulBGD closed this as completed May 23, 2017
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

8 participants