renovate[bot]
ecc4402b3a
fix(deps): update all non-major dependencies ( #12316 )
...
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-10-28 22:00:15 +08:00
renovate[bot]
5ab2d980aa
fix(deps): update all non-major dependencies ( #12218 )
...
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: bluwy <bjornlu.dev@gmail.com>
2024-10-15 14:42:58 +08:00
Emanuele Stoppa
2a1536d091
chore: move lint rules to Biome ( #12145 )
...
* chore: move lint rules to Astro
* better suppression system
* revert
* format code
* address more linting files
* address more linting files
2024-10-08 10:12:40 +01:00
Luiz Ferraz
c87ae80053
[ci] format
2024-10-07 13:18:15 +00:00
Luiz Ferraz
6e06e6ed4f
Fix problems with local libSQL DB ( #12089 )
...
Co-authored-by: Matthew Phillips <361671+matthewp@users.noreply.github.com>
Co-authored-by: Emanuele Stoppa <602478+ematipico@users.noreply.github.com>
2024-10-07 10:17:26 -03:00
renovate[bot]
fef0b8cce1
fix(deps): update all non-major dependencies ( #12140 )
...
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-10-07 17:44:43 +08:00
renovate[bot]
928dc3111c
fix(deps): update all non-major dependencies ( #12092 )
...
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-09-30 10:17:49 +08:00
renovate[bot]
2594eb088d
fix(deps): update all non-major dependencies ( #12003 )
...
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: bluwy <bjornlu.dev@gmail.com>
2024-09-26 14:57:59 +01:00
Luiz Ferraz
5705200398
[ci] format
2024-09-03 12:54:20 +00:00
Luiz Ferraz
cc820c5d5e
Fix mixed DB token env vars ( #11894 )
...
* Fix mixed DB token env vars
* Test env combinations
* Fix linter issues
* Fix linter issues
---------
Co-authored-by: Erika <3019731+Princesseuh@users.noreply.github.com>
2024-09-03 14:53:29 +02:00
renovate[bot]
645f4e21a7
fix(deps): update all non-major dependencies ( #11896 )
2024-09-02 10:54:53 +08:00
Alexander Niebuhr
11ebf3bd15
chore: move node and vercel to adapters repo ( #11866 )
2024-08-30 19:43:43 +02:00
Luiz Ferraz
d6611e8bb0
Add support for LibSQL remote ( #11385 )
...
* Add support for remote LibSQL
* Add support for local memory DB
* Add some tests
* Add push support
* Fix switch cascading
* Update .changeset/healthy-boxes-poke.md
Co-authored-by: Sarah Rainsberger <sarah@rainsberger.ca>
* Update packages/db/src/runtime/db-client.ts
[skip ci]
Co-authored-by: Emanuele Stoppa <my.burning@gmail.com>
* Use independent env vars for LibSQL and Studio backends
* Expand comment regarding missing table
* Apply suggestions from code review
Co-authored-by: Sarah Rainsberger <sarah@rainsberger.ca>
---------
Co-authored-by: Sarah Rainsberger <sarah@rainsberger.ca>
Co-authored-by: Emanuele Stoppa <my.burning@gmail.com>
2024-08-28 12:15:33 +01:00
renovate[bot]
26c63a2b07
fix(deps): update all non-major dependencies ( #11837 )
...
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-08-28 10:45:45 +01:00
renovate[bot]
48b85c13dd
fix(deps): update all non-major dependencies ( #11765 )
...
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-08-19 16:09:05 +08:00
Florian Lefebvre
87ce2381b6
[ci] format
2024-08-15 14:53:15 +00:00
Florian Lefebvre
70945dd918
refactor: enforce node prefix ( #11723 )
2024-08-15 16:52:26 +02:00
renovate[bot]
315ec07e1b
fix(deps): update all non-major dependencies ( #11674 )
...
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: bluwy <bjornlu.dev@gmail.com>
2024-08-13 22:29:37 +08:00
Darius
72c7ae9901
update formatter config ( #11640 )
...
* update formatter config
* format
---------
Co-authored-by: Erika <3019731+Princesseuh@users.noreply.github.com>
2024-08-08 12:12:50 +02:00
Josh Goldberg ✨
4c1b769bcf
chore: bump typescript-eslint to v8 ( #11649 )
2024-08-08 17:54:04 +08:00
Bjorn Lu
ea82b03cd6
Improve regex performance ( #11635 )
2024-08-07 16:01:23 +08:00
renovate[bot]
da86d5459f
fix(deps): update all non-major dependencies ( #11618 )
...
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-08-05 16:22:43 +08:00
renovate[bot]
750d5328c9
fix(deps): update all non-major dependencies ( #11565 )
...
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-07-31 21:17:26 +08:00
renovate[bot]
536209aa74
fix(deps): update all non-major dependencies ( #11522 )
...
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: bluwy <bjornlu.dev@gmail.com>
2024-07-23 11:43:14 +08:00
renovate[bot]
2113a56933
fix(deps): update all non-major dependencies ( #11426 )
...
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: bluwy <bjornlu.dev@gmail.com>
2024-07-17 14:48:07 +08:00
renovate[bot]
47e78d4752
fix(deps): update all non-major dependencies ( #11318 )
...
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: bluwy <bjornlu.dev@gmail.com>
2024-06-24 22:33:33 +08:00
Florian Lefebvre
02e561723f
feat: upgrade pnpm ( #11146 )
2024-06-11 15:49:03 +02:00
renovate[bot]
8725cb2f90
fix(deps): update all non-major dependencies ( #11222 )
...
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-06-11 08:59:21 +01:00
renovate[bot]
464b0a108e
fix(deps): update all non-major dependencies ( #11151 )
...
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: bluwy <bjornlu.dev@gmail.com>
2024-05-30 17:28:57 +08:00
Emanuele Stoppa
a3675e5d5e
[ci] format
2024-05-22 11:03:40 +00:00
Emanuele Stoppa
6988f1d278
chore: fix missed failing test ( #11115 )
2024-05-22 12:02:51 +01:00
Emanuele Stoppa
e1884ea6a8
[ci] format
2024-05-22 08:17:53 +00:00
Emanuele Stoppa
05ef10cdc3
chore(db): move tests to node runner ( #11109 )
2024-05-22 09:16:49 +01:00
Matthew Phillips
e14ce5726d
Fix inconsistent results from raw SQL ( #11091 )
...
* Fix inconsistent results from raw SQL
* Remove .only
* Fix
* Update packages/db/src/runtime/db-client.ts
Co-authored-by: Ben Holmes <hey@bholmes.dev>
---------
Co-authored-by: Ben Holmes <hey@bholmes.dev>
2024-05-21 17:12:39 -04:00
Ben Holmes
c135cd546d
[ci] format
2024-05-13 16:21:32 +00:00
Ben Holmes
eb1d9a447b
Fix isDbError()
for remote errors ( #11027 )
...
* fix: use LibsqlError for remote db errors
* chore: remove unused drizzle.ts
* fix(test): return expected `error` object
* fix: error detail formatting
* feat(test): error messages with remote adapter
* feat(test): add code to test body
* chore: changeset
2024-05-13 12:20:43 -04:00
renovate[bot]
cb2586fa15
fix(deps): update all non-major dependencies ( #11015 )
...
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: bluwy <bjornlu.dev@gmail.com>
2024-05-13 16:19:23 +08:00
renovate[bot]
f9b6f4fc2f
chore(deps): update all non-major dependencies ( #10958 )
...
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: bluwy <bjornlu.dev@gmail.com>
2024-05-09 15:20:13 +08:00
Ben Holmes
befbda7fa3
[ci] format
2024-05-03 15:09:39 +00:00
Ben Holmes
44bafa989a
[db] Fix duplicate calls to recreate tables on startup ( #10919 )
...
* fix: move recreateTables() to integration hooks
* feat: recreate and seed at load, not in virtual runtime
* feat: eager build db on startup and seed file change
* fix: respect database_file in dbUrl
* chore: remove duplicate recreateTables call
* chore: remove now self-explanatory comments
* fix: remove invalidateModule call for eager loading
* feat: respect seed package paths
* fix: remove duplicate recreateTables() call
* refactor: move recreateTables() to vite-plugin-db
* refactor: move queries.ts from runtime/ to core/
* fix: update test import to core/queries
* refactor: move executeSeedFile to vite-plugin-db
* refactor: extract seeding and recreating to helper fns
* chore: changeset
* chore: revert connectToStudio refactor
* wip: log db url
* fix(test): normalize astro_database_file flag for windows
* Revert "wip: log db url"
This reverts commit 558e2de67a09a611377929b625127c649b8504d6.
* Revert "Revert "wip: log db url""
This reverts commit ffd004e00dff485b7bc5ddde0278dde6ff058b9e.
* fix: correctly resolve relative paths with unit test
* chore: remove unused dbDirPath
Co-authored-by: Chris Swithinbank <swithinbank@gmail.com>
* chore: remove unused import
Co-authored-by: Chris Swithinbank <swithinbank@gmail.com>
* chore: remove unused type
Co-authored-by: Chris Swithinbank <swithinbank@gmail.com>
* fix: remove bad import
* [db] Load seed files with vite dev server (#10941 )
* feat: load seed files with full vite dev server
* chore: remove unused export
---------
Co-authored-by: Chris Swithinbank <swithinbank@gmail.com>
2024-05-03 11:08:50 -04:00
Emanuele Stoppa
347bdfe550
[ci] format
2024-04-17 08:38:53 +00:00
Matthew Phillips
2d2ff58bb9
Fix db seeding when srcDir is root ( #10720 )
2024-04-09 09:11:32 -04:00
Ben Holmes
f395ebcc08
refactor: rename "config" file to "virtual" ( #10638 )
...
* refactor: rename "config" file to "virtual"
* chore: changeset
* fix(test): config import
2024-04-02 18:13:18 -04:00
Matthew Phillips
5f5176b244
[ci] format
2024-04-02 20:08:38 +00:00
Matthew Phillips
b1eda3dc5c
Fix building static sites with Astro DB ( #10655 )
...
* Fix building static sites with Astro DB
* Adding a changeset
* Try a different port range
2024-04-02 16:07:18 -04:00
Matthew Phillips
ca29764912
[ci] format
2024-04-01 15:41:03 +00:00
Matthew Phillips
157392ee44
Make ASTRO_DATABASE_FILE work with file paths ( #10631 )
...
* Make ASTRO_DATABASE_FILE work with file paths
* Use pathToFileURL
2024-04-01 11:39:49 -04:00
Ben Holmes
ed1031ba29
db: Rework index config with generated index names ( #10589 )
...
* feat: add indexes array config with name gen
* fix: add _idx suffix, remove name from output
* feat(test): new index config
* chore: remove unused type
* chore: changeset
* chore: add sort() for consistent names
* feat(test): consistent column ordering
* feat(test): ensure no queries when migrating legacy to new
2024-03-28 14:09:09 -04:00
Matthew Phillips
62a1d6df69
For --force-reset use conditional drop table query ( #10587 )
2024-03-27 16:30:59 -04:00
Ben Holmes
d43bcbeec3
[ci] format
2024-03-27 19:52:24 +00:00