chore: Switch repo to use pnpm (#29928)

* Fix some missing and duplicate dependencies.

* Fix the types for jest in ai-commands package.

* Replace all npm commands with pnpm. Add pnpm files and workspace links.

* Fix rimraf to work with pnpm.

* Refactor the github actions to work with pnpm.

* Delete package-lock.json.

* Fix the tailwind configs to not include node_modules.

* Fix random files.

* Add preinstall scripts to all packages.

* Fix the Dockerfile to work with pnpm.

* Update the DEVELOPERS documentation.
This commit is contained in:
Ivan Vasilov authored and GitHub committed 2024-12-20 13:07:20 +01:00
1 parent 8166551501
commit dd572efb0d
50 files changed
+28368 -43794

No files matched your search

+9 -3
View File
@@ -21,14 +21,20 @@ jobs:
sparse-checkout: |
packages
- uses: pnpm/action-setup@v4
name: Install pnpm
with:
version: 9.10.0
run_install: false
- name: Use Node.js
uses: actions/setup-node@v4
with:
node-version-file: '.nvmrc'
cache: 'npm'
cache: 'pnpm'
- name: Install deps
run: npm ci
run: pnpm i
- name: Run tests
run: npm run test:ui-patterns
run: pnpm run test:ui-patterns