Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: use pnpm run update to run site's update script #10431

Merged
merged 3 commits into from
Jul 25, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
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