Commit graph

4994 commits

Author SHA1 Message Date
Drew Powers
da7b41f5b8
Fix build missing styles (affecting docs) (#2112)
* Revert "remove odd docs regression caused by Astro.fetchContent()"

This reverts commit df47077978.

* Fix build missing styles
2021-12-06 16:01:32 -07:00
Nate Moore
cc1dae55c8
fix(#2129): exclude 404 from sitemap (#2137)
* fix(#2129): exclude 404 from sitemap

* chore(lint): Prettier fix

* chore: trigger ci

Co-authored-by: GitHub Action <github-action@users.noreply.github.com>
2021-12-06 16:50:30 -06:00
Nate Moore
ddac977748
Skip flaky macOS Sass test (#2138)
* test: skip flaky macOS test

* test: skip flaky macOS test
2021-12-06 16:32:07 -06:00
Nate Moore
77c3fda379
Make fetch injection safe to existing code (#2135)
* fix: inject `fetch` only if not declared

* test: improve fetch test

* chore(lint): Prettier fix

* chore: trigger ci

* fix: improve type narrowing

Co-authored-by: GitHub Action <github-action@users.noreply.github.com>
2021-12-06 16:08:00 -06:00
github-actions[bot]
1298fd8678
chore: release (#2133)
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2021-12-06 15:15:14 -06:00
GitHub Action
ec6cdef62d chore(lint): Prettier fix 2021-12-06 19:24:10 +00:00
Elliott Marquez
d9d3906a3c
test(lit): add reflected property tests (#2116) 2021-12-06 13:23:09 -06:00
Leosvel Pérez Espinosa
c0f29bcf8c
Parse --renderers flag correctly when passed to the create-astro cli (#2124) 2021-12-06 09:19:22 -05:00
Leon
2e1936f116
Fix a link syntax (#2114) 2021-12-03 18:02:19 -07:00
github-actions[bot]
fe11bdb5f7
chore: release (#2118)
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2021-12-03 16:29:11 -06:00
Nate Moore
8346a1f2b9
Update Compiler (#2117)
* chore: update compiler

* chore: update compiler

* Revert "chore: update compiler"

This reverts commit 5742c24542.
2021-12-03 16:10:05 -06:00
Mikkel Tønder
3e4cfea4e2
Make aliases work on windows (#2109)
* Make aliases work on windows

Change all occurrences of path.posix to path.

* Remove console log statement

* Update index.ts

* Update index.ts

* Update index.ts

* Edit changeset
2021-12-03 10:53:11 -05:00
GitHub Action
213a2622e2 chore(lint): Prettier fix 2021-12-03 14:40:46 +00:00
Andreas Koutsoukos
a7a5546429
Update styling.md (#2084)
I found that the require is better way to import postcss plugins: https://github.com/postcss/postcss-load-config/issues/192
2021-12-03 09:39:37 -05:00
github-actions[bot]
4f546173b4
chore: release (#2108)
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2021-12-03 09:30:45 -05:00
Matthew Phillips
583459d0b6
Fix support for ?url on CSS (#2106)
* Fix support for ?url on CSS

* Adds a changeset

* chore(lint): Prettier fix

Co-authored-by: GitHub Action <github-action@users.noreply.github.com>
2021-12-03 09:19:37 -05:00
Matthew Phillips
4c44467668
Remove use of URL module in runtime (#2107)
* Remove use of URL module

We can't use this module due to Vite not having a shim and this needing
to run inside Vite.

* Adding a changeset
2021-12-03 09:13:20 -05:00
Fred K. Schott
b098f04dc3 Revert "Docs: Add Themes page in Zh-TW (#1725)"
This reverts commit 3a8c9a6408.
2021-12-02 20:51:25 -08:00
Fred K. Schott
df47077978 remove odd docs regression caused by Astro.fetchContent() 2021-12-02 20:13:39 -08:00
github-actions[bot]
787e4e6497
chore: release (#2098)
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2021-12-02 17:45:56 -05:00
Jonathan Neal
11798a3209
Update Astro dependencies (#2096)
* Update Astro dependencies

* changeset

* chore: update `@astro/compiler`
2021-12-02 17:33:24 -05:00
Nate Moore
a2aa7c0f1d chore(actions): update release messages 2021-12-02 16:16:57 -06:00
Nate Moore
e0414ac865
Cleanup Actions (#2088)
* chore: actions cleanup

* chore: make release messages more fun

* chore: fix casing

* chore(lint): Prettier fix

Co-authored-by: GitHub Action <github-action@users.noreply.github.com>
2021-12-02 14:04:11 -06:00
YM
3a8c9a6408
Docs: Add Themes page in Zh-TW (#1725)
* Add 'Themes' page in zh-TW for docs

* Update translations of Themes for Zh-tw in Doc

* Update relative path for zh-TW docs
2021-12-02 13:22:58 -06:00
github-actions[bot]
e57308d70c
[ci] release (#2071)
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2021-12-02 13:01:17 -05:00
Drew Powers
0a826c999c
Allow special characters in filenames (#2091)
#2089
2021-12-02 10:45:54 -07:00
Matthew Phillips
97174e6ff4
Add tests for assets using imports (#2090) 2021-12-02 12:32:42 -05:00
Nate Moore
ac3e870280
fix: renderer behavior with no children (#2078)
* fix: renderer behavior with no children

* [ci] Prettier fix

* Force CI

* fix: properly handle falsy values

* [ci] Prettier fix

* chore: force ci

* [experiment] netlify ignore

Co-authored-by: GitHub Action <github-action@users.noreply.github.com>
2021-12-02 10:30:15 -06:00
Drew Powers
62a5e98c90
Improve CSS import ordering, fix empty CSS outputs (#2081)
Fixes #2060
2021-12-02 09:24:00 -07:00
Nate Moore
f6b15c3516 [experiment] ignore netlify builds outside of docs and www 2021-12-02 10:14:02 -06:00
Nate Moore
3fd59b8a3a
[experiment] Netlify Ignore (#2080)
* chore: ignore netlify builds for docs/

* chore: ignore netlify builds for www/

* chore: update netlify ignore to check against main
2021-12-02 10:07:54 -06:00
Matthew Phillips
1301f3daa9
Makes Astro.resolve return root-relative paths (#2048)
* Makes Astro.resolve return root-relative paths

* Adds a changeset

* Update the compiler version and PR review

* Fix linting

* [ci] Prettier fix

* Remove use of vitifyURL

Co-authored-by: GitHub Action <github-action@users.noreply.github.com>
2021-12-02 10:48:18 -05:00
Matthew Phillips
2a2eaadc2f
Invalidate based on modulePath (#2086)
* Invalidate based on modulePath

* Adds a changeset
2021-12-02 10:48:08 -05:00
Fred K. Schott
0b2650d713
Update ci.yml (#2077) 2021-12-01 21:58:34 -06:00
natemoo-re
638982663e [ci] yarn format 2021-12-01 21:27:46 +00:00
Tony Sullivan
920d3da135
Improving error messages for invalid client hydration directives (#2076)
* Adding check to make sure the hydration directive is valid

* remove temp debug logging

* Adding a check for media query with client:media + small refactor

* adding changeset

Co-authored-by: Tony Sullivan <tony.sullivan@hyperlab.se>
2021-12-01 15:26:17 -06:00
Matthew Phillips
bebb312b09
Upgrade compiler to 0.5.4 (#2057)
* Upgrade compiler to 0.4.0

* chore: update compiler to v0.5.1

* chore: update compiler to v0.5.3

* chore: upgrade @astrojs/compiler

* test: skip flaky test

Co-authored-by: Nate Moore <nate@skypack.dev>
2021-12-01 15:25:29 -06:00
Jonathan Neal
5bda895fcb
Render void elements as self-closing tags (#2064)
* Render void elements as self-closing tags

* changeset

* nit: only check void element names if there is no child content

* nit: only check void element names if there is no child content

* add tests
2021-12-01 15:43:22 -05:00
Drew Powers
b348ca6c9f
Allow importing of rehype plugins (#2075)
Fixes #2061
2021-12-01 12:03:04 -07:00
Nate Moore
1c40f6ed38
fix: release notes (#2074) 2021-12-01 10:40:55 -06:00
natemoo-re
49019aa2d6 [ci] yarn format 2021-12-01 16:38:57 +00:00
Ian VanSchooten
ee4ad43202
Prevent unknown keys in markdownOptions (#2073) 2021-12-01 10:37:54 -06:00
Ian VanSchooten
ec35fdd768
Add migration guide for markdownOptions (#2070) 2021-12-01 10:36:28 -06:00
borisv
3a45925415
German translation - docs (#1830)
* New translation of getting-started.md

Rework of the basic translation, resolving a bunch of issues and correcting misconceptions in terminologies.

* Spelling correction

* Omitting redundant paragraph. Minor corrections.

* New translation

Fixing errors and grammatical misconceptions. Rectifying terminology.

* Minor corrections in quick-start.md

* Update quick-start.md

Minor corrections

* Update quick-start.md

Small fix

* Update quick-start.md

* Update getting-started.md

* Update quick-start.md

* Update quick-start.md

* Update quick-start.md

* New translation installation.md

New translation leveraging a consistent nomenklatura, fixing spelling errors

* Update installation.md

* Update installation.md

* Update installation.md

* Update docs/src/pages/de/getting-started.md

Co-authored-by: Kim Schneider <web@schneider.kim>

* Update docs/src/pages/de/getting-started.md

Co-authored-by: Kim Schneider <web@schneider.kim>

* Update docs/src/pages/de/getting-started.md

Co-authored-by: Kim Schneider <web@schneider.kim>

* Update docs/src/pages/de/installation.md

Co-authored-by: Kim Schneider <web@schneider.kim>

* Update docs/src/pages/de/quick-start.md

Co-authored-by: Kim Schneider <web@schneider.kim>

* Update docs/src/pages/de/quick-start.md

Co-authored-by: Kim Schneider <web@schneider.kim>

* Update docs/src/pages/de/quick-start.md

Co-authored-by: Kim Schneider <web@schneider.kim>

* Update docs/src/pages/de/installation.md

Co-authored-by: Kim Schneider <web@schneider.kim>

* Update docs/src/pages/de/getting-started.md

Co-authored-by: Kim Schneider <web@schneider.kim>

* [ci] yarn format

* Create 0.21.0.md

First translation

* [ci] yarn format

* Create themes.astro

First translation

* Create 404.astro

First translation

* Update 0.21.0.md

Small changes according to the reviews.  Additionally changing 'Hydratation' to 'Anreicherung' in the code example (76), which is far more closer to the fact.

* [ci] yarn format

* Update themes.astro

Changed 'Motive' to 'Vorlagen' throughout this document

* Create comparing-astro-vs-other-tools.md

First translation. Last missing page from the first documentation section 'SETUP'

* [ci] yarn format

* Create astro-components.md

First translation

* [ci] yarn format

* Update comparing-astro-vs-other-tools.md

Corrected reference to Vue in Nuxt section

* Update comparing-astro-vs-other-tools.md

Replaced 'Vorlagen' with the english term 'Templates' for consistency inside nomenclature across all document pages.

* Create astro-pages.md

First translation

* [ci] yarn format

* Create project-structure.md

First translation

* Create component-hydration.md

New translation

* [ci] yarn format

* Create layouts.md

First translation

* Create routing.md

First translation

* [ci] yarn format

* Update quick-start.md

Changed expression to 'Entwickeln'

* Update installation.md

Changed expression to 'Entwickeln'

* Update comparing-astro-vs-other-tools.md

Changed all occurences of 'partielle Anreicherung' to 'Partial Hydration'

* Update comparing-astro-vs-other-tools.md

Minor punctuation fix

* Update astro-components.md

Bunch of suggestions worked in

* [ci] yarn format

* Update astro-pages.md

Added suggestions

* Update component-hydration.md

Added suggestions

* Update layouts.md

Added suggestions

* [ci] yarn format

* Update project-structure.md

Added suggestions

* Update routing.md

Added suggestions

* Update installation.md

Added suggestions

* Update 0.21.0.md

Added suggestions

* Update quick-start.md

added suggestions

* Update themes.astro

Added suggestions

* Update 0.21.0.md

Added suggestion

* Update astro-components.md

Minor punctuation fix

* [ci] yarn format

* Update astro-components.md

Replaced last of 'Anreicherung'

* Update astro-components.md

Punctuation fix, again(((

* [ci] yarn format

* Update docs/src/pages/de/core-concepts/astro-components.md

Minor punctioation fix

Co-authored-by: Kim Schneider <web@schneider.kim>

* [ci] yarn format

* Update astro-components.md

Added code example, since github hickubs when only removing ';'

* Added sidebar links (de) config.ts

Added links to the first two sections of the German translation

* Update config.ts

Replaced Getting Started with 'Erste Schritte'

* Update config.ts

Replaced Themes with 'Vorlagen'

* Update config.ts

Changed Migration to 'Umstellung'

* Fixing routing error(((

* Fixing routing errors((

* reverse and fix routing errors(((

Co-authored-by: Kim Schneider <web@schneider.kim>
Co-authored-by: borisv <borisv@users.noreply.github.com>
Co-authored-by: smplrtrn <smplrtrn@gmail.com>
2021-12-01 08:27:47 -07:00
Drew Powers
c6e4e2831e
Enforce consistent import order of CSS (#2065)
Partially fixes #2060
2021-12-01 08:23:18 -07:00
github-actions[bot]
754ac42478
[ci] release (#2059)
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2021-11-30 22:33:45 -07:00
Drew Powers
96ba37ef02
Modify changeset for #2052 (#2067) 2021-11-30 22:23:04 -07:00
Drew Powers
f5efbe141c
Add changeset for #2052 (#2066) 2021-11-30 22:01:44 -07:00
Drew Powers
03cabc5171
Fix Windows dev script proxying (#2052)
* Add tests for script proxying

* Fix Windows script proxying

#2053
2021-11-30 11:54:37 -07:00
Nate Moore
606fa81b94
chore: fix changeset (#2058) 2021-11-30 11:14:31 -06:00