Commit graph

1692 commits

Author SHA1 Message Date
Nate Moore
e49452325c
chore: update compiler (#1975)
* chore: update compiler

* test: remove wasm-panic-error

* test: update syntax error to not check message

* chore: add changeset

* test: skip syntax error test

* chore: update changeset
2021-11-22 14:36:14 -06:00
Jonathan Neal
26de205b98
Warn on missing pages directory (#1902)
* Warn on missing pages directory

* skip hostname flag test

* kill process at end of config test

* fix hostname test

* cleanup console logs
2021-11-22 15:11:13 -05:00
natemoo-re
f930270aed [ci] yarn format 2021-11-22 18:07:12 +00:00
Nate Moore
fc5f416382
fix: output 404.astro to 404.html (#1949)
* fix: output 404.astro to 404.html

* chore: revert example change

* fix: update status code to only match 404
2021-11-22 12:06:15 -06:00
Kyosuke
69affc5929
Fix Japanese theme page to use v0.21 (#1966) 2021-11-22 10:56:57 -07:00
Nate Moore
22dd6bf6d6
fix: support postcss lang (#1948) 2021-11-22 11:40:11 -06:00
Masataka Yakura
f37c7ad2ad
docs: update link to AstroUserConfig type definitions (#1961)
* docs: update link to AstroUserConfig type definitions

addresses https://github.com/snowpackjs/astro/issues/1960

* docs: update link to `@types/astro.ts` to refer to the `latest` branch.

22b73e652d changes the branch to `main`, this changes back to use `latest`.
2021-11-22 09:12:35 -07:00
github-actions[bot]
63df5fbf23
Version Packages (#1967)
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2021-11-22 10:27:46 -05:00
matthewp
17954a8634 [ci] yarn format 2021-11-22 13:48:32 +00:00
Nate Moore
aec4e8da27
fix: client:only behavior with a single renderer (#1959) 2021-11-22 08:47:26 -05:00
Nate Moore
8775730eb9
fix: avoid infinite loops in crawlCSS (#1956) 2021-11-22 08:47:14 -05:00
FredKSchott
902405f4a3 [ci] collect stats 2021-11-22 12:05:15 +00:00
Withered Flowers
1ec3f28b63
Patch: Example Nanostores Update (#1955)
* Mention astro.new in docs (#1935)

* Fix - Deprecated nanostores functions

createStore and getValue is deprecated in nanostores,
changed it to atom and atom.get()

* fix: change code to nanostores non-deprecated functions

Co-authored-by: Jonathan Neal <jonathantneal@hotmail.com>
2021-11-21 11:31:42 -06:00
FredKSchott
b92b8ae3ed [ci] collect stats 2021-11-21 12:05:12 +00:00
Tony Sullivan
72f6d192ce
Updating docs for automatic detection of export interface Props (#1945)
Co-authored-by: Tony Sullivan <tony.sullivan@hyperlab.se>
2021-11-20 10:53:31 -06:00
JuanM04
b8fb80dd2c
(docs) Fix config reference link (#1946) 2021-11-20 10:43:04 -06:00
FredKSchott
41244f47ca [ci] collect stats 2021-11-20 12:04:59 +00:00
tony-sull
76def418e1 [ci] yarn format 2021-11-20 09:18:46 +00:00
Stiaan Jacobs
8ca77e7237
Add migration guide for Tailwind CSS (#1940)
Added some proposed changes to help others migrate their Astro projects built with Tailwind CSS, over to the new version. This is what I had to do to get it to work :)
2021-11-20 10:17:58 +01:00
Fred K. Schott
37a20c9ad4 fix social og image 2021-11-19 16:13:38 -08:00
FredKSchott
41ada7a1a0 [ci] yarn format 2021-11-19 23:03:20 +00:00
Fred K. Schott
b35e049184
add more detail on "no jsx components" migration guide section 2021-11-19 15:02:24 -08:00
Ian VanSchooten
8d7abfcbc5
Clarify rules of define:vars (#1937)
This is an attempt to make it clear that the provided arg to `define:vars` must be an object, and that the values must be serializable.
2021-11-19 14:57:53 -08:00
Nate Moore
69d518dd8c
Update www for v0.21 (#1938)
* chore: update www for v0.21

* chore: update hero image

* chore: fix hero image
2021-11-19 15:27:59 -06:00
Fred K. Schott
9eb00b429a
Update index.astro (#1936) 2021-11-19 13:10:32 -08:00
Fred K. Schott
684f0fe7dd
Update astro-021-release.md 2021-11-19 13:09:17 -08:00
github-actions[bot]
b4818701fe
Version Packages (#1928)
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2021-11-19 13:01:50 -08:00
Fred K. Schott
e6aaeff50c
Summarize changesets for 0.21 release (#1934)
* summarize changsets

* exit prerelease mode

* add back missing readme

* add back missing lit renderer
2021-11-19 12:57:17 -08:00
Drew Powers
16fa615d34
Fix Svelte and Vue styles in dev (#1933) 2021-11-19 13:53:44 -07:00
jonathantneal
684367b7bf [ci] yarn format 2021-11-19 20:30:23 +00:00
Jonathan Neal
ebd4a8be3a
Docs codeblock fixes (#1931)
* Update astro & markdown code blocks for consistency

* Add 'JSX in Frontmatter' note to Migration Guide

* code block improvements
2021-11-19 15:29:27 -05:00
matthewp
16d972fe46 [ci] yarn format 2021-11-19 20:26:02 +00:00
Matthew Phillips
a0d4d99a9a
Allow links/images to be loaded from browser /src (#1932)
* Allow links/images to be loaded from browser /src

* Adds a changeset

* typo
2021-11-19 15:25:05 -05:00
Fred K. Schott
74624d9697
add indirect yarn deps (#1926) 2021-11-19 12:16:31 -08:00
Fred K. Schott
8fc48fb2a0
[blog] New 0.21 release post (#1899)
* v0.21 release post

* chore: update formatting

Co-authored-by: Nate Moore <nate@skypack.dev>
2021-11-19 12:16:17 -08:00
Drew Powers
f7b23d5cf1
Allow search params (#1927)
Fixes #1795
2021-11-19 12:57:24 -07:00
Jonathan Neal
1692675575
Doc improvements (#1929)
* Update astro & markdown code blocks for consistency

* Add 'JSX in Frontmatter' note to Migration Guide
2021-11-19 14:53:38 -05:00
natemoo-re
447d2efaff [ci] yarn format 2021-11-19 19:51:00 +00:00
Nate Moore
9bc914f7a0
feat: expose <Content /> component to Astro.fetchContent (#1924) 2021-11-19 13:49:50 -06:00
Nate Moore
abef02e516
Migrate www to new Markdown + Components format (#1925)
* chore: migrate `www` to new Markdown + Components format

* feat: expose `<Content />` component to `Astro.fetchContent`

* fix: Layout component bug

* chore: update all www posts
2021-11-19 13:49:03 -06:00
Fred K. Schott
e373a379a1
fix the preview command base URL (#1897) 2021-11-19 11:36:11 -08:00
Fred K. Schott
1acedb5ce8
Improve www blog page layout (#1898)
* wip

* Update Shell.astro to not introduce additional newlines

* fix recursive markdown in Note

Co-authored-by: Jonathan Neal <jonathantneal@hotmail.com>
2021-11-19 11:23:09 -08:00
github-actions[bot]
3f76849a0b
Version Packages (next) (#1923)
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2021-11-19 14:12:11 -05:00
Jonathan Neal
14d7031544
Fix RegExp#test in Config test (#1922) 2021-11-19 14:08:35 -05:00
Matthew Phillips
8733599e61
Add vite back as a dependency (#1921)
* Add vite back as a dep

* Adds a changeset
2021-11-19 14:07:45 -05:00
matthewp
eaf1c49f7b [ci] yarn format 2021-11-19 19:06:52 +00:00
Matthew Phillips
2e0c790b3a
Add polyfill scripts to result.scripts (#1920)
* Add polyfill scripts to result.scripts

* These scripts are bundled together now

* Adds changeset
2021-11-19 14:06:05 -05:00
Matthew Phillips
ae2cadd246 Remove escape in blog example post 2021-11-19 13:21:41 -05:00
Matthew Phillips
404ccece0b
Do not let Prettier bot mess wit the blog example (#1918) 2021-11-19 13:18:50 -05:00
matthewp
53cdd671bf [ci] yarn format 2021-11-19 18:10:50 +00:00