Skip to content

Commit 791b4c4

Browse files
committed
switch from yarn to pnpm
1 parent bdbaccb commit 791b4c4

File tree

3 files changed

+6
-5
lines changed

3 files changed

+6
-5
lines changed

pnpm-workspace.yaml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,7 @@ packages:
88
- 'labware-library'
99
- 'opentrons-ai-client'
1010
- 'protocol-designer'
11+
- 'protocol-visualization'
1112
- 'shared-data'
1213
- 'step-generation'
1314
- 'api-client'

protocol-visualization/Makefile

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -16,11 +16,11 @@ dist: lib
1616
.PHONY: lib
1717
lib: export NODE_ENV := production
1818
lib:
19-
yarn vite build
19+
pnpm exec vite build
2020

2121
.PHONY: build-ts
2222
build-ts:
23-
yarn tsc --build --emitDeclarationOnly
23+
pnpm exec tsc --build --emitDeclarationOnly
2424

2525
# Same lint surface as monorepo JS checks (see root Makefile).
2626
.PHONY: lint
@@ -29,7 +29,7 @@ lint:
2929

3030
.PHONY: check-ts
3131
check-ts:
32-
cd .. && yarn tsc --build protocol-visualization/tsconfig.json
32+
cd .. && pnpm exec tsc --build protocol-visualization/tsconfig.json
3333

3434
.PHONY: test
3535
test:
@@ -43,4 +43,4 @@ test-cov:
4343

4444
.PHONY: pack
4545
pack: build-ts lib
46-
yarn pack
46+
pnpm pack

protocol-visualization/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ Workspace dependencies **`@opentrons/components`**, **`@opentrons/shared-data`**
2121

2222
```bash
2323
# from monorepo root
24-
yarn install
24+
pnpm install
2525
make -C protocol-visualization lint
2626
make -C protocol-visualization check-ts
2727
make -C protocol-visualization test

0 commit comments

Comments
 (0)