Questions tagged [nx-monorepo]
The nx-monorepo tag has no usage guidance.
nx-monorepo
150
questions
1
vote
1
answer
28
views
How to know function call came from which application in angular monorepo nx?
In monorepo nx angular application I have 2 application A & B and a common shared component C. I've inserted C in both application using components app selector.
I want to know apart from URL is ...
0
votes
0
answers
22
views
What is the compatible version of storybook addon theme?
I want to configure custom theme classes in my nx angular application. I just installed storybook version of 7.5.3 and storybook-addon-themes 6.1.0 which is latest version of custom theme ...
0
votes
0
answers
18
views
Is there a way to configure Nx to always run tasks from the project root rather than workspace root?
I have a mixed repo with some non-JS projects that use make for running tasks. I am integrating these into an Nx monorepo by simply defining the tasks in each project.json using the generic nx:run-...
0
votes
0
answers
29
views
nx jest pass args from cmd to test-setup.ts
I setup jest tests in my nx monorepo. I want to run my tests twice with different configurations and therefore want to use two different .env files.
I load my env in test-setup.ts:
dotenv.config({ ...
0
votes
0
answers
18
views
NX - Monorepo - migrating outside NX for purpose of open-sourcing non-application projects, while retaining dev experience
I've been using NX monorepo at work and for personal projects for about 2 years and I am still very happy with it.
I would soon like to release a few libraries like testing tools, templating library, ...
0
votes
0
answers
17
views
How to Deploy Remix apps with Nx monorepo (2 app in 1 repo)
I am having some problem with deployment technique our old team member is using,
the deployment to EC2 with docker is not going well,
and we are facing a total dead end!
are there any other way to ...
0
votes
0
answers
33
views
lit-html autocomplete in a NX monorepo
I'm trying to setup a NX monorepo with packages and apps. The libs in packages will be web-components written using Lit.
My setup builds and runs just fine, but I'm struggling to get autocompletion ...
0
votes
0
answers
40
views
Configure path aliases to build outputs in Nx monorepo
I am working on an Nx monorepo for my SolidJS frontend app that depends on my own libraries (some are pure TypeScript, others are SolidJS libraries).
When I run "nx serve myMainApp" it works ...
0
votes
0
answers
18
views
How to deploy my react app in monorepo into firebase after building it in NX Cloud?
We use github actions and we need to deploy our react app that is there in a NX monorepo into firebase after it is built in NX Cloud. The below is the command to start the build process in NX Cloud ...
1
vote
0
answers
120
views
Invariant Violation:TurboModuleRegistry.getEnforcing(...):'RNGestureHandlerModule' could not be found
Adding Navigation container and navigators to nx monorepo react native project is giving this error even after installing reactnative gesturehandler:
Invariant Violation: TurboModuleRegistry....
0
votes
0
answers
23
views
Failed to load config "plugin:@ts-safeql/eslint-plugin" to extend from
I am using nx 19 and nx/nest. I also use flat eslint config. All my nx commands currently return
Please assist. I can not even run nx report. It fails
I have tried multiple instructions but all ...
0
votes
1
answer
79
views
How does one get the paths to affected projects in an NX monorepo?
Context
Currently I am in the process of setting up a polyglot NX monorepo as part of a POC.
Problem overview
I want to re-use existing GitHub actions and workflows, but these act on a sourcecode ...
0
votes
0
answers
45
views
Prettier Ignoring .prettierignore for Nx Cache Directory After Upgrade to latest
I'm encountering an issue with Prettier after upgrading from version 3.2.5 to 3.3.0 in my Nx monorepo. Despite having a .prettierignore file configured to ignore certain directories, Prettier is now ...
0
votes
0
answers
32
views
How to prevent 'ProjectGraphError' in NX after deleting files
Whenever I delete or move files in my NX workspace, I often get a ProjectGraphError afterwards preventing me from launching any apps.
NX usually complains about not being able to import the files I've ...
0
votes
0
answers
28
views
Is there a way to show nature change only via `nx show projects --affected`
I am using nx to manage a monorepo and one of the feature offered from nx is nx show projects --affected which gives me the affected apps based on the change I made in a PR.
For example, if there are ...