Coder Social home page Coder Social logo

Comments (6)

ashwinr avatar ashwinr commented on July 24, 2024

great idea! I'll add the npm badge. Travis builds are timing out due to the git submodule dependency on typescript. I need to figure out a way to use the compiler without pulling in their sources for every build. Maybe I'll just revert to embedding their source within tslint.

from tslint.

Bartvds avatar Bartvds commented on July 24, 2024

Nice, I see the badge.

Git submodules are always a bit funky. When I clone your repo it does not automatically pull the submodule content, but instead I have to manually do a git.exe submodule update ....

Is that the correct way to do it?

If so you might want to look into an alternate solution: the submodule downloads the whole history for the TypeScript repos (check the typescript submodule folder; mine is over a gigabyte of data :)

from tslint.

ashwinr avatar ashwinr commented on July 24, 2024

yeah, it's not good. I started out with a static repo of TypeScript. submodules are nicer as you only have to update the commit pointer to the remote repo, but it has too much overhead. I'll look into a simpler solution. Either:

  • clone the TypeScript repo locally (or)
  • use the compiled tsc.js along with its definition file

from tslint.

Bartvds avatar Bartvds commented on July 24, 2024

It would be nice if contributors (and travis-ci) can work without having to pull the gigabytes of TypeScript repo, so the first option is not that attractive (maybe even less then the current submodule).

The second one would be neat if the TypeScript devs would check-in the definition file into npm.

Alternately you could manually export just the source files from the TypeScript repo into your own repos src-subfolder and check that in. It's not as nice as a real link but it would be a lot less data, and they don't update releases that often.

And if they do you just delete the current data and export the new code and let git sort out the changes. You might even roll a simple utility script to do just that (using an external TypeScript checkout as source).

from tslint.

ashwinr avatar ashwinr commented on July 24, 2024

Aaand the builds are green!

from tslint.

Bartvds avatar Bartvds commented on July 24, 2024

I see it, very awesome.

from tslint.

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.