Would someone be interes…

less than 1 minute read

Would someone be interested in a schematic generating run and test configurations for Jetbrains IDEs (Webstorm, PHPStorm, IDEA Ultimate…)?

n00b question When I bu…

3 minute read

n00b question: When I build a node app in Nx, how do I get node to understand the @project/my-lib paths in my require statements? My only real exposure to no...

guy wtf something stra…

less than 1 minute read

guy, wtf… something strange… havent created a new library for a while, now when I run nx g lib mylib I get Path "/libs/mylib/tsconfig.lib.prod.json" does no...

NGRX question How do yo…

less than 1 minute read

NGRX question. How do you generate ngrx stuff? I’ve added root and feature state using nrwl ngrx schematics and it inserted all the stuff in +state folder. B...

Does anyone know of a wa…

less than 1 minute read

Does anyone know of a way to run nx print-affected without installing all of the workspace dependencies?

so me and another cowor…

less than 1 minute read

so, me and another coworker added new apps at the same time, and our merge conflict in workspace.json is pretty nasty. Any recommendations on a decent way to...

question to ngrx users a…

2 minute read

question to ngrx users about best practices: when I define a action reducer map as a forFeature store and this map contains 3-4 reducers. is it really best p...

NVM Found this in histo…

less than 1 minute read

NVM, Found this in history. [June 18th, 2020 9:25 AM] f.baba: Hi All, does anyone know how to fix this issue? ```> Executing task: ng generate @nrwl/angul...

Just in case anyone was …

less than 1 minute read

Just in case anyone was still wondering in v8 and v9 of Nx you can now create an .nxignore file to specifically ignore files when determining what is affecte...

Is the Nx console now VS…

less than 1 minute read

Is the Nx-console now VSCode-only? I don’t see any integration with Webstorm and I can’t find where to download the (presumably) electron app that used to be...

I m starting to build my…

less than 1 minute read

I’m starting to build my first Nx plugin. I’d like to start using it within my current workspace while I’m building it. Is there a way to do that, without pu...

I m optimizing some of m…

less than 1 minute read

I’m optimizing some of my workflow. I use husky for git hooks during development. I just found the --uncommitted flag to use in my pre-commit lint hook. Is t...

I just got this message …

less than 1 minute read

I just got this message inform about an ngcc lock-file issue when my nrwl pipeline was parallel build with multiple angular project, Anyone have any solution...

How come strict true …

less than 1 minute read

How come strict: true is not a default setting for nx :scream: I feel like this should be the standard for all new Typescript projects, it doesn’t really mak...

Hello I m trying to run …

less than 1 minute read

Hello I’m trying to run ng g @nrwl/nx-plugin:plugin snd-cypress-e2e --directory=plugins but I’m getting this error ast_utils_1.libsDir . Anyone had this prob...

After running nx migrat…

less than 1 minute read

After running nx migrate @nrwl/workspace@latest I got this migrations.json file: { "migrations": [ { "version": "9.5.0-beta.1", "descripti...

Hey everyone I remember…

less than 1 minute read

Hey everyone, I remember someone was saying (could have been another channel) that they have a “build once and deploy everywhere” rule and env files are load...

Anyone run into RangeEr…

4 minute read

Anyone run into RangeError: Maximum call stack size exceeded when running build --with-deps? I have no buildable libraries but it still happens even if i mak...

hi guys I created nest …

less than 1 minute read

hi guys, I created nest project with proxy, there are configs in workspaces.json and a proxy.config.json in app folder, but the proxy doesn’t work.

How would I get started …

less than 1 minute read

How would I get started if i wanted to create an nx-plugin that adds support for https://oclif.io/|oclif ? oclif: The Open CLI Framework · Create command lin...

For a client I m looking…

less than 1 minute read

For a client I’m looking to analyze their bundle size in a React app built with Nx. It seems to be creating them, but analyzing them with source-map-explorer...

Hey everybody What is …

less than 1 minute read

Hey, everybody! What is a general recommendation on adding NGRX to NX Angular workspace? I’m followind enterprise architecture recommendations and keep apps ...

How do you guys organize…

less than 1 minute read

How do you guys organize your libs folder when having multiple frameworks? E.g angular and nestjs. I put my angular libs in libs/shared , but not sure where ...

Hi all on our CI we run…

less than 1 minute read

Hi all, on our CI we run affected tests with code-coverage and we compare the coverage reports obtained with the correspondent set of reports that are genera...

Anyone know a good way t…

less than 1 minute read

Anyone know a good way to capture git branch/hash at build time so it can be displayed in your app?

I have a file located in…

less than 1 minute read

I have a file located in apps/myapp/src/tests/foo.spec.js with myapp/src being the root of this project. Yet workspace-lint claims foo.spec.js does not belo...

I get this error when tr…

less than 1 minute read

I get this error when trying to test-debug my app. “Starting inspector on 127.0.0.1:36225 failed: address already in use”. The port number is different every...

Has anyone tried using P…

less than 1 minute read

Has anyone tried using Playroom in their monorepo? https://github.com/seek-oss/playroom seek-oss/playroom

nx serve my nestjs app …

less than 1 minute read

nx serve my-nestjs-app Fails because it cannot find a package.json in my angular library. I get an no such file or directory, open '...path-to-libs/libs/shar...

hi could someone provid…

less than 1 minute read

hi, could someone provide a link to some working example nx + nestjs architecture (with auth)?

hello are there some re…

1 minute read

hello, are there some resources to help me troubleshoot a @nrwl/node build? It is currently not bundling any dependencies, even though it looks like that is...

Hi everyone I think I …

less than 1 minute read

Hi everyone - I think I asked this before, but I can’t find it so asking again (apologies)… if I run any task using nx affected and as long as I dont run an...

Hi everyone I have a qu…

1 minute read

Hi everyone, I have a question around managing dependencies between apps and libs. Is it possible to have dependencies scoped to a library? or is that an an...

Hi I am a bit confused …

less than 1 minute read

Hi! I am a bit confused about how Nx manages npm dependencies. There is a global package.json with all the dependencies for our mono repo, but what if I want...

Has anyone successfully …

less than 1 minute read

Has anyone successfully deployed a nextjs app from an nx nrwl workspace to vercel? If so, what does your config look like approximately?

Good mornings guys Arch…

less than 1 minute read

Good mornings guys. Architecture question: I have a main app, but within that I need to create some components…should i create a components folder within the...

Also I m using my …

less than 1 minute read

Also, I’m using my “@../ui” library across multiple apps/sections of an app, and would like to implement some sort of “tree-shaking” such that not all code f...

Hello A best practice…

less than 1 minute read

<#CMFKWPU6Q|support> Hello, A “best practice” question: I have 2 “apps” that are using the same GraphQl url. When using apollo client to configuring th...

Looking at this resolved…

less than 1 minute read

Looking at this resolved issue: https://github.com/nrwl/nx/issues/2406 is there a document on how to use this feature with scss? I am using NX 9.5 with a Rea...

Is it not possible to us…

less than 1 minute read

Is it not possible to use external packages with nx and import them into a lib? all I get is this when using nx for react.

If I wanted to generate …

less than 1 minute read

If I wanted to generate a web component that can be used in an angular app would I generate an app, component or lib? There are schematics for all 3 in the N...

Hi what is the recommen…

less than 1 minute read

Hi, what is the recommended way to share environment variables (environments/environment.ts) with libs? Simply importing them would create a cyclic dependency.

Hi all I ve been strugg…

less than 1 minute read

Hi all, I’ve been struggling to understand how the affected works. I noticed that regardless what I’m doing, the affected commands always runs all libraries ...

Has anyone gotten to de…

less than 1 minute read

Has anyone gotten https://github.com/storybookjs/storybook-deployer to deploy storybook from an nx workspace? I can get it to deploy but I have no stories or...

I m trying to add angul…

less than 1 minute read

I’m trying to add @angular/flex-layout but it keeps getting compile errors.. I assume that I need to update versions so I ran ng update and saw that core/mat...

I just migrated and am r…

less than 1 minute read

I just migrated and am running into this: 'tslib.js' is imported by tslib.js?commonjs-proxy, but could not be resolved – treating it as an external dependen...

Hi what do I do in orde…

less than 1 minute read

Hi, what do I do in order to have the Nx schematics for Angular integrated in IntelliJ? Currently I only have the workspace ones:

Also getting this error …

less than 1 minute read

Also getting this error: Error during bundle: Error: Cannot find module '/xxx/node_modules/rollup-plugin-filesize/dist/reporters/boxen.js'

Hi there first time usi…

1 minute read

Hi there, first time using nx. Was wondering what the correct way to add some API integration/end-to-end tests would be? The documentation only talks about C...

when creating a new work…

less than 1 minute read

when creating a new workspace we are promted to select Angular CLI or NX CLI.. what are the pros/cons?

hi all I m having issues…

less than 1 minute read

hi all I’m having issues with paths in http://tsconfig.app|tsconfig.app: tslint throws circular dependency error: ERROR: 5:1 nx-enforce-module-boundaries...

Trying to use NX Cloud …

less than 1 minute read

Trying to use NX Cloud. But get following msg when running npx make-angular-cli-faster The schematic can only be used with Angular CLI workspaces with a sing...

I m working with builder…

less than 1 minute read

I’m working with builders in the workspace.json file. "e2e": { "builder": "@nrwl/cypress:cypress", "options": { "cypressConfi...

Hi All I m working on a…

2 minute read

Hi All, I’m working on a CI pipeline and I want to get the affected libs with the handy one liner npx nx print-affected which works great locally, however wh...

Hello When grouping lib…

less than 1 minute read

Hello! When grouping libraries, the output generated for the package name is something like this: libs/groupFolder/subGroup/myLib //package.json for myLib { ...

Hello I have a publishab…

less than 1 minute read

Hello I have a publishable react library that imports an external component such as import { mycomponent } from '@bit/mycomponent.name'; on build my build fa...

Anybody else is trying t…

less than 1 minute read

Anybody else is trying to do something like this? https://stackoverflow.com/questions/52150668/tree-shaking-nested-modules-with-webpack-4 Stack Overflow: Tre...

when you finish configur…

less than 1 minute read

when you finish configuring a mocha test bench with all those, you already wrote half your test cases with jest

jest packs everything s…

less than 1 minute read

jest packs everything, stubbed environment, modules mocked by default, assertion library, both node and browser support (via jsdom)

but i totally get your f…

less than 1 minute read

but i totally get your feeling! jest has a thing for developing some sort of internal rage hehe (but i think ava is worst at that though)

Is it possible to serve …

2 minute read

Is it possible to serve an additional html page with an nx app? And if so, how can I get about doing that? Note this is for a React app.

I m seeing some inconsis…

less than 1 minute read

I’m seeing some inconsistent behaviour and I’m suspecting the cache, although –skip-nx-cache doesn’t solve it for me, can someone tell me (a) where nx keeps ...

I m just trying to debug…

less than 1 minute read

I’m just trying to debug what is going on here, but pointers would be helpful. I have the following in my workspace.json: "test": { "builder...

I have a problem with th…

less than 1 minute read

I have a problem with the default rollup config and JSON files, after installing axios rollup is trying to import axios’s package.json: { id: '/Users/ferna...

Hi guys I ve been bang…

less than 1 minute read

Hi guys - I’ve been banging my head on jest for two days now. It appears far more opinionated than I’d like, and is showing a number of cases where it just d...

Hey there I would like …

less than 1 minute read

Hey there. I would like to manage spring boot apps (Java and Kotlin) in an nx workspace. Anybody interested in buildung a plugin together?

Hello I want to create a…

less than 1 minute read

Hello I want to create a cli application using nx project nestjs-console (https://github.com/Pop-Code/nestjs-console). Do you have any good examples? I want ...

Unrelated to nx lint b…

less than 1 minute read

Unrelated to nx lint but related to the large-ish project, creating Nest libs starts taking a lot of time, 2 minutes right now: nx g @nrwl/nest:lib data --li...

I m working on migrating…

less than 1 minute read

I’m working on migrating an older project into my workspace. I’m some compiler errors in 3 modules and not sure where to start in trying to resolve. This mig...

Hi team Is there a way …

less than 1 minute read

Hi team! Is there a way I can compose two different workspace-schematics? I was trying to call them with externalSchematic, but it won’t resolve relative pat...

Hi all is there a comma…

less than 1 minute read

Hi all, is there a command to generate/add a non-angular web app to nx workspace? I want to create a very small web site using only html (but no angular!) . ...

Hey guys in my nx works…

2 minute read

Hey guys, in my nx workspace, when I want to import something from a lib, webstorm autocompletes this import using the definition in tsconfig eg @myorg/lib1 ...

Hey folks anyone using …

less than 1 minute read

Hey folks, anyone using husky/lint-staged to run nx lint on commit? I had it set up but in my current project it’s hogging down my machine completely on each...

Any help with this issue…

less than 1 minute read

Any help with this issue please? https://nrwlcommunity.slack.com/archives/CMFKWPU6Q/p1592925518046900 [June 23rd, 2020 8:18 AM] montogeek: I am getting @nrwl...

ANSWERED how can I add …

less than 1 minute read

ANSWERED: how can I add this option --maxWorkers to the build part of the process when running nx server ? if I run nx build myapp --maxWorkers=1 it does w...

in particular a project …

less than 1 minute read

in particular a project that only has ‘lint’ and ‘e2e’ builders is not listed… does a project have to have a build or deploy builder in order to be implicitl...

has anyone seen this err…

less than 1 minute read

has anyone seen this error after upgrading nx from 8 to 9 when trying to serve an angular application ERROR in Cannot read property 'flags' of undefined. I ...

but if I edit workspace …

less than 1 minute read

but if I edit workspace.json, and run ‘nx affected:apps’ i noticed that most, but crucially not all, of my projects are listed as affected?

actually nx affected d…

less than 1 minute read

actually… nx affected:dep-graph does show that particular project as red… but nx affected:apps doesn’t list it ?!

Question we are about t…

less than 1 minute read

Question, we are about to open source some of our libraries in our nx repo. Any ideas or suggestions for maintaining a decent dev workflow and somehow keep a...

I struggled with this be…

less than 1 minute read

I struggled with this before, but forgot what the cause/resolution was. Can someone explain why jest is falling over on this? ``` /Users/liebrand/code/tor...

