Commit graph

2002 commits

Author SHA1 Message Date
Matt Rossman
1267056181
Update Tailwind PostCSS config sample (#1980) 2021-11-22 16:26:30 -06:00
github-actions[bot]
fff00e45f0
Version Packages (#1972)
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2021-11-22 16:31:34 -05:00
Drew Powers
d3476f24d4
Add Sass tests (#1919) 2021-11-22 14:24:42 -07:00
matthewp
1304518b74 [ci] yarn format 2021-11-22 21:17:58 +00:00
Matthew Phillips
8cb779594e
Bring back building of non-hoisted scripts (#1977)
* Bring back building of non-hoisted scripts

Scripts inside of src/, whether hoisted are not should be built. This
makes that so. If not hoisted they do *not* get bundled together, but
rather are their own standalone modules. This matches 0.20 behavior.

Closes #1968

* Adds a changeset

* Fix windows breakage

* Debug windows

* More debugging

* make it not be parallel

* More windows

* Might fix it

* ARG

* Simpler test

* Remove the debugging
2021-11-22 16:17:01 -05:00
natemoo-re
c0ad06c470 [ci] yarn format 2021-11-22 21:02:28 +00:00
Elliott Marquez
ec01d1b43f
fix(lit-renderer): certain reactive props not init correctly (#1874)
* fix(lit-renderer): reactive props not init correctly

* test(renderer-lit): implement testing suggestiosn

* chore(renderer-lit): upload changeset

* fix(renderer-lit): call connCallback on server

* fix(renderer-lit): do not set reserved JSX props

* fix(renderer-lit): do not check for reserved attributes

Co-authored-by: Nate Moore <nate@skypack.dev>
2021-11-22 15:01:32 -06:00
natemoo-re
c22e4c69ec [ci] yarn format 2021-11-22 20:49:15 +00:00
JuanM04
679d4395ec
Markdown package improvements (#1954)
* Re-add smartypants

* Updated packages

* Remove all the default plugins if there are either remark or rehype plugins

* Replace deperecated remark-slug with rehype-slug

* Added MarkdownParserResponse type

* Update documentation

* Removed type import from markdown package

* Updated remark-smartypants

* Changelog

* Missed one change

* Split changelogs

* Upgraded some MDX dependencies

* Fix typos in documentation

* Changed CHANGELOG.md package name

* Renamed smartypants
2021-11-22 14:48:00 -06:00
Drew Powers
ce8f8e06c0
Clean up styling for framework-* examples (#1970) 2021-11-22 13:38:53 -07:00
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