Giter VIP home page Giter VIP logo

Comments (4)

ArnaudPel avatar ArnaudPel commented on July 29, 2024

Looking more into the project, I seem to understand that you may already be releasing it as a ruby gem, although I couldn't find anything on https://rubygems.org/

Since this project is only 1% ruby code (just for packaging IIUC), it would make much more sense to approach the dependency the other way around IMO: depend on an npm package from your ruby app.

If you / your team is indeed more familiar with Ruby, maybe this guide to creating node modules will be of interest.

(as a side note, I observed that third-party js dependencies have been committed in vendor/assets/javascripts/. this doesn't scale, and can precisely be avoided with package managers like npm)

from plate-map.

bwlang avatar bwlang commented on July 29, 2024

This is a good suggestion ... i'm not sure when we'll get to look at it but I agree that this is mostly js so we should release it in that environment. I'm thinking about using bower as well which might help to elminate the embedded dependencies.

from plate-map.

ArnaudPel avatar ArnaudPel commented on July 29, 2024

Glad we agree. Bower themselves recommend migrating away from them. They suggest Yarn as an alternative, but two arguments would make me lean towards npm. Disclaimer: I am partial to npm since that's what we are currently using :)

Moreover, I believe the choice between the two is not so definitive, by that I mean that once the lib is packaged correctly, moving from one package manager to the other shouldn't be too hard.

from plate-map.

ArnaudPel avatar ArnaudPel commented on July 29, 2024

On a more practical note. We've decided to try and integrate plate-map to our own front-end app. If that goes well and suits our needs, I'd be keen for my team to have a go at packaging it, and submit a PR if all goes well.

from plate-map.

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.