Commit graph

125 commits

Author SHA1 Message Date
matthewp
b49ca27b06 [ci] yarn format 2021-06-14 19:47:05 +00:00
Fred K. Schott
1437b42038
fix some example docs site issues (#434) 2021-06-14 15:45:33 -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
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
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
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
duncanhealy
2d7abd3ab4
config: add snowpack workspace root to starter (#399) 2021-06-12 00:05:53 +01:00
Drew Powers
9d3cd49410
Improve templates test (#377) 2021-06-11 15:07:30 -06: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
matthewp
68c6bc7d76 [ci] yarn format 2021-06-11 19:56:31 +00:00
Laura Caroline
348d829e94
Fix/issue #385 (#392)
* Apply favicon to the docs template

* Fix Sidebar category headers aren't clickable

Fixes #385

* Improve Docs example documentation

* Fix Documentation List on getting started page
2021-06-11 15:55:13 -04: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
Drew Powers
a660e49f80
Add integration test for templates (#372) 2021-06-10 10:30:48 -06:00
Fred K. Schott
bad8b32df7 update discord link 2021-06-08 14:00:13 -07:00
Matthew Phillips
9ca9b4e69a
Give the blog template a default site (#338)
Not having this causes it to throw in the build
2021-06-08 14:13:13 -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
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
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
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
github-actions[bot]
9cf83338cd
Version Packages (#323)
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2021-06-07 17:28:26 -04:00
github-actions[bot]
d90f3fc540
Version Packages (#318)
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2021-06-07 16:52:22 -04:00
github-actions[bot]
15a5601591
Version Packages (#299)
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2021-06-05 10:23:45 -05:00
github-actions[bot]
c6d3456968
Version Packages (#298)
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2021-06-04 16:55:19 -04:00
github-actions[bot]
7b900d8673
Version Packages (#295)
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2021-06-04 14:28:14 -04:00
github-actions[bot]
6074771564
Version Packages (#291)
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2021-06-02 13:51:43 -04:00
github-actions[bot]
436a016408
Version Packages (#285)
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2021-06-02 12:49:05 -04:00
Nate Moore
94eac19888
Pre-release refactors (#289)
* refactor: expose `astro/components` as component entrypoint

* refactor: remove `extensions` from all configs

* test: fix snowpack tests

* docs: update config doc
2021-06-02 11:35:28 -05:00
Nate Moore
ffb6380c3f
Dynamic Markdown content (#273)
* wip: serverside render dynamic Markdown content

* docs: update Markdown.astro comments

* Use existing markdown infrastructure to render external MD

* Update Markdown docs

* Add a changeset

Co-authored-by: Matthew Phillips <matthew@skypack.dev>
2021-06-02 11:53:33 -04:00
Drew Powers
addd67d244
Change astroRoot to pages (#277)
#271
2021-06-01 09:57:12 -06:00
github-actions[bot]
44d0adc000
Version Packages (next) (#280)
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2021-05-29 08:32:29 -05:00
github-actions[bot]
092d201aee
Version Packages (next) (#227)
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2021-05-28 18:25:36 -05:00
Drew Powers
a0055bd985
Create astro fixes (#267)
* Remove create-astro from workspace

* Improve contrast ratio

* Swap blank template for blog template

* Remove counter components from blog template

* Use `latest` astro version
2021-05-28 10:06:22 -06:00
matthewp
c711681cb6 [ci] yarn format 2021-05-27 17:55:41 +00:00
Matthew Phillips
dd7cc798e0
Fix codeblocks in markdown components (#264)
* Fix codeblocks in markdown components

* Debugging

* More debugging

* remove extra debugging stuff
2021-05-27 13:54:38 -04:00
natemoo-re
a5782a37c8 [ci] yarn format 2021-05-27 14:17:27 +00:00
Nate Moore
5247a23cbe
Example: Docs template (#226)
* fix: markdown issues

* wip: add docs example

* example: update doc template

* chore: credit Steph for AvatarList

* chore: align footer to bottom viewport

* chore: feeback R1

* fix: font fallback in firefox

* fix merge conflicts

* fix: add default value to headers

* chore: fix doc example
2021-05-27 09:16:14 -05:00
Nate Moore
643c880f28
Renderer plugins (#231)
* refactor: pluggable renderers

* refactor: cache renderer per component

* docs: update comments on snowpack plugin `transform` method

* docs: add comments to renderer plugins

* refactor: convert components to Map

* fix: pass children through to astro __render

* refactor: move Components/ComponentInfo to shared types

* refactor: remove `gatherRuntimes` step, just scan output for imports

* refactor: update isComponentTag logic

* chore: move dependencies to renderers

* fix: cross-platform transform injection

* feat: defer renderer to react, fallback to preact

* fix: use double quotes in generated script

* test: fix failing children tests

* test: add workspaceRoot to all tests

* fix: pass props to renderer check

* chore: add test:core script back for convenience

* chore: remove unused external

* chore: rename renderers

* chore: add astring, estree-util-value-to-estree

* chore: render-component => __astro_component

* refactor: split hydrate logic to own file

* refactor: use `astro-fragment` rather than `div`

* chore: remove unused hooks

* chore: delete unused file

* chore: add changesets

* fix: Astro renderer should be async

* fix: remove <astro-fragment> for static content

* test: fix failing test

* chore: normalize config interface

* feat: allow renderers to inject a snowpackPlugin

* fix: resolve import URL before using dynamic import

* refactor: update renderers to use separate /server entrypoint

* refactor: update server renderer interface

* fix: get renderers working again

* test: debug failing test

* test: better debug

* test: better debug

* test: remove debug

* fix: support esm and cjs packages via "resolve"

* refactor: split hydrate functions into individual files

* fix: dependency resolution relative to projectRoot

* fix: @snowpack/plugin-postcss needs to be hoisted

* fix: do not test prettier-plugin-astro as it's not ready for primetime
2021-05-26 13:30:22 -05:00
Matthew Phillips
ac43faf85f Release 2021-05-24 16:32:10 -04:00
Matthew Phillips
2ff2533c9e
Fix markdown syntax issues (#234)
This fixes #233 among other things
2021-05-24 16:00:34 -04:00
Drew Powers
c9942c2878
Revert stylegen (#228) 2021-05-21 14:55:25 -06:00
Drew Powers
19e20f2c54
Add Tailwind support to Astro Dev Server (#222)
* Improve PostCSS and Tailwind support

* Update styling docs

* Changelog

* Fix test hanging
2021-05-21 14:02:19 -06:00
Drew Powers
d6cedac38e
Improve blog template (#217) 2021-05-17 17:45:41 -05:00
Nate Moore
512670bedd chore: release v0.10.0 2021-05-17 10:20:15 -05:00
Nate Moore
73bab5e385 chore: version packages 2021-05-17 09:40:51 -05:00
github-actions[bot]
971c58da4d
Version Packages (#213)
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2021-05-17 09:31:37 -05:00
natemoo-re
a2ae7018ca [ci] yarn format 2021-05-17 14:30:21 +00:00
Nate Moore
b3886c206f
Fix markdown issues (#208)
* Init fix/markdown

* Astro Markdown (#207)

* Add Astro Markdown to VSCode Extension

* Add Astro Markdown to Astro

* refactor: update astro-markdown example

* feat: remove embedded components from `.md` files

* fix: resolve `.md.astro` files at runtime

* chore: update markdown tests

* feat: add <Markdown> component

* chore: bump examples

* chore: update example

* fix: improve Markdown child handling

* feat: harden markdown support, add code fence support, add automatic dedenting

* chore: add weird markdown edge cases

* chore: update remote-markdown examples

* chore: add comment to Markdown.astro

* feat: improve markdown support (codefences, nested inside HTML)

* refactor: extract import specifier types to set

* refactor: conditionally import markdown renderer

* refactor: revert special-cased "astro/components"

* refactor: revert special-cased "astro/components"

* refactor: use astro/components/Markdown.astro

* refactor: remove `.md.astro` support in favor of Markdown component

* refactor: use regular .astro files

* refactor: remove unused code

* refactor: move Markdown inside Layout

* wip: markdown scoped styles

* feat: improve scoped styles in Markdown

* feat: micromark => remark ecosystem

* fix: markdown build

* fix: markdown build

* chore: add todo

* fix: collect headers text

* docs: add Markdown doc

* chore: add changeset

* docs: improve Markdown highlighting

* refactor: prefer Set

* refactor: exclude large unified deps

* docs: update markdown docs

Co-authored-by: Jonathan Neal <jonathantneal@hotmail.com>

* chore: remove extra markdown deps

* perf: optimize markdown

* fix: unified/rehype deps

* temp: fix markdown test

* test: add TODO comment

* fix: do not namespace frontmatter, just astro metadata

* test: fix astro-markdown test

* test: add realworld markdown example

* fix: prism language bug

* docs: update markdown docs

* chore: bump dependencies

* fix: escape codespan

* fix: unterminated string literal

* fix(vscode): inline dependencies

* fix(vscode): dependencies

* feat(vscode): embedded markdown

* feat: add Markdown syntax highlighting

* chore: improve markdown example

* fix: markdown example

* feat: highlighting improvements

* chore: add changeset

* fix: CodeBlock => CodeSpan

* chore: get astro-markdown example running

Co-authored-by: Jonathan Neal <jonathantneal@hotmail.com>
2021-05-17 09:29:16 -05:00
github-actions[bot]
a9f63c5c0c
Version Packages (#195)
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2021-05-13 12:28:04 -05:00