Candido Sales Gomes
|
5a59d32c00
|
chore: Upgraded NX from version 16.8.1 to 21.3.11 (#1076)
- ✅ NX Version: 21.3.11 (Local)
- ✅ All existing projects properly recognized: @hyperdx/common-utils, @hyperdx/api, @hyperdx/app
- ✅ All NX commands are working properly
- ✅ Edited the `.vscode/settings.json` adding `editor.tabSize`, `editor.insertSpaces`, `editor.detectIndentation` to keep the format standard for all developers.
- ✅ Updated the `changeset`
## Why? Benefits
- Monorepo optimization - Improved incremental builds when only one package changes
- Enhanced Caching - More granular and intelligent caching mechanisms reduce redundant work
- 20-40% faster build times in CI/CD due to improved caching
- Improved Project Graph - Improved support for modern build tools (ESBuild, SWC, etc.)
- Enhanced visualization and analysis of project dependencies
- Clearer migration guides for future upgrades
- More intuitive commands and better error messages
## Tested
- `npx nx show projects`
- `npx nx graph --dry-run`
- `npx nx run @hyperdx/common-utils:dev --help`
- `bun run app:dev:local`
Lint
```
hyperdx/packages/common-utils && npm run build
npx nx run-many -t ci:lint
```
<img width="1126" height="314" alt="CleanShot 2025-08-17 at 22 47 19@2x" src="https://github.com/user-attachments/assets/e5186e1b-9799-491f-8ee8-25b26bd82a54" />
## Evidence
<img width="3810" height="1724" alt="CleanShot 2025-07-24 at 21 15 24@2x" src="https://github.com/user-attachments/assets/1f4d316e-de14-4e35-9098-3b33420afc18" />
|
2025-08-18 17:16:05 +00:00 |
|