Lars Gyrup Brink Nielsen

Lars Gyrup Brink Nielsen @layzee

About: 👨‍🏫 Co-Founder of This is Learning, Organizer of AarhusJS ✍️ Writer, Speaker, FOSS Maintainer 📗 Author 🏆 Microsoft MVP 🌟 GitHub Star 🌊 Nx Champion 🦸 Angular Hero of Education

Location:
Holstebro, Denmark
Joined:
Aug 7, 2018

Lars Gyrup Brink Nielsen
articles - 61 total

You don't need importProvidersFrom with Angular Material

Cover photo generated with Microsoft Designer. Traditionally, we had to import mixed Angular modules...

Learn More 13 0Feb 18

Testing routed components with RouterTestingHarness

RouterTestingHarness uses the actual Angular Router API in our routed component tests.

Learn More 21 2Dec 7 '23

Manage Nx library dependencies with the @nx/dependency-checks ESLint rule

The `@nx/dependency-checks` ESLint rule is an invaluable tool in managing peer dependencies of a buildable or publishable Nx library.

Learn More 36 13Jul 6 '23

Stop using the defaultProject Nx CLI setting and start using NX_DEFAULT_PROJECT

The defaultProject Nx CLI setting is deprecated. However, there's a hidden alternative.

Learn More 12 1May 30 '23

Testing Angular routing components with RouterTestingHarness, provideLocationMocks, and provideRouter

Learn how to implement integrated routing component tests with RouterTestingHarness, provideRouter, and provideLocationMocks.

Learn More 18 4Feb 8 '23

YAML collections: Sequences and mappings

A quick overview of YAML sequences (arrays/lists) and mappings (hash maps/associative arrays).

Learn More 19 0Nov 21 '22

The local component scope of standalone Angular components

The local component scope of a standalone Angular component is managed by listing declarable dependencies in the Component.imports metadata option.

Learn More 31 2Aug 31 '22

Angular Revisited: Standalone Angular applications, the replacement for NgModules

The future is now, old man. Standalone Angular applications are now a viable alternative to classic NgModule-based Angular applications.

Learn More 40 3Aug 30 '22

Angular CLI example for Jest Preview - the visual debugger for Jest

I contributed an Angular CLI example for Jest Preview, the visual debugger for component tests using Jest.

Learn More 7 0Aug 22 '22

Docusaurus website for Analog.js - the full-stack meta-framework for Angular using Vite

I contributed a Docusaurus website with documentation and end-to-end tests for Analog.js, the upcoming meta-framework for Angular using Vite.

Learn More 10 0Aug 21 '22

Spectacular prerelease v0.5 supports standalone feature tests and uses partial Ivy compilation

Standalone feature test provider, partial Ivy compilation, and requirement for at least Angular 12 in Spectacular prerelease version 0.5.0.

Learn More 6 0Aug 10 '22

Spectacular prerelease v0.4 reintroduces the required pipeName option for pipe harnesses

The required pipeName option is reintroduced by Spectacular prerelease version 0.4.0.

Learn More 6 0Aug 10 '22

Working on Lumberjack v14, the extensible logging library for Angular

Partial Ivy compilation, Nx 14, and Angular 14 support. Distributed Task Execution using Nx Cloud.

Learn More 9 0Aug 9 '22

The worst piece of life advice I ever received

Don't conform to the Law of Jante. Fight the Impostor Syndrome. You are special.

Learn More 26 6Jul 15 '22

Avoiding accidental open-source laundering with GitHub Copilot

Avoid legal and ethical issues when using GitHub Copilot by opting out of public code matching.

Learn More 15 2Jul 3 '22

Nx for Angular developers

I started writing another book, it's called The Angular Developer's Nx Handbook and you can download...

Learn More 2 0Jun 24 '22

Artificial transcendence: When does an artificial being become human?

Cover illustration by craiyon. Background Blake Lemoine is convinced that LaMDA is...

Learn More 5 0Jun 23 '22

Recovering intentionally destroyed open-source repositories

It happens from time to time that disgruntled open-source maintainers destroy the very work they created.

Learn More 18 0Jun 23 '22

Simplifying Angular testbed setup by converting to synchronous test hooks

Surprising to some, calling TestBed.compileComponents is unnecessary unless you're Google.

Learn More 24 3Oct 30 '21

Improving Angular tests by enabling Angular testing module teardown

Introducing the ModuleTeardownOptions#destroyAfterEach option for the Angular testbed.

Learn More 93 8Oct 13 '21

Filtering Protractor end-to-end tests with Angular CLI

Demonstrating the "grep" and "invertGrep" test filtering options of Angular CLI's Protractor builder.

Learn More 3 0Aug 25 '21

Setting up an Angular 12 workspace with Nx and GitHub Actions

Setting up an Angular 12 workspace with Nx. Also setting up a GitHub Actions CI workflow with Nx Cloud support.

Learn More 37 9May 21 '21

Setting up an Nx workspace with nx-dotnet

Setting up an Nx workspace for .NET development with nx-dotnet. Also setting up a GitHub Actions CI workflow.

Learn More 21 0May 5 '21

Welcome to This is Learning—an invitation to our open tech authors community

This is Learning is the place to share what you learn. Welcome!

Learn More 49 0May 3 '21

How to set up an Nx-style monorepo workspace with the Angular CLI: Part 5

In the final part of this tutorial, we create the seatmap data access, seat listing feature, shared buttons UI, and shared formatting utilities library. Finally, we compare our approach with the full Nx toolchain.

Learn More 13 4Mar 31 '21

How to set up an Nx-style monorepo workspace with the Angular CLI: Part 4

In Part 4 of this tutorial, we create the check-in data access and check-in feature shell libraries. We create the check-in desktop application, review and verify how much our tool automated and finally create the mobile check-in application.

Learn More 6 0Mar 31 '21

How to set up an Nx-style monorepo workspace with the Angular CLI: Part 3

In Part 3 of this tutorial, we create the passenger info and flight search feature libraries. We use the generate project tool to create the mobile booking application and its test project. Finally, we create a mobile version of the flight search component template.

Learn More 11 4Mar 31 '21

How to set up an Nx-style monorepo workspace with the Angular CLI: Part 2

In Part 2 of this tutorial, we'll set up our custom generate project tool and create the shared and booking data access libraries with NgRx. To honor the flow of dependencies, we extract a shared environments library.

Learn More 8 0Mar 31 '21

How to set up an Nx-style monorepo workspace with the Angular CLI: Part 1

In this step-by-step tutorial, we set up an Nx-style monorepo workspace with the Angular CLI. In this first part, we create an application project, an end-to-end test project, and a feature shell library.

Learn More 51 1Mar 31 '21

Create a component harness for your tests with Angular CDK

Learn how to create and consume a custom component harness using Angular CDK. With a step-by-step case study, we run it in unit tests and end-to-end tests.

Learn More 26 0Mar 24 '21