Skip to content

Commit

Permalink
fix: use pnpm run update to run site's update script (#10431)
Browse files Browse the repository at this point in the history
  • Loading branch information
Conduitry committed Jul 25, 2023
1 parent 54fb561 commit 52e1346
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions sites/kit.svelte.dev/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,8 @@
"version": "0.0.1",
"scripts": {
"update": "node scripts/check-doc-links.js && node scripts/types",
"dev": "pnpm update && vite dev",
"build": "pnpm update && vite build",
"dev": "pnpm run update && vite dev",
"build": "pnpm run update && vite build",
"prebuild": "test \"$CI\" = true && npx pnpm install --store=node_modules/.pnpm-store || echo skipping pnpm install",
"preview": "vite preview",
"test": "vitest run"
Expand Down
2 changes: 1 addition & 1 deletion sites/kit.svelte.dev/scripts/types/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -279,7 +279,7 @@ mkdirp('docs');
fs.writeFileSync(
'src/lib/docs/server/type-info.js',
`
/* This file is generated by running \`pnpm update\`
/* This file is generated by running \`pnpm run update\`
in the sites/kit.svelte.dev directory — do not edit it */
export const modules = ${JSON.stringify(
modules.filter((m) => !m.name.startsWith('_')),
Expand Down

0 comments on commit 52e1346

Please sign in to comment.