Skip to content
This repository has been archived by the owner on Apr 30, 2019. It is now read-only.

Excluding node_modules from being adding to bundled file #204

Closed
KJoyner opened this issue Aug 23, 2015 · 8 comments
Closed

Excluding node_modules from being adding to bundled file #204

KJoyner opened this issue Aug 23, 2015 · 8 comments
Assignees

Comments

@KJoyner
Copy link

KJoyner commented Aug 23, 2015

I am using tslint. This has a d.ts file under node_modules/tslint/lib/tslint.t.ts. When I run tsd install, it finds this file and automatically adds it to typings/tsd.d.ts.

Here is the output of tsd install:

-> running install

written 7 files:

- angular-ui-router/angular-ui-router.d.ts
- angularjs/angular.d.ts
- foundation/foundation.d.ts
- jquery/jquery.d.ts
- lodash/lodash.d.ts
- restangular/restangular.d.ts
- stripe/stripe.d.ts
- tslint (node)

I do not have tslint specified in my tsd.json. Can I exclude this from being added to my tsd.d.ts file. Because of this, I am failing to compile with typescript.

@PatrickJS
Copy link

👍

2 similar comments
@eps90
Copy link

eps90 commented Aug 24, 2015

👍

@alainsahli
Copy link

👍

@dsebastien
Copy link

+1

@myitcv
Copy link

myitcv commented Aug 26, 2015

This hit us too using 0.6.4-beta

@Diullei
Copy link
Member

Diullei commented Aug 26, 2015

Fixed! #205 I'll publish a new release to npm this weekend. I just need to add some tests.

@myitcv
Copy link

myitcv commented Aug 26, 2015

For now tslint v2.4.4 and v2.5.0-dev4 have been released to work around this problem by reverting this commit

@Diullei
Copy link
Member

Diullei commented Aug 29, 2015

just published a new version to npm (0.6.4) with the fix. Please, let me know if you have any problems.

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

7 participants