Giter VIP home page Giter VIP logo

Comments (2)

dusunax avatar dusunax commented on September 10, 2024

모노레포 관련 오류

  • 로컬 root에서 turbo build하는 경우: 오류 없음
  • 로컬 root에서 turbo build --filter=game-builder로 특정 레포를 빌드하려하는 경우

turbo build --filter=game-builder

image

  • 또는 game-builder 레포에서 turbo run build
    image

pnpm i -S @repo/ui

  • root에서 의존성 x
    image

  • 각 레포에서 의존
    image

  • package.json 확인 => packages는 찾을 수 있는 것으로 보임

    • pnpm-workspace.yaml 에서 packages 설정되어 있음
    packages:
      - "apps/*"
      - "packages/*"

레퍼런스

https://stackoverflow.com/questions/70343215/eslint-no-extraneous-dependencies-error-with-npm-workspaces

  • 린트 오류 ?!
    • (1)린트 무시
    • (2)import/resolver
      image

Turborepo

https://turbo.build/repo/docs/crafting-your-repository/structuring-a-repository

https://turbo.build/repo/docs/crafting-your-repository/creating-an-internal-package

Typescript path alias & monorepo

from frontend.

dusunax avatar dusunax commented on September 10, 2024

결론

  1. 모노레포 관련 path 관련 이슈이다.
  2. init부터 다시 진행하면서 확인해보자.
  3. 240825 release 브랜치에서 packages/ui 레포지토리를 game-builder 내에 복사해서 배포
  • 작업/배포 일정이 지연되지 않도록 3으로 진행하되, 가능한 타이밍에 2번을 진행한다.

from frontend.

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.