Comments (7)
Sorry for that, It isn't the first time. I work under windows and Git change the line endings on checkout, later npm publish upload files with CRLF to npm server and only git push change the line endings when upload to git server.
I have added .gitattributes
file where assign LF line ending to TS and JS files ... I hope that will be the last time.
from dts-bundle.
@tolemac just patched it up real quick as I needed it tonight but yeah that's all it is...
from dts-bundle.
Yep all good!!! 💯
from dts-bundle.
Install dos2unix
brew install dos2unix
Then run against lib files where your node config prefix is located at /var/local
dos2unix /var/local/lib/node_modules/dts-bundle/lib/index.js
Do the same for the dts-bundle.js file at the same path.
To check your node prefix run
npm config get prefix
If you want to fix this perm. just fork fix as described above then install from your repo until the author sorts it all out.
npm install username/dts-bundle -g
from dts-bundle.
Its a problem with line ending.
I'm going to fix it.
from dts-bundle.
@vp2177 I have just released 0.6.1 version.
Can you test it? I'm over windows system now.
from dts-bundle.
yeah sure..just a sec.
from dts-bundle.
Related Issues (20)
- file not found error if both .d.ts file and a folder with the same name exist HOT 8
- removeSource option deletes .d.ts files within node modules HOT 3
- Export as default edge case
- A 'declare' modifier is required for a top level declaration in a .d.ts file. HOT 4
- Unable to reference external typings HOT 2
- Duplicated imports after bundle into single .d.ts file HOT 3
- Reexporting module as named export for module library HOT 4
- bug? declare module 'yargs2/index//yargs' HOT 2
- Bundle includes more than it should when using main
- dts-bundle generates circular dependencies HOT 1
- fs.writeFileSync passes the encoding the wrong way
- tsconfig.json paths HOT 2
- Add support to export as namespace HOT 1
- "already got export for:"
- All d.ts files bug with scoped package
- Interfaces with same name in separate files are combined
- Bundler fails for all declarations if project name contains slash HOT 1
- Declaration for style files
- Relative import error with namespace
- Project seems dead. dts-bundle-generator looks like an alternative.
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from dts-bundle.