diff options
author | 2024-05-03 11:08:50 -0400 | |
---|---|---|
committer | 2024-05-03 11:08:50 -0400 | |
commit | 44bafa989af0cc380696bb6381048fc1ee55dd5b (patch) | |
tree | b141128bef3da6f5600c9914a795a7bf3d00279c /packages/integrations/web-vitals/test/test-utils.js | |
parent | 9a231a4dd7e14ecb9cb95842060a4a24e4c03f02 (diff) | |
download | astro-44bafa989af0cc380696bb6381048fc1ee55dd5b.tar.gz astro-44bafa989af0cc380696bb6381048fc1ee55dd5b.tar.zst astro-44bafa989af0cc380696bb6381048fc1ee55dd5b.zip |
[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>
Diffstat (limited to 'packages/integrations/web-vitals/test/test-utils.js')
0 files changed, 0 insertions, 0 deletions