Questions tagged [nrwl]

Nrwl is the driving force behind Nx development, offering expert consulting services in frontend technology to assist enterprise teams in scaling their development. For any questions specifically related to Nx, be sure to use nrw-nx.

The implementation of CommonJS modules allows for efficient modularization

While using Nx for my Angular workspace, I noticed something that sparked a question in my mind. Why is it necessary to use CommonJS modules in all tsconfig.spec.json files for libs? Looking at Nx examples, I observed that not all libs include it, only app ...

Exploring resources within a library in Angular

I need help accessing assets from a shared library within my nx workspace. Here is the structure: /apps -- my-app // ... /libs -- shared -- assets -- resources -- translation.json The shared lib has an alias defined as @my-company/s ...

Running nestjs-console commands within an Angular/nx workspace environment can be easily achieved by following these steps

I have integrated a NestJS application within an Angular / Nx workspace environment. For running commands in the Nest application, I am utilizing nestjs-console (e.g., to load fixture data). As per the instructions in the nestjs-console documentation, th ...

Having trouble with accessing Store in your Angular MFE project using ngrx and the NX library?

I am working with two applications: one acts as the host and the other is a remote Micro Frontend (MFE). In the host application, I have the following code: @NgModule({ declarations: [AppComponent], imports: [ .......... StoreModule.forRoot( ...

The Nx end-to-end Cypress runner ensures that values from the cypress.env.json file do not overwrite the same entries in the cypress.json environment object

Having encountered an issue with my Nx powered angular project, I am facing a situation where the values provided in a cypress.env.json file are not overriding the corresponding entries in the env object of the cypress.json configuration file. This is a n ...

Facing an "Invalid hook call" error in the NX monorepo with Next.js when trying to utilize jotai

Encountering a pesky "Invalid hook call" error while working on a Next.js app within an NX workspace. I've prepared this CodeSandbox. The start command fails when executed automatically, so manual rerun may be required. To replicate the issue, these step ...

What is the method to incorporate @angular/fire into an Nx Workspace for an Angular project?

Incorporating @angular/fire into my Nx workspace for my Angular application is my current goal. Despite my efforts to adhere to best practices, I have not found any guidance in the official documentation on how to incorporate this library into the wor ...

Guide to releasing a NestJs library on npm using the nrwl/nx framework

Struggling with creating a publishable NestJS library using NX. Despite reading numerous documentations, I still can't figure it out. I've developed a NestJS library within an NX monorepository and now I want to publish just this library on NPM, ...

Enhance Your Angular Experience with Console Extensions

Is there a way to include my custom schematics from npm into the Angular Console's list of available extensions? https://i.stack.imgur.com/HDuAi.png ...