monorepo Questions

2

I've just learned about the git worktree feature. It seems to fit my use-case well: I'm used to having a separate repo clone to do side tasks on. I'm working in a big monorepo with lots of frequent...
Towney asked 3/3, 2022 at 15:5

2

Solved

I have monorepository managed by rush (https://rushjs.io/) The structure of code is: As you see, there are two eslint configs and two directories node_modules (it is just symlink created by rus...
Peanut asked 11/7, 2019 at 11:27

3

I have a Monorepo which uses Typescript. I have a common folder which shows this error on the top of the file -> Entry point for implicit type library 'glob'. I am not sure what is wrong with th...
Dumbwaiter asked 23/6, 2022 at 18:7

8

I ve setup a basic turborepo project and I want to share .env variables across the all the apps and some of packages. If I set one .env file in the root of project and how can all apps and packages...
Brigham asked 30/12, 2021 at 8:10

2

Many guides (e.g. 1, 2) on setting up NPM monorepos for a TypeScript project instruct having two separate files at the root level, tsconfig.json and tsconfig.build.json. What are the differences be...
Photoreceptor asked 18/4, 2023 at 19:13

3

I created a Turborepo testing project and I wanted to try if ESlint config that it's set in the root of the Turborepo applies to all of the projects inside my /apps folder, turns out it does not wo...
Nutation asked 9/11, 2022 at 8:47

5

Solved

Inside my Monorepo I have one packages in which I want all the dependencies inside its node_modules. But whatever I do, it's node_modules remains empty. So, for the purpose of my question I was ...
Ortensia asked 19/6, 2019 at 21:9

5

suppose I have this monorepo: /apps /apps/app1 /apps/app1/src (contains index.ts and many other files and subfolders here) /apps/app1/tsconfig.json /apps/app1/package.json /apps/app2 /apps/app2/sr...
Probst asked 25/9, 2023 at 18:37

7

I've been looking around the web to try and find s nice solution to my problem but so far I have not. I have a NX monorepo with NextJS and I am trying to create a global types/ folder that can be u...
Rebate asked 1/10, 2021 at 9:2

8

I have tried using Nx in an attempt to make use of Monorepos. I have been facing an issue to serve multiple apps via nx run-many command. Can anyone correct me if I'm doing something wrong? Command...
Mustachio asked 30/4, 2021 at 9:55

6

Solved

I've encountered problem building typescript packages with rollup inside lerna managed monorepo. Error: lerna ERR! rollup --config ../../rollup.config.js stderr: loaded ../../rollup.config.js wit...
Baba asked 16/11, 2019 at 14:50

1

I created a project using npm workspaces and Typescript Project References pretty much exactly like this example repo: https://github.com/Quramy/npm-ts-workspaces-example. This setup keeps all node...
Hua asked 9/8, 2022 at 9:36

2

i'm trying to convert an inherited monorepo from yarn+lerna to pnpm workspaces i'm currently getting an error due to mismatching react versions, typescript isn't picking up on the @types/react vers...
Habiliment asked 1/11, 2022 at 8:48

2

Solved

I have this Nrwl monorepo with a couple of apps. One of it is a NestJs app, which runs fine as long as I do everything inside my Monorepo. However, I need to run my NestJS app inside a Docker conta...
Cyano asked 8/3, 2023 at 14:21

3

I'm trying to create a monorepo containing a NestJs API, a React app, and many other smaller projects shared between them The monorepo is set up with yarn workspaces The React app using Vite import...
Diacritic asked 6/1, 2023 at 18:6

0

When i run yarn build i get this error : ERROR run failed: error preparing engine: Could not find "___ROOT___#build" in root turbo.json Turbo error: error preparing engine: Could not fin...
Antoineantoinetta asked 26/6, 2023 at 14:26

1

Solved

I have a monorepo that uses npm workspaces. root/ app/ package.json server/ package.json store/ package.json utils/ package.json The app/package.json file references private non-published ...
Latinism asked 25/6, 2023 at 21:33

2

Solved

I’ve created a monorepo with Turborepo that contains 2 SvelteKit apps and 2 packages: a component library (which is also based on SvelteKit) and a configuration package. root | |- packages | |- com...
Misdeem asked 5/5, 2022 at 14:46

0

As seen in the Turborepo docs, the monorepo can include internal packages in order to share code between apps inside the monorepo. There is also a docs section on how to publish packages in a monor...
Pesce asked 6/6, 2023 at 19:4

3

This is going to be a tricky one because there's a lot going on in here. Therefore, I'll try to be as succinct as possible not to overload you with too much information. I'm currently in the proces...
Anacoluthia asked 10/12, 2021 at 18:21

5

Solved

I created an angular nx monorepo and created two applications. When I start either of them I get the following error: I already saw some stackoverflow posts were the answers suggested to just add ...
Puton asked 12/5, 2022 at 19:28

4

We're starting to adopt a monorepo setup using yarn workspaces and we'd like to have our firebase functions inside it. The repo structure is something like: repo node_modules <- all dependenci...

0

I have a monorepo project for a full stack application. Two services that I'm working on right now are NestJs API and Next.js ssr/frontend. My folder structure is as follows: services/ api-main/ ...
Apraxia asked 14/4, 2023 at 13:10

1

Solved

I would like to create a package (monorepo or NPM) that export only types so that in my project I can import them as such import type { MyType } from '@acme/types' I have tried the following solut...
Anthropo asked 26/3, 2023 at 20:21

1

Solved

This seems like a dumb question, but I struggle to find the answer. The situation Here is my folder structure: myProject/ ├── module1/ │ ├── config.ts │ └── init.ts #symlink ├── module2/ │ ├── conf...
Trina asked 9/1, 2023 at 15:59

© 2022 - 2025 — McMap. All rights reserved.