Commit graph

2398 commits

Author SHA1 Message Date
Nate Moore
5091d788f6
Add fine-grained HMR support (#2649)
* feat: add fine-grained HMR support

* chore: lint

* chore: lint

* fix: handle hmr with custom event handler

* refactor: cleanup hmr script
2022-02-24 13:11:18 -06:00
FredKSchott
0cffbfff39 [ci] collect stats 2022-02-24 12:02:04 +00:00
İsmail Özçelik
586687ac39
Missing SASS error problem fix (#2626)
In the migration guide, need to install sass. So the example not working correctly. I add SASS to fix it.
2022-02-23 21:18:24 -06:00
Juan Martín Seery
a2128f8e47
Fixed incorrect types and imports (#2630)
* Fixed incorrect types and imports

* Changeset
2022-02-23 17:14:39 -06:00
Joel Kuzmarski
f64840ece1
Add sass dev dep to blog-multiple-authors example (#2643)
Otherwise, new stackblitz projects throw an error.
2022-02-23 17:11:38 -06:00
Shinobu Hayashi
fe31eca414
Fix(component): align starting position in Markdown slot (#2631)
* Fix: align markdown starting position in each line

* Chore: add testcase for aligning starting position in each line

* Chore: update the test case on astro-markdown custom language

* Update: remove trimmed only startWith trimmed space
2022-02-23 17:08:17 -06:00
matthewp
1fba0c4c72 [ci] yarn format 2022-02-23 13:42:05 +00:00
Matthew Phillips
2ad88a9235
Run all smoke tests with the static build (#2609)
* Run all smoke tests with the static build

* Use a direct relative path

* Always use the static build

* Use a path that works in both static and regualr build

* Always download the zip

* astro.build only needs to run once
2022-02-23 08:41:10 -05:00
FredKSchott
a81660e39a [ci] collect stats 2022-02-23 12:02:10 +00:00
Fred K. Schott
a54ccff64e
[ci] update lockfile (#2624)
Co-authored-by: FredKSchott <FredKSchott@users.noreply.github.com>
2022-02-22 08:48:55 -08:00
Juan Martín Seery
9b7e2ab251
Fixed shiki import to work with "type": "module" (#2628)
* Fixed shiki import to work with "type": "module"

* Changeset

* Separated types import

* Add "* as" to type import
2022-02-22 08:46:04 -08:00
Fred K. Schott
ac6d2e8c64
Create afraid-phones-peel.md 2022-02-22 08:44:01 -08:00
FredKSchott
ceadc3cb0f [ci] collect stats 2022-02-22 12:02:48 +00:00
tony-sull
664a221a24 [ci] yarn format 2022-02-22 09:54:23 +00:00
Joel Kuzmarski
f165b78ad2
Make Non-HTML Pages work for static build (#2638)
* Make Non-HTML Pages work for static build

* Check hasOwnProperty instead of length

* Fix typo "> 0"
2022-02-22 09:53:21 +00:00
FredKSchott
ad3f3cf41d [ci] collect stats 2022-02-21 12:01:58 +00:00
FredKSchott
c3f3f4c528 [ci] collect stats 2022-02-20 12:01:55 +00:00
FredKSchott
b457ebea7d [ci] collect stats 2022-02-19 12:02:03 +00:00
Fred K. Schott
6edf47a890
improve memory leak test (#2621) 2022-02-18 17:08:28 -08:00
Fred K. Schott
91e5b268d0
update lockfile (#2620) 2022-02-18 16:52:19 -08:00
natemoo-re
38fc7d64a7 [ci] yarn format 2022-02-18 22:34:54 +00:00
github-actions[bot]
1d9f8a57f5
[ci] release (#2619)
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2022-02-18 16:33:56 -06:00
Fred K. Schott
4eb0d9863f update changeset tags before release 2022-02-18 14:30:38 -08:00
Nate Moore
492f6f1c70 chore: exit pre 2022-02-18 16:08:12 -06:00
natemoo-re
aaa61ff254 [ci] yarn format 2022-02-18 22:07:52 +00:00
Nate Moore
39cbe50085
Expose private .env variables to import.meta.env during SSR (#2612)
* chore(examples): add env-vars example

* feat: improve import.meta.env support

* chore: add changeset

* test: update astro-envs test

* refactor: cleanup code based on feedback

* fix: import.meta guard

* fix: update memory test threshold to 10%
2022-02-18 16:06:56 -06:00
Nate Moore
37d4dd8d57
Improve smoke tests (#2617)
* chore(ci): improve smoke tests

* chore: skip www test
2022-02-18 15:40:03 -06:00
natemoo-re
3c2eee5732 [ci] yarn format 2022-02-18 20:24:55 +00:00
Matthew Phillips
23783648b6
Adds memory leak test in CI (#2616)
* Add a memory leak test

* Add memory leak smoke test to CI

* Update the latest compiler

* Update yarn.lock

* Remove entries optimization

* Calculate as 5% higher
2022-02-18 14:23:47 -06:00
FredKSchott
9bdceeef28 [ci] collect stats 2022-02-18 12:02:11 +00:00
matthewp
137b08efc2 [ci] yarn format 2022-02-17 16:12:12 +00:00
github-actions[bot]
85eb3141cd
[ci] release (next) (#2607)
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2022-02-17 11:11:06 -05:00
Matthew Phillips
96609d4c9e
Static build - fixes path to HMR script (#2606)
* Static build - fixes path to HMR script

* Changeset
2022-02-17 10:35:01 -05:00
Matthew Phillips
87762410f3
Fix loading of styles in static build (#2605)
* Fix loading of styles in static build

* Adds a changeset
2022-02-17 10:32:24 -05:00
Shinobu Hayashi
5d5a8e6549
Chore: configure buildOptions.site on examples/blog (#2590) 2022-02-17 07:40:51 -05:00
Tony Sullivan
934d9750cf
importing and inlining global.css with set:html (#2601) 2022-02-17 07:39:55 -05:00
FredKSchott
c496ac8dad [ci] collect stats 2022-02-17 12:01:49 +00:00
natemoo-re
b2f34862bf [ci] yarn format 2022-02-16 23:46:41 +00:00
github-actions[bot]
8dcfc1bb15
[ci] release (next) (#2600)
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2022-02-16 17:45:49 -06:00
Nate Moore
929fae684f
chore: upgrade @astrojs/compiler (#2599) 2022-02-16 17:33:43 -06:00
FredKSchott
49c6e678c1 [ci] yarn format 2022-02-16 23:08:33 +00:00
Evan Boehs
d0d77bea9b
Clarify @staff role in governance docs (#2553)
* Update contributors nominations

* Remove beta notice

* you can't just have ))

* Add mod notice

* Add staff

* Note community awards

* Link to OC

* Add another contributor permission

* Update GOVERNANCE.md

* Update GOVERNANCE.md

* Update GOVERNANCE.md

* Discord is better than discord

* Update GOVERNANCE.md

* Update GOVERNANCE.md

* Update GOVERNANCE.md

* Remove reference to `#contributors` channel

Co-authored-by: Fred K. Schott <fkschott@gmail.com>
Co-authored-by: Nate Moore <natemoo-re@users.noreply.github.com>
2022-02-16 15:07:45 -08:00
matthewp
b238b8c248 [ci] yarn format 2022-02-16 16:33:50 +00:00
github-actions[bot]
097d7777c4
[ci] release (next) (#2595)
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2022-02-16 11:32:57 -05:00
Tony Sullivan
40c0e2b3f6
Bug fix: Order of params for routing has to match (#2593)
* make sure route params are sorted before comparing stringified keys

* including changeset for a patch release
2022-02-16 15:49:03 +00:00
matthewp
b4dcc0f8d3 [ci] yarn format 2022-02-16 15:13:06 +00:00
Matthew Phillips
102161761d
Pass children to client components even if they do not render them (#2588)
* Pass children to client components even if they do not render them

* Handle when no children are provided

* Adds a changeset

* Use roots directly i guess

* Use an attribute to signal that the template is needed
2022-02-16 10:11:54 -05:00
natemoo-re
19d548f400 [ci] yarn format 2022-02-16 14:50:05 +00:00
github-actions[bot]
ebe7f4d0ae
[ci] release (next) (#2580)
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2022-02-16 08:49:12 -06:00
Nate Moore
085468e949
chore: upgrade compiler (#2594) 2022-02-16 08:45:15 -06:00