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

chore(tsify): upgrade tsify version to 1.0.1 #43

Conversation

julienevano
Copy link

The current version of browserify-typescript is using tsify@^0.14.1
which is incompatible with @types from TypeScript 2.0. A fix has been
created in tsify@^1.0.1.
By upgrading the package.json with tsify@^1.0.1, TypeScript becomes a
devDependency and it is not installed by tsify anymore. TypeScript will
have to be installed via npm install typescript --save-dev in your
project to use whatever version you want.

fix #42

The current version of browserify-typescript is using tsify@^0.14.1
which is incompatible with @types from TypeScript 2.0. A fix has been
created in tsify@^1.0.1.
By upgrading the package.json with tsify@^1.0.1, TypeScript becomes a
devDependency and it is not installed by tsify anymore. TypeScript will
have to be installed via npm install typescript --save-dev in your
project to use whatever version you want.

fix ionic-team#42
@rolandjitsu
Copy link

@brandyscarney is there a reason why this is not merged yet?

@mhartington
Copy link
Contributor

I think we're going to hold off on this right now. We're currently in the process of reworking the build process and this will eventually not be an issue.

@rob3c
Copy link

rob3c commented Sep 21, 2016

I just wanted to add that this would also fix ignoring comments in tsconfig.json. Currently, while typescript itself allows comments, tsify didn't until it switched to using the tsconfig module in a later version.

Unfortunately, the new ionic-app-scripts based build process fails to process comments in tsconfig.json as well :-(

UPDATE: created an ionic-app-scripts issue for it: ionic-team/ionic-app-scripts#18

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Allow to use TypeScript 2.0 and @types with browserify-typescript
4 participants