Giter Site home page Giter Site logo

Comments (5)

tolemac avatar tolemac commented on July 28, 2024

@meowtec thanks for report it.

I think that it is a linux issue, true?

I don't know why the tests passed in travis that runs on linux ...
I will try to fix it ASAP.

from dts-bundle.

meowtec avatar meowtec commented on July 28, 2024

Maybe your local files were still CRLF, but git auto transform CRLF to LF so that tests passed in travis?

from dts-bundle.

bjouhier avatar bjouhier commented on July 28, 2024

I just installed it with npm install -g dts-bundle on OSX. After install:

$ dts-bundle --name my-project.d.ts --main out/index.d.ts
env: node\r: No such file or directory

I edited the bin/dts-bundle file and changed the line endings to Unix style. After that it worked:

dts-bundle --name my-project.d.ts --main out/index.d.ts
dts-bundle version 0.4.3
Export TypeScript .d.ts files as an external module definition

BTW, cool tool 😄. I just had to do a small fix in one of my files and I was able to generate a valid .d.ts for my project.

from dts-bundle.

tolemac avatar tolemac commented on July 28, 2024

Sorry for the delay ... I have to fix it.

from dts-bundle.

tolemac avatar tolemac commented on July 28, 2024

@meowtec @bjouhier I could see that its a problem building the npm package, the repository it's ok.
I have released 0.5.0 version of npm package, I have download it and it hasn't CRLF line endings.

Close the issue, feel free to reopen if you want.

from dts-bundle.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.