DallasHoff / sqlocal

SQLocal makes it easy to run SQLite3 in the browser, backed by the origin private file system.
https://sqlocal.dallashoffman.com
MIT License
212 stars 8 forks source link

Update dependencies, make kysely a peer dep #14

Closed singingwolfboy closed 5 months ago

singingwolfboy commented 6 months ago

This pull request updates all dependencies in package.json to their latest versions. It also moves kysely to a peerDependency, so that developers using sqlocal can define which version of kysely they want to use.

I've also run npm install and npm dedupe to update the package-lock.json file.

DallasHoff commented 5 months ago

I did a bit of research on how NPM handles peer dependencies and made some changes to get the correct behavior. Kysely, along with Drizzle, should be a peer dependency, but it should also be an optional peer dependency. Kysely and Drizzle also need to be dev dependencies for the tests. See #17 and let me know if the changes look good or if I missed something.