Skip to content

Commit 9b2c5fd

Browse files
committed
chore: move to pnpm
1 parent a696391 commit 9b2c5fd

13 files changed

Lines changed: 14619 additions & 16982 deletions

File tree

.circleci/config.yml

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -59,11 +59,12 @@ jobs:
5959
steps:
6060
- checkout
6161
- run:
62-
name: Install packages
63-
command: npm ci
62+
name: Install Dependencies
63+
command: |
64+
pnpm install
6465
- run:
6566
name: Build UI
66-
command: npm --prefix web/client run build
67+
command: pnpm --prefix web/client run build
6768
- persist_to_workspace:
6869
root: web/client
6970
paths:

.circleci/continue_config.yml

Lines changed: 20 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -41,14 +41,14 @@ jobs:
4141
steps:
4242
- checkout
4343
- run:
44-
name: Install VSCode extension dependencies
44+
name: Install Dependencies
4545
command: |
46-
npm ci
46+
pnpm install
4747
- run:
4848
name: Run VSCode extension CI
4949
command: |
5050
cd vscode/extension
51-
npm run ci
51+
pnpm run ci
5252
doc_tests:
5353
docker:
5454
- image: cimg/python:3.10
@@ -117,18 +117,21 @@ jobs:
117117
- halt_unless_client
118118
- checkout
119119
- restore_cache:
120+
name: Restore pnpm Package Cache
120121
keys:
121-
- v1-nm-cache-{{ checksum "package-lock.json" }}
122+
- pnpm-packages-{{ checksum "pnpm-lock.yaml" }}
122123
- run:
123-
name: Install packages
124-
command: npm ci
124+
name: Install Dependencies
125+
command: |
126+
pnpm install
125127
- save_cache:
126-
key: v1-nm-cache-{{ checksum "package-lock.json" }}
128+
name: Save pnpm Package Cache
129+
key: pnpm-packages-{{ checksum "pnpm-lock.yaml" }}
127130
paths:
128-
- /root/.npm
131+
- .pnpm-store
129132
- run:
130133
name: Run linters and code style checks
131-
command: npm run lint
134+
command: pnpm run lint
132135

133136
ui_test:
134137
docker:
@@ -138,15 +141,18 @@ jobs:
138141
- halt_unless_client
139142
- checkout
140143
- restore_cache:
144+
name: Restore pnpm Package Cache
141145
keys:
142-
- v1-nm-cache-{{ checksum "package-lock.json" }}
146+
- pnpm-packages-{{ checksum "pnpm-lock.yaml" }}
143147
- run:
144-
name: Install packages
145-
command: npm ci
148+
name: Install Dependencies
149+
command: |
150+
pnpm install
146151
- save_cache:
147-
key: v1-nm-cache-{{ checksum "package-lock.json" }}
152+
name: Save pnpm Package Cache
153+
key: pnpm-packages-{{ checksum "pnpm-lock.yaml" }}
148154
paths:
149-
- /root/.npm
155+
- .pnpm-store
150156
- run:
151157
name: Run tests
152158
command: npm --prefix web/client run test

.prettierignore

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,4 +36,5 @@ package-lock.json
3636
.pytest_cache
3737
.venv
3838
.vscode
39-
build
39+
build
40+
pnpm-lock.yaml

0 commit comments

Comments
 (0)