I have a nrwl react ap…

less than 1 minute read

I have a @nrwl/react:app in my workspace. It’s using the @nrwl/web:build builder; however, the fileReplacements option in the production configuration has no...

I am getting nrwl nx e…

1 minute read

I am getting @nrwl/nx/enforce-module-boundaries by just importing a lib from an app, I have done it in the past without problems, not sure why it is a proble...

How can I install a dife…

2 minute read

How can I install a diferent nx version? i am on nx 9.4, but I want to downgrade to 8.12.9. Tried these, but nx keeps showing 9.4 npm uninstall -g @nrwl/cli ...

Hi I ve noticed that wh…

less than 1 minute read

Hi! I’ve noticed that when I generate Angular workspace with NX, it uses es2017 in lib section of tsconfig.json. When you generate Angular app with stock Ang...

Hey guys slightly_smili…

less than 1 minute read

Hey guys :slightly_smiling_face: I’m using redux-oidc with my app. Now previously in my app I could add in a silent_renew.html file and the oidc-client.min....

During Office Hours I as…

less than 1 minute read

During Office Hours I asked a question about programmatically getting an app/library dependencies. It was recommended to use createProjectGraph https://githu...

Don t miss Office Hours…

less than 1 minute read

Don’t miss Office Hours! <https://twitter.com/brandontroberts/status/1275469038613864454?s=19 https://twitter.com/brandontroberts/st...

Does Nx have a recomme…

less than 1 minute read

Does Nx have a recommendation around how to structure storybook configuration with your workspaces?

we are starting a new py…

less than 1 minute read

we are starting a new python repo, and I’d like to steer the dev to monrepo. Is nx a viable tool for managing it?

Is linux on a mac a good…

1 minute read

Is linux on a mac a good idea or should i get a different machine? Have top of the line mac, but when I run my nx/nest app it consumes all my memory.

Is anyone using Material…

less than 1 minute read

Is anyone using Material-UI with NX + React? I thought it would have been easy to get in, I installed it with yarn and even followed the steps...

How do I generate new co…

less than 1 minute read

How do I generate new components/controllers/services/modules/etc in the location I want? On ng or nest apps i am able to to run nest g mo myfolder/ otherf...

Hello is there a shorte…

less than 1 minute read

Hello! is there a shorter way to execute a workspace-schematic? // instead of nx workspace-schematic mySchematic //something like nx ws mySchematic

Any idea why I get this …

less than 1 minute read

