monorepo Questions

3

I'm trying to build a component library for angular and react. That's why I want to use the same styles(sass) for both libs. I created a separate folder for my styles and included my main sass insi...
Lind asked 26/6, 2022 at 16:13

3

Here's what a real simple monorepo with nestjs using turborepo looks like: . ├── README.md ├── apps │   └── nest │   ├── README.md │   ├── nest-cli.json │   ├── package.json │   ├── src │   │   ├──...
Briones asked 9/12, 2022 at 17:58

2

The problem occurs for Vite monorepo, @ aliases are respected by TypeScript because of separate tsconfig files (can be visible in IDE) but aren't distinguished among the workspaces by Vite on build...
Shiller asked 9/2, 2023 at 19:49

3

I’ve created a monorepo with Turborepo that for now have 1 React Vite App, and tailwind-config package. And my problem for now is that my App is not loading tailwind at all. Let me try to explain y...
Corron asked 2/7, 2023 at 8:51

1

Here are some related questions: When using yarn workspaces, how to force a package to be installed in the relative node_modules? NPM 7 Workspaces - Multiple node_modules? Should I have to use no-h...
Oubre asked 14/2, 2023 at 10:13

3

Solved

I've got a folder structure like so: - mono-repo tsconfig.paths.json - Website tsconfig.json - src test.ts index.ts - Tool - src index.ts // mono-repo/tsconfig.paths.json { "compilerOp...
Smithson asked 9/12, 2019 at 20:48

1

If I run eslint . from my project-root, it prints all errors and warnings to the console, as I would expect it to. However, when I cd into a subdirectory of the project, eslint . yields the followi...
Countermark asked 25/8, 2022 at 9:49

9

Solved

I've created 3 angular libraries/packages: @example/ng-youtube-player containing a YoutubePlayerComponent and YoutubeApiService @example/ng-dailymotion-player containing a DailymotionPlayerCompone...
Subastral asked 5/7, 2021 at 21:56

1

I have a turbo monorepo, with packages/... and apps/app-a, apps/app-b . I have set up husky pre-commit hook, which will run pnpm dlx lint-staged I want lint-staged to run lint script from the close...
Klee asked 20/8, 2023 at 4:56

5

Solved

how can I delete all node_modules folders from all packages in an npm 7 workspace? With Lerna we could just execute lerna clean -y but when migrating to native NPM 7+ workspaces, is there some equi...
Bund asked 19/11, 2021 at 6:22

3

Solved

I've set up a react-native app as workspace in a monorepo. I did this because I want to share some react components I've created between my mobile and web apps. The basic structure of my repo is: r...
Publius asked 20/9, 2021 at 15:54

2

I am trying to make monorepo using Turborepo. I have a lot of Vue projects there and I need to share Vite config across all applications. Here's how I'm trying to achieve this. I have package named...
Montagnard asked 16/1, 2023 at 9:22

6

I'm not sure what could be going wrong and the error message is blank whenever I open it. I've searched online for fixes but nothing has helped hence I'm asking here. My version of node is: v16.1.0...
Howlyn asked 7/11, 2021 at 15:5

6

Solved

I'm working on converting a large(ish) monorepo into TypeScript for a client, however, I'm pretty new to TS myself and have run into an error that I can't find an obvious fix for. TS6059: File '[p...
Silvas asked 30/3, 2020 at 11:14

6

Solved

My goal I am trying to use React native monorepo with PNPM, because I need performance of pnpm. Expected I should be able to bundle React native app with pnpm android and start development server w...
Abatement asked 7/10, 2022 at 20:47

2

for a frontend architecture I'm evaluating the usage of monorepo with Nrwl Nx. I understood from the docs that Nx strongly recommends the single-policy for dependencies (a root package.json with a...
Lanell asked 4/6, 2021 at 13:30

8

Here is the case. I am using Nrwl NX Monorepo. I have 2 libraries: lib-a and lib-b; both are publishable libraries created via NX. Now I create a MyClass.ts in lib-a. Naturally under paths in works...
Neldanelia asked 15/7, 2019 at 19:23

5

Solved

I'm struggling with multiple npm packages in a root git repository with custom dev scripts to handle launch, compile, build and so on. Now I came across npm workspaces and wanted to use this stunni...
Aq asked 23/2, 2021 at 22:0

4

I have an existing repository. I have cleared all the unwanted files as I wanted to start a new NX-integrated project. But, I want to continue using the same repository as there are some files whic...
Wreck asked 14/12, 2022 at 16:28

4

I am importing an existing application into an NX monorepo with a file structure a little different from default apps. It looks like this: apps my-app src feature-1 feature-2 main components ...
Pacific asked 21/1, 2022 at 20:5

1

I have an Nx v15.9.2 workspace, to which I added a nestjs server using nx g @nrwl/nest:app my-nest-app. I want to add an ionic project to my nx workspace, but I haven't found a good way to do this....
Agential asked 8/4, 2023 at 18:5

3

Solved

Firstly this is in the context of a mono-repo application that runs inside Kubernetes. In GitOps my understanding is everything is declarative and written in configuration files such as YAML. This ...
Rech asked 31/7, 2020 at 0:49

2

Solved

I'm building a monorepo of UI applications using shared components and style using pnpm, typescript, vue, and vite. While trying to leverage pnpm's workspace ecosystem to ease the development exper...
Norry asked 29/7, 2023 at 12:30

1

I have a monorepo containing the Back-end(NodeJS), Front-end(Angular) and Shared directory (container models shared by the front-end and back-end.) preagree-mono/ preagree-api/ preagree-app/ pr...
Recitative asked 18/7, 2019 at 21:6

2

Solved

I'd like to create a monorepo to manage a fullstack application with a NestJS backend and an Angular frontend that share a package called "shared". I'd like to do this using NX. Actually ...
Scalawag asked 23/10, 2023 at 19:54

© 2022 - 2025 — McMap. All rights reserved.