Skip to content

Commit dfe5892

Browse files
Copilotabernier
andcommitted
Revert from pnpm dlx back to npx
Co-authored-by: abernier <76580+abernier@users.noreply.github.com>
1 parent 130467a commit dfe5892

File tree

3 files changed

+8
-8
lines changed

3 files changed

+8
-8
lines changed

.github/workflows/ci.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -95,7 +95,7 @@ jobs:
9595
node-version-file: '.nvmrc'
9696
- id: vercel-deploy
9797
run: |
98-
pnpm dlx vercel deploy --token=${{ secrets.VERCEL_TOKEN }} \
98+
npx -y vercel deploy --token=${{ secrets.VERCEL_TOKEN }} \
9999
--target=${{ github.event_name == 'push' && 'production' || 'preview' }} \
100100
--build-env MDX=docs \
101101
--build-env NEXT_PUBLIC_LIBNAME="Poimandres" \

docs/getting-started/introduction.mdx

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -135,7 +135,7 @@ $ (
135135
export CONTRIBUTORS_PAT=
136136

137137
kill $(lsof -ti:"$_PORT")
138-
pnpm dlx serve $MDX -p $_PORT --no-port-switching --no-clipboard &
138+
npx serve $MDX -p $_PORT --no-port-switching --no-clipboard &
139139
pnpm run dev &
140140

141141
wait
@@ -187,8 +187,8 @@ $ (
187187
pnpm run build
188188

189189
kill $(lsof -ti:"$_PORT")
190-
pnpm dlx serve $MDX -p $_PORT --no-port-switching --no-clipboard &
191-
pnpm dlx serve out &
190+
npx serve $MDX -p $_PORT --no-port-switching --no-clipboard &
191+
npx serve out &
192192

193193
wait
194194
)
@@ -268,8 +268,8 @@ $ (
268268
pmndrs-docs pnpm run build
269269

270270
kill $(lsof -ti:"$_PORT")
271-
pnpm dlx serve $MDX -p $_PORT --no-port-switching --no-clipboard &
272-
pnpm dlx serve "$MDX/out" &
271+
npx serve $MDX -p $_PORT --no-port-switching --no-clipboard &
272+
npx -y serve "$MDX/out" &
273273

274274
wait
275275
)

preview.sh

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -43,8 +43,8 @@ main() {
4343
$DOCKER_IMAGE:$DOCKER_TAG pnpm run build
4444

4545
kill $(lsof -ti:"$_PORT")
46-
pnpm dlx serve $MDX -p $_PORT --no-port-switching --no-clipboard &
47-
pnpm dlx serve "$MDX/out" &
46+
npx serve $MDX -p $_PORT --no-port-switching --no-clipboard &
47+
npx -y serve "$MDX/out" &
4848

4949
wait
5050
}

0 commit comments

Comments
 (0)