0
Fork 0
mirror of https://github.com/withastro/astro.git synced 2025-02-24 22:46:02 -05:00
Commit graph

7523 commits

Author SHA1 Message Date
bholmesdev
c1753721e9 fix: just use generic "seeding database" error 2024-02-29 17:14:39 -05:00
bholmesdev
88231082e3 fix: add config import to db client modules 2024-02-29 17:11:10 -05:00
bholmesdev
5abb5bfc37 feat: expose utils for integration seed files 2024-02-29 17:10:58 -05:00
bholmesdev
36a97e64d9 refactor: try/catch -> catch() 2024-02-29 16:58:58 -05:00
bholmesdev
63f042f631 feat: pretty error inserting into table 2024-02-29 16:56:10 -05:00
bholmesdev
868beb535c refactor: regexp -> endsWith 2024-02-29 16:27:50 -05:00
bholmesdev
dc0af089e6 chore: tidy up collection -> table error states 2024-02-29 16:26:12 -05:00
bholmesdev
0b9d9636e9 refactor: collectionToTable -> asDrizzleTable 2024-02-29 15:52:00 -05:00
bholmesdev
25cb455d45 chore: update tests to dev server 2024-02-29 15:50:07 -05:00
bholmesdev
217d5bb7f9 chore: update unit tests 2024-02-29 13:56:30 -05:00
bholmesdev
1e5e23525d fix: update recipes config and seed 2024-02-29 13:49:21 -05:00
bholmesdev
933c02f948 chore: remove async from localDatabaseClient 2024-02-29 13:48:45 -05:00
bholmesdev
258a946ef6 feat: parse config.ts from cli 2024-02-29 13:37:57 -05:00
bholmesdev
69277b9187 chroe: remove bad import 2024-02-29 13:08:30 -05:00
bholmesdev
89365064b4 feat: remove unsafeDisableStudio 2024-02-29 13:06:36 -05:00
bholmesdev
4f8e2754fa feat: file watching for db/config.ts dependencies 2024-02-29 13:02:52 -05:00
bholmesdev
783c22d891 feat: move to db/config.ts 2024-02-28 19:20:55 -05:00
bholmesdev
fbc136ebce refactor: standardize migrations dir 2024-02-28 18:14:19 -05:00
bholmesdev
30854cd635 fix: disable foreign keys when recreating tables 2024-02-28 12:53:23 -05:00
bholmesdev
a0cebe3d08 fix: move ticketing-example to seed file 2024-02-28 12:49:10 -05:00
bholmesdev
f170997435 refactor: move migrations/ inside db/ 2024-02-28 12:43:31 -05:00
bholmesdev
0a3efac728 feat: db.batch! 2024-02-27 18:14:24 -05:00
bholmesdev
274504b383 chore: remove table config object 2024-02-27 18:14:12 -05:00
bholmesdev
56ea81d343 chore: stray comment 2024-02-27 17:14:16 -05:00
bholmesdev
8886b5cd39 refactor: remove integrations from test for now 2024-02-27 17:07:55 -05:00
bholmesdev
80154b4f8e feat: support local db with db execute 2024-02-27 17:02:37 -05:00
bholmesdev
6f0c5d3b3b chore: remove old readable error tests 2024-02-27 13:14:06 -05:00
bholmesdev
cbc4dc58c3 fix: test imports 2024-02-27 13:12:50 -05:00
bholmesdev
9c0139b86e feat: db execute command 2024-02-27 13:10:15 -05:00
bholmesdev
203dbe369f refactor: ensure precedence of file name 2024-02-27 12:13:48 -05:00
bholmesdev
2299a9c227 feat: data() -> seed file 2024-02-27 11:40:43 -05:00
bholmesdev
607664f231 chore: add scripts to basics 2024-02-27 11:39:41 -05:00
bholmesdev
cc23ba21de wip: move data seeding 2024-02-26 18:57:06 -05:00
bholmesdev
448edc14d5 fix: table typegen 2024-02-26 18:56:51 -05:00
bholmesdev
fbb9c50b76 feat: no more readable / writable 2024-02-26 18:27:22 -05:00
Martin Trapp
03242c6c22 [ci] format 2024-02-26 16:06:09 +00:00
Martin Trapp
ade9759cae
Warn when view transitions run on a prefer-reduced-motion device (#10222)
* Warn when view transitions run on a prefere-reduced-motion device

* ViewTransitions.astro aktualisieren

Co-authored-by: Emanuele Stoppa <my.burning@gmail.com>

---------

Co-authored-by: Emanuele Stoppa <my.burning@gmail.com>
2024-02-26 17:04:57 +01:00
Houston (Bot)
6012163d8f
[ci] release (#10218)
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2024-02-26 15:33:39 +00:00
James Ross
e64bd0740b
fix: better assetsInlineLimit runtime type checking (#10154)
* fix: string assetsInlineLimit

* fix: better handle NaN values for `assetsInlineLimit`

* chore: prettier

* chore: simplify for requested changes

* chore: update changeset

* chore: remove tests

* chore: simplify function

* Apply suggestions from code review

---------

Co-authored-by: Arsh <69170106+lilnasy@users.noreply.github.com>
2024-02-26 20:12:42 +05:30
Ben Holmes
aa45eb9fa6
fix: correct remote url (#10223)
* fix: get correct url

* chore: changeset

* fix: respect runtime env
2024-02-26 08:44:43 -05:00
Erika
1eadb1c529
fix(toolbar): Make it so every built-in app can be closed by outside clicks (#10220)
* fix(toolbar): Make it so every built-in app can be closed by outside clicks

* chore: changeset

* test: add tests

* test: fix test

* ci: don't run bundle-size on dev-toolba
2024-02-26 13:38:19 +00:00
Ming-jun Lu
ae2a10e1a7
Fix an issue where Vercel adapter may create functions for prerendered routes (#10231)
* fix: fix an issue where Vercel adapter may create functions for prerendered routes

* test: update test cases in `split.test.js`

* chore: add changeset

* refactor: apply suggested changes from code review

* Apply suggestions from code review

---------

Co-authored-by: Arsh <69170106+lilnasy@users.noreply.github.com>
2024-02-26 18:58:49 +05:30
Matthew Phillips
bc2bf460ea [ci] format 2024-02-26 08:39:20 +00:00
Matthew Phillips
afcb9d3311
Fix hydration scripts missing from dynamic slot usage (#10219) 2024-02-26 08:38:11 +00:00
Matthew Phillips
fd7453bc0d [ci] format 2024-02-26 08:37:43 +00:00
Matthew Phillips
4db82d9c7d
Prevent errors in rendering from crashing server (#10221)
* Prevent errors in rendering from crashing server

* Add changeset

* Make the reject an error

* Simplify

* Update .changeset/breezy-pears-admire.md

Co-authored-by: Florian Lefebvre <contact@florian-lefebvre.dev>

---------

Co-authored-by: Florian Lefebvre <contact@florian-lefebvre.dev>
2024-02-26 08:36:43 +00:00
前端子鱼
84502b4190
fix: svelte 5 mount/hydrate api change. (#10224) 2024-02-26 16:10:47 +08:00
Arsh
8d5ea2df5d [ci] format 2024-02-24 11:36:15 +00:00
Arsh
8fb32f390d
prevent warning: Astro.request.headers is not available in "static" output mode (#10196) 2024-02-24 17:05:16 +05:30
Ben Holmes
5d4ff093a2
Improved error logging from config (#10207)
* fix: better error messaging on seed()

* chore: collection -> table for errors

* chore: changeset
2024-02-23 17:01:33 -05:00