Janosh Riebesell

Results 165 issues of Janosh Riebesell

Add https://awesome-sveltekit.netlify.app to https://sveltesociety.dev/resources Repo: https://github.com/janosh/awesome-sveltekit

Could the [`Storage`](https://developer.mozilla.org/docs/Web/API/Storage) object be made configurable? Need to store something to [`sessionStorage`](https://developer.mozilla.org/docs/Web/API/Window/sessionStorage) instead of `localStorage`.

Very cool resource! Thanks for putting this together. 👍 Do you know of a way to [test 2-way binding](https://github.com/davipon/svelte-component-test-recipes/tree/0cfac2ee519f8842a713c13b67789955a3145b06#testing-the-bind-directive-two-way-binding) without `'@testing-library/svelte'` and `'svelte-htm'`, i.e. using only `vitest`? Either way, feel...

help wanted

Curious if anyone has looked into testing CSS variable props. This _doesn't_ work (even with [`viteConfig.test.css`](https://vitest.dev/config/#css) set to `true`): ```ts test(`CSS variables are applied`, () => { new Component({ target:...

help wanted

### Describe the bug Not quite sure what's going wrong and if this is really a bug or misconfiguration on my part. Trying to deploy [this app to GitHub pages](https://github.com/janosh/periodic-table/pull/15)...

paths.base

### Describe the bug There's still a problem with #6239. Escaping parens in `import.meta.glob` goes wrong for template strings. ``` Object.keys( import.meta.glob('./\\(demos\\)/*/+page.{svx,md,svelte}') ).length >>> 11 Object.keys( import.meta.glob(`./\\(demos\\)/*/+page.{svx,md,svelte}`) ).length >>> 0...

vite
blocked by upstream

Is there a to specify at how many decimal places type `g` switches from decimal to exponential? I'd like to format everything with more than 3 decimal places as exponential:...

With this config, ```json { "ignorePatterns": [{ "pattern": "^./src/routes/" }] } ``` and this link ````md ```md [link to directory](./src/routes/dir) ``` ```` I still get the error ``` ERROR: ./src/routes/dir...

Just a heads up that `mdsvexamples` might require changes to support Svelte 5. The [alpha just dropped](https://github.com/sveltejs/svelte/releases/tag/svelte%405.0.0-next.1). Trying to build or spin up dev server raises > `/slots/+page.svx___mdsvexample___1.svelte:21:17` Invalid assignment...

help wanted

Would be great if [auto-changelog](https://github.com/cookpete/auto-changelog) could read the latest version from `pyproject.toml`. Would make it easier to use with Python projects. ```sh npm run auto-changelog --package pyproject.toml ``` raises ```js...