diff --git a/apps/svelte.dev/package.json b/apps/svelte.dev/package.json index 4b8dbd060c..6f6561e1f4 100644 --- a/apps/svelte.dev/package.json +++ b/apps/svelte.dev/package.json @@ -29,7 +29,7 @@ "@resvg/resvg-js": "^2.6.2", "@sveltejs/adapter-vercel": "^4.0.5", "@sveltejs/kit": "^2.5.7", - "@sveltejs/site-kit": "6.0.0-next.59", + "@sveltejs/site-kit": "workspace:*", "@sveltejs/vite-plugin-svelte": "^3.1.0", "@types/cookie": "^0.6.0", "@types/node": "^20.12.11", diff --git a/apps/svelte.dev/vite.config.ts b/apps/svelte.dev/vite.config.ts index e0f23b36bf..135f6f73af 100644 --- a/apps/svelte.dev/vite.config.ts +++ b/apps/svelte.dev/vite.config.ts @@ -20,6 +20,7 @@ if (!process.versions.webcontainer) { const config: UserConfig = { plugins, + server: { fs: { allow: ['../../packages'] } }, optimizeDeps: { exclude: ['@sveltejs/site-kit', '@sveltejs/repl'] }, diff --git a/package.json b/package.json index f5ff50c83a..d3ab0f8622 100644 --- a/package.json +++ b/package.json @@ -5,9 +5,9 @@ "private": true, "type": "module", "license": "MIT", - "packageManager": "pnpm@8.6.12", + "packageManager": "pnpm@9.2.0", "engines": { - "pnpm": "^8.0.0" + "pnpm": "^9.0.0" }, "repository": { "type": "git", diff --git a/packages/repl/package.json b/packages/repl/package.json index 72f2e58d14..a863d74e6a 100644 --- a/packages/repl/package.json +++ b/packages/repl/package.json @@ -60,7 +60,7 @@ "@rich_harris/svelte-split-pane": "^1.1.1", "@rollup/browser": "^4.17.2", "@sveltejs/kit": "^2.0.0", - "@sveltejs/site-kit": "6.0.0-next.59", + "@sveltejs/site-kit": "workspace:*", "acorn": "^8.11.3", "esm-env": "^1.0.0", "esrap": "^1.2.2", diff --git a/packages/site-kit/.gitignore b/packages/site-kit/.gitignore new file mode 100644 index 0000000000..45771e1f19 --- /dev/null +++ b/packages/site-kit/.gitignore @@ -0,0 +1,5 @@ +.DS_Store +node_modules +/build +/.svelte-kit +/dist diff --git a/packages/site-kit/CHANGELOG.md b/packages/site-kit/CHANGELOG.md new file mode 100644 index 0000000000..db1a8eb790 --- /dev/null +++ b/packages/site-kit/CHANGELOG.md @@ -0,0 +1,785 @@ +# @sveltejs/site-kit changelog + +## 6.0.0-next.64 + +### Patch Changes + +- 06a2313: fix: remove more self-closing tags + +## 6.0.0-next.63 + +### Patch Changes + +- 0ec6b3f: chore: force version bump + +## 6.0.0-next.62 + +### Patch Changes + +- 63e5575: fix: add explicit closing tags + +## 6.0.0-next.61 + +### Patch Changes + +- 0a62dd8: chore: Bump copyright year +- 5b13f8f: fix: url tokenizer to not treat package version string as email +- 4ca8db0: fix: Accessible text for copy button + +## 6.0.0-next.60 + +### Patch Changes + +- 14a57eb: chore: Bumps deps, use svelte-persisted-store + +## 6.0.0-next.59 + +### Patch Changes + +- fc3a172: fix: Navbar Center positionin +- 78138ab: fix: TS Toggle position + +## 6.0.0-next.58 + +### Patch Changes + +- f2887a7: fix: preserve white space wrap on `` + +## 6.0.0-next.57 + +### Patch Changes + +- 019122c: fix: ios DocsOnThisPage no longer under overlay + +## 6.0.0-next.56 + +### Patch Changes + +- 3b7ba5e: fix: --sk-banner-bottom-height is 41.9px instead of 43px + +## 6.0.0-next.55 + +### Patch Changes + +- 7f4bb6b: feat: Responsive banner + +## 6.0.0-next.54 + +### Minor Changes + +- 8db95a1: feat: Safer banners implementation, defineBanners, refactor + +## 6.0.0-next.53 + +### Patch Changes + +- 53b5034: feat: Time-bound banner +- 0a700a2: fix: home link text alignment issue +- d7d71ce: fix: cleanup timeout to prevent leak + +## 6.0.0-next.52 + +### Minor Changes + +- b780b9c: feat: banner + +## 6.0.0-next.51 + +### Patch Changes + +- 4898bfd: fix: Do not copy deleted lines + +## 6.0.0-next.50 + +### Patch Changes + +- 10d9428: fix: take banner bottom height into account for ts toggle + +## 6.0.0-next.49 + +### Patch Changes + +- 6423e38: fix: DocsOnThisPage not rendering on desktop + +## 6.0.0-next.48 + +### Patch Changes + +- 31580c0: fix: Dont render empty DocsOnThisPage, remove the pesky hr in NavContextMenu + +## 6.0.0-next.47 + +### Patch Changes + +- 0b25750: fix: banner positioning + +## 6.0.0-next.46 + +### Patch Changes + +- a563f98: feat: OnThisPage orientation + +## 6.0.0-next.45 + +### Patch Changes + +- bc5adba: chore: copy true by default + +## 6.0.0-next.44 + +### Patch Changes + +- 1103304: feat: expose a way to capture scroll state from Shell +- 66a4aff: fix: renderer indent code snippets by 2 spaces only + +## 6.0.0-next.43 + +### Patch Changes + +- c4c2d3b: fix: diff symbols +- b951416: fix: generics missing angle brackets + +## 6.0.0-next.42 + +### Patch Changes + +- a1f2c5b: fix: infinite loop error replace_type_placeholder + +## 6.0.0-next.41 + +### Patch Changes + +- 038eb8b: fix: Make DocsOnThisPage respect page.path + +## 6.0.0-next.40 + +### Patch Changes + +- 73138b3: fix: deprecated blockquote + +## 6.0.0-next.39 + +### Minor Changes + +- 358dd2d: fix: export open_nav function, storify some variables + +## 6.0.0-next.38 + +### Patch Changes + +- 8e9e663: Wrap blockquote content on end of word, not every character + +## 6.0.0-next.37 + +### Minor Changes + +- 1e675a8: (feat) Sections in context menu + +## 6.0.0-next.36 + +### Patch Changes + +- 7adc6c2: fix: set font-display to swap + +## 6.0.0-next.35 + +### Patch Changes + +- 0a13ec0: fix: update background color in other location + +## 6.0.0-next.34 + +### Patch Changes + +- 469a410: fix: tweak background color to address contrast issues + +## 6.0.0-next.33 + +### Patch Changes + +- 948e8e7: fix: accessibility heading levels in the footer + +## 6.0.0-next.32 + +### Patch Changes + +- ecc020c: add searchbox placeholder as prop +- 3be3255: fix: Use Marked constructor instead of global instance +- acf2d83: (fix) Nav context menu autoscroll +- 915ab09: fix: yaml code block rendering + +## 6.0.0-next.31 + +### Patch Changes + +- 3748082: (chore) fix external link small disappearing + +## 6.0.0-next.30 + +### Patch Changes + +- 426118c: fix searchbox no-results slot forwarding + +## 6.0.0-next.29 + +### Patch Changes + +- e1f83f8: forward searchbox slot + +## 6.0.0-next.28 + +### Patch Changes + +- 114807a: chore: Lazy load non essential modules in renderer + +## 6.0.0-next.27 + +### Patch Changes + +- 9e0b164: add more i18n slots + +## 6.0.0-next.26 + +### Patch Changes + +- d26f9b8: fix: js to ts transformation for code blocks + +## 6.0.0-next.25 + +### Minor Changes + +- e370935: (feat) Homepage footer + +### Patch Changes + +- c1cb24a: (fix) discs appearing on ordered lists + +## 6.0.0-next.24 + +### Minor Changes + +- e32c4d2: (feat) Add homepage Try section + +### Patch Changes + +- 5239b59: (fix) 10x faster code cache reads + +## 6.0.0-next.23 + +### Minor Changes + +- bbd1f7e: (feat) Async markdown renderer +- 1831071: (feat) Copy code pragma + +## 6.0.0-next.22 + +### Patch Changes + +- 328e0aa: (fix) Await copy function in CopyCodeButton + +## 6.0.0-next.21 + +### Minor Changes + +- 5498d82: Copy code button + +### Patch Changes + +- c31f579: (fix) reset search query when opening modal +- 83a366a: hide scrollbar in aside +- 1462fbe: Fix nav flickering on mobile + +## 6.0.0-next.20 + +### Patch Changes + +- 5b9f8ec: Prevent triggering "On this page" overlay on desktop + +## 6.0.0-next.19 + +### Patch Changes + +- dd347a9: OnThisPage for mobile + +## 6.0.0-next.18 + +### Minor Changes + +- 8413c76: Add chevron-up and chevron-down icons + +## 6.0.0-next.17 + +### Patch Changes + +- 2bdd8c8: Make backdrop blur more pronounced + +## 6.0.0-next.16 + +### Patch Changes + +- cd9443a: tick() before getting element + +## 6.0.0-next.15 + +### Patch Changes + +- 637073a: fix: horrifically stupid bug with scrolling to IDs + +## 6.0.0-next.14 + +### Patch Changes + +- 1f883c9: Wait for hash element to be created + +## 6.0.0-next.13 + +### Patch Changes + +- d997ad9: Fallthrough headings like Kit + +## 6.0.0-next.12 + +### Patch Changes + +- 3640de4: fix: body & html height 100% + +## 6.0.0-next.11 + +### Patch Changes + +- 88568b0: Only look at h2, OnThisPage + +## 6.0.0-next.10 + +### Patch Changes + +- 9cd354a: fix: remove debug logging + +## 6.0.0-next.9 + +### Minor Changes + +- 4c4d4f0: feat: markdown renderer + +### Patch Changes + +- 47075f4: fix: manually scroll to URL hash +- 0f4a684: fix: external links + +## 6.0.0-next.8 + +### Patch Changes + +- 7b60778: Relative heights and units, perf improvments on nav animation, more contrast on page indicator + +## 6.0.0-next.7 + +### Patch Changes + +- e601284: fix: Open context menu only if current link has sections + +## 6.0.0-next.6 + +### Patch Changes + +- d8d64f8: fix link styles inside blockquotes + +## 6.0.0-next.5 + +### Patch Changes + +- e4bcc56: Fix clicking on context menu arrow throws error + +## 6.0.0-next.4 + +### Patch Changes + +- 2911dad: require props to be set on