Any idea why I get this message? { “resource”: “/c:/**/tsconfig.json”, “owner”: “typescript”, “severity”: 8, “message”: “Cannot write file ‘c:/**/jest.co...

Hi peoples I created a …

less than 1 minute read

Hi peoples. I created a nx workspace with a React as initial application, now i’m trying to add a Angular application and the console are returning this error:

Has anyone run into The…

less than 1 minute read

Has anyone run into The template specified for component MatIcon is not a string after upgrading to nx 9 from 8 (including upgrading angular) it seems to be ...

I haven t used cypress v…

less than 1 minute read

I haven’t used cypress very extensively before switching to nx. Is there an advantage to cypress fixtures being json? seems like importing “fixtures” that ar...

Guys I m stuck Anybody…

less than 1 minute read

Guys, I’m stuck. Anybody use migrations in nestjs projects ? I can’t get generation working from my entites ? Is there public reference project on github tha...

How to generate a module…

less than 1 minute read

How to generate a module for a lib? Similar to nx g @nrwl/react:component Login --project=project ?

Hi everybody Could anyo…

less than 1 minute read

Hi everybody! Could anyone share a working config for precommit hook, which will run nx format:check and nx lint against uncommitted files?

Hi anyone know how to…

less than 1 minute read

Hi – anyone know how to debug nx test run not caching? I can see files written to the local cache but they aren’t used on subsequent runs. caching for lint ...

Hey everyone I need per…

less than 1 minute read

Hey everyone, I need perform e2e testing against deployed site that require Windows Authentication, and Cypress does not support Windows Authentication out o...

Hello Is there anyone h…

less than 1 minute read

Hello, Is there anyone here who uses Nx with a Java & Maven backend? For every Nx application there is the equivalent Java (Quarkus) backend and there ar...

Hello friends I m looki…

1 minute read

Hello friends. I’m looking to see if there are documented tools or guidance on migrating an independent project into an nx app. Context I have a repo that I ...

Anyone know why all of m…

less than 1 minute read

Anyone know why all of my packages are being audited every time I install a new npm package in my nx repo? It makes installing each package take forever

Is it normal for nx to c…

less than 1 minute read

Is it normal for nx to create multiple node processes and obliterate your ram memory? I use vscode and when i run my nestjs server with the nx command, my ac...

How do I pass properties…

2 minute read

How do I pass properties as an object that is spread on the component? For example, I have &lt;Item {...item} key={index} /&gt; which is being mapped...

Hi everyone I am new wit…

1 minute read

Hi everyone,I am new with Nx, I want to understand how Nx ensures that new team mate does not download the entire applications and libs on a Workplace, which...

Hi Quick quesiton is t…

less than 1 minute read

Hi! Quick quesiton, is there a way to create a new namespace in my workspace? We have libraries and Apps, would be crazy to have a third one - for example fo...

He guys we sometimes ex…

less than 1 minute read

He guys, we sometimes experience this error in our build step. Its only the build step, never other steps like testing/linting/etc. It is not reproducable, i...

_ Any plans in the pipel…

less than 1 minute read

*Any plans in the pipeline to allow globs when configuring nx.json?* Currently we can only add "*" to the implicit dep value but not the filename itself like...

note I m actually only…

less than 1 minute read

(note: I’m actually only building a js lib, not a react… but the node generator only does typescript and I wanted js, which is why i used the react:library g...

different question can …

less than 1 minute read

different question: can someone explain –parallel in a bit more detail? In particular, I’m hoping to get that working with circleci’s parallelism so that di...

also note …

less than 1 minute read

also note: "external": [], so my deps should be included, no?

Where do dependencies fo…

less than 1 minute read

Where do dependencies for each app/lib go? Does each project have its own package.json or all the dependencies are listed in the root package.json? I saw tha...

When using the run comm…

less than 1 minute read

When using the run-commands builder, is it possible to direct stdin input to the command? I’m trying to use run-commands to start a shell, but it appears tha...

Is xplat free or you hav…

less than 1 minute read

Is xplat free or you have to pay from day zero? Has anyone here use xplat? Hows been your experience?

Is there a utility to se…

less than 1 minute read

Is there a utility to setup vs code to debug your angular projects basically setting up the launch.json?

I am probably over engin…

1 minute read

I am probably over-engineering this, but how do you organize your variables inside your environment.ts? Do you prefer data structures over strings or follow ...

Hi do you have any expe…

less than 1 minute read

Hi, do you have any experiences/best practices regarding i18n? I just started a greenfield Angular 9 project and this is my first monorepo. I intend to use t...

Hi everyone In my curre…

less than 1 minute read

Hi everyone! In my current setup I’ve got an Angular application using NgRX and a NgModule in a library also using NgRX. How can I dispatch an action that is...

Hi everyone I was wonde…

1 minute read

Hi everyone, I was wondering if anyone has experienced a similar issue as the following: We have an nx mono-repo for our angular project that we recently upd...

Hi everyone I m interes…

3 minute read

Hi everyone! I’m interested in how you would manage to build your apps using Docker and not including all dependencies. Let’s say I have an Angluar app and a...

Hi All does anyone know…

less than 1 minute read

Hi All, does anyone know how to fix this issue? ```> Executing task: ng generate @nrwl/angular:library –name=test –no-interactive –dry-run <

Hey guys I m using nr…

less than 1 minute read

Hey guys - I’m using @nrwl/web:package to create a buildable js lib, but when it builds it doesn’t pull any of the dependencies in to the build result. In th...

I ve finally got time to…

less than 1 minute read

I’ve finally got time to upgrade to Angular+Nx 9 from a v8 project. We are using NgRx with StoreRouterConnectingModule.forRoot({ routerState: RouterState.Fu...

Hi I m trying to import…

less than 1 minute read

Hi! I’m trying to import a markdown file into a React Library. I was having trouble with that, so I tried importing the markdown file into a Node Library.

Getting CLI help for…

less than 1 minute read

Getting CLI --help for a workspace schematic appears to be broken, it returns the help for “workspace-schematic”. Wondering if there is a different command w...

After upgrading nx are …

less than 1 minute read

After upgrading nx, are we meant to keep the migrations.json file that is generated in the root?

How can I enable absolut…

less than 1 minute read

How can I enable absolute imports inside an app? If I put baseUrl: "." in apps/app/tsconfig.json TS can’t find libs packages

Hello I just did this u…

1 minute read

Hello, I just did this upgrade in my deps: But now when running the app I get this error: ERROR in ./main.tsx Module build failed (from /Users/fernando/Code/...

Hello I have a requirem…

1 minute read

Hello! I have a requirement, and wanted to ask if this is supported by nx @nrwl/web I have a service worker file that is located in assets And I need this fi...

Does ngrx state a persis…

less than 1 minute read

Does ngrx state a persistent ? When client reload a browser, state are gone? Is there way described here is correct ? https://medium.com/better-programming/s...

Does NGRX has out of box…

less than 1 minute read

Does NGRX has out-of-box feature to sync state with localstorage or persist state other way ?

Could anyone help me get…

less than 1 minute read

Could anyone help me get the docker/nginx proxy configuration right in this repo? https://github.com/alexesca/nx-todos It is the nx tutorial. Containerized i...

here Hi all I am quite…

less than 1 minute read

@here Hi all, I am quite new with nx and wondering what is the best approach to handle different environments configurations. It seems it’s usually handled b...

I m using nx for microse…

less than 1 minute read

I’m using nx for microservices, anyone have an established pattern for integration tests? Should I try to adapt an e2e test?

Hey everyone I m wonder…

1 minute read

Hey everyone, I’m wondering if nx will help me with something I’m trying to do right now with lerna and am struggling to accomplish in a smooth way:

Hey all I started a ne…

less than 1 minute read

Hey all - I started a new repo called nx-layouts where I intend to showcase some various workspace layouts.

Can you show me how you …

less than 1 minute read

Can you show me how you debug nestjs within vscode? Would be nice to have some working examples :)

I am trying out NX for t…

less than 1 minute read

I am trying out NX for the first time. So, when I run my nx commands locally, everything has been working fine. However, in CI (Github Actions), I have been...

Hello everyone I m tryi…

1 minute read

Hello everyone! I’m trying to play with nestjs into a nx worskpace but i’m facing few problems. The first one is, how can i configure nodemon in a way that w...

I see the Should I be …

less than 1 minute read

I see the https://github.com/nrwl/nx/blob/13280b528273915a4b1fd5d5cb1cb1823f6d8947/packages/workspace/src/utils/rules/to-js.ts#L5-L5|ToJS() rule in @nrwl/wor...

I asked this question in…

less than 1 minute read

I asked this question in <#CM4LDHCKC|random>, but suggested moving it to <#CMFKWPU6Q|support>. I dont see the “Move to channel” option. Let me k...

Hi everyone I m working…

1 minute read

Hi everyone, I’m working on a new application and I’m curious if there is a recommended location to put variables.scss that will apply to many different libr...

Hi all does anyone know…

less than 1 minute read

Hi all, does anyone know if there is a Typescript transpilation helper utility that I can call from a custom builder? I’m working on a custom plugin to add F...

Can somebody help me wit…

less than 1 minute read

Can somebody help me with setting up the debugger for nestjs within vscode? All of the helping issues on the github didn’t work :disappointed:

I would create a theme …

less than 1 minute read

I would create a theme for it. I have mine in assets/themes/my-theme. It might be an overkill, but your styles might grow, so you are already prepared for it...

I am experimenting with …

less than 1 minute read

I am experimenting with nx workspaces for a serverless project. My issue is main.ts - what should be in it? My app doesn’t have a single entry point, as th...

Hi folks I m playing a …

less than 1 minute read

Hi folks, I’m playing a bit with NX and I have quick question about scope. Should I split all UI components into own libs or just one UI lib is fine?

Hi everyone first day …

1 minute read

Hi everyone - first day of using Nx - lovin it so far! One thing that has me puzzled though is that I wanted to start with an empty workspace and add my Angu...

Hey guys Is it possible…

less than 1 minute read

Hey guys. Is it possible to create a react app with pwa support, similar to create-react-app?

Handling urls navigation…

2 minute read

Handling urls/navigation between apps… in a rather big organisation we want to have a nice and clean way to handle our “shared” urls… we have a UI component ...

Does anyone have an exam…

less than 1 minute read

Does anyone have an example of them chunking their tests between different steps/jobs/nodes in their CI?

webpackConfig …

less than 1 minute read

"webpackConfig": { "type": "string", "description": "Path to a function which takes a webpack config, some context and returns the resulting webpack conf...

Hi all may anyone recom…

less than 1 minute read

Hi all, may anyone recommend any particular best practices or articles around how best to structure exports in their barrel file for a shared code library pl...

Hello everyone I am sor…

less than 1 minute read

Hello everyone! I am sorry if this is a wrong channel for the question I have, but nevertheless: What is a recommended way to develop Chrome extensions using...

Greetings gentlemen Tha…

1 minute read

Greetings gentlemen! Thanks for an awesome tool! I have a question, I’m trying to use the incremental builds with the affected commands. I have a monorepo, w...

Are there advantages of …

less than 1 minute read

Are there advantages of making libraries publishable (for incremental builds and caching purchases) if we don’t plan on publishing them?

Also does anyone have an…

less than 1 minute read

Also does anyone have any resources for using coveralls with an nx repo? The issues I see are that each project has it’s own report generated rather than a s...

less than 1 minute read

https://www.npmjs.com/package/@angular-builders/custom-webpack#custom-webpack-config-function npm: @angular-builders/custom-webpack

Ok a general linting be…

less than 1 minute read

Ok, a general linting/best practices question - when in a library and importing an exposed service in the same library do you use the @org/my-library type im...

Is there a sensible way …

less than 1 minute read

Is there a sensible way to include an electron app in an NX monorepo? Or is that just too much?

Hi all we are currently…

2 minute read

Hi all, we are currently using Github Actions for building our Nx Workspace. Due to a decreasing build performance, we would like to leverage Nx even more. I...

Hi all anyone know how …

less than 1 minute read

Hi all, anyone know how to make an angular library “buildable after the fact” > Now let’s create a buildable library instead (you can always make an exist...

Hi Is there any steps d…

less than 1 minute read

Hi, Is there any steps/document for creating CI/CD Jenkins Pipeline(both Linux/Windows Server), Repos are in Bitbucket, Jenkins pipeline should include - Bui...

Hey everyone does anyon…

less than 1 minute read

Hey everyone, does anyone nows how hard or easy it is to reuse the storybook schematics if you doesn’t use angular or react as a target. The configuration sc...

what do you guys use for…

less than 1 minute read

what do you guys use for managing environment variables (in development)? dotenv seems like a no-go with the express plugin

Not nx specific but will…

1 minute read

Not nx specific but will be using nx to accomplish it. Does anyone have any resources on embedding react elements into an angular app?

Hi guys I ve been wonde…

less than 1 minute read

Hi guys, I’ve been wondering if it’s possible to use Nx to have a main app which will contain a panel with routes that redirects for different applications (...

Hi I recently started u…

less than 1 minute read

Hi, I recently started using Nx. When I edit a file in one of my apps, it does not show when I do nx affected:apps or even in nx print-affected. However, the...

Hi everyone trying to …

less than 1 minute read

Hi everyone - trying to use this product at my firm which has some very strict code scanning policies in place. When trying to install @nwrl/react, our code ...

Hey guys is it possible…

less than 1 minute read

Hey guys, is it possible to change the global compiler options for nestjs? https://docs.nestjs.com/cli/monorepo#global-compiler-options I need to change it f...

hi is it possible to us…

less than 1 minute read

hi! is it possible to use fileReplacements when using jest runner? i need tests to run with a different configuration different from dev

Is there a way to run th…

less than 1 minute read

Is there a way to run this on two projects: npm run affected:e2e -- --project A e.g. npm run affected:e2e -- --project A B

I get ENOENT no such f…

less than 1 minute read

I get ENOENT: no such file or directory, stat '/nxroot/apps/project/src/assets'. When running nx serve project. What’s the purpose of the assets folder and w...

Hi guys I m trying to s…

2 minute read

Hi guys, I’m trying to setup a CI/CD workflow for our Nx Repository and I have an issue when I want to get the builds of each of my apps. If I run nx affecte...

Hi guys I d like to kn…

less than 1 minute read

Hi, guys. I’d like to know is there a way to exclude some files when nx automatically populate lib dependencies for me.

Because I found there s …

less than 1 minute read

Because I found there’s a dependency I don’t want in my generated package.json. It comes from a storybook file, which is not imported by the entry file.

Odd request but I am run…

2 minute read

Odd request but I am running into a problem where I am running some logic in the onModuleDestroy lifecycle hook of a nest server but everytime I make a chan...

Hi I m new to Nx I wan…

1 minute read

Hi, I’m new to Nx. I want to create a project with a Nest.js as backend and Next.js as frontend but when run nx serve only Next.js runs. The steps I follow w...

Was trying to work out w…

less than 1 minute read

Was trying to work out why we weren’t getting cache hits between developer machines. Tried a fresh git clone of the repo on the same machine into another fol...

Hi I m struggeling wit…

less than 1 minute read

Hi - I’m struggeling with something and been wondering if there’s a quick fix. I’m getting: "TypeError: Cannot assign to read only property 'exports' of obje...

Hi been wondering is…

less than 1 minute read

Hi - been wondering - is there a way to use dynamic imports inside an nx workspace? My use case is this - I have lots of config files inside a lib’s folder a...

is there realworld tutor…

2 minute read

is there realworld tutorial about nx usage (angular+nestjs). I mean, admin dashboard, add users, rbac, shared ui with some ui framework? I’m ready to pay for...

So for nx cloud we get …

less than 1 minute read

So for nx-cloud, we get a read-only token and a read-write for ci. I see the spot for the token in nx.json but I’m not sure which token should go there. Does...

How to stitch it all tog…

2 minute read

How to stitch it all together? Let’s say we have a webshop, a blog and a userfeedback application in our nx workspace… We create a lib with UI components and...

Hi community is there a …

less than 1 minute read

Hi community is there a real live angular app on Github that uses nx and can be used as reference? The nx example project is not very useful in this regard

Hi community when we ru…

1 minute read

Hi community, when we run the NX affected command (on our own development machines) the result always seems to be that everything has changed even on a clean...

Friends I m working on…

2 minute read

Friends - I’m working on some Angular schematics and I’d like them to work in both Angular and Nx projects. Does anyone have a good example of this? I’m look...

how would you go about c…

less than 1 minute read

how would you go about creating a lib that contains svg icons that can be consumed in app using angular material(components) where you register the *.svg fil...

finally what is best pr…

less than 1 minute read

finally, what is best practice for sharing env through app/libs? and what is best practice for serving multiple apps at the same time (for now I run them sep...

Why doesn t the nrwl n…

less than 1 minute read

Why doesn’t the @nrwl/node:execute target terminate after running a script? Is there something missing from this config? "build-build-number": { ...

Hi I don t understand h…

less than 1 minute read

Hi, I don’t understand how to use the “environement” system with Nx, is there a documentation page for that? how do I choose what env I want to serve or buil...

Hey guys I was wonderin…

1 minute read

Hey guys, I was wondering: if I have 200 apps and 500 libs in my monorepo, and I add a new app, this would update general implicit depedencies such as nx.jso...

I m porting files from a…

less than 1 minute read

I’m porting files from another project with coffeescript. I would love to get rid of coffeescript, but it’ll take time and I don’t want this to be a blocker...

I have an app showing us…

1 minute read

I have an app showing users then I have created a lib for the usersService. The service contains the model for User but now I would like to use the User mode...

Hi we have 2 libs in ou…

less than 1 minute read

Hi, we have 2 libs in our app and both have a storybook configuration with an associated e2e testing app. When we run npx nx e2e those 2 e2e testing suites a...

Hey guys Have anyone wo…

less than 1 minute read

Hey guys, Have anyone worked on an Angular (web) + Ionic (mobile) stack with nx? I tried to use xplat, today, but I didn’t found a way to make it work. Is th...

Hey guys has anyone sha…

less than 1 minute read

Hey guys, has anyone shared scss across apps / libs with nx/angular CLI? I’m trying to use my primary color within a feature library. I got the scss within a...

Dear all does anybody k…

less than 1 minute read

Dear all, does anybody know if there is a way to import a nx project library such as @my-project/my-first-library inside another library that is going to be ...

The build works for me o…

less than 1 minute read

The build works for me only with --buildLibsFromSource . Any implication of making this true for all applications?

I ve got a workspace tha…

less than 1 minute read

I’ve got a workspace that started life with an angular frontend and nest backend, and now is a react frontend and nest backend. Our workspace is still “angul...

It is there a problem wh…

1 minute read

It is there a problem when using nx locally? I am running this, but apparently the flags are not passed: ```npm run nx g @nrwl/react:component Login –project...

I can run nx run x buil…

less than 1 minute read

I can run nx run x:build --with-deps is it possible to include the withDeps in the workspace.json build config?

How to create a lib with…

less than 1 minute read

How to create a lib with a scoped name? When running: nx g @nrwl/react:lib @scope-auth

Hi guys is it at all po…

less than 1 minute read

Hi guys, is it at all possible to use proxy.conf.json to set up proxies in production?

Hello all does anyone k…

less than 1 minute read

Hello all, does anyone know if it is possible to override the default selector prefix for an entire workspace?

Does nx support importin…

less than 1 minute read

Does nx support importing from nested folders? I am currently using Lerna and my use case is for React.lazy, it only supports default exports, so you can’t d...

Docs says gt Every li…

3 minute read

Docs says: > Every library has an index.ts file, which defines its public API. Other applications and libraries should only access what the index.ts expor...

undefined…

less than 1 minute read

[May 24th, 2020 12:13 PM] tom.aerden: I’m setting up an nx workspace with (for now) two publisheable libraries, say A and B, A depends on B. I can npm link B...

because I added some hel…

less than 1 minute read

because I added some helper bash scripts under tools… but that doesn’t seem to work… just adding “tools” causes an error to show up (Error: EISDIR: illegal o...

I m getting strange issu…

2 minute read

I’m getting strange issues from a node app. I’ve created a new app. Inside the main.ts file I’m importing libs I’ve created in the workspace. I get module no...

I have workspace a that …

less than 1 minute read

I have workspace a that started with Nx Workspace version 7. It has already been migrated to 9.3, but there is still @nrwl/schematics in package.json which i...

Hey guys so setting up…

less than 1 minute read

Hey guys - so setting up circleci in a sensible manner is turning out to be harder than I had hoped. Out of curiousity: what CD/CI systems does everyone here...

So I have just about eve…

less than 1 minute read

So I have just about everything setup and working now (preact apps, serverless projects, js libs, and building and deploying on circleci).. But I’ve realised...

Is there a way to perman…

less than 1 minute read

Is there a way to permanently change the defaults for generating libs within a workspace? I’m using the @nrwl/react:library and I’m referring to options like...

I m trying to setup set…

less than 1 minute read

I’m trying to setup setupGlobal in jest config. Inside the global function it does not recognize the TS definitions, hence, it does not find libs when in my ...

I m setting up an nx wor…

less than 1 minute read

I’m setting up an nx workspace with (for now) two publisheable libraries, say A and B, A depends on B. I can npm link B to use it in another project, but whe...

I have built a tests hel…

less than 1 minute read

I have built a tests-helper folder that includes libs that are tests-helpers. Is there a way to exclude them from tests (e.g. they are tested when I use –wit...

Hi I m having issues se…

less than 1 minute read

Hi, I’m having issues setting up a global setup. In the workspace’s root I add gloablSetup: './jest.global.setup.js' to the jest-config file. It gives an err...

I m pretty new to nx Ex…

less than 1 minute read

I’m pretty new to nx. Excuse me if I’m making a major blunder. When I build an app for prod using the nx build [appname] command, it generates a package.json...

I was thinking I d use …

less than 1 minute read

I was thinking I’d use "@nrwl/node:execute" to build and run a simple nodejs script written in TypeScript (so I could have NX call the typescript builder). H...

If I am deploying a nx b…

less than 1 minute read

If I am deploying a nx built node app on azure pipelines for example, do I also have to deploy the node_modules folder? I’m stuck with my app needing native ...

Hey guys I m getting th…

less than 1 minute read

Hey guys, I’m getting this lint error after migrating from lerna to nx (angular project), I’ve checked that both angular.json and nx.json files have the same...

Can someone point me to …

less than 1 minute read

Can someone point me to where in the guts of nrwl nx the magic happens wrt module alias’ing so that import { Foo } from '@myorg/mylib'; works? I’m had assume...

Another question is it …

1 minute read

Another question, is it possible to make use of nest cli plugins in an nx workspace (especially when using the angular server builder)

Alright new problem I …

less than 1 minute read

Alright, new problem: I am running next 9.4.2 through an @nrwl/express server - I have a TSconfig which inherits the paths from the root tsconfig, nextJS doe...

hi everyone I need to r…

less than 1 minute read

hi everyone. I need to run affected:build with some additional params (baseUrl, deployUrl etc). I feel like it is not possible, especially for multiple apps ...

Is there a way to build …

2 minute read

Is there a way to build a static version of the dep-graph that I could deploy? or a node server if needed, basically is there an obvious way to deploy this s...

Hi all I ve just starte…

1 minute read

Hi all! I’ve just started using Nx, and I’m trying to set up deployments. Previously we used a JS script, so I thought use it to create a new builder within ...

Hi again just noticed …

less than 1 minute read

Hi again - just noticed that if I have code that uses require instead of import, the dependency graph does not include the required lib - only if I convert i...

Evening folks I m wonde…

less than 1 minute read

Evening folks, I’m wondering if it is possible to pass a custom babel config/run a custom server using typescript when using @nrwl/next with a customServer...

Are there any strategies…

less than 1 minute read

Are there any strategies that others are using to split affected tests in parallel runs (we are using CircleCI but looking for a general method I can adapt)

A question regarding af…

less than 1 minute read

A question regarding affected: I’m using this command: npm run affected:dep-graph And I get the whole tree red. I run this command: npm run affected:dep-grap...

quick question is there…

2 minute read

quick question: is there a way to use the dep graph to determine the order in which tasks are done? e.g. i have custom deploy tasks for my apps. I have impli...

What is the rationale be…

less than 1 minute read

What is the rationale behind affecting a large portion of libraries and having to rebuild/test them when the nx.json file is edited? I can understand needing...

Hi guys Sorry if it s w…

less than 1 minute read

Hi guys, Sorry if it’s wrong place. I’m looking for solution - how to share styles among libraries? It’s easy to have it as share and pass to application, bu...

Hi I m getting a strang…

1 minute read

Hi, I’m getting a strange error message. I’ve created a new lib, I’m running its test using nx test myLib and I get the following error: TypeError: Cannot re...

This PR changed nrwl n…

1 minute read

This PR changed @nrwl/next:dev-server to @nrwl/next:server which broke everyone’s (my teams) build today and had me scratching my head about what on earth wa...

Quick question by defau…

2 minute read

Quick question: by default you have an ‘apps’ top level folder and a ‘libs’ top level folder… is there anything stopping me from having other app kind top le...

Not a major issue but a …

less than 1 minute read

Not a major issue but a bit of an annoyance: VSCode keeps flagging this error, but only on a few libs. It’s also weird that the error is on the tsconfig.json...

I m wondering about the …

1 minute read

I’m wondering about the build output for the next apps. How are public assets being treated, if at all? Usually with next I just have a public folder in the ...

I guess as long as the n…

less than 1 minute read

I guess as long as the names are unique? since they are listed in nx.json by their name (which point to the workspace.json projects map I take it)?

Hey guys when I use nx…

1 minute read

Hey guys, when I use nx run-many can I target projects by tag? e.g. nx run-many --target=lint --tags=type:ui and nx would lint all libs with tag type:ui ?

Hey all Totally new to …

less than 1 minute read

Hey all! Totally new to nrwl, and I’m in a situation where I’m hoping to migrate an existing Angular monorepo project to nx. Has anyone ever gone through thi...

less than 1 minute read

?

Small question can we e…

less than 1 minute read

Small question: can we easily create a deployable version of a Storybook instance with Nx? (or even deploy one easily in one step?)

Is there a nx specific w…

1 minute read

Is there a nx specific way of deploying to now? (or I guess it’s called vercel now) just wondering since now tends to have all this “magic no config thingy” ...

Is there a way to use en…

less than 1 minute read

Is there a way to use environment variables in workspace.json or should I create a package.json script for that?

I m full of questions to…

less than 1 minute read

I’m full of questions today: Is there a way to run all the tests of a workspace in one go? nx test runs only the main app’s tests.

Hi I m having some issu…

less than 1 minute read

Hi, I’m having some issue getting legacy code work correctly in my NX repository. • I have Lib-1 and Lib-2. • Lib-1 requires Lib-2. • Lib-2 is defined like t...

is there a compelling re…

less than 1 minute read

is there a compelling reason to name my lib browser-util-server-helpers if it’s in the libs/browser/util folder and if not, how do i explain the move schemat...

Hi folks I have a fair…

1 minute read

Hi folks - I have a fairly massive yarn-based repo of around 122 typescript projects, largely pointing into 5 or so top level artifacts. I’m struggling, in ...

So I m guessing here tha…

less than 1 minute read

So I’m guessing here that cypress does use the tsconfig and that the default setup is misconfigured somehow?

Regardless whether yo…

less than 1 minute read

Regardless whether you use JavaScript or TypeScript, you will have a tsconfig.json file at the root of the workspace. It's not used to build the applications...

Quick question on this …

less than 1 minute read

Quick question on this https://nx.dev/react/guides/js-and-ts JavaScript and TypeScript

Is there a way to show t…

less than 1 minute read

Is there a way to show the webpack configuration Nx is applying for a build? My node/express apps don’t minify/uglify so I’m curious as to why.

I m afraid I m getting t…

less than 1 minute read

I’m afraid I’m getting too far into the angular architect code that is unfamiliar to me to understand how this ought to fit together

I guess this is the righ…

1 minute read

I guess this is the right place, the building of only the affected parts of the app seems really cool, but what i dont understand is if that relies on some k...

Hi Guys I see that NX…

less than 1 minute read

Hi Guys – I see that NX 9.3 was released recently, and it adds the ability for libs to create package.json files with dependencies; Are we able to do this f...

For my other question c…

less than 1 minute read

For my other question (cypress never starts), I’ve debugged it down to scheduleTargetAndForget inside the cyrpress builder never completing. I suspect that r...

FYI I can work around …

less than 1 minute read

FYI - I can work around it by placing a dummy.ts in the integration folder. It’s empty (except a comment to explain the file). This makes the compiler happy,...

Error Webpack Compil…

less than 1 minute read

```Error: Webpack Compilation Error /Users/liebrand/code/monotest1/apps/second-app-e2e/tsconfig.e2e.json [tsl] ERROR TS18003: No inputs were found in c...

Anyone ever get An unha…

1 minute read

Anyone ever get An unhandled exception occurred: require(...) is not a function when using a custom webpack config with nx build &lt;nest app&gt;?

note the build seems to…

less than 1 minute read

note: the build seems to have worked, but then whatever next step it’s trying to do is what appears to be failing

hi i m trying out nx a…

3 minute read

hi… i’m trying out nx. as an exercise, i’d like to build an assets site - no react, no angular, just a set of static assets, many of which need to be built f...

another unrelated questi…

1 minute read

another unrelated question… the documentation implies that you can create custom “builders” to do whatever you want. I created one, which uses run-commands, ...

Trying to get my preact …

less than 1 minute read

Trying to get my preact build to work, but after building with @nrwl/run-command I get the following error… Anyone got any bright ideas given the less than h...

Next up is getting cypre…

less than 1 minute read

Next up is getting cypress to play with my preact app… is there anything in particular @nrwl/cypress:cypress is looking for before it kicks off? The default ...

Hoping that someone can …

2 minute read

Hoping that someone can clear something up for me about how the affected command is working. Currently say we have 2 libs lib1 and lib2 , lib1 imports lib2. ...

Hey did anyone figure o…

less than 1 minute read

Hey, did anyone figure out a system for ownership? We’re currently adding all our libs to a CODEOWNERS file on generation, but this is starting to get out of...

Hey all firstly nrlw i…

less than 1 minute read

Hey all, firstly, nrlw is fantastic. I’ve used it to build https://flick.tech and https://garn.io, where it has proved to improve my dev experience tremendou...

Hello What can I read f…

less than 1 minute read

Hello! What can I read for a better understanding of the benefits of monorepo? And what exactly do NX, I read documentations but I think I need to go back an...

Does anyone know some do…

1 minute read

Does anyone know some documentation about “chaining” builders? What needs to be implemented?

Does anyone know if ther…

1 minute read

Does anyone know if there are hooks for builders? I’d love to define a command in pre-build step for a certain library.

I ve built a plugin for …

less than 1 minute read

I’ve built a plugin for the creation of Google Cloud Functions, It’s not a solution to your problem, but I think it can extended for lambda functions. https...

Hi All I m working on g…

11 minute read

Hi All! I’m working on getting some serverless apps up and running in my nx repo. I’ve tried many different things to differing degress of success. I just ne...

Guys we are bound to us…

less than 1 minute read

Guys, we are bound to use our own distributed cache CI because of the security policy for our code and data. And we are running into some issues with the nx/...

Can we define exceptions…

less than 1 minute read

Can we define exceptions for nx-lint to suppress: The following file(s) do not belong to any projects:

I have tried the nx ser…

less than 1 minute read

I have tried the nx-serverless plugin but it seemed more tailored for angular apps

Hi everyone just getti…

3 minute read

Hi everyone - just getting started with nx, look very promising! I’m trying to use it with a preact app (rather than react), but struggling to understand th...

Does anyone else see the…

less than 1 minute read

Does anyone else see these kind of times when generating nest libs? ```nx g @nrwl/nest:lib testing –directory api –linter eslint –dry-run

Dear community one more…

less than 1 minute read

Dear community, one more question: Is there a best practice for dealing with environment variables in an angular nx monorepo? The environment files are in th...

Hey guys I wanted to try…

less than 1 minute read

Hey guys I wanted to try the incremental build feature in our nx project (v9.2.4) I converted one of the libs to publishable, but when I run the build comman...

Hey there just started …

less than 1 minute read

Hey there, just started playing with Nx and got stuck trying to make production builds for node/express apps. I tried: yarn nx build sample-express-app --co...

Hey is there anyway to …

less than 1 minute read

Hey, is there anyway to run the remote computation caching service on an internal network? Or any pointers to implementing the wire protocol? Would love to t...

Hi everyone is this sni…

less than 1 minute read

Hi everyone, is this snippet in nx.json supposed to enable local caching? or does caching only work with the nx-cloud task runner?

Hey there New day new …

less than 1 minute read

Hey there! New day, new question: is there a way to customize what nx workspace-lint and nx lint do? I have added stylelint to my project and I’d like to inc...

Has anyone had issues wi…

less than 1 minute read

Has anyone had issues with using JS files with Cypress? I freshly generated Cypress project with the --js flag fails linting.

anyone know how to bundl…

6 minute read

anyone know how to bundle dependencies when building a nestjs app so that I do not need to yarn install in the docker container when deploying? It seems that...

How does everyone deal w…

less than 1 minute read

How does everyone deal with Types that are shared between apps and libraries? Currently we are creating shared libs for each scope that contains the types bu...

Anyone know the best way…

less than 1 minute read

Anyone know the best way to deploy a nx generated nest.js app to prod? Right now it seems like you have to bundle up the entire monorepo’s node_modules.

And another question do…

less than 1 minute read

And another question: does anyone know if a command such as nx run web:build –prod is supposed to set Webpack’s mode to ‘production’ if the corresponding ent...

I m looking for some gui…

less than 1 minute read

I’m looking for some guides on how to create a library that contains 2-3 material themes that other apps can import. Any tips/links/help ? :slightly_smiling_...

How do I get the nrwl …

less than 1 minute read

How do I get the @nrwl/node:execute builder to exit after it’s done executing the target. It just finishes executing and waits with: ... No type errors found...

Morning slightly_smilin…

less than 1 minute read

Morning :slightly_smiling_face: . It’s time for me to play with the proxy feature. Will it work for node apps as well? Can I set a proxy for a node app while...

Hi all I m finding jes…

2 minute read

Hi all - I’m finding jest mocks working unexpectedly (or rather not working unexpectedly) in the Nrwl project. I have a lib1 that imports another lib2. In th...

Hey I m trying to build…

less than 1 minute read

Hey, I’m trying to build a publishable library with styled components, but rollup complains: Error: 'typeOf' is not exported by node_modules/react-is/index.js

Another nube question …

less than 1 minute read

Another nube question - I’m moving libs into an nx monorepo that are written in js inside js files. Will this work out of the box?

when I use the vs code t…

1 minute read

when I use the vs code to generate a module anc check the routing option, no router module is created.. Am I missing something os is it a bug?

Hi does anyone know if …

less than 1 minute read

Hi, does anyone know if there is way to add environment variables to targets in workspace.json?

Quick question looking a…

less than 1 minute read

Quick question looking at building at least a wrapper for dotnet build and run commands and then custom schematics but would you expect user to already have ...

Hi I ve got this error…

less than 1 minute read

Hi - I’ve got this error while building a library: TS2304: Cannot find name 'expect'. It is coming from a spec file. Anyone has any idea what might be the is...

Hi everyone I m trying …

1 minute read

Hi everyone! I’m trying to deploy a NextJS app in my nx monorepo via Docker. This is part of my CI workflow.

Hi I have lots of libs …

less than 1 minute read

Hi. I have lots of libs that are publishable. What’s the correct way of adding dependencies to a publishable library? Do I need to add these dependencies to ...

does anyone know is the…

less than 1 minute read

does anyone know, is there a way to tell nx to not use the cache when running a set of tests? Occasionally we’ll have service tests for our APIs, and will tw...

Hey new to NX and love …

1 minute read

Hey, new to NX and love it so far.. Now I have a question about libraries :slightly_smiling_face:

Do you guys have experie…

less than 1 minute read

Do you guys have experience writing multi-tenant apps? Right now env vars work just fine, but we will be opening more offices and some of the ids/keys/values...

what would cause nx dep…

less than 1 minute read

what would cause nx dep-graph to not see a dependency? I would assume if I import something from @myroot/somelib in a source file in @myroot/someapp that I’d...

hi I m trying to make u…

1 minute read

hi! I’m trying to make use of fileReplacements in my production configuration (it’s an angular app). I’m adding this { "replace": "apps/frontend/src/confi...

here I m new to NX a…

less than 1 minute read

@here, I’m new to NX and monorepos and in planning mode for a full-stack project using Angular and Nest apps… not seeing any documentation regarding how to u...

I am trying to understan…

1 minute read

I am trying to understand why nx dep-graph in my project is not properly showing dependencies. I don’t know if I’m missing configuration, if I’m doing somet...

RESOLVED In my React…

2 minute read

[RESOLVED] In my React App the script tags output in my index.html as a part of my build are &lt;script type="module" . I’m actually trying to target IE1...

Hi I want to build all …

less than 1 minute read

Hi. I want to build all projects related with dependency. In my project, server application implicitly depends on client because the server will serve static...

Wanted to get started wi…

2 minute read

Wanted to get started with a new project this morning, entered npx create-nx-workspace@latest new-project into the terminal and was greeted with this error: ...

Does anyone know if NX i…

less than 1 minute read

Does anyone know if NX is going to build schematics for react hooks like there have for redux. I’m moving from Angular to React going forward but since hooks...

wave hi all Really im…

1 minute read

:wave: hi all. Really impressed with the caching feature behind nx affected. Whenever I run nx affected --target=lint multiple times, I’m amazed every time h...

Hey when I create a new…

1 minute read

Hey, when I create a new libray with nx generate @nrwl/angular:library nameofLib --directory=path --unitTestRunner=karma --style=less I am getting the error ...

Did anyone ever try to m…

less than 1 minute read

Did anyone ever try to make a JSON schema for the workspace.json and nx.json? https://code.visualstudio.com/Docs/languages/json#_json-schemas-and-settings JS...

Can you use webpack conf…

less than 1 minute read

Can you use webpack.config.ts ?? I want to overwrite the configuration but I get the error: Cannot use import statement outside a module. I only found exampl...

the storybook integrati…

1 minute read

the storybook integration shouldn’t we have an “app” level storybook which is ran from the app folder? Believe this would help for DLS systems

There s quite some dead …

less than 1 minute read

There’s quite some dead links on google I’ve noticed. This link leads to the homepage again: https://nx.dev/angular/guides/workspace-schematics

I m working on a PR to m…

less than 1 minute read

I’m working on a PR to make it easier to pass through args to a command. Whilst trying to change the docs I saw that there’s some duplication going on though...

what is the idea behind …

less than 1 minute read

what is the idea behind the environments folder in most of the templates? do most people follow the same patterns, ie adding all the passed variables from pr...

Sorry for many questions…

1 minute read

Sorry for many questions, Does anyone know why if I’m building a react application with the nx serve –prod command getting a different output than through nx...

Out of curiosity how man…

2 minute read

Out of curiosity how many developers uses NX and tightly couple themselves to frameworks such as reach, angular, express and NestJs? Or do people use these f...

Hey i was thinking of ma…

less than 1 minute read

Hey i was thinking of making a quick builder for dotnet core. What would be the ideal solution user must have the dot net libs installed on they machine or h...

Hey guys We just wrote …

less than 1 minute read

Hey guys, We just wrote a stack overflow question about how to structure an Angular-NestJS monorepo. We are looking for guidelines and feedback about the way...

Does anyone know how lon…

less than 1 minute read

Does anyone know how long local caches are available for? I’m sure that I was building a project yesterday, and the next day after changing one file, he was ...

Where in workspace json…

less than 1 minute read

Where in workspace.json I could change weback stats https://webpack.js.org/configuration/stats/#stats webpack: Stats | webpack

It was one click save an…

less than 1 minute read

It was one click save and it looks like a rebuilding twice in a row. No circular dependencies warning and etc. Any ideas why this is happening?

This is more of a TypeSc…

1 minute read

This is more of a TypeScript questions, hoping someone has some insight, is there a way to determine if a property has a decorator attached to it (in this ca...

Nrwl Connect Why is the…

less than 1 minute read

Nrwl Connect: Why is there only 1 page in the book “Effective React Development with Nx”?

I ve noticed that the n…

less than 1 minute read

I’ve noticed that the @nrwl/angular - ngrx schematics include this custom fetch operator within the generated effect. What is the difference with using this ...

Hi referring to this re…

2 minute read

Hi, referring to this repository https://github.com/nrwl/nx-incremental-large-repo If I would replace: "tasksRunnerOptions": { "default": { "runner...

Hi I am running into th…

2 minute read

Hi, I am running into this problem: https://github.com/angular/angular-cli/issues/17110: my tests (jest) are still using ViewEngine. I find this a bit suspic...

Guys I have a problem I…

1 minute read

Guys, I have a problem I’m confident it’s not related to Nx, but I need to pick your brains on this :slightly_smiling_face:

Good afternoon I have a…

less than 1 minute read

Good afternoon! I have a question regarding onlyDependOnLibsWithTags for .eslintrc – how can I force the evaluation of these constraints at build time (nx bu...

hi on splitting CRUD fu…

less than 1 minute read

hi! on splitting CRUD functionality in features/libs, would you create a lib for each Create, Edit, etc operation? or just one lib hosting the whole CRUD ?

Where can I find documen…

less than 1 minute read

Where can I find documentation about tsconfig.json tsconfig.lib.json tsconfig.spec.json? I would like to be sure I understand their responsibility & impl...

Has anyone run into issu…

less than 1 minute read

Has anyone run into issues running Cypress e2e tests with ESLint and only using JS? It doesn’t appear that any JS files are being picked up by the linter. If...

I ve been working on a p…

1 minute read

I’ve been working on a plugin to create Google Cloud Function, I’ve used the build steps from node:lib but it does not work & I don’t understand the err...

Hey I have libA with …

1 minute read

Hey, I have libA with Storybook. From one of the components of this libA I’m trying to import an SVG I have in libB.

Dear All I can build no…

less than 1 minute read

Dear All, I can build now an @nrwl/node library with nx using @nrwl/angular:package:build But in the final js bundle (e.g. the umd bundle) all the imported ...

Hi guys happy easter …

2 minute read

Hi guys, happy easter! :rabbit: I was wondering if the tools directory in a nx workspace is supposed to be the place where I put my custom nx-plugins into? ...

When we bundle a node se…

less than 1 minute read

When we bundle a node service in our app, I’d like to only include the node modules that that service actually uses. I’ve been using generate-package-json-we...

Hello team Today we upd…

less than 1 minute read

Hello team, Today we updated to 9.2.0 of nx today, and found that the change to jest now does not run any tests. Has anyone experienced this issue?

Fronted should be agnost…

less than 1 minute read

Fronted should be agnostic of the backend data model where possible so dont scope them together. A pure rest api is best on a service or data type.

Does anyone have any sug…

1 minute read

Does anyone have any suggestions how to scope and name the endpoints for a nest application? I am struggling to find a way to group controllers (and their se...

Dear all is there any w…

1 minute read

Dear all, is there any way to create a “library” to be used in an external website inside an index.html? Such as this typical import:

nvm I figured it out …

1 minute read

nvm I figured it out… it just seems a bit strange to me that filenames and architecture are so different from what I find in the official storybook docs

Hey there it seems I ca…

less than 1 minute read

Hey there, it seems I can’t figure out how to configure a Storybook addon. So far I’m able to register it, but can’t find how to configure it anywhere.

Has anyone had a situati…

less than 1 minute read

Has anyone had a situation where the project rebuilt twice in a row, I make a small change, click save and compile twice .. I have no circular dependencies. ...

Does DataPersistence na…

less than 1 minute read

Does DataPersistence.navigation() play well with lazy loaded routes? If my effects modules are all loaded in “core” and not lazy loaded, will using the comp...

Is there a gist with how…

less than 1 minute read

Is there a gist with how to add multiple builders to a workspace.json file? I’m not sure where and how exactly to add the custom builder”: “@nrwl/workspace:r...

Is there a way to run t…

less than 1 minute read

Is there a way to run test against all apps and libraries? My use case is I would like to generate code coverage for the repository as a whole and us that as...

I wondering what people …

less than 1 minute read

I wondering what people’s thoughts are on having a types module to store interfaces and such across all modules. We are early in our Nx project development, ...

I wanted to create a bui…

less than 1 minute read

I wanted to create a builder to serve my application via http://ts.no|ts-node-dev "serve": { "builder": "@nrwl/workspace:run-commands", "...

Has anyone had much succ…

2 minute read

Has anyone had much success adding angular universal to an angular-nest nx setup? I am a bit unfamiliar with the angular cli builders and noticed this blog p...

Did anyone else run into…

less than 1 minute read

Did anyone else run into problems when upgrading to angular 9? At my workplace we’re having issues with entryComponents in tests, possibly related to: https:...

Can anybody tell me what…

1 minute read

Can anybody tell me what’s the impact/potential issues with not having ngcc on postinstall? It adds a huge amount of time to my CI pipeline… and given the is...

please use threads to k…

less than 1 minute read

please use threads to keep your question together or edit your orignal message/question.

undefined…

less than 1 minute read

https://gist.github.com/Siafu/95370fa66cc9f1e719a1af97c07b311b

Little question for peop…

less than 1 minute read

Little question for people combining Cypress with Storybook: how do you handle the name correlations between the storybook stories identifiers/knob names and...

Is it possible to run n…

less than 1 minute read

Is it possible to run ng add schematics if I’ve generated a new project with the Nx CLI? I’ve tried nx add @angular/material but no dice. For context, I ge...

Hi everyone firstly ke…

1 minute read

Hi everyone, firstly, keep doing what you’re doing, It’s amazing! In an Angular project, if I have two pages that share multiple reducers, am I best placing ...

Hi all i have Zone is n…

less than 1 minute read

Hi all, i have Zone is needed for the async() test helper but could not be error with jest on an angular lib any idea?

Hi does anyone have by …

2 minute read

Hi! does anyone have by any chance an example (or a link to the docs) where I can see how to configure vscode tasks to run/debug nx node apps?

Hi all I get the lintin…

3 minute read

Hi all. I get the linting error Imports of apps are forbidden when I try to import one library into another library.  The app is called myapp and the librari...

Hello guys Does anyone …

less than 1 minute read

Hello guys! Does anyone has practices with sharing API (NestJS) DTOs in shared library? DTOs have NestJS specific decorators for validation (Swagger, Class V...

Another question is the…

4 minute read

Another question: is there a good guide out there about setting up a Gitlab CI pipeline with Nx & caching? I feel like my CI is way too slow (partly due ...

If I want to run arbitra…

less than 1 minute read

If I want to run arbitrary code generation via "builder": "@nrwl/workspace:run-commands", before running a regular node or browser builder, how do I express ...

Can anyone suggest a sta…

less than 1 minute read

Can anyone suggest a starting place for me to get more familiar with nx and also take a stab at debugging this https://github.com/nrwl/nx/issues/2733? *tldr*...

undefined…

less than 1 minute read

[April 4th, 2020 5:24 PM] joelturcotte.g: I’m trying to build google cloud function, I just have two errors remaining. Importing other local module & cha...

I tried renaming my ang…

2 minute read

I tried renaming my angular.json to workspace.json because I don’t want to have my root workspace be “Angular-centric” (I want to be welcoming to suspicious ...

Hey everyone I am curre…

less than 1 minute read

Hey everyone, I am currently testing the nx cloud and I have some questions… I did a full run of a feature brach using nx-affected for all architect command...

Good morning to those o…

1 minute read

Good morning, to those of you for whom it is still morning. I’ve noticed that the default port for the debugger was changed from 7777 to 0 0 being a random p...

Has anyone had a problem…

less than 1 minute read

Has anyone had a problem with HMR in React nx projects? I have a react application with some libraries like a seperate UI components library configured with ...

Disclaimer I ve already…

2 minute read

Disclaimer: I’ve already asked this question in angular’s repo since it’s cli specific but maybe someone can help to workaround this issue? Hi all! I’m havin...

Is it possible to have l…

less than 1 minute read

Is it possible to have library with multiple modules that contains multiple components. I have an issue to use a component in routing in this case ?

Hello everyone nx seesm…

less than 1 minute read

Hello everyone, nx seesm to be creating .nx-tmp files. Should these be checked in or ignored?

i seem to have odd issue…

less than 1 minute read

i seem to have odd issues with using storybook in nx - it will work fine for a while, but whenever i try to add an addon or change the base configuration, it...

i got Error Command …

less than 1 minute read

i got Error: Command failed: git merge-base feature/my-feature HEAD fatal: Not a valid object name feature/

hello i need some help …

less than 1 minute read

hello, i need some help with jenkins to use my multibranch pipeline with affected cli methods

Is anyone experiencing i…

less than 1 minute read

Is anyone experiencing incredibly slow jest tests in angular? I have test suites that are barely doing anything (only a couple of it’s) and they can take up ...

Anyone knows if we can a…

less than 1 minute read

Anyone knows if we can already use Angular 9.1.0 with Nx 9.1.3? :slightly_smiling_face:

I am wondering is anyone…

less than 1 minute read

I am wondering is anyone using a linting rule on their cypress E2E test to prevent .only?

Has anyone ever run into…

2 minute read

Has anyone ever run into an issue where one lib changing does not affect another when the latter imports the former? Specific case is this:

Hey there Anyone availa…

5 minute read

Hey there. Anyone available to discuss some questions I have around how to best structure an Angular + NGRX app with interdependent modules in NX?

I have a basic question …

1 minute read

I have a basic question what type of project would you recommend if I want to use nx to build and bundle plain old js (not using angular or react) into a for...

hello does anyone have …

less than 1 minute read

hello, does anyone have some hints for best practice here? I have multiple apps in my nx workspace, each of them import the same 3rd party modules, some of t...

Hi all I migrated our a…

1 minute read

Hi all, I migrated our angular-nest app from version 8.6.0 to 9.1.2 and now when I’m attaching a debugger to the process of the nest app, the breakpoints are...

im going nuts is someon…

1 minute read

im going nuts, is someone here available for some quick questions regarding jest? Please, thanks

hey guys man raising …

less than 1 minute read

hey guys: https://twitter.com/nxdevtools/status/1239931995628736513?s=21 :man-raising-hand: https://twitter.com/NxDevTools|@NxDevTools: :point_up:Want to imp...

Hi i m currently workin…

less than 1 minute read

Hi, i’m currently working on updating a project from @nrwl/angular 8 to 9. The application is running again but i still have some trouble getting the unit te...

Hey everybody I can t c…

less than 1 minute read

Hey everybody, I can’t create a new workspace (been using Nx for more than year now):

quick question regarding…

less than 1 minute read

quick question regarding nx cloud cache in regard of https://github.com/nrwl/nx/issues/2404#issuecomment-599575953: the cache in the cloud is also calculated...

Hi guys I was wondering…

2 minute read

Hi guys, I was wondering if any of you have experience or advice to apply the nx cli in a monorepo to include projects in none js/ts language? in our case th...

Goodmorning I filed a P…

less than 1 minute read

Goodmorning, I filed a PR (https://github.com/nrwl/nx/pull/2645) for an issue that I’m suffering when I want to use a codecoverage reporter for my CI build. ...

no I wanted to try out …

less than 1 minute read

no, I wanted to try out the new package to create my own plugin, but even the default plugin that I create with ng g @nrwl/nx-plugin myplugin , I cannot buil...

My Plugin also works per…

less than 1 minute read

My Plugin also works perfectly with Angular 8 (haven’t tested it with a lower version).

Hi all I am seeing disc…

less than 1 minute read

Hi all, I am seeing discrepencies when doing nx linting on my local machine and doing linting via continuous integration build on azure devops. It looks like...

I m using the nx Storybo…

less than 1 minute read

I’m using the nx Storybook capabilities. So far I’ve got it working great when running locally. How do I build a static site from the Storybook?

Hi all I was wondering …

less than 1 minute read

Hi all, I was wondering which is the best strategy to upgrade your Nx version. You can do npm run update which calls ng update @nrwl/workspace But in the doc...

I m writing a Nx builder…

2 minute read

I’m writing a Nx builder for my project, and I’d essentially like to just wrap @nrwl/node:build with some extra functionality. @angular-devkit/schematics has...

wave Hey Nx Friends W…

less than 1 minute read

:wave: Hey Nx Friends! Wes here from Nrwl. Just joining in the fun and happy to chat about anything Nx or Nx plugin related.

Im the front end angular…

8 minute read

Im the front end angular dev and nx/nrwl looks amazing. but our stack right now is .net/c# and angular…I want to convert to a nx workspace with multiple angu...

If anyone is blessed bur…

less than 1 minute read

If anyone is blessed/burdened with using Jenkins and wants some advice on setting up Jenkins to build your NX project please let me know. I have ours up and ...

Hi All I have an Nx pro…

less than 1 minute read

Hi All, I have an Nx project that I’ve been working on. Separately, I have an angular-cli project that has a component that I’d like to utilize within my Nx...

Hey everyone I am think…

1 minute read

Hey everyone! I am thinking of starting a repo with a readme in it that is an aggregation of all of the questions that have been asked and their correspondin...

Does anyone here have ex…

less than 1 minute read

Does anyone here have experience building Nx plugins? :simple_smile: I’m trying to figure out if there is there a reliable way of detecting if a React app or...

Hello everyone we just …

1 minute read

Hello everyone, we just switched our Angular Project to Nx. Now we are trying to define module bounderies. Is there a way to prevent UI libs from importing s...

if I change it to pack…

less than 1 minute read

if I change it to "package.json": "*" my apps show up as affected as I would expect, maybe I’m just understanding those implicitDependencies incorrectly

hi all Does anyone kno…

1 minute read

hi, all! Does anyone know if @nrwl/workspace:run-commands ensure that the array of commands passed as an option are executed in order? because i have this co...

The docs actually have i…

less than 1 minute read

The docs actually have it as “package.json”:“*” so I think I’ll ust change it to that

Any one else have any is…

less than 1 minute read

Any one else have any issues with changes to their dependencies in package.json not causing apps to be “affected”? My inplicitDependencies are set as such "...

Did anyone have all of t…

less than 1 minute read

Did anyone have all of their tests in their repo “pass with 0 tests” after upgrading to nx 9 and angular 9? If I run tests on our entire repo no tests are ru...

If you had a custom cli …

less than 1 minute read

If you had a custom cli (in typescript) you wanted to move into your nx repo where would you put it in the project structure? And what type of schematic woul...

I m hoping someone knows…

2 minute read

I’m hoping someone knows how to do this off the top of their head. We have some shared node libraries that are developed outside the nx repo (the libraries p...

Anyone know if there is …

less than 1 minute read

Anyone know if there is an easy solution to that, well… one that isn’t “move the libraries into the monorepo”

hi i want to start a pr…

1 minute read

hi. i want to start a project with nx. we have some different styles (5) for the same application. what do you think is the best setup for this? one “core...

have anyone had trouble …

less than 1 minute read

have anyone had trouble with the nx serve command with redirect from authentication providers?

Is this still actual …

less than 1 minute read

Is this still actual ? https://medium.com/mean-fire/nx-nrwl-firebase-functions-98f96f514055? Medium: Nx Nrwl Firebase Functions

I have this curl command…

1 minute read

I have this curl command that is what the auth0 provider redirects to after authentication. The server returns a 400. does not give you the index.html

Here s the output from t…

less than 1 minute read

Here’s the output from the curl command. I can’t get anything from the browser because the server is failing here :)

when I have a same like …

less than 1 minute read

when I have a same like issue, I clean up my node_modules and package-lock.json file and just do an npm install

thanks that was kinda …

less than 1 minute read

thanks , that was kinda my assumption that Nx gives us the basic tools to achieve that sort of thing, just maybe not super simple

do you happen to know of…

less than 1 minute read

do you happen to know of any resources in the interwebs where people are talking about setting something like that up

We ve written a couple o…

less than 1 minute read

We’ve written a couple of custom schematics and builders to support our workflow for node services, and I suppose it would be possible, in theory, to support...

It is possible right now…

less than 1 minute read

It is possible right now to include other languages in an Nx monorepo, but you’d have to manage the dependency graph for the non ts/js projects yourself. Yo...

I usually run yarn che…

less than 1 minute read

I usually run yarn –check-files instead of just yarn when I’m upgrading as it will check each package individually for the right version based on what’s in y...

I don t know of any arti…

less than 1 minute read

I don’t know of any articles talking about using other languages in an Nx repo, but here’s an article i wrote about how to use run-commands : https://connect...

Hey Guys My first time …

less than 1 minute read

Hey Guys, My first time here so I hope I got the right channel for this. I’m upgrading our code base from nx 8 to 9 and I’m having a issue that is already kn...

On my CI i m currently u…

2 minute read

On my CI i’m currently using nx affected:build but doing this I get the following out put: ```Some of the library ngx-translate’s dependencies have not been ...

Hello we are using Nx w…

less than 1 minute read

Hello, we are using Nx with Angular 8 and @angular-builders/custom-webpack: "^8.4.1" as a builder as we are using @env/market like imports for configurable f...

Guys marked 3 days ago …

less than 1 minute read

Guys marked 3 days ago my issue by mistake as blocked. Can anyone of you unblock it, please? This issue is urgent for me and I’m monitoring it actively. Iss...

Ya there was an issue op…

less than 1 minute read

Ya there was an issue opened on GitHub about it. CloudFlare changed some code so that referrer headers needed to conform to http standards (regex match a url...

I m having issues instal…

less than 1 minute read

I’m having issues installing the @nrwl dependencies $ npm install @nrwl/angular npm ERR! code E403 npm ERR! 403 403 Forbidden - GET <https://registry.npmj...

There is this library …

less than 1 minute read

There is this library https://nstudio.io/xplat, but haven’t tested it personally nstudio | xplat - cross platform tools for Nx workspaces

I also tried these diffe…

less than 1 minute read

I also tried these different ways : https://medium.com/mean-fire/nx-nrwl-ionic-1baf3a43db74 https://medium.com/@haleminh27/ionic-4-nestjs-nx-monorepo-dream-c...

Hi guys I just created …

less than 1 minute read

Hi guys, I just created the issue and linked my example repo. I would highly appreciate if anyone can suggest how to solve it. My team and I are very enthusi...

hello we want to use yo…

less than 1 minute read

hello! we want to use your great storybook utilities but i got an error which i dont understand. hope someone can help me out

Anyone having issues wit…

less than 1 minute read

Anyone having issues with nx’s repo and creating the playground? E2e tests for Ng new are crashing for me on v9.0.0.

Is nx working with bazel…

less than 1 minute read

Is nx working with bazel already? The last announcement was in Oct 2019 - any news here?

I was reading the book _…

less than 1 minute read

I was reading the book Enterprise Angular Monorepo Patterns and noticed that for creating features, it is recommended to create multiple libraries for one fe...

I saw that nx had introd…

less than 1 minute read

I saw that nx had introduced some caching things for the CLI so out of curiosity I pushed it to my CI server and the commands that didn’t work above started ...

I had created a custom r…

less than 1 minute read

I had created a custom run-command target called release. I then updated it to run a second command and updated the name. from release to build-release runn...

Hi All this isn t reall…

1 minute read

Hi All, this isn’t really an nx question per se, but i created an angular element component from a project in my nx workspace, which is displaying fine when ...

Has anyone managed to ge…

less than 1 minute read

Has anyone managed to get yarn 2 to work with NX? I’m running into some issues https://github.com/nrwl/nx/issues/2386. Appears both NX and Angular not ready ...

I like to apologises for…

less than 1 minute read

I like to apologises for the slowness of VueJs.. Have really poor internet as im working overseas. Just going to do a quick separation of forked version of w...

Just trying our hand at …

3 minute read

Just trying our hand at MonoRepo. Just investigating Nx as a fit for us. All cards on the table it looks like either Nx or Lerna. Our current repos (which wi...

How does everyone deal w…

less than 1 minute read

How does everyone deal with mock files. Do you have yours in a scoped lib or a mocks folder in root of your repo?

yes…

less than 1 minute read

yes

okay i will do because…

less than 1 minute read

okay, i will do. because we want to kickof a new project :slightly_smiling_face:

but i allways go the err…

less than 1 minute read

but i allways go the error: Creating a sandbox with Nx... error An unexpected error occurred: "%27%27/@nrwl%2fworkspace: Invalid URI \"%27%27/@nrwl%2fworkspa...

Sorry I can t find the …

less than 1 minute read

Sorry, I can’t find the issue I was thinking of. There’s something similar here : https://github.com/nrwl/nx/issues/2059 but it’s not quite the same. All I c...

It s definitely worth cr…

less than 1 minute read

It’s definitely worth creating a bug report. I don’t have a Windows machine to test on locally…I am thinking I need to get one though if this keeps happening...

Hm we ve heard of simi…

less than 1 minute read

Hm…we’ve heard of similar problems from other Windows users. I think there may be an issue with some things you could try…let me find it.

Hello i am try to creat…

less than 1 minute read

Hello, i am try to create my first workspace with: npx create-nx-workspace@latest projectName

Hey everyone Jay and I …

less than 1 minute read

Hey everyone, Jay and I are trying to figure the best pattern for nest libraries. Would we want to be only placing services into the lib and have a controlle...

o Is it expected that s…

less than 1 minute read

o/ Is it expected that setting pascalCaseFiles as a default in workspace.json for schematics, or perhaps even the entire workspace work in the same way as se...

Is anyone using Jenkins …

2 minute read

Is anyone using Jenkins? I have been having trouble getting the affected scripts to work because it can’t find the base branch. I think it has to do with how...

Hi nx i created a new n…

1 minute read

Hi nx, i created a new nx project (npx create-nx-workspace, v8.11.0) with two different component libraries (ng g lib x.ng g component y) To test the compone...

Hi everyone I am lookin…

1 minute read

Hi everyone, I am looking at the cookbook recipe here https://connect.nrwl.io/app/cookbook/3lUhYk6aXO4kiKqfTfj3fS about creating a shared assets library and ...

Hi Everyone I was hopin…

less than 1 minute read

Hi Everyone, I was hoping I could get some clarification on something. I added a component to my library and setup ngrx based on the documentation here: htt...

Hi I m new in Nx I m tr…

less than 1 minute read

Hi I’m new in Nx, I’m trying to integrate React boilerplate to Nx, but I got some problems about creating build/run script with webpack in Nx. There is alre...

We re looking into this …

less than 1 minute read

We’re looking into this: https://nstudio.io/xplat nstudio | xplat - cross platform tools for Nx workspaces

Hey guys quick Q I was …

less than 1 minute read

Hey guys quick Q, I was watching jeff delaney video on Nx and I saw he had some icons/theme on the angular console, was wondering how do I do that?

hey guys smile have yo…

3 minute read

hey guys :smile: have you worked with ionic and nx and if so… whats the best approach to add nx to a current ionic project?

Hi I was wondering what…

less than 1 minute read

Hi, I was wondering what the current status of the bazel implementation is. I saw it was merged back into to master

so I have a release c…

3 minute read

so… I have a release config at the root of my nx project - this is my common settings for all projects. Then each “releasable project” has it’s specific sett...

oh i have not used seman…

less than 1 minute read

oh i have not used semantic monorepo before, as alex said we were using the semantic-release beta branch, we just use the nx cli to get the affected lib test...

now this moves away from…

less than 1 minute read

now this moves away from the whole nx affected:e2e –parallel but nx affected:e2e currently

how I am planning on sol…

less than 1 minute read

how I am planning on solving this is to run nx affected:apps and then in my CI server I would spawn a paramaterized pipeline that takes the app name and for...

example config snippet …

less than 1 minute read

example config snippet ```// npx semantic-release –no-ci –branch=mono-repo-scripts –extends=./apps/page-shell-webui/release.config.js –debug

branch becomes branc…

less than 1 minute read

branch becomes "branches": [ "master", { "name": "somebranch", "prerelease": true } ],

The reason for the fork …

less than 1 minute read

The reason for the fork of semantic-release to semantic-release-plus is because the core of semantic-release does not allow filtering by commit path. So when...

The primary functionalit…

less than 1 minute read

The primary functionality I added to semantic-release-plus was the ability to essentially do git log apps/admin-ui

Ok…

less than 1 minute read

Ok

Lerna uses semantic rele…

less than 1 minute read

Lerna uses semantic-release-mono if i remember well. Publish command is able to get commits from the current path of the package

If you can imagine if I …

less than 1 minute read

If you can imagine if I can figure out a simple way to get the dependent projects from nx then it will automatically be kept current

I forked semantic releas…

less than 1 minute read

I forked semantic-release added a way to specify commit paths to filter commits then…. I will write up an example when I get to a keyboard :grin:

I dont have lot of time …

less than 1 minute read

I dont have lot of time to switch my repo. Anyway nx is by far more friendly than lerna. Schematics are just awesome

Hello here I would like…

less than 1 minute read

Hello here. I would like to switch my lerna repo to nx but it is possible to use something like semantic release / conventional changelog to publish packages?

that is almost what we …

less than 1 minute read

that is almost what we do, except right now our slices “all lib tests” “all app tests” “builds”

undefined…

less than 1 minute read

https://github.com/pmowrer/semantic-release-monorepo/blob/master/README.md|https://github.com/pmowrer/semantic-release-monorepo/blob/master/README.md GitHub:...

Looking at this I think…

less than 1 minute read

Looking at this I think this will require pulling all the commits and then analyzing them semantic-release-plus will on return the commits relevant to the pr...

yeah you can deploy an …

less than 1 minute read

yeah, you can deploy an app by moving only these paths to your server dist/apps/your-node-app package.json package-lock.json and having in your package.json ...

There are a couple discu…

less than 1 minute read

There are a couple discussions already. The gist of it is find a way to include the / a package.json with the dist

That does what I think y…

less than 1 minute read

That does what I think you’re looking for - it lets you control bundling your node modules into your single main.js. Setting to “none” should bundle everyth...

Thanks for replying does…

less than 1 minute read

Thanks for replying does anyone know what externalDependencies does? https://nx.dev/react/api/node/builders/build#externaldependencies|https://nx.dev/react/...

Ok I don t have a works…

less than 1 minute read

Ok, I don’t have a workspace.json do I just create one or is the documentation out of date?

I probably need to go re…

less than 1 minute read

I probably need to go read the issues for this to figure out if I should be expecting issues in the future. But the main.js seems to be pretty lean and I don...

Awesome added it to the…

less than 1 minute read

Awesome! added it to the production configuration for my node service and if I copy the dist folder to the project to another location i can run node app.js ...

Are you using an angular…

less than 1 minute read

Are you using an angular-powered workspace? If so, you should have an angular.json and you can make the change in there

here how are people b…

less than 1 minute read

@here - how are people building their node apps. When I run ng build my-node-service --prod I only get my main.js and main.map.js. But that really isn’t dist...

Hi are there any update…

less than 1 minute read

Hi, are there any updates on this issue https://github.com/nrwl/nx-examples/issues/75? Or other example repos for reference? GitHub: project structure doesn’...

I have been digging arou…

less than 1 minute read

I have been digging around the source trying to figure out an easy way to get the dependencies and their folders via javascript. essentially what I want is:

How do I run the docs lo…

less than 1 minute read

How do I run the docs locally? I was trying to fix this issue: https://nx.dev/react/guides/modernize-storybook-react

Hi I m trying to get th…

less than 1 minute read

Hi, I’m trying to get the npm run affected:* commands running in a Jenkins pipeline. But Jenkins seems to use sparse checkouts. Any idea how I can fix this?

hi i m new to nx i was…

less than 1 minute read

hi, i’m new to nx, i was following the steps on https://youtu.be/Y9ZgpvcFUXs to create an api, i tried different ways to do it, but i always get the same err...

Hi We re developing SPA…

less than 1 minute read

Hi. We’re developing SPA’s with .NET Core. So ASPNETCore would be the backend of our SPA application. What would be the best practice for that?

what are the options you…

less than 1 minute read

what are the options you’ve taken when dealing with apps that don’t work when using this option in none to avoid having really large node_modules folders in ...

We are struggling a litt…

less than 1 minute read

We are struggling a little bit with our node services because of the single package.json rule. We could mitigate the problem a little bit in our express app ...

Hi y all Just found thi…

less than 1 minute read

Hi, y’all Just found this community, We’re working on a cool IoT project and we are building everything with typescript and @nrwl/nx

Also which of the four …

less than 1 minute read

Also, which of the four library types do guards fall under? If the guard reads from the state store using a selector does that mean it belongs in a feature? ...

Hi guys We are trying t…

less than 1 minute read

Hi guys. We are trying to move our koa2 based API under Nx workspace and would like to follow the proposed conventions as close as possible. The thing that’s...

yep confused did you t…

less than 1 minute read

yep :confused: did you try npm ci instead of npm install for everything that’s not a production env install?

we solve this by keeping…

less than 1 minute read

we solve this by keeping a production oriented package.json inside the app source and moving it to the dist at build time by including the file among the ass...

You re in for a response…

less than 1 minute read

You’re in for a response, can’t even fit it in one message :slightly_smiling_face:

Is it okay for ngrx dat…

less than 1 minute read

Is it okay for ngrx data-access libraries to depend on each other? Say you have an CartItems feature state. This keeps track of all items in your cart. Now, ...

Hi there everyone I m n…

less than 1 minute read

Hi there everyone, I’m new to using nx and I’ve pretty much been automating the deployment process for it into Azure using Azure DevOps.

Hey I can give my opin…

4 minute read

Hey ! I can give my opinion on this if you like. I think of it slightly different. I would say the [Search Page] Add item to cart action would be different f...

Alright that s what I m…

less than 1 minute read

Alright, that’s what I’m doing currently… was hoping for a more efficient way to do this since I’m already building only the pieces that are affected using n...

we do the same as does…

less than 1 minute read

we do the same as does. We have our normal package.json abut also a seperate package.core.json which gets copied in with the lock file and yarn installed

Check out this series …

less than 1 minute read

Check out this series https://www.softwarearchitekt.at/aktuelles/sustainable-angular-architectures-1/ softwarearchitekt.at: Sustainable Angular Architecture...

undefined…

less than 1 minute read

https://www.softwarearchitekt.at/aktuelles/tactical-domain-driven-design-with-monorepos/ softwarearchitekt.at: Tactical Domain-Driven Design with Angular and...

undefined…

less than 1 minute read

https://www.softwarearchitekt.at/aktuelles/sustainable-angular-architectures-2/ softwarearchitekt.at: Sustainable Angular Architectures - softwarearchitekt.at

The Enterprise Angular M…

less than 1 minute read

The Enterprise Angular Monorepo Patterns book suggests to limit the number of library types to feature, ui, data-access and util. Where should we put domain ...

Is the source code of th…

less than 1 minute read

Is the source code of the NRWL Airlines application from the book somewhere available?

Sorry for the load of q…

1 minute read

(Sorry for the load of questions). I’m not sure if I’m misunderstanding something obvious here but I generated a new node app (it’s an aws lambda). It has a ...

Ah I noticed that was m…

less than 1 minute read

Ah! I noticed that was missing earlier and I thought it was just supposed to be like that.

Yes although I just rea…

less than 1 minute read

Yes, although I just realized it does show up in the Angular Console extension but not the Angular Schematics extension.

Hi what is the differen…

less than 1 minute read

Hi, what is the difference between @nrwl/angular:component and @schematics/angular:component? I have a @nrwl/angular:component reference in the angular.json ...

Hey has anyone gotten n…

less than 1 minute read

Hey, has anyone gotten nestjs schematics to show up in VSCode? I only see nrwl and angular. Thanks!

Hey everyone I m trying…

less than 1 minute read

Hey everyone. I’m trying to use nx in a docker image. I am installing @nrwl/cli when building the docker image with RUN npm i @nrwl/cli -g but when I run /u...

I have a nx project with…

less than 1 minute read

I have a nx project with multiple angular applications. When running the end-to-end tests (ng e2e) the second and all subsequent application tests fail becau...

yeah slightly as this …

less than 1 minute read

yeah, slightly, as this was generated from @nrwl/express while a fresh Next.js app would be from @nrwl/next and they put different stuff in there

try and change your tsco…

less than 1 minute read

try and change your tsconfig.app.json to extend ./tsconfig.json instead of ../../tsconfig.json

other projects generated…

less than 1 minute read

other projects generated with @nrwl/react or @nrwl/next can find the existing lib, though

my guess is it is the bu…

less than 1 minute read

my guess is it is the builder itself. I wonder, if you generate a Nest app (nest not next) and use that as the base for the express server if that would allo...

maybe there is something…

less than 1 minute read

maybe there is something different with nx when you use the nx command. Our repo is angualr based so we do everything via the ng angular cli command

in your workspace json f…

less than 1 minute read

in your workspace.json file what is the serve.builder value in the react app and next app?

hmm…

less than 1 minute read

hmm

hmm right that would ma…

less than 1 minute read

hmm right, that would make sense. soy uo generated a fresh express project then ported over your other server (that is a type nx doesnt support)?

could try adding another…

less than 1 minute read

could try adding another one just to see, but I would assume if it can’t find the one I have, it will fail to find other local libs as well

ah ok same thing in an…

less than 1 minute read

ah ok, same thing. in angular.json can you paste the entry for the express app?

The weird thing is the …

less than 1 minute read

The weird thing is, the IDE doesn’t complain. Jump-to-definition works, etc. It’s only when I try to serve that the imported module fails to resolve.

Thanks I m sort of doin…

less than 1 minute read

Thanks. I’m sort of doing something hacky here anyway, trying to bring an existing Next.js app into Nx but it relies on a custom server which @nrwl/next does...

So in my nest js project…

less than 1 minute read

So in my nest.js project (type shouldn’t matter) the app.json extends ./tsconfig.json which then extends ../../tsconfig.json

Does anyone here know if…

less than 1 minute read

Does anyone here know if you have to do something special in a Node (Express) app to get it to “see” libraries in the workspace? Trying to import from a work...

Are there any difference…

less than 1 minute read

Are there any differences in workspace.json between the app your imported and a freshly generated next.js app?

Ah …

less than 1 minute read

Ah

oh that yes it s there…

less than 1 minute read

oh that, yes it’s there - if I generate another project (say, Next.js), it can import from the UI lib just fine

extends …

less than 1 minute read

{ "extends": "./tsconfig.json", "compilerOptions": { "outDir": "../../dist/out-tsc/apps/embed-api", "types": ["node"] }, "inc...

Has anyone had issues bu…

less than 1 minute read

Has anyone had issues building nest apps using nx on CI. We are getting exit code 137 (memory issues)

Hi Is it possible to us…

less than 1 minute read

Hi. Is it possible to use non-class-based actions (boilerplate, glad they are gone) with Nx Data Persistence? I could not find anything in the docs. This her...

Yes I m working on a UK…

less than 1 minute read

Yes, I’m working on a UK government project and using NX as the base of the project. Why I jumped on Storybook and created a builder. It was taking too long ...

However with that being…

less than 1 minute read

However, with that being said. I am considering taking a small section of the project outside of NX because I’m considering making that section open source a...

That sounds cumbersome o…

less than 1 minute read

That sounds cumbersome over time. Are you (or anyone else here, for that matter) doing this in a large monorepo currently? Not a big deal?

Nx only supports one ver…

less than 1 minute read

Nx only supports one version of a 3rd-party dependency for the entire monorepo, right? Thousands of projects, all locked in to some-lib@1.0.0. When some-lib@...

ya…

less than 1 minute read

ya

installing types node …

less than 1 minute read

installing @types/node removed type errors on build, but still got ReferenceError: process is not defined at run-time

environment ts gets swap…

less than 1 minute read

environment.ts gets swap out so depending on build tool you could swap the file. furthermore, you can use node variables inside the file and it works perfect...

dotenv doesn t work ei…

less than 1 minute read

dotenv doesn’t work either, as it uses node standard libraries like fs and path, and webpack doesn’t seem configured to handle that

You would want to extrac…

less than 1 minute read

You would want to extract those process.env vars during compilation, save them to a file that is included in your bundle.

As a newcomer to Nx tha…

less than 1 minute read

As a newcomer to Nx, that seems like a hassle/step backwards, as other popular tools in the ecosystem provide a way to read from environment at build time (e...

are you trying to use t…

less than 1 minute read

are you trying to use that in an angular project? Cause if so it won’t work. You would have to somehow save that process env var to the file during compilati...

attempting to use proc…

less than 1 minute read

attempting to use process.env in environment.ts fails for me, it doesn’t know what process is (or is that not what you meant by node variables?)

gt We are working on t…

less than 1 minute read

> We are working on the updated Nx video course which will cover not just the basics, but also things like CI, org management. The first part of the cours...

We do something similar …

less than 1 minute read

We do something similar. We read a development environment variable during application build and use that to choose a value from a configuration which we the...

We do it in a docker ste…

less than 1 minute read

We do it in a docker step as a bash script. So if the environment is dev then we copy the dev config over the default

Oh …

less than 1 minute read

Oh.

Is there an idiomatic Nx…

less than 1 minute read

Is there an idiomatic Nx way to leverage build-time environment variables in web/React projects? For example, I’d like to read an API endpoint URL from the e...

Also Nrwl is coming …

less than 1 minute read

Also … Nrwl is coming out with something that might help real soon … See https://github.com/nrwl/nx/issues/633#issuecomment-530587787 GitHub: feat(test) - Co...

you will want to run ya…

less than 1 minute read

you will want to run yarn affected:lint and it will lint everything (that has been affected) or you can run yarn affected:lint --all

the affected commands re…

less than 1 minute read

the affected commands really helped us reduce our CI time, for linting, testing and building

hmm I guess i would thin…

less than 1 minute read

hmm I guess i would think yarn lint at the top level would lint all projects, I guess I wouldn’t think I would have to run affected all to get that behavior....

especially following thi…

less than 1 minute read

especially following this this to reduce our coupling https://nx.dev/angular/guides/monorepo-tags Imposing Constraints on the Dependency Graph

Yes…

less than 1 minute read

Yes

When i run yarn lint nx…

less than 1 minute read

When i run yarn lint (nx workspace-lint && nx lint) it seems to only be linting my ‘defaultProject’ project in workspace.json. Is this by design or ...

Maybe just bring it up w…

less than 1 minute read

Maybe just bring it up with them ya, cause it sounds like there is something wonky going on

K…

less than 1 minute read

K

I am not sure to be hone…

less than 1 minute read

I am not sure to be honest. It would depend on how nx is configured for that specific command. I would suggest to use the affected commands though

yeah running the first…

less than 1 minute read

yeah, running the first command just errors with Project '@nrwl/workspace' could not be found in workspace.

it should work fine now…

less than 1 minute read

it should work fine now, I have always used ng update but they say in the docs that nx migrate is just a wrapper around ng update so either should work! Are ...

yeah that makes sense …

less than 1 minute read

yeah, that makes sense, especially if there are many many projects. Thanks again.

Hi all Are the instruct…

less than 1 minute read

Hi all. Are the instructions in the “Updating Nx” section of the docs supposed to work today or is that coming in the future?

Hi I ve created an Angu…

less than 1 minute read

Hi, I’ve created an Angular + Preact monorepo using nx in our company and it’s working fine. However playing with Ivy engine I noticed that bundling behaviou...

found it According …

less than 1 minute read

found it … https://github.com/nrwl/nx/issues/1432 ? According to Victor Savkin, there is experimental support for Bazel and there will be full one in Oct/Nov...

I also wanted to ask wha…

less than 1 minute read

I also wanted to ask what the future of NX will be, now that Angular will release non-expiremental Bazel soon; as I understand it, it will make the “affected...

Hey I unfortunately do…

less than 1 minute read

Hey , I unfortunately don’t know the right answer to your assets questions so if you find one let us know! But also wanted to mention this is not an official...

Hello everyone Glad I f…

less than 1 minute read

Hello everyone! Glad I found this channel, I am using NX happily for over a year now. But can you help me with this issue please? Basically I don’t understan...

ok thanks I will look…

less than 1 minute read

ok, thanks, I will look up the issue. Regarding my first question, advice from the community is also welcome :slightly_smiling_face: , how do you guys deal w...

Hey everyone I am using …

less than 1 minute read

Hey everyone I am using the nx-enforce-module-boundaries linting rule and have it setup so that

and in package json I h…

less than 1 minute read

and in package.json I have "test-headless": "ng test --watch false --browsers ChromeHeadlessCI --code-coverage"

or not I thought the…

less than 1 minute read

or not … I thought these would just be extensions of the official ones … but for angular it looks like they were rewritten

Those files inherit from…

less than 1 minute read

Those files inherit from the base configuration and allow us to modify the settings per project/lib. We use those in our monorepo. E.g. setting Jest to Angul...

The compilers might but…

less than 1 minute read

The compilers might, but nx might be looking for config files in specific locations so I would be weary of removing all of those files.

Thanks I figure that …

less than 1 minute read

Thanks . I figure that they are there for a reason. My understanding, though, was that if a config file wasn’t found in the root dir for a lib, the TS comp...

I m going to write the m…

less than 1 minute read

I’m going to write the missing nrwl schematics for nestjs I think … I’ll contribute them once stable

I know the TS compiler w…

less than 1 minute read

I know the TS compiler will walk up the tree looking for a TSConfig. I’m assuming the others do

Hey we don t directly u…

less than 1 minute read

Hey we don’t directly use them either but they do get used. It may seem excessive but when running the affected commands with Nx my guess is that those conf...

Cristian is right they a…

less than 1 minute read

Cristian is right they all inherit. I do not know if it will keep walking up the tree though. I’d say just leave them as I bet nx uses them all under the hood.

Can anyone shed any ligh…

less than 1 minute read

Can anyone shed any light on the purpose of having all of the config files in each generated library? I’m talking about the one shown in the image. They se...

Agreed I m not taking …

less than 1 minute read

Agreed. I’m not taking them out. I’m pretty sure things still work if you do, from a past project where I removed them. BUt I don’t want to paint myself i...

Yeah in complex monor…

less than 1 minute read

: Yeah, in complex monorepos I can see the value, I suppose. My situation is that things are really simple and they are just clutter. I wish there were som...

undefined…

less than 1 minute read

https://github.com/nrwl/nx/issues/1754 GitHub: Feature Request: Make config files optional · Issue #1754 · nrwl/nx

yes…

less than 1 minute read

yes

schematics …

less than 1 minute read

"schematics": { "@nrwl/angular:application": { "unitTestRunner": "jest", "e2eTestRunner": "cypress" }, "@nrwl...

hmmmm i wonder if it s …

less than 1 minute read

hmmmm, i wonder if it’s because I haven’t actually set up the api application yet

hmm odd i created a nes…

less than 1 minute read

hmm odd, i created a nestjs api the other day and it defaulted to using jest. which version of nx?

and generating an applic…

less than 1 minute read

and generating an application using @nrwl/nest:application doesn’t add the schematic config to angular.json

I think I ll just do ng…

less than 1 minute read

I think I’ll just do ng g @nrwl/workspace:library api-auth --directory=shared and then generate a nest module in that

Hello nrwl gurus Is the…

less than 1 minute read

Hello nrwl gurus! Is there a way to set max_old_space_size in nx like we do in ng ?

Generating a nest librar…

less than 1 minute read

Generating a nest library, I can do ng g @nestjs/schematics:library api-auth --path=shared however, this doesn’t generate the jest files etc… Should I create...

less than 1 minute read

https://github.com/nrwl/nx/issues/623#issuecomment-417816744 GitHub: Ability to add-jest via a schematic · Issue #623 · nrwl/nx

undefined…

less than 1 minute read

https://github.com/nrwl/nx/issues/1110#issuecomment-467504901 GitHub: JavaScript heap out of memory: –max_old_space_size not working with nx · Issue #1110 · ...

should work for you …

less than 1 minute read

https://github.com/nrwl/nx/issues/1110#issuecomment-503232303 should work for you GitHub: JavaScript heap out of memory: –max_old_space_size not working wit...

Yup Most of our assets …

less than 1 minute read

Yup. Most of our assets are served directly through S3 or through cloudfront from s3

I m trying to setup a mo…

less than 1 minute read

I’m trying to setup a monorepo that can replace our 50+ projects that I want to try and unify (legacy projects)… Some of the projects are for a single client...

I was thinking of doing …

less than 1 minute read

I was thinking of doing ng g @nrwl/workspace:library shared-assets --directory={clientName}

you could have an asset…

less than 1 minute read

you could have an asset folder in root of your nx workspace to share across your apps as it doesn’t need to be a lib and/or upload it all to an s3 bucket, th...

thanks it defaulted to …

less than 1 minute read

thanks, it defaulted to deps and I didn’t know if that’s because angular being frontend it mattered during build etc …

should nrwl angular be …

less than 1 minute read

should @nrwl/angular be in deps or devDeps ? it’s added it to the former whereas all the other nrwl packages are in devDeps

You will of course need …

less than 1 minute read

You will of course need to update angular material as well but if you can just run ng update to see what else and then upgrade those one at a time.

Offtopic the link …

less than 1 minute read

Offtopic … https://nx.dev/angular/guides/monorepo-nx-enterprise#managing-dependencies the link “Read more about tags here.” doesn’t work, I think the link sh...

No it shouldn t but it w…

less than 1 minute read

No it shouldn’t but it will need it during build time, jsut not runtime. ie. It will not be included in the vendor bundle.

I have a more generic an…

less than 1 minute read

I have a more generic angular/typescript compile related question if you’d be willing to entertain me? (No idea where I can ask this other than stackoverflow...

Hi to update Angular to…

less than 1 minute read

Hi, to update Angular to 8.2, do I do ng update @angular/cli (it lets me do this on a new empty workspace, but not after i’ve added @nrwl/angular), or should...

thanks for the info Jay …

less than 1 minute read

thanks for the info Jay and Alex, the problem is when we do in gitlab CI, the runner doesnt recognize origin/master because it checks out only the specific c...

so in gitlab the checko…

less than 1 minute read

so in gitlab, the checkout happens automatically. The default is fetch, so the runner(build agent) gets just the commit. I could perhaps do a full clone .

See if there is a way to…

less than 1 minute read

See if there is a way to do a full clone but you get specify it to be shallow so you don’t get a bunch of irrelevant git info. Let me see if I have a link ha...

is there a reason you d…

less than 1 minute read

is there a reason you don’t just run a normal checkout and then have access to origin master? You can do a shallow checkout as well and then you don’t get th...

undefined…

less than 1 minute read

https://stackoverflow.com/questions/600079/how-do-i-clone-a-subdirectory-only-of-a-git-repository/28039894#28039894 Stack Overflow: How do I clone a subdirec...

sorry I haven t used ty…

less than 1 minute read

sorry I haven’t used type orm before but maybe if you explain your use case more someone will be able to help?