Giter Club home page Giter Club logo

Comments (5)

creationix avatar creationix commented on June 15, 2024

I'd rather not have this. Its caused lots of trouble to npm and Isaac is constantly trying to discourage people from using it. Is there a concrete use case where this is needed?

from lit.

james2doyle avatar james2doyle commented on June 15, 2024

How about a post-install message? Sublime Text sort of does this with package control after you install or update a plugin. This way you can have something like:

you must have X in your path to use this module

or even

please see http://example.com/usage for compile instructions before using this module

I think Sublime Plugins do a good job of this post-install message stuff, but they serve a full text file and not just a single line

from lit.

lhelsloot avatar lhelsloot commented on June 15, 2024

I'm working on a package that relies on existing luarocks packages. Instead of having to include precompiled versions of those packages for multiple platforms, I want to use luarocks to install them when installing the lit package.

from lit.

nihildeb avatar nihildeb commented on June 15, 2024

+1 for no scripts. I think @lhelsloot makes a perfect example of the type of abuse such a feature could permit. lit is a lua package manager whos job is to manage luvi app dependencies dependencies, not luarocks. If I installed a luvi package, and it went on to install a bunch of luarocks, I would be irritated to say the least.

Also, as a dev, I expect to be able to make a standalone executable which contains all my deps after 'make' is done. Adding scripts to the lit installation means you have an inconsistent environment between where you installed the app, and where you deploy/distribute it.

from lit.

creationix avatar creationix commented on June 15, 2024

I really don't want to enable script hooks, they are dangerous and very non-portable. If you do have a need to mix package systems, use something higher level like chef that is made for this kind of work instead of adding responsibility to lit.

from lit.

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.