Commit graph

546 commits

Author SHA1 Message Date
Dany Castillo
6573bea8d4
Fix README header aspect ratio (#482)
* Fix README header aspect ratio

* add changeset

* bring back img and try responsive width and height

* Remove `width` and `height` attrs

Co-authored-by: Nate Moore <natemoo-re@users.noreply.github.com>
2021-06-17 11:10:49 -05:00
Caleb Jasik
02d175cd95
Update the shape of data provided by Astro.fetchContent("./*.md") (#479) 2021-06-16 17:39:47 -05:00
matthewp
eba4d81bf3 [ci] yarn format 2021-06-16 21:27:36 +00:00
github-actions[bot]
11eda869dc
Version Packages (#470)
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2021-06-16 17:26:15 -04:00
Matthew Phillips
233fbcd5c5
Fix race condition in build (#477)
* Fix race condition in build

* Add changeset
2021-06-16 17:24:25 -04:00
Brian Hinton
e711668556
Improvement/accessibility blog example (#475)
* improvements: updated heading tag order, removed repeat alt values, added aria-labels

* chore: added changeset
2021-06-16 17:19:23 -04:00
natemoo-re
5c01526731 [ci] yarn format 2021-06-16 21:16:31 +00:00
Nate Moore
03ebdc3387
feat(#455): improve error logging inside of expressions (#476) 2021-06-16 16:15:25 -05:00
Drew Powers
e7b2a6d8dd
Fix typo, clarify layout section (#474) 2021-06-16 14:12:16 -06:00
Drew Powers
52fc62d454
Fix syntax errors in styling docs (#471) 2021-06-16 13:53:09 -06:00
Drew Powers
7f8d5869c3
Fix parser error on forward slash (#469)
Fixes #407
2021-06-16 13:26:38 -06:00
natemoo-re
a0d94cb633 [ci] yarn format 2021-06-16 18:21:50 +00:00
Nate Moore
0dd278810e
Fix VS Code extension (#467)
* chore: astro-languageserver => @astrojs/language-server

* chore: astro-vscode => vscode

* chore: move devDeps to deps

* chore: bump language-server to 0.5.0-next.0

* chore: remove astro-docs

* chore: update changelog

* fix: expose `astro-ls` bin

* fix: vscode extension

* chore: update changelog
2021-06-16 13:20:29 -05:00
github-actions[bot]
382868abfc
Version Packages (#466)
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2021-06-16 14:12:05 -04:00
Caleb Jasik
f9f2da458d
Add repository remotes for all astro packages (#458)
* Add repository remotes for all astro packages

* Add repository.directory key instead of adding the path to repository.url

* Include changeset

* Add repository key to create-astro
2021-06-16 14:09:35 -04:00
matthewp
7fdb7ceca6 [ci] yarn format 2021-06-16 17:38:46 +00:00
Matthew Phillips
5601efa257
Prevent HMR client from being part of bundle (#464) 2021-06-16 13:37:29 -04:00
Brad Cornes
3ada25d7d9
Pass configured Tailwind config file to the tailwindcss plugin (#352)
* fix tailwind config filename

* pass configured config file to tailwindcss

* add changeset

* remove `tailwindConfig` from `CompileOptions` interface
2021-06-16 11:36:19 -06:00
github-actions[bot]
c0804fc8cd
Version Packages (#450)
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2021-06-16 08:41:21 -04:00
Matthew Phillips
2023a26725
Fix issue with proxy imports not reloading on change (#462)
Underlying issue fixed in Snowpack here: https://github.com/snowpackjs/snowpack/pull/3449
2021-06-16 08:35:09 -04:00
matthewp
aa0c4e37fa [ci] yarn format 2021-06-16 12:21:06 +00:00
Nikhil Mehta
dce6a6ce61
docs: fixed ascii based folder strucure in dev.md (#461) 2021-06-16 08:19:57 -04:00
Nurettin Kaya
251b0b5c06
Less verbose HMR script (#457)
* Less verbose HMR script

* push changeset
2021-06-16 08:17:06 -04:00
Drew Powers
54c291efa0
Handle script module resolution (#438)
Fixes #104
2021-06-15 15:06:29 -06:00
Drew Powers
272769d723
Improve asset resolution in Astro (#437)
* Improve asset resolution in Astro

Fixes #96

* Add docs, changeset

* Fix collection resolution
2021-06-15 14:53:16 -06:00
Nate Moore
0c39c27ef5
docs: update syntax docs (#449) 2021-06-15 14:32:32 -05:00
Jasper Nykänen
e3ab36f914
Fix typo (#441) 2021-06-15 14:29:01 -05:00
Drew Powers
d14bfdc6c6
Clarify docs suggesting that Astro may just randomly break your styles (#451) 2021-06-15 11:26:24 -06:00
Jeffrey Jose
2462ece7a6
Add .svelte to the tailwind config (#444)
Add .svelte files to tailwind config so that svelte components can use tailwind classes.
2021-06-15 12:51:42 -04:00
natemoo-re
266e447e01 [ci] yarn format 2021-06-15 16:34:46 +00:00
Nate Moore
490f2bebbc
Add <> fragment support for expressions (#433)
* feat: add support for `<>` and `</>` Fragments

* docs: explain Fragments

* test: add fragment test
2021-06-15 11:33:27 -05:00
github-actions[bot]
28c2d74dc3
Version Packages (#446)
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2021-06-15 08:25:29 -04:00
Matthew Phillips
9d4a40fccc Adding a changeset 2021-06-15 08:21:53 -04:00
FredKSchott
2ea15f4192 [ci] yarn format 2021-06-15 00:22:00 +00:00
Fred K. Schott
8399a4893e
new collections API docs (#416)
* new collections API docs

* docs updates

* Update docs/collections.md

Co-authored-by: Drew Powers <1369770+drwpow@users.noreply.github.com>

* Apply suggestions from code review

Co-authored-by: Drew Powers <1369770+drwpow@users.noreply.github.com>

* respond to code review

Co-authored-by: Drew Powers <1369770+drwpow@users.noreply.github.com>
2021-06-14 17:21:00 -07:00
matthewp
47e3ddc665 [ci] yarn format 2021-06-14 20:14:03 +00:00
github-actions[bot]
5222460719
Version Packages (#431)
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2021-06-14 16:12:55 -04:00
matthewp
ddd86f8ab2 [ci] yarn format 2021-06-14 20:11:42 +00:00
Matthew Phillips
016833a3bc
Honor user's hmr settings (#436)
* Honor user's hmr settings

This contains 2 fixes:

* If the user sets the hmrPort in their own snowpack config we use that port.
* If the user sets `window.HMR_WEBSOCKET_URL` we defer to that

* Adds the changeset
2021-06-14 16:10:29 -04:00
matthewp
b49ca27b06 [ci] yarn format 2021-06-14 19:47:05 +00:00
Fred K. Schott
528886b76a
rewrite part of the renderer docs (#432) 2021-06-14 15:45:50 -04:00
Fred K. Schott
1437b42038
fix some example docs site issues (#434) 2021-06-14 15:45:33 -04:00
matthewp
40720b2c1e [ci] yarn format 2021-06-14 18:18:59 +00:00
Matthew Phillips
73a43d9301
Prevent postcss from crashing when scoping class without a body (#430)
* Prevent postcss from crashing when scoping class without a body

For some reason postcss will keep running the plugin over and over on a class without a body if we modify the `selector` (this triggers it as being "dirty"). It doesn't do this for selectors with a body. But the fix was easy enough, only scope a rule once.

Closes #340

* Add a changeset
2021-06-14 14:17:56 -04:00
github-actions[bot]
3d3d4cfe0b
Version Packages (#428)
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2021-06-14 13:28:40 -04:00
Matthew Phillips
9f51e2d2f2 Add changeset for arrow function issue 2021-06-14 13:26:55 -04:00
Matthew Phillips
af03c90c2b
Fix usage of arrow functions as components (#426)
* Fix usage of arrow functions as components

This fixes the React and Preact component as arrow function use-case by checking for the prototype property (arrow functions don't)

* Check the prototype
2021-06-14 13:24:37 -04:00
github-actions[bot]
5602aabfe0
Version Packages (#425)
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2021-06-14 12:54:33 -04:00
Brad Cornes
e0989c696a
Fix scoped CSS selector when class contains a colon (#383)
* fix scoped selector when using escaped colon

* update scoped styles test

* add changeset

* update `scopeRule` test

* update `scopeRule` test

* update css minifier to account for windows-style line breaks
2021-06-14 10:36:33 -06:00
Matthew Phillips
2d854092a4
Serialize boolean attributes without a value (#422)
* Serialize boolean attributes without a value

Fixes #307

* Update the attrs test

* Adds a changeset

* Adds test that components receive booleans
2021-06-14 12:29:34 -04:00