Would someone be interes…
Would someone be interested in a schematic generating run and test configurations for Jetbrains IDEs (Webstorm, PHPStorm, IDEA Ultimate…)?
Would someone be interested in a schematic generating run and test configurations for Jetbrains IDEs (Webstorm, PHPStorm, IDEA Ultimate…)?
Just catching up with the video from yesterday, thank you
Has anyone managed to get debugging of Jest tests working via Visual Studio Code?
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 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...
Nx Office Hours later today!
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 way to run nx print-affected without installing all of the workspace dependencies?
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 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 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 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 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 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 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 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 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 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...
Any idea what could be it?
After running nx migrate @nrwl/workspace@latest I got this migrations.json file: { "migrations": [ { "version": "9.5.0-beta.1", "descripti...
is nx ready for Angular 10, or should I wait?
How can I run a nx-plugin that I’ve created in my workspace without publishing it?
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 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 project with proxy, there are configs in workspaces.json and a proxy.config.json in app folder, but the proxy doesn’t work.
I’m not using next for client app
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 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...
Is anyone using eslint instead of tslint?
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 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 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 to capture git branch/hash at build time so it can be displayed in your app?
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 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...
How to set default Change detection and view encapsulation in NX angular project?
Has anyone tried using Playroom in their monorepo? https://github.com/seek-oss/playroom seek-oss/playroom
Anyone had problems with the generate ui on the nx console?
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 provide a link to some working example nx + nestjs architecture (with auth)?
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...
I’m trying to add a backend written in express in an nx monorepo.
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 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 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 deployed a nextjs app from an nx nrwl workspace to vercel? If so, what does your config look like approximately?
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 “@../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...
<#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 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 use external packages with nx and import them into a lib? all I get is this when using nx for react.
Is anyone experienced in @nrwl/next ?
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 recommended way to share environment variables (environments/environment.ts) with libs? Simply importing them would create a cyclic dependency.
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 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...
Anyone else experiencing this? https://github.com/nrwl/nx/issues/3248
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 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 order to have the Nx schematics for Angular integrated in IntelliJ? Currently I only have the workspace ones:
Hi everyone!
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 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 workspace we are promted to select Angular CLI or NX CLI.. what are the pros/cons?
how do i generate an angular module/component inside an angular lib?
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...
Why entryFile for Web library packages only accepts strings?
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 builders in the workspace.json file. "e2e": { "builder": "@nrwl/cypress:cypress", "options": { "cypressConfi...
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 libraries, the output generated for the package name is something like this: libs/groupFolder/subGroup/myLib //package.json for myLib { ...
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...
Does anybody have any tips on deploying only affected apps in CI?
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 configuring a mocha test bench with all those, you already wrote half your test cases with jest
well, that’s almost like comparing react to angular
jest packs everything, stubbed environment, modules mocked by default, assertion library, both node and browser support (via jsdom)
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 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 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 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 the default rollup config and JSON files, after installing axios rollup is trying to import axios’s package.json: { id: '/Users/ferna...
How to import() a deep export from a lib?
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 to manage spring boot apps (Java and Kotlin) in an nx workspace. Anybody interested in buildung a plugin together?
Hey there. Who has already migrated to NG10 & TS 3.9?
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 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...
So is it possible to use alternate, react-compatible libraries (e.g. preact) with nx?
Is there a straight forward way to trace circular dependencies?
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 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 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 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 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 please? https://nrwlcommunity.slack.com/archives/CMFKWPU6Q/p1592925518046900 [June 23rd, 2020 8:18 AM] montogeek: I am getting @nrwl...
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...
workspace:move is aggressive in renaming stuff in code
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...
in my nx.json i have "implicitDependencies": { "workspace.json": "*",
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.json, and run ‘nx affected:apps’ i noticed that most, but crucially not all, of my projects are listed as affected?
actually… nx affected:dep-graph does show that particular project as red… but nx affected:apps doesn’t list it ?!
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...
Is there a way to clear the nx cloud cache?
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: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/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 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 when I generate Angular workspace with NX, it uses es2017 in lib section of tsconfig.json. When you generate Angular app with stock Ang...
Hi Folks,
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 asked a question about programmatically getting an app/library dependencies. It was recommended to use createProjectGraph https://githu...
Don’t miss Office Hours! <https://twitter.com/brandontroberts/status/1275469038613864454?s=19 https://twitter.com/brandontroberts/st...
Does Nx have a recommendation around how to structure storybook configuration with your workspaces?
Anyone know how to debug tests in vscode in a nx react workspace?
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?
anyone know of any good guides for setting up Nx Azure Devop docker containers
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-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 would you use Nx environment files (apps/myapp/src/environments) in React libs?
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 shorter way to execute a workspace-schematic? // instead of nx workspace-schematic mySchematic //something like nx ws mySchematic
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 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 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 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 use migrations in nestjs projects ? I can’t get generation working from my entites ? Is there public reference project on github tha...
is there a way to run test (or run) based off of tags?
How to generate a module for a lib? Similar to nx g @nrwl/react:component Login --project=project ?
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 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 perform e2e testing against deployed site that require Windows Authentication, and Cypress does not support Windows Authentication out o...
Hey everyone is anyone using NX on GitlabCI, could you share your NX+GilabCI workflow?
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 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 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 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 as an object that is spread on the component? For example, I have <Item {...item} key={index} /> which is being mapped...
How can I define, what outputs to include in nx-cache for a certain task?
Hi everyone, I have a question regarding computational caching.
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 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 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 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 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...
never mind - for some reason it was missing from node_modules… fixed it now
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: "external": [], so my deps should be included, no?
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-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...
Shouldn’t that just pick up any node dependencies my code has?
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 setup vs code to debug your angular projects basically setting up the launch.json?
Is it possible to define the Storybook webpack configuration using TypeScript?
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 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 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 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 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 how to fix this issue? ```> Executing task: ng generate @nrwl/angular:library –name=test –no-interactive –dry-run <
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...
anyone made the switch from tslint to eslint for all their angular projects?
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 :slightly_smiling_face:
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.
Hi All,
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 we meant to keep the migrations.json file that is generated in the root?
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 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 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 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 feature to sync state with localstorage or persist state other way ?
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 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 microservices, anyone have an established pattern for integration tests? Should I try to adapt an e2e test?
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 new repo called nx-layouts where I intend to showcase some various workspace layouts.
Can you show me how you debug nestjs within vscode? Would be nice to have some working examples :)
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 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...
Where can I put custom TypeScript definitions?
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 <#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 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 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 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 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...
Uh, this is new. I’d swear it wasn’t a issue with v9.2
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 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 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 to create a react app with pwa support, similar to create-react-app?
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 example of them chunking their tests between different steps/jobs/nodes in their CI?
"webpackConfig": { "type": "string", "description": "Path to a function which takes a webpack config, some context and returns the resulting webpack conf...
hi, everyone. quick question. Is there a command to build all affected apps?
Hi folks,
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 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! 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 making libraries publishable (for incremental builds and caching purchases) if we don’t plan on publishing them?
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...
https://www.npmjs.com/package/@angular-builders/custom-webpack#custom-webpack-config-function npm: @angular-builders/custom-webpack
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 to include an electron app in an NX monorepo? Or is that just too much?
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 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/document for creating CI/CD Jenkins Pipeline(both Linux/Windows Server), Repos are in Bitbucket, Jenkins pipeline should include - Bui...
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 managing environment variables (in development)? dotenv seems like a no-go with the express plugin
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 everyone!
is there a blog/document for it?
I have one question, Whats the best practice to share build cache across PRs
Hi :slightly_smiling_face: all
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 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...
Hey guys
Hello everyone. Has anyone already integrated SonarQube with Nx?
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 to change the global compiler options for nestjs? https://docs.nestjs.com/cli/monorepo#global-compiler-options I need to change it f...
Does anyone know what nx uses to draw the dep graph?
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 this on two projects: npm run affected:e2e -- --project A e.g. npm run affected:e2e -- --project A B
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 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 know is there a way to exclude some files when nx automatically populate lib dependencies for me.
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.
Responses:
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...
It is possible to show lint warnings in the terminal when running nx serve ?
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 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...
Is .gitignore referenced when determining source hashes for nx cloud?
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...
Hello guys when are you going to release nx 9.3.0 on npm?
Is there a market for it? Seems like a good idea
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 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 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...
I need a different file according to an env variable
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...
How to make serve.options.proxyConfig dynamic?
How do you choose your scopes for commitizen commits in a nx monorepo?
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 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 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 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 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/node:execute target terminate after running a script? Is there something missing from this config? "build-build-number": { ...
Only apps can do import { ReactComponent as name } from "./path.svg" ?
It is possible to define custom ENV variables or file in workspaces.json?
How to use nx g @nrwl/react:package ?
How to run storybook after generating them?
How to run tests in all apps and libs?
How to create a Data-access library using the CLI?
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 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 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 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 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 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 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 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 ...
which of course are invalid JS/TS syntax
The build works for me only with --buildLibsFromSource . Any implication of making this true for all applications?
NX have a funding strategy or financial support?
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 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’m curious, has anyone seen any third party schematics for Firebase ?
I got these warnings
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 a scoped name? When running: nx g @nrwl/react:lib @scope-auth
Hi guys, is it at all possible to use proxy.conf.json to set up proxies in production?
Hello all, does anyone know if it is possible to override the default selector prefix for an entire workspace?
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: > Every library has an index.ts file, which defines its public API. Other applications and libraries should only access what the index.ts expor...
[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...
is there any way to add implicit deps to that dir?
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 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 was hoping to add this to the nx.json implicitDependencies: "tools/*": "*"
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 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 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 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 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 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-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 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...
Is there something that I’m missing? Is there no way to deploy each app separately?
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 "@nrwl/node:execute" to build and run a simple nodejs script written in TypeScript (so I could have NX call the typescript builder). H...
they work in express but the tsconfig seems to be overwritten in next
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 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 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 possible to make use of nest cli plugins in an nx workspace (especially when using the angular server builder)
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...
are you using v7 or 8?
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 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 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 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 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 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 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 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 behind affecting a large portion of libraries and having to rebuild/test them when the nx.json file is edited? I can understand needing...
Is there a way to set what the node_env is when building a nest app with nx?
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 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/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 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 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 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 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 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 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...
?
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 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 environment variables in workspace.json or should I create a package.json script for that?
How should I make this files part of project ? ``` nx workspace-lint && ng lint
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 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 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 fairly massive yarn-based repo of around 122 typescript projects, largely pointing into 5 or so top level artifacts. I’m struggling, in ...
Does anyone know if they plans to support deno?
(generating an app without the –js does provide something that works with e2e)
So I’m guessing here that cypress does use the tsconfig and that the default setup is misconfigured somehow?
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 https://nx.dev/react/guides/js-and-ts JavaScript and TypeScript
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 too far into the angular architect code that is unfamiliar to me to understand how this ought to fit together
I just created a test app with –js but the generated out of the box E2E fails
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 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 (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 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 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 unhandled exception occurred: require(...) is not a function when using a custom webpack config with nx build <nest app>?
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. 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 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 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 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 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 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 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 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 documentation about “chaining” builders? What needs to be implemented?
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 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 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 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 for nx-lint to suppress: The following file(s) do not belong to any projects:
I have tried the nx-serverless plugin but it seemed more tailored for angular apps
Hi there :wave:,
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...
Hello all!
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 question: Is there a best practice for dealing with environment variables in an angular nx monorepo? The environment files are in th...
Hi where can I find info how to configure routing in my nx monorepo?
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 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 run the remote computation caching service on an internal network? Or any pointers to implementing the wire protocol? Would love to t...
Is RenovateBot drunk or did we really make this jump? :astonished:
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 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 with using JS files with Cypress? I freshly generated Cypress project with the --js flag fails linting.
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 with Types that are shared between apps and libraries? Currently we are creating shared libs for each scope that contains the types bu...
Has anyone already integrated PurgeCSS into a Nrwl Nx workspace?
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: 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 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/node:execute builder to exit after it’s done executing the target. It just finishes executing and waits with: ... No type errors found...
Hello everyone – I’m having a few issues. I just migrated from 9.0.4 to 9.2.4.
Does anyone know a way to configure the output folder of nx-plugin integration tests?
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 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 a publishable library with styled components, but rollup complains: Error: 'typeOf' is not exported by node_modules/react-is/index.js
Build succeeds, but I do get runtime errors
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 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 there is way to add environment variables to targets in workspace.json?
Hi. Is there a way to debug jest tests in chrome dev tools?
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 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 to deploy a NextJS app in my nx monorepo via Docker. This is part of my CI workflow.
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 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...
It would be awesome if swift, kotlin, and flutter are also included.
Hi, Just wanted to know is there any plan to integrate vuejs in nx.
Hey, new to NX and love it so far.. Now I have a question about libraries :slightly_smiling_face:
Has anyone got yarn 2 working yet? Im getting command not found
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-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...
how to create typeorm migrations?
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 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 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 App the script tags output in my index.html as a part of my build are <script type="module" . I’m actually trying to target IE1...
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 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 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 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 libray with nx generate @nrwl/angular:library nameofLib --directory=path --unitTestRunner=karma --style=less I am getting the error ...
How do you include scss files with publish assets?
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.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 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 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 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 the environments folder in most of the templates? do most people follow the same patterns, ie adding all the passed variables from pr...
asking because it seems kind of a random folder to me
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 many developers uses NX and tightly couple themselves to frameworks such as reach, angular, express and NestJs? Or do people use these f...
Is it possible to develop builders like schematics from a nx workspace. tool/
Hi ya’all,
Hi! Has anyone built a monorepo with multiple namespaces? Is it possible to that with nx?
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 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 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 I could change weback stats https://webpack.js.org/configuration/stats/#stats webpack: Stats | webpack
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 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 there only 1 page in the book “Effective React Development with Nx”?
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 repository https://github.com/nrwl/nx-incremental-large-repo If I would replace: "tasksRunnerOptions": { "default": { "runner...
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’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 question regarding onlyDependOnLibsWithTags for .eslintrc – how can I force the evaluation of these constraints at build time (nx bu...
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 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 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 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 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 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! :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? ...
Hey, any idea why @nrwl/storybook brings down @storybook/angular ???
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 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 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 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 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… 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 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 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 anyone have experience with building an Next.js app in an Nx workspace?
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...
this gist i’m trying to create the custom create bash file thing here
console
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 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’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 builder to serve my application via http://ts.no|ts-node-dev "serve": { "builder": "@nrwl/workspace:run-commands", "...
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 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’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...
ok sorry, i’m new here
please use threads to keep your question together or edit your orignal message/question.
https://gist.github.com/Siafu/95370fa66cc9f1e719a1af97c07b311b
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 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, 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 needed for the async() test helper but could not be error with jest on an angular lib any idea?
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 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 has practices with sharing API (NestJS) DTOs in shared library? DTOs have NestJS specific decorators for validation (Swagger, Class V...
Has anyone here already integrated routed components (pages) with Storybook & Cypress?
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 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 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*...
[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...
im getting yesterday’s stream
here
Please keep all answers in threads, thanks
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 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 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...
Anybody else having trouble signing into the ng-conf crowdcast today?
so I want my file structure to be:
i think nx has only 2 levels currently. apps & libs
e.g. nx g @nrwl/react:lib my-awesome-lib --directory only-awesome-libs
but if I want the import to be @my-org/group-name/libname'?
This can be accomplished on most schematics with a --directory flag.
Please use threads to respond to questions everyone
I’m curious why deep imports are a bad practice?
Hi all, i would love a little insight.
Hi - Anybody using github actions to deploy there monorepo (NX) ?
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 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 there some example of nx with nestjs and typeorm migrations ?
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 to be creating .nx-tmp files. Should these be checked in or ignored?
when its. normal build i have feature/my-feature~1 and all is ok
some hint?
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 failed: git merge-base feature/my-feature HEAD fatal: Not a valid object name feature/
i don’t know which branch name to use on a PR
hello, i need some help with jenkins to use my multibranch pipeline with affected cli methods
any ideas?
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 already use Angular 9.1.0 with Nx 9.1.3? :slightly_smiling_face:
I am wondering is anyone using a linting rule on their cypress E2E test to prevent .only?
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 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 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 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 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 someone here available for some quick questions regarding jest? Please, thanks
hey guys: https://twitter.com/nxdevtools/status/1239931995628736513?s=21 :man-raising-hand: https://twitter.com/NxDevTools|@NxDevTools: :point_up:Want to imp...
any hints? :confused:
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 create a new workspace (been using Nx for more than year now):
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 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...
Hello , does nx work with angular material on storybook ?
Happy monday everyone!
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 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...
its throwing huge ts errors for me
What errors are you seeing?
My Plugin also works perfectly with Angular 8 (haven’t tested it with a lower version).
Hi everyone! Is the new @nrwl/nx-plugin package only compatible with nx 9.x?
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 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 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 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! Wes here from Nrwl. Just joining in the fun and happy to chat about anything Nx or Nx plugin related.
mmm, what component lib are you using on the nx project?
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/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 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 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...
Hey anyone ever setup NX with a .net/c# backend?
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 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 "package.json": "*" my apps show up as affected as I would expect, maybe I’m just understanding those implicitDependencies incorrectly
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 it as “package.json”:“*” so I think I’ll ust change it to that
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 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 (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...
hi guys, can I use nx 9 with Angular 8 ?
Hi guys, any away to import a Angular project to a Nx workspace?
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 an easy solution to that, well… one that isn’t “move the libraries into the monorepo”
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 with the nx serve command with redirect from authentication providers?
Is this still actual ? https://medium.com/mean-fire/nx-nrwl-firebase-functions-98f96f514055? Medium: Nx Nrwl Firebase Functions
Is there a link how to setup nrwl with firebase functions ?
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 the curl command. I can’t get anything from the browser because the server is failing here :)
yw, it is not the most elegant solution, but it works
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 my assumption that Nx gives us the basic tools to achieve that sort of thing, just maybe not super simple
okay let me double check
ok, awesome, thanks for the direction
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 of custom schematics and builders to support our workflow for node services, and I suppose it would be possible, in theory, to support...
It worked! Thanks man!
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...
Indeed, thanks man
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 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 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...
Hell all, looks like you’ve all got another first time poster today :wink:
But if that fails I do what Kristof does and just wipe em
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 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 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...
seems to be an npm issue https://status.npmjs.org/ npm, Inc. Status
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 installing the @nrwl dependencies $ npm install @nrwl/angular npm ERR! code E403 npm ERR! 403 403 Forbidden - GET <https://registry.npmj...
Dam cloudflare, messing up the internet! Not as bad as lpad tho
anyone solved the migration problem?
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 different ways : https://medium.com/mean-fire/nx-nrwl-ionic-1baf3a43db74 https://medium.com/@haleminh27/ionic-4-nestjs-nx-monorepo-dream-c...
Hello , thank for the link, I already tried but without success
Does anyone knows if it’s possible to add ionic project in nrwl monorepo ?
thats the error message i am getting
:smile:
nvm, seems you can use prettieringore for that :slightly_smiling_face:
is it possible to exclude certain files from the formatter?
but for angular app
Yes i am having that exact issue!
Unregistered task “run-schematic” in schematic “update-9-0-0”.
Hi guys having issue with upgrade to 9
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...
i have found a solution :slightly_smiling_face:
i first run the commdn nx g @nrwl/angular:storybook-configuration for our lib
i allways got this error
hello! we want to use your great storybook utilities but i got an error which i dont understand. hope someone can help me out
has someone an idea what i am doing wrong? thanks!
but i want to start it with nx run project-name:storybook
all files seems to be created
Anyone having issues with nx’s repo and creating the playground? E2e tests for Ng new are crashing for me on v9.0.0.
```> nx affected:lint
Is nx working with bazel already? The last announcement was in Oct 2019 - any news here?
Is they a way to run @nrwl/workspace but go to the @next version
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...
Does Nx provide a way to version and publish publishable packages in a samelike way as lerna?
also running print-affected results in an empty tasks object
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 run-command target called release. I then updated it to run a second command and updated the name. from release to build-release runn...
Has anyone used xplat before and would recommend using it? https://nstudio.io/xplat/
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 ...
For those of you using NPM how many use npm ci during your CI process?
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 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 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...
Is TS required when using Nx ?
How does everyone deal with mock files. Do you have yours in a scoped lib or a mocks folder in root of your repo?
Alright, I use win10 git bash and haven’t had a problem.
good morning, i have tried git bash, cmd and powershell
are you using git bash, cmd, powershell, or WSL?
yes
okay, thank you :slightly_smiling_face:
okay, i will do. because we want to kickof a new project :slightly_smiling_face:
mh okay, can i give you more informations or should i create a bug report
has someone any idea?
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...
Thanks for you help!
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 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 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 create my first workspace with: npx create-nx-workspace@latest projectName
Are you using Windows?
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 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? 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 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 looking at the cookbook recipe here https://connect.nrwl.io/app/cookbook/3lUhYk6aXO4kiKqfTfj3fS about creating a shared assets library and ...
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 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: https://nstudio.io/xplat nstudio | xplat - cross platform tools for Nx workspaces
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?
I had rather do the opposite
Add current ionic to the new nx proj
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 the current status of the bazel implementation is. I saw it was merged back into to master
we have been using it as it does pre-releases
this is specified in the release config via the commitPaths property
sorry not “all”
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...
:smile:cooooool
simple
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 the whole nx affected:e2e –parallel but nx affected:e2e currently
nice! That would be helpful
is that the actual name of the package?
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 ```// npx semantic-release –no-ci –branch=mono-repo-scripts –extends=./apps/page-shell-webui/release.config.js –debug
branch becomes "branches": [ "master", { "name": "somebranch", "prerelease": true } ],
affected for each of those
Ya that sounds like a nightmare
Will be better with your fork
Which is the question I asked a week or so ago above :slightly_smiling_face:
Thx for the ideas
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 functionality I added to semantic-release-plus was the ability to essentially do git log apps/admin-ui
Thats Why you need semantic plus
Something that Alex and I can look into! as that i think that would be super helpful
Semantic-monorepo cant do this ?
Ok
New channel <#CRXERGDA9 npm-packages>
Like this you will take commits into this path
Lerna uses semantic-release-mono if i remember well. Publish command is able to get commits from the current path of the package
Interesting
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
If anyone have ideas for new channels let me or know!
Ideally yes, we would need to get some code added to nx to do this
I have it set up
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 to switch my repo. Anyway nx is by far more friendly than lerna. Schematics are just awesome
I did not…
How stable had it been?
How hard is the migration of your release config?
Hmmmm i see
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?
Checkout semantic-release-plus
But I could
A lot!
that is almost what we do, except right now our slices “all lib tests” “all app tests” “builds”
could we have something like nx affected release?
https://github.com/pmowrer/semantic-release-monorepo/blob/master/README.md|https://github.com/pmowrer/semantic-release-monorepo/blob/master/README.md GitHub:...
semantic-monorepo - I think that is a plugin for semantic-release right?
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...
did you fork the new beta with multi branches?
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 ...
(and package-lock, I should say)
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 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 anyone know what externalDependencies does? https://nx.dev/react/api/node/builders/build#externaldependencies|https://nx.dev/react/...
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 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 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-powered workspace? If so, you should have an angular.json and you can make the change in there
@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 updates on this issue https://github.com/nrwl/nx-examples/issues/75? Or other example repos for reference? GitHub: project structure doesn’...
```let deps = getNrwlDeps(‘app1’)
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 locally? I was trying to fix this issue: https://nx.dev/react/guides/modernize-storybook-react
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?
do you work for nrwl? that an issue with their website…
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’s with .NET Core. So ASPNETCore would be the backend of our SPA application. What would be the best practice for that?
Hey, anyone who’s recently installed PWA support?
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 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 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 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? ...
What’s the recommended way to approach ui libraries?
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 try npm ci instead of npm install for everything that’s not a production env install?
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...
on the server, we the do a npm install
You’re in for a response, can’t even fit it in one message :slightly_smiling_face:
The feature action might also fire the data-access action
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, ...
I would love to hear opinions on this.
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 everyone, can we all remember to use thread for large responses
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...
Good suggestion, thanks! Haven’t seen this one before.
As a side note, what’s the reason for the + in +state?
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. We have our normal package.json abut also a seperate package.core.json which gets copied in with the lock file and yarn installed
Thanks for the links!
Thanks for the articles !
Check out this series https://www.softwarearchitekt.at/aktuelles/sustainable-angular-architectures-1/ softwarearchitekt.at: Sustainable Angular Architecture...
https://www.softwarearchitekt.at/aktuelles/tactical-domain-driven-design-with-monorepos/ softwarearchitekt.at: Tactical Domain-Driven Design with Angular and...
https://www.softwarearchitekt.at/aktuelles/sustainable-angular-architectures-2/ softwarearchitekt.at: Sustainable Angular Architectures - softwarearchitekt.at
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 the NRWL Airlines application from the book somewhere available?
your tsconfig in the root should have paths
nope you need it
look at the source repo and copy the tsconfig.json
does it?
did that fix it?
compilerOptions.paths
anytime
Yup! :tada:
Thanks!
(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 ...
Same thing if ran through the Angular console.
Is it a new repo or migrated?
I’m guessing you missed a file then
I see. Do you know what this undefined is supposed to be?
Hybrid I guess. I made a new one using Nx then dragged over source files.
Has anyone gotten this error trying to generate a library before?
Ah! I noticed that was missing earlier and I thought it was just supposed to be like that.
awesome :smile:
You are welcome!
Yes, although I just realized it does show up in the Angular Console extension but not the Angular Schematics extension.
Yeah, that works. Thanks!
Sid you add the @nrwl/nest package?
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 nestjs schematics to show up in VSCode? I only see nrwl and angular. Thanks!
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...
What are the differences ?
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...
yep, exactly
yeah
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
yeah :disappointed:
ya that should not be a problem. The issue you are having is just a import issue
what is the lib? just a node lib?
what does your tsconfig.app.json in that app extend?
wait
tsconfig.app.json extends ./tsconfig.json, ./tsconfig.json extends root
../../tsconfig.json
try and generate just a test lib
try and change your tsconfig.app.json to extend ./tsconfig.json instead of ../../tsconfig.json
so, it cannot resolve anything local to the workspace, as far as I can tell
root tsconfig.json when you generate a lib it should be added there
other projects generated with @nrwl/react or @nrwl/next can find the existing lib, though
ok cool thats right
oh thought you said it extended the root
oh they must have moved from angular.json to workspace.json. makes sense
nx serve
nor a node lib
nest apps use the same builder @nrwl/node
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...
might as well give it a try
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
make sure the express app’s tsconfig is extending the base
latest
it’s a React component lib
it is
it does
is with the angular.json file
in your workspace.json file what is the serve.builder value in the react app and next app?
in root
hmm
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)?
hmm. odd. I can look more into this in a bit.
for your express one it was @nrwl/node:execute
did you make sure it is in the tsconfig.json?
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
cannot import from another newly generated React library, either
are you using ng s to serve the node app?
and see if tht one works?
ah ok, same thing. in angular.json can you paste the entry for the express app?
What version of nx are you on… cause that is how nx manages projects and libraries.
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.
That is super weird then
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 (type shouldn’t matter) the app.json extends ./tsconfig.json which then extends ../../tsconfig.json
Same here.
React is @nrwl/web:dev-server and Next is @nrwl/next:dev-server
No clue. Not sure how to troubleshoot this…
Is it just one library that doesn’t work? Or any library in this express app?
I only have one library so far
I have nx.json and workspace.json?
I don’t think I have an angular.json
I did not. Which one/where?
Express app entry in workspace.json
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 differences in workspace.json between the app your imported and a freshly generated next.js app?
Also try reloading your ide
Ah
failing to serve in CLI
8.6.0
oh that, yes it’s there - if I generate another project (say, Next.js), it can import from the UI lib just fine
{ "extends": "./tsconfig.json", "compilerOptions": { "outDir": "../../dist/out-tsc/apps/embed-api", "types": ["node"] }, "inc...
Has anyone had issues building nest apps using nx on CI. We are getting exit code 137 (memory issues)
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...
never mind solved. You need to use schematic and not external.
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 ...
Its saying workspace-schematic not correct
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...
Does anyone know how to combine local schematics?
Yes all projects must be updated
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 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
what CI are you using
unless there is another way to do that. I have never actually done it
sweet, contribution opportunity :slightly_smiling_face:
:slightly_smiling_face:
(same problem, I assume)
opened a feature request for now
local, still evaluating if Nx will work for us
installing @types/node removed type errors on build, but still got ReferenceError: process is not defined at run-time
have you ran npm i @types/node I had to install the type to work
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 either, as it uses node standard libraries like fs and path, and webpack doesn’t seem configured to handle that
and/or that
You would want to extract those process.env vars during compilation, save them to a file that is included in your bundle.
Unless you know how! Then just PR it!
My guess is that it has not been done yet.
Maybe open a feature request?
I would assume it would be the same process
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 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 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?)
React
> 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. 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 step as a bash script. So if the environment is dev then we copy the dev config over the default
That was 2 days ago and Victor stated it will be released next week
Oh.
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...
How/where do you read the environment variable? Outside your app code?
But if you do find a better or idiomatic way. Let me know
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...
A little different
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 really helped us reduce our CI time, for linting, testing and building
that is really odd then
ok thanks
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 this this to reduce our coupling https://nx.dev/angular/guides/monorepo-tags Imposing Constraints on the Dependency Graph
You are welcome!
Yes
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 ...
What version of NX are you on?
Think I should open a GitHub issue regarding the update process?
Thanks
Maybe just bring it up with them ya, cause it sounds like there is something wonky going on
K
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
Had a couple people try it and we all got the same result
is @nrwl/workspace installed in your dev-dependencies?
yeah, running the first command just errors with Project '@nrwl/workspace' could not be found in workspace.
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 ...
8.4.10 and 8.4.13
yeah, that makes sense, especially if there are many many projects. Thanks again.
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 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 … 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 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 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 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 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 the nx-enforce-module-boundaries linting rule and have it setup so that
my CI job:
and in package.json I have "test-headless": "ng test --watch false --browsers ChromeHeadlessCI --code-coverage"
Any folks here running headless chrome on gitlab CI ? I am running into issues.
tell a lie … they are extended, theres a just a LOT to add :smile:
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 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 nx might be looking for config files in specific locations so I would be weary of removing all of those files.
Thanks for the thoughts.
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 missing nrwl schematics for nestjs I think … I’ll contribute them once stable
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 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 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 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 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 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...
https://github.com/nrwl/nx/issues/1754 GitHub: Feature Request: Make config files optional · Issue #1754 · nrwl/nx
yes
this is a library, not a module fyi
the only nest schematic is for application
the command referenced generates the following:
thats all I have atm
that schematic doesn’t exist
thanks for the pointer Alex! I will try it out
"schematics": { "@nrwl/angular:application": { "unitTestRunner": "jest", "e2eTestRunner": "cypress" }, "@nrwl...
oooo
@nrwl/nest:library
np hope it works for you!
@nestjs/schematics:library ?
let me try
latest, 8.4.12
in package.json? I have those packages installed
hmmmm, i wonder if it’s because I haven’t actually set up the api application yet
hmm odd, i created a nestjs api the other day and it defaulted to using jest. which version of nx?
and generating an application using @nrwl/nest:application doesn’t add the schematic config to angular.json
Ya it shouldn’t. Make sure @nrwl/jest and @nrwl/nest are added.
That might add the schematics
Ng add @nrwl/nest
Make one for nest. With the testrunner set
I want to reuse it across api apps
I think I’ll just do ng g @nrwl/workspace:library api-auth --directory=shared and then generate a nest module in that
I have all my UI libraries and generic data libraries using it
Hmm not sure then
Hello nrwl gurus! Is there a way to set max_old_space_size in nx like we do in ng ?
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...
Check the defaults for the schematics at the bottom of the angular.json
is your nx workspace using jest?
https://github.com/nrwl/nx/issues/623#issuecomment-417816744 GitHub: Ability to add-jest via a schematic · Issue #623 · nrwl/nx
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 · ...
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...
think the PWA icons
or actually … maybe it would be better in the ui library
o rly? :thinking_face:
i was wondering if it was possible to have a react app with ssr support
i thought they were needed during compile
and favicon
Yup. Most of our assets are served directly through S3 or through cloudfront from s3
We use s3 URLs for all of our pwa icons and assets
Nope. Pulled and cached at runtime.
NX has support for react, adding ssr shouldn’t be to difficult
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 ng g @nrwl/workspace:library shared-assets --directory={clientName}
Hello, new user here.
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...
to devDeps
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 in deps or devDeps ? it’s added it to the former whereas all the other nrwl packages are in devDeps
right, i was unsure how that worked thanks.
oho lovely! thank you :smile:
@nrwl/schematics isn’t installed
its using cli version 8.1.1
it is not needed during production
is ng update the way to go about updating dependencies?
in which case I need to wait for 8.2 to be supported?
angular cli version 8.1.1 and I want to update it to 8.2.2 (latest)
and then added angular and nest
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.
You can update the angular ones after If they are already on 8+
You are welcome
This is what you are looking for:
The way I did it was Ng update CLI and core Ng update @nrwl/schematics@8.4.4
That should take care of the other @nrwl dependencies
Should do it.
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 will need it during build time, jsut not runtime. ie. It will not be included in the vendor bundle.
Ng add @nrwl/schematics
More looking for a general direction of where to look with that one
Just went through the update process myself with a massive app
I think my issue is related to angular-cli
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...
I created an empty workspace
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...
yeah I think so too , let me test it out
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 checkout happens automatically. The default is fetch, so the runner(build agent) gets just the commit. I could perhaps do a full clone .
correct
and thanks for starting this community! :beers:
There you go. Clone and shallow at a small amount should do it
Thanks Jay, yes there is an option to specify depth, let me try it out!
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...
I’d assume you only need 1
I would assume gitlab has a way to override the cloning process.
I think this link has info on how to shallow clone.
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...
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 type orm before but maybe if you explain your use case more someone will be able to help?
Any infos about how the roadmap with Bazel is? Is it dropped as the replacement should be nx-cloud? If not I could provide a bazel typescript jest implementa...
anyone’s got news about https://github.com/nrwl/nx/issues/2084 ? Asset management (namely SVGR) for publishable libraries [nrwl/nx] #2084 How to handle image...
This channel is for github issues and nx codebase related questions or chats. For support check out <#CMFKWPU6Q support>
Should we rename this channel to nx-repo so that people are less confused? Or does anyone have other name suggestions?
Hi everyone!
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 ...
When running npx create-nx-workspace@latest and generating an angular app you should be prompted with option generate routing as well :slightly_smiling_face:
If you specify a base/head sha to affected:build, does the cache get used? I’m not seeing the ‘Nx read the output from cache instead of running the command ...
i’d say @nrwl/nx-plugin is your best bet
When generating an angular application thru VS Code.. what is the preferred way? using @nrwl or @schematics ?
Oh, I’m sorry. I think I asked the channel an irrelevant question. I’ll ask you a question on the <#CMFKWPU6Q support> channel. ...
having a chance to talk about nx towards the end of our presentation “Why does an enterprise use Angular”
https://www.youtube.com/watch?v=9jggZY0pohI YouTube Video: La Kopi @ Developers Space: Web Development
I was playing with deploying mono repo to azure static web apps. Angular static site was easy, but struggling with api. I will probably open a ticket on azur...
hi :slightly_smiling_face: when using Nx Cloud cache, what exactly goes to nrwl servers? Code, hashes, something else?
sorry about my English, my message above was more how-to achieve this :grin:
In which kind of lib do you all put things like guards, resolvers, and interceptors. Guards and Resolvers might use data access hence we cannot put them into...
Hello! I am trying to create some schematics that will allow me to have some naming convention for the root folder of the library (i.e. if I run nx workspace...
Anybody here is following webpack module federation work? https://twitter.com/wSokra/status/1273595141937418243 https://twitter.com/wSokra|@wSokra: My #JSNat...
Is there some
Hi - can anyone help ?
Hi all :slightly_smiling_face: We are about to switch on NX for both angular projects and we have a very simple question : is PhpStorm/Webstorm IDEs can enco...
one of the libraries that i’m pretty proud of: https://github.com/spaceribs/plopdown/tree/master/libs/messages/src/lib
i’m not sure if anyone else is using nx for all the sub applications of a web extension, but it’s been working really well so far for me
fair warning, it’s a lot of rxjs :slightly_smiling_face:
actually… I’m kinda doing a lot of unique stuff in here that I haven’t been able to split off into publishable components, this is my web-extension nx-plugin...
That sound really cool!
Hey guys, wanted to share a pull request checker I wrote for my monorepo using github actions: https://github.com/spaceribs/plopdown/blob/master/.github/work...
@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...
This is the best practices? each lib has one state? if I want another state I need to create another lib?
If I wanted to read through the code that parses the dependency graph and git log to determine what is affected what part of the repo would I look at? I was ...
Hi Nrwl Team :slightly_smiling_face: Why nx don’t use combineReducers? when I run those commands to create two state in one feature: npm run nx -- g @nrwl/an...
Did you aimed to “one feature/lib” - “one state”?
Hey :wave: Storybook maintainer here. I’m currently working on supporting AOT / Ivy in @storybook/angular. As you might already know the only code an Angula...
Hi, I’m playing around with Nx, as I intend to develop a medium sized enterprise Angular monorepo with it. I have a few questions about learning resources: ...
Nx Office Hours in ~30 minutes https://twitter.com/nrwl_io/status/1269647416762019842 https://twitter.com/nrwl_io|@nrwl_io: Tune in tomorrow (June 8!) for #N...
oh wow, is this what I think it is?
I’m curious about the release cycle of the nrwl/nx packages. Is there a specific cycle or is it just arbitrary? I just noticed that it’s been 21 days since t...
Hey everyone, i want to use nx for a new project, at the moment it includes 4 angular projects. So i will migrate them. What is the best way to manage the se...
Hello, I am new nx, I have a few questions. • I would like to use nest as my backend, Can we use any CLI commands to generate nestJs controllers and modules ...
Hello everyone! We are just starting a new project and we have decided to go with Nx and Angular and I got a few questions that answered to will help us a lo...
Hello all, I’m exploring the possibility to use Nx for the next project and until now it looks very promising. Are there anywhere examples of some bigger(“re...
Hello Everyone, I am exploring nx recently and need some guidance on setting up Jenkins pipeline script on Windows server for nx apps. I added the below buil...
If I have 3 apps and I update a readme file will NX rebuild all apps?
It is there a roadmap for Nx?
Is nx an overkill for small organizations? At what point would you abandoned traditional way to do stuff(multiple repos and packages to share code) and imple...
I just stumbled upon microfrontends. I didnt know about splitting your front-end; I knew about microservices. Does nx offer some of the benefits that microfr...
Dear Nrwlians, I think there is a wrong version latest tagged on npm: $ npm dist-tag ls @nrwl/nx-plugin latest: 9.4.0-beta.10 next: 9.4.0-beta.1
yarn workspaces seems like a natural fit for nx, are there known issues using it?
Party people! I’m working on a migration for the Nx monorepo to migrate Nest 6 to Nest 7. I’m wondering if anyone has some pointers on how to actually test t...
Hi guys :slightly_smiling_face:,
Hey all :wave:
I’m stuck in a weird loop with the pre push hooks for prettier and yarn documentation.
I just pulled down the latest master from nrwl/nx, now when I try to push I get this message.
Hello everybody. We are thinking in integrate NX to our react projects and I have a question about the architecture.
What is a best way to share angular service ? export in index.ts or use as provider in shared module?
How I can use variable from environment in shared lib in case of multiple angular apps ? For example ```app/admin/src/environments/environment.ts (contain AP...
Hi, I am looking for documentation on how to use the tools in the Nx monorepo setup
is running some Nx office hours in ~40 minutes: https://twitter.com/brandontroberts/status/1259869569885392896
Is it possible to set schematics.@schematics/angular.component.changeDetection OnPush for the whole workspace? Or do we need to set it on each application?
What are the differences between an angular/react/node/workspace library ?
What is the best practice regarding relocating environment.ts to the /libs directory (enable front and back ends of a full-stack project to share env configu...
Anyone know when 9.3 will be released? Really looking forward to next.js prod support.
giphy: https://giphy.com/gifs/bare-barren-Az1CJ2MEjmsp2
Hello NX community. I’m fairly new to NX (have used it for 1 project). I was wondering how come the React starter provided by nrwl doesn’t have a service wor...
the line of code is here https://github.com/nrwl/nx/blob/master/packages/cli/lib/init-local.ts#L39
I’m moving lots of libs and apps into an nx monorepo. One of the apps is a hybrid react-backbone app. Anyone has any tips regarding how to deal with it? Lik...
Does anyone understand why it’s looking for the code directly in the node_modules rather than require? function loadCli(workspace: Workspace) { if (worksp...
anyone know why my dep-graph wouldn’t be showing any dependencies? Do I need to setup appropriate tags?
I just released v2.0.0 of my Ionic React plugin for Nx! Check out the release notes here: https://dev.to/devinshoemaker/release-nxtend-ionic-react-2-0-0-40c8...
https://www.npmjs.com/package/@joelcode/gcp-function|Google Cloud Functions Generator Generate a Google Cloud Function within a Nx workspace with dev tools: ...
Hello everyone! I have a question: is it possible to create a vanilla javascript project? without necessarily resorting to Angular nor React?
Brandon Roberts will be live coding in a little over an hour: https://twitter.com/brandontroberts/status/1255167998232576002?s=20 https://twitter.com/brandon...
why does yarn nx g @nrwl/node:lib not yield a package.json file? yarn nx g @nrwl/react:library does yield one
pretty sure this page is broken: https://nx.dev/angular/guides/react :smile: Nx: Extensible Dev Tools for Monorepos Responses:
Just published the first part of my Nx DeployIt series.
It seems like yarn nx run data-access:generate --args="--watch=true" is not being passed down my actual command. How do you append dynamic arguments to a wor...
Hi ya’all,
Hi! Has anyone built a monorepo with multiple namespaces? Is it possible to that with nx?
Hi All, I’m trying to use the nx console “generate” command and I’ve recently noticed the terminal no longer updates after executing the first time. For exa...
The plugin nx-deploy-it supports Angular Universal for AWS, Azure and google cloud platform now. You can choose between prerendering and serverside rendering...
Next big thing will be deploying docker containers to the cloud provider to support server instances too :wink: Who ever is interested, feel free to contribu...
Good afternoon! I have a question regarding onlyDependOnLibsWithTags – how can I force the evaluation of these constraints at build time (nx build), in addit...
is there any plan on writing a Angular + Nestjs book like the Enterprise Angular Monorepo Patterns?
:wave:
We don’t have a hard deadline yet, but we want to get in some more features and then release 9.3.
Is there a particular cadence to releases? Do we know when 9.2.3 will be released?
I’d love for this to land in a release to use it: https://github.com/nrwl/nx/pull/2792
Wait aren’t you guys using Nx to develop Nx? :thinking_face: https://github.com/nrwl/nx nrwl/nx Responses:
Shout out to everyone involved with Nx Cloud. It is mind-blowing! :star-struck:
I’m trying to build google cloud function, I just have two errors remaining. Importing other local module & changing the main entry point (or finding why...
I’ve got a random question about contributing. I’d love to start contributing back to Nx in my spare time, and there seems to be a few issues in GitHub that ...
Hi Angular Thailand is having a webminar about Nx toMorrow 8pm +7 GMT Is there anything you guys wanna get the word out there We will be covering theses top...
Does anyone know why the default Nx cloud tokens are read-only for local and read/write for CI?
Another question about Nx Cloud: when using a forking model, I suppose that I should also add an Nx cloud key in the CI settings of the fork so that I can al...
I got my invite, thank you!
hey, any plans on addng a nx delete [app|lib] command?
We’ve started sending early Nx Cloud invites to people who requested early access at <http://nx.app nx.app>. LMK if you want to be...
Thanks for the remove schematic. I will make my life easier!!
And here comes 9.1.4 already. Lightspeeeed: https://github.com/nrwl/nx/releases/tag/9.1.4 :slightly_smiling_face:
9.1.3 is out! https://github.com/nrwl/nx/releases/tag/9.1.3
https://twitter.com/wesgrimes/status/1237440114659397634 https://twitter.com/wesgrimes|@wesgrimes: With Nx 9.1, community plugins are now shown when running ...
What constraints are there on which version of a library you can use in your NX monorepo? (e.g. Storybook, React, Typescript)
I think theres an error here: https://nx.dev/web/guides/modernize-prettier the website is blank Nx: Extensible Dev Tools for Monorepos Responses:
Those actions would be feature related and go in a feature lib
So, the feature lib should have its feature store with specific UI effects reacting to actions imported from Data-access ?
It says that in the book, but it is only in one small spot
Hello everyone, I have a question regarding types of libraries in Enterprise Angular Monorepo Patterns. There is a data-access type which contains all the st...
And is it the right channel to ask these questions? :stuck_out_tongue:
Ah, I see, thanks for the answer :slightly_smiling_face:
How long do builds usually take? I just started working on an NX project with an Express and React/Redux app and my builds on Netlify (for the React app) are...
Hey, everybody! What’s a general recommendation on how to deal with what used to be “SharedModule” in NX enterprise workspace scheme? The one that reexports ...
Anyone here having experience with SSE / WebSockets?
Do you guys have a good Angular Slack/forum/etc to recommend for Angular?
I have a question about trunk-based development. I consult with enterprises on their development practices - particularly on the project management side. P...
Anybody got any hey invites? I’m curious now
:wave:
What does everyone here use for generating documentation on node/typescript only apps and libs? I am wanting to generate documentation for a lib that does no...
Since when did NGRX move to NX
Hey guys, my name is Aslan, I work for <http://harvestr.io harvestr.io> and currently we’re migrating our backend learna monorepo ...
I have two monolithic apps(angular and nestjs). I want to migrate to nx, what is the best way to do it and keep the commit history for both front-end and bac...
I like
nice! just switched!
Just been messing around with slack and I’ve created a theme based on the colors of nrwl #143055,#121016,#1164A3,#FFFFFF,#48C4E5,#FFFFFF,#4EC2E3,#CD2553,#143...
Hey! Not particularly related to Nx, but I’m looking for a way to connect my Node API to Gmail and later possibly other providers to do basic mailing stuff (...
Hi, Is there any steps / document for creating CI/CD Jenkins Pipeline(both Linux/Windows Server), Repos are in Bitbucket, Jenkins pipeline should include - B...
Hi, am I alone missing “issues” on @ngrx/platform?
Hi, just a random note for all the people working on Nx. You guys and girls are doing an amazing job, thanks for sharing these state of the art technologies ...
I did it… So long and thanks for all the fish NG CLI :kissing_heart:
howdy! :wave:
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...
I’m curious what this might/will mean for Nx: https://github.com/npm/rfcs/blob/latest/accepted/0026-workspaces.md [npm/rfcs] accepted/0026-workspaces.md Resp...
$ nx g @nrwl/workspace:move --projectName web-layout --destination web/layout/console This should never happen. Path: "/libs/web/layout". :see_no_evil:
how are you doing people? what is the most exciting thing about Nx in your work?
:wave:
thanks for answering all my questions!
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 ?
Is there a channel where I can share articles related to Nx workspaces?
Hey hey, everyone. Why was this so hard to find?
:wave:
Just successfully deployed our multi-product platform, https://flowaccount.com and https://flowpayroll.co after migrating our repositories to Nx workspace an...
This format would be great for Nx documentation: https://sapper.svelte.dev/docs#rollup_config_js_webpack_config_js|Sapper Doc Sapper docs
On my end I’ve published a small piece about how to integrate Tailwind in an Nx workspace (Angular + Storybook): https://medium.com/@dSebastien/adding-tailwi...
Hey all, I posted an article on Medium describing how to architect a Type-Safe Full-Stack in Angular NestJS and Nx. It might be helpful to some of you workin...
Hey I would love to create a blog post which tells
Anyone know when the ng conf hardwired talks will be put online?
Wish I could.
Me too
Maybe having the ng-conf logo in the same place for 8 hours will burn in to my 10 year old plasma TV and give me an excuse to buy a new TV :-)
I wish, but the kid won’t let me :slightly_smiling_face:
I have it up on the TV so I can and watch the kids
Hi everyone! Joined from ng-conf stream, too! :slightly_smiling_face:
Hi! Just joined from the link in the ng-conf stream!
Hey everyone, joined from ng-conf stream, thanks for Nx DevTools
Anyone else watching the ng-conf live stream?
Hello everyone :slightly_smiling_face:
Anyone want to design a workspace logo?
:wave: Hey Nx Friends! Wes here from Nrwl. Just joining in the fun and happy to chat about anything Nx or Nx plugin related.
Welcome Wes! check out the support channel :smile:
Welcome Pierre, sounds like a fun project! if you are looking for support, please use the <#CMFKWPU6Q support> channel.
Hello everyone / Bonjour à Tous. I’m currently working on the new architecture of 3 old Angular projects (customer desktop, customer mobile, backoffice). The...
So this is me, discovering the existence of a Nrwl community slack only after joining Nrwl :sweat_smile: (and by accident :stuck_out_tongue: ).
Hello everyone :slightly_smiling_face:
What was the subject of your talk?
Is anyone heading to ng-conf?
I might end up there unsure right now.
Cool
Cool, I just got the approval from my company so I will be there.
Building an angular crud application with ngrx Data and nestjsx/crud
Awesome! I submitted a talk but didn’t get chosen unfortunately
i wanted a small opinion, if https://www.npmjs.com/package/@flowaccount/nx-serverless|https://www.npmjs.com/package/@flowaccount/nx-serverless this would hel...
You are welcome! This package actually uses the code you are referencing internally! Just in a more nest specific way by wrapping the Test.createTestingModul...
Awesome, thanks for sharing! I’ve been importing createSpyObject from @ngneat/spectator/jest and using it in my Nest tests, but having something Nest-specif...
For anyone that is interested and is using Nestjs, I put together a small package to help with auto mocking providers in jest tests inspired by Spectator in ...
Finally, the 1.0 version is out. Support for angular/react with stencil added.
So I’m updating our app to Angular 10, and with that I’m using a dependency which is my own 3rd-party library (https://github.com/tanepiper/rxjs-primitives) ...
I tried to deploy the gatsbyapp on netlify inside nx workspace last night and you can do that too, using the builder which was written for angular a year ago...
should expect a nx v10 alongside with ng10 or is nx 9 going to work with ng10 out of the box?
Just released version 0.1.0 of my stencil plugin https://www.npmjs.com/package/@nxext/stencil Adding the forgotten serve, schematics for components and story...
there is a hidden feature in there to build scully sites, i will be helping to move it to scully officially soon! :smile:
Just released 0.5.0 for https://www.npmjs.com/package/@flowaccount/nx-serverless added ability to use sls command and exclude syntax in .yml Also fixed a few...
Oh how I wish I knew about this place a couple of weeks back :smile: My adventures with nx and npm publishing has been…. challenging on my own (but fun too :...
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...
Ever want to quickly experiment with a fresh NX Workspace? So do I - all the time! Presenting nxpm sandbox that allows you to quickly spin up some pre-creat...
nxpm plugins
Just added a new command to nxpm, try running npx nxpm projects to quickly execute builders and schematics (currently just 2…)
Announcement time! :rocket: I just https://www.npmjs.com/package/nxpm|published a tool called nxpm ! It’s a CLI that allows you to release publishable libra...
Hey all - I have been working on a release command that versions, builds and publishes all publishable package to an npm registry. It works using release-it.
Awesome! Let me know what i can help with! I made a few blunders so please stick to 0.4.61
we are starting to experiment with your package!
did you ever get a chance to make a demo repo and/or some documentation for your semantic-release-plus package? I spent about 15 minutes investigating yeste...
FYI - semantic-release released it’s multi-branch support a few days back. So semantic-release-plus is now also updated its latest release to include mul...
Got another package for you guys!
Here is a nx compatible semantic-release package. It supports filtering of commits by path
I release the beta version of semantic-release-plus that supports prereleases :arrow_up:
i guess pasting this in here,
hello everyonbe
Here’s another quick article that I whipped up today: https://dev.to/devinshoemaker/nx-brings-high-quality-cli-tooling-to-react-1801 DEV Community: Nx Brings...
The @nxtend/capacitor plugin has been released! Read more about how to develop cross-platform applications with this plugin in an Nx workspace! https://dev.t...
Today I announced a blog and documentation website for my Nx plugins! https://nxtend.dev/blog/hello-world Hello World! | nxtend Responses:
https://dev.to/iamandrewluca/configure-msw-in-nx-3jd3 DEV Community: Configure MSW in NX
The Deep Dive podcast Epsiode 2: Builders, schematics and Nx plugins Builders and schematics originally came from the Angular CLI, but can be used outside of...
Just posted an article on rebuilding and retesting affected changes in an Nx workspace with GitHub Actions! https://dev.to/devinshoemaker/running-nx-affected...
The final part of my tutorial about an Nx-style workspace with the Angular CLI is out: https://indepth.dev/how-to-set-up-an-nx-style-monorepo-workspace-with-...
I wrote a guide for the Deno CLI: https://indepth.dev/a-quick-overview-of-the-deno-cli/
I was playing around with swc the other day for compiling typescript but it is still in its infancy.
Cool! I’m looking forward to playing around with it a bit!
Just published another blog post around developing Nx plugins: https://twitter.com/paranoidcoder/status/1263137153040764928?s=20 https://twitter.com/paranoid...
https://twitter.com/paranoidcoder/status/1260649023796477953?s=20 https://twitter.com/paranoidcoder|@paranoidcoder: Ya boi just published another article on ...
I’ve published a small article about how to leverage PurgeCSS to reduce stylesheet size with Tailwind in an NX workspace: https://medium.com/@dSebastien/dras...
Hi everybody,
We tend to appreciate our tooling much more when we understand what they’re doing for us.
Creating an ng add Schematic for an Nx Plugin
Code-sharing between frontend and backend using Nx, example with Angular and Nest. https://indepth.dev/code-sharing-made-easy-in-a-full-stack-app-with-nx-ang...
I just published a blog post about building Nx Plugins that add dependencies to your projects!
https://twitter.com/LayZeeDK/status/1256695738660204545 https://twitter.com/LayZeeDK|@LayZeeDK: I’m looking for someone to help me go through this tutorial ...
I am really excited about this article, I started reading it this morning.
I’ve posted a small article about imports & monorepos: https://medium.com/@dSebastien/avoiding-import-issues-in-typescript-monorepos-d5a4b21f90ef. In it,...
Nrwl introduced the feature shell library pattern for applications sharing the same feature set across platforms. Manfred Steyer introduced a shell library p...
In Nx workspaces, we strive to havy tiny application projects. And I mean tiny! Here are 3 recipes for extracting common logic and assets from your applicati...