There is a common used commands

NX Upgrade

To upgrade NX execute the following commands:

nx migrate latest

Then check package.json & migrations.json and execute:

yarn

Then execute migrations:

nx migrate --run-migrations

Then remove the migrations.json file.

Tricks

To add assets (target > build > options):

"assets": [
  "apps/devtools/apiinfo/src/assets",
  {
    "glob": "**/*",
    "input": "./libs/ui/res/src/lib/assets",
    "output": "./assets"
  }
],