Giter Site home page Giter Site logo

Comments (3)

dan-searle avatar dan-searle commented on June 8, 2024

Yeah, fair enough.

Perhaps the demos folder should look like this:

  • demos/
    • src/ (demo source templates, config etc as now)
    • registry/ (demo files built for the registry - HTML only)
    • local/ (demo files built for local development - HTML, JS, CSS)

origami-build-tools demo would be changed to generate both registry and local versions of the demos rather than only building one or the other.

Then it should be much clearer which files are used where, and it wouldn't really matter if the local files get committed, in fact it would save a developer an extra step in building them.

from origami-build-tools.

triblondon avatar triblondon commented on June 8, 2024

local versions of demos will contain large bundles of other components, and I don't really like those being committed. A change in file structure might be helpful though because it would enable a demos/local directory to be listed in .gitignore. Currently, targeting the same dir for build service and local demos does make it awkward to find the correct files to commit.

So, I suggest that normal demos continue to be saved in demos, and local versions are saved in a subfolder called local, which is also added to gitignore.

No real opinion on whether the tool should update configs automatically, but if it does, it would be good to make that clear in the CLI output so there's no magic. @kavanagh are you happy with this?

from origami-build-tools.

kavanagh avatar kavanagh commented on June 8, 2024

Yep

from origami-build-tools.

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.