0
Fork 0
mirror of https://github.com/withastro/astro.git synced 2024-12-23 21:53:55 -05:00
astro/packages/db
Ben Holmes 06fe94e29d
Add --remote flag for remote connection (#10352)
* feat: check for --remote

* chore: remove bad ticketing example cols

* fix: get seed file working with build

* Revert "fix: get seed file working with build"

This reverts commit 92830a106164b0997c820a3e0bf2a582018084a0.

* fix: seed from build instead of runtime

* refactor: move recreateTables out of runtime

* Revert "refactor: move recreateTables out of runtime"

This reverts commit d01a802ad7915fabc4c4ac35b2d907eae0538d95.

* fix: in-memory db for test fixture

* chore: changeset

* refactor: generate random db name instead

* refactor: use yargs-parser for flag

* chore: remove in-memory db logi

* refactor: rename random id flag for clarity

* feat: support --remote in dev

* feat: support --remote on shell

* refactor: inline db client

* feat: support --remote on db execute

* chore: stray console log

* chore: remove recreateTables from runtime

* chore: update seeding for new signature

* chore: remove unused error imports
2024-03-07 13:38:43 -05:00
..
src Add --remote flag for remote connection (#10352) 2024-03-07 13:38:43 -05:00
test Add --remote flag for remote connection (#10352) 2024-03-07 13:38:43 -05:00
CHANGELOG.md [ci] release (#10351) 2024-03-06 23:54:18 -08:00
index.d.ts fix: move db ambient types to separate module (#10340) 2024-03-06 08:30:45 -05:00
package.json Fix: drizzle vs. config runtime export conflict (#10357) 2024-03-07 12:55:33 -05:00
README.md Add minimal @astrojs/db readme (#10331) 2024-03-05 08:36:37 -05:00
tsconfig.json Introduce the db integration (prerelease) (#10201) 2024-02-22 14:50:44 -05:00
virtual.d.ts fix: move db ambient types to separate module (#10340) 2024-03-06 08:30:45 -05:00

@astrojs/db (experimental) 💿

This Astro integration enables the usage of SQLite in Astro Projects.

Documentation

Read the @astrojs/db docs

Support

Contributing

This package is maintained by Astro's Core team. You're welcome to submit an issue or PR! These links will help you get started:

License

MIT

Copyright (c) 2023present Astro