paoloricciuti / sveltekit-search-params

The easiest way to read and WRITE from query parameters in sveltekit.
https://sveltekit-search-params.netlify.app
MIT License
478 stars 13 forks source link

feat: big derived rework #52

Closed paoloricciuti closed 8 months ago

paoloricciuti commented 8 months ago

WIP of the derived rework

This will use derived instead of the home made derived i made when working on this. I've also decided to write a proper test suite so that i can avoid regressions given this is a decent enough rework.

Summary by CodeRabbit

changeset-bot[bot] commented 8 months ago

πŸ¦‹ Changeset detected

Latest commit: 54e18054751d59d457d7299ec7f6e28637d848d8

The changes in this PR will be included in the next version bump.

This PR includes changesets to release 1 package | Name | Type | | ----------------------- | ----- | | sveltekit-search-params | Patch |

Not sure what this means? Click here to learn what changesets are.

Click here if you're a maintainer who wants to add another changeset to this PR

netlify[bot] commented 8 months ago

Deploy Preview for sveltekit-search-params ready!

Name Link
Latest commit 54e18054751d59d457d7299ec7f6e28637d848d8
Latest deploy log https://app.netlify.com/sites/sveltekit-search-params/deploys/657a2b485ea2e40008142c2f
Deploy Preview https://deploy-preview-52--sveltekit-search-params.netlify.app/
Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify site configuration.

coderabbitai[bot] commented 8 months ago

Walkthrough

The project underwent a series of updates, including configuration tweaks for ESLint, Prettier, GitHub Actions, and Vite, as well as changes to issue templates and code of conduct. New Svelte components and TypeScript declarations were added, and existing code and tests were modified, suggesting a focus on enhancing functionality, code quality, and developer experience.

Changes

Files Summary
.changeset/README.md, playground/README.md Removed documentation references.
.changeset/config.json, .github/workflows/release.yml Minor formatting changes.
.eslintrc.cjs, .prettierrc.json, playground/.npmrc, playground/vite.config.ts, svelte.config.js, vite.config.ts Updated configurations.
.github/ISSUE_TEMPLATE/..., CODE_OF_CONDUCT.md Updated issue templates and code of conduct.
.github/workflows/run-tests.yml, playwright.config.ts Introduced new workflow and test configurations.
playground/.gitignore Added new ignore patterns.
playground/src/app.d.ts, playground/src/routes/+layout.svelte, playground/src/routes/+page.svelte, playground/src/routes/queryparameters/+page.svelte Added new components and TypeScript declarations.
playground/src/app.html, playground/src/lib/index.ts, src/app.html, src/assets/fonts.css, src/lib/index.ts, src/lib/lz-string/index.js, src/lib/plugin.ts, src/lib/sveltekit-search-params.ts, src/routes/+layout.server.ts, tests/extends.ts, tests/index.test.ts Modified code and tests.

πŸ‡βœ¨ In the code's burrow, beneath the moon's glow, Changes abound, in files high and low. A rabbit's delight, as updates take flight, Code hops along, now tidy and tight. πŸŒŸπŸš€

Thank you for using CodeRabbit. We offer it for free to the OSS community and would appreciate your support in helping us grow. If you find it useful, would you consider giving us a shout-out on X ?


Tips ### Chat with CodeRabbit Bot (`@coderabbitai`) - You can reply to a review comment made by CodeRabbit. - You can tag CodeRabbit on specific lines of code or files in the PR by tagging `@coderabbitai` in a comment. - You can tag `@coderabbitai` in a PR comment and ask one-off questions about the PR and the codebase. Use quoted replies to pass the context for follow-up questions. ### CodeRabbit Commands (invoked as PR comments) - `@coderabbitai pause` to pause the reviews on a PR. - `@coderabbitai resume` to resume the paused reviews. - `@coderabbitai review` to trigger a review. This is useful when automatic reviews are disabled for the repository. - `@coderabbitai resolve` resolve all the CodeRabbit review comments. - `@coderabbitai help` to get help. Additionally, you can add `@coderabbitai ignore` anywhere in the PR description to prevent this PR from being reviewed. ### CodeRabbit Configration File (`.coderabbit.yaml`) - You can programmatically configure CodeRabbit by adding a `.coderabbit.yaml` file to the root of your repository. - The JSON schema for the configuration file is available [here](https://coderabbit.ai/integrations/coderabbit-overrides.v2.json). - If your editor has YAML language server enabled, you can add the path at the top of this file to enable auto-completion and validation: `# yaml-language-server: $schema=https://coderabbit.ai/integrations/coderabbit-overrides.v2.json`