Giter Site home page Giter Site logo

Comments (4)

PaulRBerg avatar PaulRBerg commented on May 18, 2024

Fantastic idea.

This is why we added a caveat in the README:

If you've previously installed create-eth-app globally via yarn global add create-eth-app, we recommend you uninstall the package using yarn global remove create-eth-app and use the yarn create eth-app shorthand to ensure that you use the last version.

But you're right - as per Hyrum's Law, it's almost guaranteed for someone out there to misuse the API.

from create-eth-app.

TomAFrench avatar TomAFrench commented on May 18, 2024

Related to this, we can think about exploring how IPFS can be used to stored these templates.

from create-eth-app.

PaulRBerg avatar PaulRBerg commented on May 18, 2024

Implemented in #75.

from create-eth-app.

PaulRBerg avatar PaulRBerg commented on May 18, 2024

I'm reopening this issue because I realised that a strict versioning of templates comes with an undesirable second-order effect.

Say that we release v1.6.0 and it has a bug that makes all templates not run the start script. Well, all users that installed [email protected] globally will forever be stuck with a defect release of our software.

It's true that similar bad things can happen when CEA always pull the templates from the HEAD ref, but in that case we can hot-fix the bugs. And the issue of older versions of CEA not being compatible with the latest HEAD is remediated by adhering to semver - if we make any breaking change, it should be part of a v2 release.

Update

After mulling over this, I think we should proceed with the strict versioning. The upside of determinm is greater than the downside of a potential buggy release.

from create-eth-app.

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.