Erika
9332bb1c1f
feat: add an internal for now studio package ( #11037 )
...
* feat: add an internal for now studio package
* fix: remove test commands
* fix: use getenvs from studio package
* fix: packagejson
* chore: changeset
* fix: remove unused error
* fix: of course Bjorn was right all along
2024-05-16 18:10:08 +02:00
Houston (Bot)
5a48d53385
[ci] release ( #11025 )
...
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2024-05-15 10:42:55 -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
Houston (Bot)
770b9f06c3
[ci] release ( #10944 )
...
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2024-05-09 11:06:49 +01: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
Matthew Phillips
8ef2f62c53
[ci] format
2024-05-08 12:29:08 +00:00
Matthew Phillips
a1343184da
Convert saved non-UTC dates to UTC ( #10967 )
...
* Convert saved non-UTC dates to UTC
* Simplify the check
* Simplify check and add link
2024-05-08 08:27:55 -04:00
Houston (Bot)
2dcbcdb857
[ci] release ( #10943 )
...
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2024-05-03 17:55:43 +02: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
Houston (Bot)
9a231a4dd7
[ci] release ( #10890 )
...
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2024-05-02 19:59:20 +08:00
Erika
77e206d7e5
[ci] format
2024-05-01 12:04:47 +00:00
Erika
a0c77fc716
chore: changeset ( #10925 )
2024-05-01 08:03:55 -04:00
Viktor Szépe
a146cf1012
Fix typos ( #10923 )
2024-05-01 13:56:38 +08:00
Matthew Phillips
1b7ed7a31a
[ci] format
2024-04-30 20:23:31 +00:00
Matthew Phillips
ca605f4dd8
Provide a better error for when the app token is missing in CI ( #10918 )
2024-04-30 16:22:26 -04:00
renovate[bot]
05d58eff07
fix(deps): update all non-major dependencies ( #10901 )
...
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-04-30 12:00:05 +08:00
Chris Swithinbank
c238aa81ee
[ci] format
2024-04-26 14:09:06 +00:00
Chris Swithinbank
cf58d1ed56
Improve asDrizzleTable()
types ( #10882 )
2024-04-26 16:07:55 +02:00
Houston (Bot)
a94046588c
[ci] release ( #10842 )
...
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2024-04-23 19:30:37 -04:00
Ben Holmes
8e6eb624ae
db: add login flow for web containers ( #10816 )
...
* feat: add login flow for web containers
* chore: changeset
* chore: remove unused web()
* feat: detect github codespaces
* fix: add success msg for manual flow
* refactor: use URL constructor for login URL
Co-authored-by: Matthew Phillips <matthew@skypack.dev>
* fix: add .href for url string
---------
Co-authored-by: Matthew Phillips <matthew@skypack.dev>
2024-04-22 11:37:11 -04:00
renovate[bot]
8d5f3e8656
chore(deps): update all non-major dependencies ( #10833 )
...
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: bluwy <bjornlu.dev@gmail.com>
2024-04-22 22:52:30 +08:00
renovate[bot]
79b738539a
chore(deps): update dependency chai to v5 ( #10835 )
...
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: bluwy <bjornlu.dev@gmail.com>
2024-04-22 13:38:37 +08:00
Bjorn Lu
237e17c8fe
Update major deps ( #10823 )
2024-04-20 00:11:20 +08:00
Houston (Bot)
7fda037b27
[ci] release ( #10798 )
...
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2024-04-18 11:35:39 -04:00
Emanuele Stoppa
347bdfe550
[ci] format
2024-04-17 08:38:53 +00:00
Emanuele Stoppa
40e8450671
chore: use Biome to format JS files ( #10788 )
...
* chore: configuration
* chore: update main commands
* chore: revert formatting package.json
* chore: rebase
2024-04-17 09:37:22 +01:00
Nick Dubelman
d4c91cb109
db: export 'alias' from drizzle-orm/sqlite-core ( #10789 )
...
* db: export 'alias' from drizzle-orm/sqlite-core
* chore: changeset
* fix: changeset target
---------
Co-authored-by: Ben Holmes <hey@bholmes.dev>
2024-04-16 17:28:20 -04:00
Jason
6ebd81dbc4
lint: upgrade eslint to version 9 ( #10730 )
2024-04-15 16:05:10 +08:00
Houston (Bot)
3ff6b403db
[ci] release ( #10757 )
...
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2024-04-12 11:31:46 -04:00
Chris Swithinbank
d1080ea81d
Add useful links to @astrojs/db
package.json ( #10764 )
...
Co-authored-by: Reuben Tier <64310361+TheOtterlord@users.noreply.github.com>
2024-04-11 23:18:57 +02:00
Houston (Bot)
0fec72b35c
[ci] release ( #10729 )
...
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2024-04-09 21:00:07 -04:00
Matthew Phillips
2d2ff58bb9
Fix db seeding when srcDir is root ( #10720 )
2024-04-09 09:11:32 -04:00
Houston (Bot)
f4f383d04e
[ci] release ( #10680 )
...
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2024-04-09 14:42:19 +08:00
Matthew Phillips
4e7f5f8951
[ci] format
2024-04-08 13:22:48 +00:00
Matthew Phillips
28e7535e5c
Provide better messaging when renaming a table ( #10600 )
...
* Provide better messaging when renaming a table
* Update based on review
2024-04-08 09:21:41 -04:00
Matthew Phillips
48f158215d
[ci] format
2024-04-04 19:14:51 +00:00
Matthew Phillips
4bf8bd3848
Prevent errors in finding workspaceId from interrupting link prompts ( #10681 )
2024-04-04 15:13:46 -04:00
Houston (Bot)
e2a780a46d
[ci] release ( #10674 )
...
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2024-04-04 13:11:24 -04:00
Matthew Phillips
d4b88c79b2
[ci] format
2024-04-04 16:43:57 +00:00
Matthew Phillips
1662aa8a85
Fix compatibility for @astrojs/db with cloudflare ( #10677 )
...
* Fix compatibility for @astrojs/db with cloudflare
* Use a manual implementation
* Update lockfile
2024-04-04 12:42:47 -04:00
Houston (Bot)
8ca8943ce2
[ci] release ( #10656 )
2024-04-03 22:42:23 +05:30
Ben Holmes
57959e607e
[ci] format
2024-04-02 22:14:21 +00: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
Houston (Bot)
c3916b5206
[ci] release ( #10651 )
...
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2024-04-02 16:15:27 -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
Houston (Bot)
fd18a5dda9
[ci] release ( #10647 )
...
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2024-04-02 12:11:32 -04:00