0
Fork 0
mirror of https://github.com/withastro/astro.git synced 2024-12-16 21:46:22 -05:00
Commit graph

449 commits

Author SHA1 Message Date
Bjorn Lu
493fe43cd3
Improve tinyexec errors (#12368) 2024-11-04 22:49:33 +08:00
renovate[bot]
2edcad1490
fix(deps): update all non-major dependencies (#12266)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-10-22 13:07:28 +01:00
Bjorn Lu
64bb796c0f
Use real filesystem for unit testing (#12172) 2024-10-15 15:34:42 +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
Bjorn Lu
19751df887
Fix examples version update for removed packages (#11901) 2024-09-02 21:00:49 +08:00
renovate[bot]
645f4e21a7
fix(deps): update all non-major dependencies (#11896) 2024-09-02 10:54:53 +08:00
Bjorn Lu
440a4be0a6
Use tinyexec (#11845) 2024-08-28 22:52:49 +08:00
Bjorn Lu
1fd84b6bbc
Remove unused code in internal scripts (#11769) 2024-08-20 18:25:04 +08:00
Bjorn Lu
849e4c6c23
Use node parseArgs instead of yargs-parser and arg (#11645)
* wip

* done

* Add changeset

* Format

* Update

* Fix houston

* Fix test

* Fix test
2024-08-14 11:05:50 +01:00
Bjorn Lu
ca45fd93c1
Remove tsconfig-resolver from repo (#11642) 2024-08-07 20:10:20 +08:00
Bjorn Lu
69d54b4bf2
Remove more unused code (#11598) 2024-08-02 20:19:41 +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
Matthew Phillips
ac8dd73afa
Fix smoke tests (#11484) 2024-07-17 14:56:08 -04:00
renovate[bot]
3070691a86
fix(deps): update dependency p-limit to v6 (#11427)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-07-17 15:25:53 +08:00
renovate[bot]
e60aab9a9f
fix(deps): update all non-major dependencies (#11383)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: bluwy <bjornlu.dev@gmail.com>
2024-07-01 16:32:17 +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
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
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]
8f3cc76737
chore(deps): update dependency @octokit/action to v7 (#11016)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-05-13 15:48:59 +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
Viktor Szépe
a146cf1012
Fix typos (#10923) 2024-05-01 13:56:38 +08:00
Erika
7b4f284020
feat(toolbar): Toolbar API improvements (#10665)
* feat(toolbar): Add a `astro:toolbar` module

* fix: use entrypoint

* feat: add new shape for defining toolbar apps

* fix: types

* feat(toolbar): Add helpers features (#10667)

* feat(toolbar): Add helpers features

* fix: consistent payloads and naming

* chore: changeset

* nit: rename eventTarget to app

* feat: add server-side helpers

* test: update test to use new APIs

* fix: types

* nit: erikaaaaa

* feat: add new event

* Update .changeset/khaki-pianos-burn.md

* test: use data to create text

* Apply suggestions from code review

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

* nit: use diff

* nit: documentation effort

* test: fix

---------

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

* nit: small changes to helpers

* nit: update changeset

* fix: move to astro/toolbar for building purposes

* feat(toolbar): Add a toolbar example (#10793)

* feat: add a toolbar starter

* test: skip examples that are not Astro projects

* nit: small changes

* feat: setup for build step

* fix: add to devdep

* docs: add commands to README

* fix: reorder classes to make more sense

* fix: add improvements from recipe

* Apply suggestions from code review

Co-authored-by: Sarah Rainsberger <sarah@rainsberger.ca>

---------

Co-authored-by: Florian Lefebvre <contact@florian-lefebvre.dev>
Co-authored-by: Sarah Rainsberger <sarah@rainsberger.ca>
2024-04-24 17:56:12 +02: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
Bjorn Lu
237e17c8fe
Update major deps (#10823) 2024-04-20 00:11:20 +08:00
Emanuele Stoppa
440681e7b7
feat(i18n): manual routing (#10193)
* feat(i18n): manual routing

* one more function

* different typing

* tests

* fix merge

* throw error for missing middleware

* rename function

* fix conflicts

* lock file update

* fix options, error thrown and added tests

* rebase

* add tests

* docs

* lock file black magic

* increase timeout?

* fix regression

* merge conflict

* add changeset

* chore: apply suggestions

* apply suggestion

* Update .changeset/little-hornets-give.md

Co-authored-by: Erika <3019731+Princesseuh@users.noreply.github.com>

* chore: address feedback

* fix regression of last commit

* update name

* add comments

* fix regression

* remove unused code

* Apply suggestions from code review

Co-authored-by: Sarah Rainsberger <sarah@rainsberger.ca>

* chore: update reference

* Update packages/astro/src/@types/astro.ts

Co-authored-by: Sarah Rainsberger <sarah@rainsberger.ca>

* chore: improve types

* fix regression in tests

* apply Sarah's suggestion

---------

Co-authored-by: Erika <3019731+Princesseuh@users.noreply.github.com>
Co-authored-by: Sarah Rainsberger <sarah@rainsberger.ca>
2024-04-10 15:38:17 +01:00
Nate Moore
123f6f8551 [ci] format 2024-03-07 18:16:14 +00:00
Nate Moore
2aec2cdc21
Adds create-astro fallback values for package versions (#10255)
* fix(create-astro): add fallback when registry fails to return the current package version

* feat(create-astro): inline most current package versions as fallback

* test(create-astro): update typescript tests to check for undefined

* test(create-astro): properly reset fixtures

* refactor: read dependencies from workspace root

* refactor: error on missing values
2024-03-07 12:14:48 -06:00
Erika
6884b103c8
feat(audits): Add initial perf audits (#10015)
* feat(audits): Add initial perf audits

* feat(audits): Setup dev astro-island

* fix(audits): Don't take scroll into account when getting an element's position

* nit: lint

* Fix tests

* chore: changeset

* maybe: Move this.hydrator outside the perf check

* Update packages/astro/e2e/dev-toolbar.test.js

Co-authored-by: Bjorn Lu <bjornlu.dev@gmail.com>

* address feedback

* address feedback

---------

Co-authored-by: Bjorn Lu <bjornlu.dev@gmail.com>
2024-02-14 14:01:53 +01:00
Emanuele Stoppa
a006d44993
ci: increase node timeout (#10089) 2024-02-12 13:52:29 +00:00
Erika
31e2a777b2
test: increase timeout (#10054) 2024-02-08 11:32:59 +01:00
Bjorn Lu
432c170554
Exit code 1 if node:test fail (#9928) 2024-02-01 23:47:13 +08:00
Emanuele Stoppa
fc21a3c306
chore(@astrojs/node): use Node.js for testing (#9758)
* chore(@astrojs/node): use Node.js for testing

* revert file

* address feedback

* feedback

* Run tests in a single process (#9823)

* Run tests in a single process

* Make test less flaky

* chore: remove module

---------

Co-authored-by: Bjorn Lu <bjornlu.dev@gmail.com>
2024-01-25 16:17:31 +00:00
Nate Moore
e6c0fa5c33
chore(ci): fix release announcement script (#9796) 2024-01-23 15:28:28 -06:00
Bjorn Lu
71db79e62a
Use node:test and node:assert/strict (#9649) 2024-01-12 15:53:00 +08:00
Bjorn Lu
8059a19ad3
Fix discord fetch code (#9663) 2024-01-11 13:35:12 +00:00
Nate Moore
d68b0079bf [ci] format 2024-01-08 13:11:43 +00:00
Nate Moore
ff9bd708ae
Fix Discord release message (#9626)
* Fix Discord release message

* chore: simplify discord webhook handling
2024-01-08 13:09:53 +00:00
Bjorn Lu
00fcf82eb7
Fix ts errors for component template (#9602) 2024-01-04 11:06:37 +00:00
Luiz Ferraz
b34bd2b2d9
Enable source map on dev builds (#9465)
Co-authored-by: Nate Moore <natemoo-re@users.noreply.github.com>
2023-12-27 14:36:29 -05:00
Houston (Bot)
a171c22f37 [ci] format 2023-12-27 17:38:12 +00:00
Bjorn Lu
abf601233f
Update all dependencies (#9138)
Co-authored-by: delucis <delucis@users.noreply.github.com>
2023-11-21 12:09:19 +08:00
Nate Moore
3e1239e42b
Content Collection cache (experimental) (#8854)
Co-authored-by: Sarah Rainsberger <sarah@rainsberger.ca>
Co-authored-by: Matthew Phillips <matthew@skypack.dev>
2023-11-09 09:55:29 -06:00
Bjorn Lu
048846fd53
Update breaking dependencies (#8201) 2023-08-24 16:34:33 +08:00
Bjorn Lu
353dcb23e8
Update non-major dependencies (#8199) 2023-08-23 19:52:13 +08:00
Erika
148e61d249 feat: remove webapi in favor of a smaller polyfill (#7840)
* feat: remove webapi in favor of a smaller polyfill

* test: remove old test

* test: 🤦‍♀️

* chore: changeset
2023-08-08 11:01:45 +01:00
Erika
d0679a666f Remove support for Node 16 (#7780) 2023-08-08 11:01:33 +01:00
Emanuele Stoppa
0fd6dc7ec7
chore: fix issue in the check.js script (#7965) 2023-08-04 16:53:54 +01:00
Erika
f14e48098a
nit: use node: prefix everywhere (#7692)
* nit: use `node:` prefix everywhere

* nit: fs/promises too

* test: workaround issue in node builtin detection
2023-07-18 02:17:59 +02:00
Bjorn Lu
f275d058fc
Update safe dependencies (#7430) 2023-06-21 21:09:49 +08:00