Nate Moore
2671b6f9cc
Skip scoped astro-*
class if Astro component has no <style>
( #497 )
...
* feat(#472 ): do not inject `astro-xxx` class for components without styles
* test: add test for skipped scoped classes
* chore: add changeset
* Update happy-cougars-scream.md
2021-06-18 19:56:14 -05:00
Caleb Jasik
ff7ec2fc02
Add @types/prettier to astro-prettier-plugin ( #487 )
2021-06-17 16:10:15 -05:00
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
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
Drew Powers
7f8d5869c3
Fix parser error on forward slash ( #469 )
...
Fixes #407
2021-06-16 13:26:38 -06: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
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
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
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
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
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
Fred K. Schott
1437b42038
fix some example docs site issues ( #434 )
2021-06-14 15:45:33 -04: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
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
Matthew Phillips
42dee7978d
Adds a changeset for doctype change ( #424 )
2021-06-14 12:10:09 -04:00
github-actions[bot]
0ef0c99b10
Version Packages ( #418 )
...
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2021-06-14 08:43:03 -04:00
Fred K. Schott
ab2972be83
add engines for esm support ( #415 )
2021-06-14 08:20:14 -04:00
github-actions[bot]
416e8484b5
Version Packages ( #402 )
...
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2021-06-12 11:36:31 -07:00
Drew Powers
c374a549b5
Allow createCollection() to fetch remote data ( #400 )
...
* Allow createCollection() to fetch remote data
Fixes #378
* Update docs
* revert isomorphic-fetch, see if ci passes
Co-authored-by: Fred K. Schott <fkschott@gmail.com>
2021-06-11 18:31:36 -07:00
github-actions[bot]
e7eab4e9d9
Version Packages ( #386 )
...
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2021-06-11 16:24:07 -04:00
Drew Powers
61b5590b95
Pass Astro site
to snowpack baseUrl
( #384 )
2021-06-11 10:57:32 -06:00
github-actions[bot]
6eacdbae42
Version Packages ( #381 )
...
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2021-06-11 09:15:16 -04:00
Matthew Phillips
1bab906539
Remove second snowpack instance ( #368 )
...
* Remove second snowpack instance
* Document import.meta.env.SSR
* Remove unnecessary Promise.all
2021-06-11 09:03:22 -04:00
Matthew Phillips
ce9336115e
Document the minimum node version ( #379 )
...
* Document the minimum node version
* Adds the changeset
2021-06-11 09:03:06 -04:00
Kevin (Kun) "Kassimo" Qian
5fbc1cb641
nit: ask user to modify devOptions.port when addr in use for dev ( #347 )
...
* nit: ask user to modify devOptions.port when addr in use for dev
* unnecessary import of red
* changeset
2021-06-09 16:48:25 -04:00
github-actions[bot]
3c71fad17d
Version Packages ( #337 )
...
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2021-06-08 13:56:29 -04:00
Fred K. Schott
5cda571999
watch files during development both frontend and backend ( #336 )
2021-06-08 10:54:10 -07:00
github-actions[bot]
8dd3f106ca
Version Packages ( #335 )
...
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2021-06-08 12:58:50 -04:00
Fred K. Schott
d6a7349e74
fix create-astro template issue ( #334 )
2021-06-08 12:56:37 -04:00
github-actions[bot]
955be013b2
Version Packages ( #331 )
...
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2021-06-08 11:23:33 -04:00
Fred K. Schott
6bca7c83a7
redesign create-astro ( #301 )
...
* redesign create astro
* add changeset
* Use npm start
* Update the astro version
* Adds the changeset
Co-authored-by: Fred Schott <fks@Freds-MBP.attlocal.net>
Co-authored-by: Matthew Phillips <matthew@skypack.dev>
2021-06-08 11:10:56 -04:00
github-actions[bot]
6018769c5c
Version Packages ( #330 )
...
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2021-06-08 09:46:48 -04:00
Matthew Phillips
21b0c73a2a
Remove warnings coming from snowpack ( #329 )
...
* Remove warnings coming from snowpack
This removes a few warnings coming from snowpack that we can't really do anything about.
* Adds changeset
2021-06-08 09:45:15 -04:00
github-actions[bot]
68f6e2c5a3
Version Packages ( #328 )
...
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2021-06-08 09:19:24 -04:00
Matthew Phillips
f66fd1f737
Remove __astro_component from knownEntrypoints ( #327 )
...
* Remove __astro_component from knownEntrypoints
* Adds a default site. Otherwise the build throws
* Adds the changeset
2021-06-08 09:17:05 -04:00
github-actions[bot]
2db08436e6
Version Packages ( #325 )
...
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2021-06-08 09:00:07 -04:00
Matthew Phillips
5a871f357f
Set the default log level to info ( #326 )
...
* Set the default log level to info
* Adds the changeset
* Let the logger.js be the source of truth
2021-06-08 08:58:33 -04:00
Fred K. Schott
f4a747fb1f
snowpack.dev build output cleanup ( #324 )
...
* cleanup grabbag
* add changeset
* Skip the flakey logging test
Co-authored-by: Matthew Phillips <matthew@skypack.dev>
2021-06-08 08:33:15 -04:00