Skip to content

Commit a906a71

Browse files
authored
chore(justfile): add pnpm install steps to init recipe (#783)
## Summary - Add `pnpm install` for both root and `e2e/` directories in the `init` recipe - Covers both Unix and Windows targets This ensures `just init` fully prepares the project (submodule, patches, collections, **and** Node dependencies) in one go.
1 parent 97ebe7d commit a906a71

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

justfile

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,13 +15,17 @@ init:
1515
git submodule update --init
1616
pushd typescript-go && git am --3way --no-gpg-sign ../patches/*.patch && popd
1717
mkdir -p internal/collections && find ./typescript-go/internal/collections -type f ! -name '*_test.go' -exec cp {} internal/collections/ \;
18+
pnpm install
19+
cd e2e && pnpm install && cd ..
1820

1921
[windows]
2022
init:
2123
git submodule update --init
2224
pushd typescript-go; Get-ChildItem ../patches/*.patch | ForEach-Object { git am --3way --no-gpg-sign $_.FullName }; popd
2325
New-Item -ItemType Directory -Force -Path internal\collections
2426
Get-ChildItem -Path .\typescript-go\internal\collections\* -File | Where-Object { $_.Name -notlike '*_test.go' } | ForEach-Object { Copy-Item $_.FullName -Destination .\internal\collections\ }
27+
pnpm install
28+
Set-Location e2e; pnpm install; Set-Location ..
2529

2630
[unix]
2731
build:

0 commit comments

Comments
 (0)