Giter Site home page Giter Site logo

Comments (5)

DhivinX avatar DhivinX commented on June 6, 2024

Hello,

I tried to reproduce the problem myself. And the situation is as follows.

The problem lies in the order of building the packages, in turbo you should indicate in the "dist" section, "dependsOn": ["^dist"] - this means building the dependency packages first. I managed to build the repository, but I had to perform some of the steps manually. (I manually called build math, scene, webifc, viewer first)

Another thing is tsconfig, here references and paths seem unnecessary to me when we use ESM packages (ready-built packages downloaded from node_modules).

Another thing is that I see that there is no lock file in the repo, from npm or yarn, you should always send such a file to the version control system, this will allow for correct and faster reconstruction of dependencies.

And the last thing is I wouldn't mix package managers, if we use npm then not yarn and vice versa. Yarn also has "yarn publish" but it resolves dependencies in a completely different way than NPM, which is crucial in finding the right dependencies.

from sdk.

xeolabs avatar xeolabs commented on June 6, 2024

Thanks @DhivinX, I'll fix those things.

from sdk.

DhivinX avatar DhivinX commented on June 6, 2024

@xeolabs I can integrate PNPM like a package manager. I can do it this week (max next week) and maybe I can fix most of the conflicts. What do you think?

from sdk.

xeolabs avatar xeolabs commented on June 6, 2024

@xeolabs I can integrate PNPM like a package manager. I can do it this week (max next week) and maybe I can fix most of the conflicts. What do you think?

@DhivinX yes please I think that would be ideal. Go for it.

from sdk.

DhivinX avatar DhivinX commented on June 6, 2024

Fixed by #12

from sdk.

Related Issues (10)

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.