Coder Social home page Coder Social logo

Repo structure about threeify HOT 8 CLOSED

bhouston avatar bhouston commented on May 16, 2024
Repo structure

from threeify.

Comments (8)

bhouston avatar bhouston commented on May 16, 2024

Can we could also likely make the threeify-glsl-transpiler a module in the same spirit. I do like that structure. Let's do it.

from threeify.

bhouston avatar bhouston commented on May 16, 2024

We could just adopt Yarn2 instead of Lerna. I understand this is preferred.

A popular recipe for setting up monorepo for JavScript projects is the combination of Yarn’s workspaces (existed since Yarn 1) and Lerna as a project manager.

The good news with Yarn 2 is that now, Yarn doubles as being both a package manager as well as a project manager and aims to provide a wholesome experience for running monorepos smoothly.

https://snyk.io/blog/yarn-2-intro/

More details:

https://dev.to/lampewebdev/node-on-rails-creating-a-monorepo-aka-workspaces-with-yarn-284i

from threeify.

bhouston avatar bhouston commented on May 16, 2024

I've asked for input on Twitter here: https://twitter.com/BenHouston3D/status/1270750233316798467

from threeify.

Astrak avatar Astrak commented on May 16, 2024

Yes I wanted to make a case for yarn for another reason, but it's a better tool indeed

from threeify.

Astrak avatar Astrak commented on May 16, 2024

Lena works with yarn workspaces also, so we can use both together

from threeify.

bhouston avatar bhouston commented on May 16, 2024

Internally we are just using Yarn2. My recommendation is to lets get this working as a rendering engine before going modular. I just want to ensure that we can get provable results from the project before refactoring it.

from threeify.

bhouston avatar bhouston commented on May 16, 2024

BTW I was able to get "@threeify/" modules resolution working in the /examples folder via just tsconfig.json settings. Using this approach:

https://stackoverflow.com/a/43330003

from threeify.

bhouston avatar bhouston commented on May 16, 2024

I've adopted a mono-repository format.

from threeify.

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.