chore: upgrade Nx to v18.1.3 (#4706)

Split from https://github.com/twentyhq/twenty/pull/4518

- Upgrades dependencies and applies automatic config migrations with the
command: `npx nx migrate nx` (see
https://nx.dev/nx-api/nx/documents/migrate)
- Fixes lint errors after upgrading `@typescript-eslint`

Note: it was not possible (for now) to migrate Nx to the latest stable
version (v18.2.1) because it upgrades Typescript to v5.4.3, which seems
to cause a bug on install when Yarn tries to apply its native patches.
Might be a bug on the Yarn side.
This commit is contained in:
Thaïs
2024-04-01 13:16:50 +02:00
committed by GitHub
parent 5d07b6347e
commit a3e5cf37b0
16 changed files with 592 additions and 678 deletions

View File

@ -67,7 +67,7 @@ jobs:
- name: Install Playwright
run: cd packages/twenty-front && npx playwright install
- name: Build Storybook
run: yarn nx storybook:pages:build --quiet twenty-front
run: yarn nx storybook:pages:build twenty-front --quiet
- name: Run storybook tests
run: |
cd packages/twenty-front && npx concurrently -k -s first -n "SB,TEST" -c "magenta,blue" \
@ -107,7 +107,7 @@ jobs:
- name: Install Playwright
run: cd packages/twenty-front && npx playwright install
- name: Build Storybook
run: yarn nx storybook:modules:build --quiet twenty-front
run: yarn nx storybook:modules:build twenty-front --quiet
- name: Run storybook tests
run: |
cd packages/twenty-front && npx concurrently -k -s first -n "SB,TEST" -c "magenta,blue" \