---
title: "ng update: the setup"
url: https://daily.dev/posts/ng-update-the-setup-0sdadaczm
source_url: https://timdeschryver.dev/blog/ng-update-the-setup
type: article
source: "Tim Deschryver"
author: "Tim Deschryver"
published: 2026-05-31T07:47:39.433Z
updated: 2026-06-01T04:02:20.706Z
tags: ["typescript", "angular"]
reading_time: 5
upvotes: 0
comments: 0
language: en
---

> ## Documentation Index
> Fetch the complete documentation index at: https://daily.dev/llms.txt
> Use this file to discover all available pages before exploring further.

# ng update: the setup

**[Tim Deschryver](https://daily.dev/sources/timdeschryver)** · [@timdeschryver](https://daily.dev/timdeschryver) · 5 min read · 0 upvotes · 0 comments

## Summary

A guide on configuring an Angular library to support the `ng update` command. The basic setup requires adding an `ng-update` entry to `package.json` and creating a `migrations.json` file. Optionally, automatic code migrations can be added using Angular schematics, allowing library maintainers to programmatically modify user code during upgrades. The post also covers how to test migrations using utilities from `angular-devkit/schematics/testing`, with a practical example of removing a deprecated `ngrx-store-freeze` dependency.

## Full article

daily.dev links to this article rather than hosting it. Read it at the original source: <https://timdeschryver.dev/blog/ng-update-the-setup>

---

Tags: [#typescript](https://daily.dev/tags/typescript), [#angular](https://daily.dev/tags/angular)

[View this post on daily.dev](https://daily.dev/posts/ng-update-the-setup-0sdadaczm)
