github-actions[bot]
ad2962fdac
Version Packages ( #1377 )
...
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2021-09-15 12:36:26 -04:00
github-actions[bot]
3d9b665265
Version Packages ( #1358 )
...
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2021-09-14 17:22:50 -07:00
Matthew Phillips
b6a75494b1
Add types to examples and docs ( #1347 )
...
* Adds a changeset
* Add types to examples and docs
* Make changes based on review feedback
* Avoid using the variable named props
* Make path a const
2021-09-14 09:14:39 -04:00
github-actions[bot]
2847ff5382
Version Packages ( #1344 )
...
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2021-09-09 10:57:16 -07:00
Fred K. Schott
b03f877102
Revert "Version Packages ( #1303 )"
...
This reverts commit 1a88cfde7d
.
2021-09-09 10:53:52 -07:00
github-actions[bot]
1a88cfde7d
Version Packages ( #1303 )
...
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2021-09-09 10:41:31 -07:00
Fred K. Schott
9f06fb014b
cleanup docs changes
2021-09-06 01:31:10 -07:00
FredKSchott
b4d1c9bc64
[ci] yarn format
2021-09-06 08:25:23 +00:00
aFuzzyBear
d321d8366b
Adds examples page
2021-09-06 01:21:39 -07:00
kreako
02c38a0d3b
examples: Fix with-tailwindcss example #1256 ( #1312 )
2021-09-04 19:09:39 -05:00
Tushar Sadhwani
373e44d0a5
Comment out RSS call in example ( #1302 )
...
* Comment out RSS call in example
* Update [...page].astro
Co-authored-by: Fred K. Schott <fkschott@gmail.com>
2021-09-03 10:50:05 -07:00
github-actions[bot]
a923268da2
Version Packages ( #1271 )
...
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2021-09-01 15:58:14 -04:00
FredKSchott
e6766e2cd2
[ci] yarn format
2021-09-01 01:10:30 +00:00
Peter Singh
b22755d59e
Checked the astro configs for the templates, ( #1282 )
...
* Checked the astro configs for the templates,
* Update astro.config.mjs
* Update package.json
Co-authored-by: Fred K. Schott <fkschott@gmail.com>
2021-08-31 18:09:16 -07:00
github-actions[bot]
8d22e4eefe
Version Packages ( #1252 )
...
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2021-08-27 14:15:29 -04:00
Patrick Gotthardt
3ab3115fbe
Fixes #1249 ( #1250 )
...
Adjust the layout imports in all md files so that they can be resolved.
2021-08-27 13:19:12 -04:00
github-actions[bot]
3bb97ea328
Version Packages ( #1246 )
...
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2021-08-27 10:46:14 -04:00
Fred K. Schott
e0c39fb217
improve introduction page of example/docs
2021-08-26 15:18:45 -07:00
Fred K. Schott
9f2b1d6071
improve introduction page of example/docs
2021-08-26 15:10:25 -07:00
Fred K. Schott
db0934bb5a
improve introduction page of example/docs
2021-08-26 15:09:54 -07:00
Fred K. Schott
fdd701dd88
Merge branch 'okikio/main' ( #1111 )
2021-08-26 15:04:44 -07:00
Fred K. Schott
2e8db7ad23
add algolia and cleanup docs readme
2021-08-26 15:03:21 -07:00
github-actions[bot]
84c18d3030
Version Packages ( #1239 )
...
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2021-08-26 15:20:38 -04:00
Okiki
b7ada11ddb
WIP update examples/docs/
2021-08-26 12:15:33 -07:00
Fred K. Schott
ff92be637f
add "astro preview" command ( #1226 )
...
* add "astro preview" command
* Update green-buttons-reflect.md
* Update cli-reference.md
2021-08-26 12:08:52 -07:00
github-actions[bot]
c83d481733
Version Packages ( #1228 )
...
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2021-08-26 12:56:36 -04:00
FredKSchott
3c8698fb60
[ci] yarn format
2021-08-25 18:52:22 +00:00
Fred K. Schott
affcd04f0f
stop building, bundling, and transforming public/ files ( #1210 )
...
* stop bundling public/ files
* update www and examples
2021-08-25 11:51:04 -07:00
Robin Métral
397d8f3d84
Upgrade unified deps and improve unified plugins types ( #1200 )
...
* Upgrade @astrojs/markdown-support deps and update types
* Add changeset
* Update changeset
* Switch astro-markdown-plugins example to use rehype-autolink-headings
Usage of remark-autolink-headings is discouraged in favor of the rehype counterpart: https://github.com/remarkjs/remark-autolink-headings\#remark-autolink-headings
* Add stricter types for unified plugins
This includes a few suggestions from a code review:
- use vfile.toString instead of vfile.value.toString
- refactor plugins to follow unified best practices instead of returning functions that return a plugin
- use any instead of any[] for plugin options types
* Narrow down types to more specific hast or mdast typings
2021-08-25 08:17:45 -04:00
Marcus Otterström
3bfd8c125e
Fix CSS in docs example ( #1221 )
2021-08-24 16:41:42 -07:00
github-actions[bot]
a4a7685be1
Version Packages ( #1217 )
...
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2021-08-24 16:11:51 -04:00
github-actions[bot]
582220c8a1
Version Packages ( #1206 )
...
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2021-08-23 14:18:18 -07:00
FredKSchott
69272dc8d1
[ci] yarn format
2021-08-23 21:08:16 +00:00
Fred K. Schott
f9cd031033
Add zod schema validation ( #1198 )
...
* add zod schema validation
* update pageUrlFormat config name
* add trailing slash support to config
2021-08-23 14:07:03 -07:00
Caleb Jasik
efb41f22c3
Add Astro <Debug/>
component ( #675 )
...
* Initial MVP Debug component
* Document the prettifying of the input
* Just make `<Debug/>` a wrapper around `<Prism/>` lol
* feat: add details/summary debug component
* chore: remove Props (unused)
* fix: prefer `div` to semantic elements
* chore: format
* fix: prop-drill `class` into components
* fix: ensure `astro/components` are evaluated lazily
* feat(debug): export debug component from `astro/debug`
* fix: minimal example local snowpack config
* docs: add debugging docs
* chore: add changeset
* docs: update debug docs
Co-authored-by: Nate Moore <nate@skypack.dev>
2021-08-23 16:43:22 -04:00
github-actions[bot]
3963cef963
Version Packages ( #1181 )
...
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2021-08-23 15:59:55 -04:00
Sarah Rainsberger
8e6fb50fa1
CodeSandbox-izing via template override ( #1167 )
...
* initial commit
* Added to config to specify port and node version. I think this will be all that's needed.
2021-08-20 12:33:15 -07:00
github-actions[bot]
0c314791c4
Version Packages ( #1163 )
...
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2021-08-19 18:03:07 -06:00
Fred K. Schott
472c0e5ac7
walk-back examples/snowpack changes
2021-08-18 22:07:34 -07:00
Jonathan Neal
e66872125d
add dev script, switch documentation from advising start to dev script ( #1141 )
2021-08-18 22:07:08 -07:00
github-actions[bot]
986bed8ca4
Version Packages ( #1150 )
...
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2021-08-18 09:24:09 -07:00
Fred K. Schott
348b252a51
exit prerelease mode
2021-08-18 09:09:27 -07:00
github-actions[bot]
66a6c5b06f
Version Packages (next) ( #1129 )
...
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2021-08-17 22:34:47 -07:00
Fred K. Schott
1aa2f92bbc
make example favicons prefer non-dark mode
2021-08-17 22:33:42 -07:00
Fred K. Schott
5e0e276609
cleanup example favicons
2021-08-16 14:34:08 -07:00
Rafid Muhymin Wafi
b03f1f71b7
Adding favicon to examples ( #1084 )
2021-08-16 14:28:38 -07:00
jasikpark
bbb6867481
[ci] yarn format
2021-08-15 19:15:15 +00:00
Jonathan Neal
d68ac85e7f
Add minimal template ( #1090 )
2021-08-15 14:13:58 -05:00
FredKSchott
2347717dea
[ci] yarn format
2021-08-13 23:32:55 +00:00
Kaffee☕
57b0c170e8
change the typescript moduleResolution of all examples to "node" ( #1108 )
...
* Fixes many Errors related to typescript
Fix Svelte Component Errors importing Svelte standard functions using typescript see https://github.com/snowpackjs/astro/issues/403 .
Also fixes "ReferenceError: exports is not defined" see https://github.com/snowpackjs/astro/issues/969 .
* change typescript default moduleresolution in examples see #403
2021-08-13 16:31:44 -07:00
github-actions[bot]
43e17e59da
Version Packages (next) ( #1092 )
...
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2021-08-12 01:39:34 -07:00
github-actions[bot]
2b41db1531
Version Packages (next) ( #1089 )
...
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2021-08-11 16:30:24 -07:00
github-actions[bot]
10d6fa4bca
Version Packages (next) ( #1087 )
...
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2021-08-11 15:50:14 -07:00
Fred K. Schott
0f0cc2b9d8
Add file-based routing /w dynamic paths ( #1010 )
...
* wip: add file-based routing
* add pagination tests and nested pagination support
2021-08-11 15:04:09 -07:00
github-actions[bot]
b54c01bf66
Version Packages ( #1064 )
...
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2021-08-11 15:01:00 -07:00
Nate Moore
86c47296b4
fix: language server
2021-08-11 15:35:32 -05:00
Marcus Otterström
4f096cbe6c
Add CSS in example project: docs ( #1062 )
2021-08-08 17:10:26 -05:00
Jonathan Neal
71882300b0
Fix code examples that would fail if copy-pasted ( #1050 )
2021-08-07 23:38:38 -07:00
github-actions[bot]
3eb5a0f61f
Version Packages ( #1036 )
...
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2021-08-05 13:57:21 -07:00
Fred K. Schott
8cf0e65a8b
Revert "Version Packages ( #1011 )"
...
This reverts commit 7f14ea6e38
.
2021-08-05 13:54:23 -07:00
github-actions[bot]
7f14ea6e38
Version Packages ( #1011 )
...
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2021-08-05 13:42:36 -07:00
Jonathan Neal
c7aca2c9b2
Reduce meta viewport tag ( #1006 )
2021-08-04 08:30:58 -04:00
github-actions[bot]
ba70f5c937
Version Packages ( #1002 )
...
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2021-08-03 17:03:28 -04:00
github-actions[bot]
57b736211a
Version Packages ( #999 )
...
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2021-08-03 15:17:37 -04:00
github-actions[bot]
9cf7ca1029
Version Packages ( #951 )
...
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2021-08-03 10:49:20 -04:00
Maksim Markelov
8464a441f1
Fix portfolio example ( #987 )
2021-08-03 08:19:34 -04:00
Maciej Palmowski
01d72bc27a
Fixes throwing 404 ( #894 )
...
* Fixes throwing 404
* Update index.css
Co-authored-by: Fred K. Schott <fkschott@gmail.com>
2021-07-30 23:16:36 -07:00
Fred K. Schott
758f172708
fix styling URL link
2021-07-30 22:43:03 -07:00
Rubens de Melo
6300c88cac
fix styling guide ( #961 )
...
* fix styling guide
fix styling guide
* remove /docs
remove /docs
2021-07-30 22:39:59 -07:00
github-actions[bot]
001594faa0
Version Packages ( #940 )
...
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2021-07-30 10:19:00 -04:00
github-actions[bot]
3f167c13cc
Version Packages ( #923 )
...
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2021-07-28 16:03:39 -04:00
github-actions[bot]
5387b5256c
Version Packages ( #922 )
...
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2021-07-28 15:49:06 -04:00
github-actions[bot]
b4f7888be3
Version Packages ( #912 )
...
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2021-07-28 14:37:29 -04:00
github-actions[bot]
239c7b1668
Version Packages ( #887 )
...
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2021-07-27 16:10:47 -04:00
github-actions[bot]
509c69627b
Version Packages ( #882 )
...
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2021-07-27 12:41:42 -04:00
github-actions[bot]
0ed1817d7a
Version Packages (next) ( #865 )
...
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2021-07-27 09:27:02 -04:00
Rahul Sharma
80d7415807
Added undefined check for spread props ( #832 )
...
* husky setup added
* pre-commit script updated
* Revert "Feat/pre commit"
* spread issue fixed #522
* testcase added
* spread issue fixed #522
* testcase added
2021-07-27 08:56:46 -04:00
Michael Stramel
4591c1f5ad
Add an alt tag for the hero image in the blog example ( #868 )
...
* Add an alt tag for the hero image
* pass along
* Create heavy-pumas-cross.md
2021-07-27 08:48:14 -04:00
Fred K. Schott
60a2755c0a
some docs site polish ( #853 )
...
* some docs polish
* attempt to fix theme toggle
2021-07-26 13:41:32 -07:00
github-actions[bot]
31c24778aa
Version Packages (next) ( #859 )
...
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2021-07-26 11:19:41 -04:00
github-actions[bot]
b863c05ae6
Version Packages (next) ( #845 )
...
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2021-07-24 16:02:25 -07:00
Fred K. Schott
d05fa19dda
fix a bad change to example astro versions
2021-07-24 15:53:12 -07:00
FredKSchott
9b5f553ddd
[ci] yarn format
2021-07-24 15:47:31 +00:00
Lukas Murdock
d3b535a338
Remove components from example md file ( #831 )
2021-07-24 08:46:21 -07:00
Fred K. Schott
353bc89f65
fix next framework example versions
2021-07-22 21:43:31 -07:00
Fred K. Schott
d48db7f284
update deps ( #826 )
2021-07-22 15:29:32 -07:00
Fred K. Schott
b0c0b95a4e
fix example astro versions
2021-07-22 08:57:29 -07:00
Fred K. Schott
e58a04e4ee
fix example astro versions
2021-07-22 08:56:38 -07:00
github-actions[bot]
9af0d85e9e
Version Packages (next) ( #810 )
...
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2021-07-21 22:18:43 -05:00
Fred K. Schott
e31e276781
get build-all passing ( #795 )
2021-07-21 17:39:14 -07:00
github-actions[bot]
8f17217e02
Version Packages (next) ( #796 )
...
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2021-07-21 18:12:11 -05:00
natemoo-re
561cbee68f
[ci] yarn format
2021-07-21 23:11:40 +00:00
Nate Moore
bd18e14a2c
Expose JSX compilation to renderers ( #588 )
...
* feat: add support for `jsxImportSource`, new JSX transform
* Renderer: add Solid renderer (#667 )
* feat: add support for `jsxImportSource`, new JSX transform
* WIP: solid renderer
* [Renderer] Solid (#656 )
* feat: add support for `jsxImportSource`, new JSX transform
* WIP: solid renderer
* Solid renderer: fix SSR of children, hydration (top level)
Caveat: cannot hydrate children/descendants of hydrated parents
* Fix hydration of fragments
* fix: SyntaxError in React/Preact renderers
* fix: errors in React/Preact renderers
* feat: update react external
* chore: update examples
* chore: delete old changelog
* chore: update astro config
Co-authored-by: Nate Moore <nate@skypack.dev>
* Changing the preact to Solid (#669 )
* chore: use new client:visible syntax
* fix: dev script issue
* chore: cleanup SolidJS example
* docs: update framework example docs
* chore: cleanup framework-multiple example
* fix: remove SolidJS false-positives from Preact renderer
* chore: add changeset
Co-authored-by: eyelidlessness <eyelidlessness@users.noreply.github.com>
Co-authored-by: Abdullah Mzaien <s201540830@kfupm.edu.sa>
* feat(create-astro): add Solid support
* docs: add JSX options to renderer reference
* chore: add changeset for P/React renderers
* fix: move react/server.js to external
* chore: remove brewfile
* Revert "feat: add support for `jsxImportSource`, new JSX transform"
This reverts commit 077c4bfc135c58a85d4ebfca6012e90403694d8d.
* fix: remove `react-dom/server` from `external`
* chore: remove unused dependency
* feat: improve JSX error messages
* Revert "Revert "feat: add support for `jsxImportSource`, new JSX transform""
This reverts commit f6c2896b9ec6430611fc0abae7d586c42aca87e5.
* docs: update jsxImportSource
* feat: improve error message
* feat: improve error logging for JSX renderers
* tests: add jsx-runtime tests
* chore: update snowpack
Co-authored-by: eyelidlessness <eyelidlessness@users.noreply.github.com>
Co-authored-by: Abdullah Mzaien <s201540830@kfupm.edu.sa>
2021-07-21 18:10:03 -05:00
github-actions[bot]
ac64d198e4
Version Packages (next) ( #794 )
...
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2021-07-21 08:18:13 -07:00
Fred K. Schott
5f922221ba
Revert "Version Packages (next) ( #692 )"
...
This reverts commit 790bd89ead
.
2021-07-21 08:12:32 -07:00
github-actions[bot]
790bd89ead
Version Packages (next) ( #692 )
...
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2021-07-21 07:57:51 -07:00
Fred K. Schott
f67e8f5f55
New Collections API ( #703 )
...
* updated createCollection API
* Update examples/portfolio/src/pages/projects.astro
Co-authored-by: Caleb Jasik <calebjasik@jasik.xyz>
* Update docs/reference/api-reference.md
Co-authored-by: Caleb Jasik <calebjasik@jasik.xyz>
* fix(docs): collection doc typos (#758 )
* keep cleaning up docs and adding tests
Co-authored-by: Caleb Jasik <calebjasik@jasik.xyz>
Co-authored-by: Mark Pinero <markspinero@gmail.com>
2021-07-21 07:11:57 -07:00
Kyosuke
5fcd466d95
replace npm run start
with npm start
( #791 )
2021-07-21 07:09:44 -07:00
Caleb Jasik
8eeb6b4fe8
Docs: npm@7 requires an extra --
for arguments passed to the command, per @natemoo-re's description. ( #786 )
2021-07-20 20:06:11 -05:00
FredKSchott
50f82e1a53
[ci] yarn format
2021-07-20 04:07:49 +00:00
Fred K. Schott
a7e66666e4
tsconfig fix ( #752 )
2021-07-19 18:23:39 -07:00
Nate Moore
325e8cba2d
Improve docs theme ( #717 )
...
* Revert "Revert "New getting started guide (#715 )""
This reverts commit dc4ba25b01
.
* style: update docs theme
* style: implement feedback
* feat: remove FOUC
* Update docs/src/pages/404.astro
Co-authored-by: Caleb Jasik <calebjasik@jasik.xyz>
* Fix 404 title prop
* chore: implement feedback
* fix: ul, ol styles
* fix: center logo on mobile
* fix: improve navbar header contrast
* fix: improve logo overlap
* fix: `.nav-link` radius
* fix: small mobile tweaks
* feat: improve nav styles
* feat: improve embed styles
* fix: feedback items
* fix: make header sticky on mobile
Co-authored-by: Caleb Jasik <calebjasik@jasik.xyz>
2021-07-19 19:36:09 -05:00
Mats
f33c775b93
changed init example to correct template name ( #744 )
...
The correct template name is "with-tailwindcss"
2021-07-18 17:24:21 -05:00
Guilherme Siquinelli
35f7b474a1
fix: fixes prop href of author component in example blog, was url ( #734 )
2021-07-18 00:54:31 -05:00
Caleb Jasik
304e1c65e6
Fix githubEditUrl variable in examples/docs
2021-07-16 17:54:50 -05:00
Fred K. Schott
ea27663f92
New getting started guide
2021-07-16 13:39:59 -04:00
Fred K. Schott
dc4ba25b01
Revert "New getting started guide ( #715 )"
...
This reverts commit 2827f077ba
.
2021-07-16 13:39:48 -04:00
Fred K. Schott
2827f077ba
New getting started guide ( #715 )
...
* New getting started guide
* style: small style tweaks
* style: theme updates
* chore: add redirect
* style: theme tweaks
* fix: clamp logo height
* style: fix sidebar width
Co-authored-by: Nate Moore <nate@skypack.dev>
2021-07-16 11:57:07 -05:00
Caleb Jasik
6d06fce6d2
Update docs in compiler messages ( #710 )
...
* `github.com/snowpackjs/astro/blob/main/docs/*.md` -> `docs.astro.build/*/`
* convert links to docs site links
* Fix broken links that didn't work w/ the regex.
* Add changeset
* Delete five-weeks-destroy.md
Co-authored-by: Fred K. Schott <fkschott@gmail.com>
2021-07-16 07:01:31 -04:00
github-actions[bot]
8e87d5da4c
Version Packages (next) ( #678 )
...
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2021-07-13 11:21:58 -04:00
Fred K. Schott
783db7b3a0
Merge branch 'improve-lighthouse'
2021-07-13 11:04:27 -04:00
Fred K. Schott
4b1f5c3dc6
code review comments
2021-07-13 10:57:40 -04:00
github-actions[bot]
a22a601e9f
Version Packages (next) ( #663 )
...
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2021-07-13 08:31:28 -04:00
matthewp
59f6792b00
[ci] yarn format
2021-07-13 12:28:50 +00:00
Matthew Phillips
48851c9d25
Adds support for a Lit renderer ( #665 )
...
* Adds support for a Lit renderer
This adds `@astrojs/renderer-lit`. An experimental Lit renderer.
* Removed cached submodule, mistake
* Prevent globals clobbering
* Add docs on globals
2021-07-13 08:27:40 -04:00
Shreesh Bhat
3f14bed413
Add lang attribute to html tags
2021-07-13 00:49:13 -04:00
github-actions[bot]
23dcc649fe
Version Packages ( #646 )
...
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2021-07-12 11:19:29 -04:00
outcastgeek
c48acb3d84
Missing firstPage
( #658 )
2021-07-11 14:05:19 -05:00
github-actions[bot]
e70d9508d9
Version Packages ( #639 )
...
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2021-07-09 09:32:15 -04:00
github-actions[bot]
b2428b3999
Version Packages ( #632 )
...
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2021-07-08 14:14:55 -04:00
Tony Sullivan
0a7b6deaec
Move hydration directives to special attributes ( #618 )
...
* feat: ♻️ updating hydration to work with the directive syntax
* test: ✅ Updating tests for the hydration directive syntax
* refactor: Updating example projects for the hydration directive syntax
* test: ✅ Found a test fixture still needing an update to the hydration directive syntax
* style: Prettier strikes again! Reverting code formatting changes
* refactor: ♻️ moving directive matching to a Set
* refactor: Updating syntax to `client:load`
* refactor: ♻️ Simplifying the `client:` directive match
Per PR feedback from @matthewp
* chore: errant console.warn() snuck into the last commit
* feat: 🔊 Adding a super fancy build warning to update to the directive syntax
* refactor: ♻️ Removing unnecessary checks when matching supported hydration directives
`val` isn't being used for now, but leaving it in the attr destructuring as a reminder since it'll be needed for `client:media`
* test: ✅ Including the original hydration syntax in a test to make sure it builds
* style: 📝 Adding a comment to make it clear why the old hydration syntax is included in a the test markup
* fix: 🐛 updating `head` logic to recognize hydration directive syntax
* docs: Adding changeset
* refactor: 🔥 Removing unnecessary `!hasComponents` check
* docs: 📝 Adding more detail to the changset
Co-authored-by: Tony Sullivan <tony.f.sullivan@gmail.com>
2021-07-08 14:07:56 -04:00
Jim Nielsen
f841d57d2a
fix: sorting key for blog posts ( #629 )
...
The posts use a `publishDate` key, not a `date` key, so this wasn't sorting on anything.
2021-07-08 10:55:23 -05:00
github-actions[bot]
2d1998647c
Version Packages ( #626 )
...
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2021-07-07 20:34:17 -04:00
github-actions[bot]
97d5a2ba18
Version Packages ( #622 )
...
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2021-07-07 16:36:13 -05:00
Nate Moore
bcf715df7a
chore: update starter with magic comments
2021-07-07 15:46:02 -05:00
Nate Moore
5d5d67c8f9
Add framework-specific prompt and setup to create-astro
( #620 )
...
* feat(create-astro): add framework-specific prompt and setup
* chore: normalize example `astro.config.mjs` files
2021-07-07 14:52:44 -05:00
github-actions[bot]
2ab625bee8
Version Packages ( #602 )
...
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2021-07-01 16:30:52 -04:00
github-actions[bot]
816797e350
Version Packages ( #597 )
...
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2021-07-01 15:06:18 -05:00
Pavel Mineev
d3969436dc
Remark and rehype plugins ( #562 )
...
* remark plugins
* remove unused dependency
* enable codeblocks
* backward compatibility with remark-code-titles
* add support for rehype plugins
* add proper types for plugins
* fixes after review
- connect plugins by name
- make plugins configurable
- connect gfm and footnotes if no plugins provided from config
- add more plugins to example
* update and rename example
* add documentation for markdown plugins
* chore: rename with-markdown-plugins example
* chore: restructure dependencies
* feat: add back smartypants, fix mdx expressions
* chore: remove log
* test: add markdown plugin tests
* chore: add changeset
* docs: update markdown doc
Co-authored-by: Nate Moore <nate@skypack.dev>
2021-07-01 11:55:22 -05:00
github-actions[bot]
e773771b91
Version Packages ( #596 )
...
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2021-07-01 10:57:09 -04:00
github-actions[bot]
0de30ef01a
Version Packages ( #593 )
...
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2021-07-01 08:45:35 -04:00
Fred K. Schott
67ef02534f
update example readmes ( #591 )
...
* update example readmes
* Update README.md
2021-07-01 08:43:25 -04:00
Fred K. Schott
8f74b3bdbb
update example astro inline docs ( #592 )
2021-07-01 08:43:02 -04:00
github-actions[bot]
81ea010906
Version Packages ( #589 )
...
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2021-06-30 10:03:52 -04:00
github-actions[bot]
e4fe7c0d02
Version Packages ( #567 )
...
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2021-06-29 16:46:41 -04:00
Nate Moore
f721275f33
Fix <Markdown {content} />
closing parent tag ( #575 )
...
* test(#494 ): add failing test
* chore: update with-markdown example
* fix(#494 ): avoid early close with <Markdown content />
* chore: add changeset
2021-06-29 15:33:56 -05:00
Nate Moore
42a6ceb587
Fix changesets action ( #576 )
...
* chore: move examples to `@example/`, normalize `package.json`
* chore: update lockfile
* chore: add empty changeset
2021-06-29 11:05:33 -05:00
FredKSchott
b580f5a592
[ci] yarn format
2021-06-28 22:30:35 +00:00
Fred K. Schott
5591d4eb9f
update the blog example ( #565 )
2021-06-28 15:29:16 -07:00
Nate Moore
7063c04dec
Restructure examples ( #568 )
...
* rename kitchen sink, pull out react example
* split out the rest of the examples
* align versions
* chore: rename examples
* chore: normalize gitignore
* chore: update package versions
* chore: move framework examples to `framework` namespace
* docs: add README to examples
Co-authored-by: Austin Crim <crim.austin@principal.com>
2021-06-28 10:46:10 -05:00
Brian Hinton
0c6edf1fe0
bug: changed initialization order of the author ( #563 )
2021-06-28 07:23:18 -05:00
natemoo-re
3c4e6c5913
[ci] yarn format
2021-06-28 12:04:07 +00:00
Austin Crim
3c26035f53
Split out specific framework examples ( #559 )
...
* rename kitchen sink, pull out react example
* split out the rest of the examples
* align versions
Co-authored-by: Austin Crim <crim.austin@principal.com>
2021-06-28 07:02:59 -05:00
github-actions[bot]
f3e005de6f
Version Packages ( #548 )
...
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2021-06-25 15:14:04 -04:00
github-actions[bot]
91e11aee2a
Version Packages ( #543 )
...
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2021-06-25 09:51:28 -04:00
Nate Moore
a136c85e6b
New Props API ( #515 )
...
* wip: update props api
* feat(#139 , #309 ): enable new props api
* chore: migrate examples to new props API
* docs: update syntax guide for new props API
* chore: update examples to new props API
* chore: update docs to new Props API
* fix: hide __astroInternal from `Astro.props` consumers
* chore: remove scratchpad file
* chore: fix script error
* test: fix failing collection tests
* fix: set __astroInternal to `enumerable: false`
* chore: add changeset
* feat: warn users using old props api
2021-06-24 17:48:24 -05:00
natemoo-re
02ecaf3d33
[ci] yarn format
2021-06-24 22:40:29 +00:00
Agustin Mulet
81c01d121f
Added example of Astro usage with nanostores ( #539 )
...
* Adding astro-nanostores example
* Changed package name and removed lock file
2021-06-24 17:39:17 -05:00
duncanhealy
a89a52b1cd
force pnpm to hoist packages inside astro #342 #190 ( #530 )
...
* force pnpm to hoist packages inside astro #342 #190
* Add changeset for hoisted packages #342
2021-06-24 09:48:25 -04:00
github-actions[bot]
537f11c511
Version Packages ( #517 )
...
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2021-06-23 16:37:48 -04:00
github-actions[bot]
16724f93e3
Version Packages ( #513 )
...
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2021-06-22 15:01:33 -04:00
github-actions[bot]
8b69c2d406
Version Packages ( #484 )
...
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2021-06-21 15:38:41 -04:00
Laura Caroline
1f6fe888db
Fix sidebar scrolling docs ( #499 )
...
* Allow scrolling for side bar + scroll bar styling
* Add tentative of styling for firefox
2021-06-21 08:45:11 -04:00
Laura Caroline
348babc660
Fix horizontal scroll for starter template. ( #498 )
2021-06-18 16:51:47 -07:00
Kitto Khrangtong
24b360cb17
fix: keyboard unable to target theme switcher ( #488 )
2021-06-17 16:05:22 -04: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
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
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
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
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
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
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
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
Drew Powers
7184149514
Add Astro.request.canonicalURL and Astro.site to global ( #199 )
2021-05-11 17:31:52 -06:00
Drew Powers
d2eb413a6e
Fix portfolio example ( #196 )
2021-05-11 10:40:04 -06:00
Drew Powers
820012ea16
Improve Snowpack docs styling ( #180 )
2021-05-07 10:38:38 -06:00
Drew Powers
b81abd5b2c
Add CSS bundling ( #172 )
...
* Add CSS bundling
* Add Changeset
* Update build script
* Count better
* Fix stats
* Cleanup
* Add test
* Show profile ms under 750ms
2021-05-06 10:38:53 -06:00
Nate Moore
9ed19317c6
chore: version packages
2021-05-04 17:16:23 -05:00
Nate Moore
3ad0aac8cf
Fix fetchContent
for nested files ( #171 )
...
* fix: fetchContent within nested folders
* feat: add `sourceId` to fetchContent
* test: update collection tests
* fix: windows compat for importPath
* chore: add changeset
* fix: astroRoot => projectRoot
* feat: add `slash` package
* chore: remove sourceId prop
* chore: update changeset
* format
2021-05-04 17:11:05 -05:00
Nate Moore
ac0bc88ae9
chore: version packages
2021-05-04 12:20:50 -05:00
Drew Powers
94038d3297
Format ( #167 )
2021-05-03 12:26:10 -06:00
Nate Moore
ed631329e7
create-astro
UI (#164 )
...
* refactor: improve create-astro layout, build script
* feat(create-astro): v0.1.0
* docs(create-astro): add README
* feat(create-astro): add meta files to starter templates
2021-05-03 12:15:13 -05:00
Nate Moore
4df1347156
Migrate to yarn
monorepo ( #157 )
...
* chore: use monorepo
* chore: scaffold astro-scripts
* chore: move tests inside packages/astro
* chore: refactor tests, add scripts
* chore: move parser to own module
* chore: move runtime to packages/astro
* fix: move parser to own package
* test: fix prettier-plugin-astro tests
* fix: tests
* chore: update package-lock
* chore: add changesets
* fix: cleanup examples
* fix: starter example
* chore: update changeset config
* chore: update changeset config
* chore: setup changeset release workflow
* chore: bump lockfiles
* chore: prism => astro-prism
* fix: tsc --emitDeclarationOnly
* chore: final cleanup, switch to yarn
* chore: add lerna
* chore: update workflows to yarn
* chore: update workflows
* chore: remove lint workflow
* chore: add astro-dev script
* chore: add symlinked README
2021-04-30 16:33:35 -05:00
Drew Powers
f39a91e6ec
Add portfolio example ( #140 )
...
* Add portfolio example
* Feedback
2021-04-30 10:35:20 -06:00
Nate Moore
509fad6b9a
Fix Svelte bundled behavior ( #151 )
...
* build: add svelte to dynamic component imports
* fix: svelte bundling
* fix: ensure svelte runtime is bundled with build
* fix: svelte runtime in dev mode
* fix: include svelte runtime in imports
Co-authored-by: Duncan Healy <duncan.healy@gmail.com>
2021-04-30 09:35:18 -05:00
duncanhealy
787ba306cc
example blog add buildoptions ( #142 )
...
* examples: add astroRoot to blog example
* example: add astro config for `npm run build` #141
2021-04-29 11:28:33 +01:00
Nate Moore
61ccd59f92
Minimal create-astro
CLI ( #136 )
...
* feat: add minimal create-astro CLI
* docs: update readme
2021-04-27 15:59:23 -05:00
Nate Moore
9c980a1017
add starter template ( #135 )
2021-04-27 14:21:33 -05:00
Nate Moore
dea1a6dfc9
Update defaults directory structure to src
and dist
( #132 )
...
* chore: update defaults in docs
* chore: update config defaults
* test: update tests to config defaults
* chore: update gitignore to new defaults
* docs: update readme to new defaults
* chore: update examples to new defaults
* chore: update default exclude in lang server
* chore: update tests
* test: fix failing tests
* chore: update www defaults
2021-04-26 15:54:20 -06:00
Matthew Phillips
0ea4a986e2
Support 500 pages in the dev server ( #131 )
...
* Support 500 pages
* Document custom 400/500 pages
* Remove search from any pages not the 500 page
* fix(kitchen-sink): add snowpack.config.js
* fix(examples): add snowpack.config.js
* style: redesign built-in 500 page
Co-authored-by: Nate Moore <nate@skypack.dev>
2021-04-26 16:42:11 -04:00
Nate Moore
87af0aead8
First Pass at LSP ( #129 )
...
* feat(lsp): add HTML features to LSP
* chore: add language server license
* feat(lsp): add folding ranges, scaffold TS features
* feat(lsp): TypeScript Language Service setup
* refactor(lsp): cleanup typescript completion providr
* chore: format
* chore: cleanup eslint
* fix: license
* chore: remove comment
* chore: add marketplace info
* chore: publish
2021-04-23 17:53:01 -05:00
Matthew Phillips
62ddea7bb7
Support the /404 route in the dev server ( #128 )
...
* Support the /404 route in the dev server
* Fix status code
* Formatting
2021-04-23 15:20:19 -04:00
Drew Powers
510e7920d2
Add RSS generation ( #123 )
2021-04-23 10:44:41 -06:00
Drew Powers
a7185735da
Add sitemap generation ( #120 )
...
* Add sitemap generation
* Update README
* Fix index handling, sort sitemap
* Add --no-sitemap CLI flag (and config option)
2021-04-21 14:14:24 -06:00
Nate Moore
54409a0702
Prettier support for .astro
files ( #106 )
...
* docs: fix readme
* chore: scaffold prettier plugin
* chore(prettier): switch to cjs
* test(prettier): scaffold prettier tests
* test(prettier): add simple prettier tests
* feat(prettier): first pass
* refactor: expose parser as CJS export
* test(prettier): add long expression
* refactor(prettier): use Astro parser + built-in prettier doc for prettier plugin
* chore: remove parser from git
* chore: add prettier-plugin-astro `build` to workflow
* chore: update package-lock
* chore: do not build prettier-plugin-astro
* fix: update engines
* chore: remove NPM restriction
* chore: fix workflow paths
* chore: update build script
* test: fix prettier expr test
* chore: fix parser build on windows
* refactor: add parser tsconfig, extending base config
* chore: relax ban-ts-comment
* chore: fix lint issue
Co-authored-by: Nate Moore <nate@skypack.dev>
2021-04-21 11:14:44 -05:00
Matthew Phillips
eb984559a8
Fix dynamic React components ( #111 )
...
Another change in snowpack@3 caused this bug. It's not actually a bug in snowpack. Previously snowpack was keeping its list of installed packages in a global cache. In 3.3 it stopped doing so. We were accidentally relying on that global cache to be able to resolve dynamic components.
This fixes it so that we use the frontend snowpack instance to resolve dynamic components. Doing so means they are available when we try to load them.
2021-04-19 14:41:06 -04:00
Matthew Phillips
58c499dc85
Pass mode into snowpack runtime ( #99 )
...
* Pass the `mode` through to snowpack
This allows the production packages to be prepared.
* Use snowpack 3.3.1
* Update path to prism loadComponents external ref
* Upgrade to snowpack 3.3.2
2021-04-16 13:15:27 -04:00
Nate Moore
22ca9e0aac
Support children inside of components ( #72 )
...
* chore(examples): add kitchen-sink
* feat: support children in rendered components
* feat: add support for rendering children in Svelte
* fix: cleanup p/react fragment children
* chore: add @ts-nocheck to svelte files
* chore: update lockfiles
* fix: types
* feat: memoize frontend/renderer/utils
* fix: disable eslint for compiled SvelteWrapper
* fix: add missing dep
Co-authored-by: Nate Moore <nate@skypack.dev>
2021-04-15 10:55:50 -05:00
Nate Moore
8472b374b3
New landing page ( #95 )
...
* feat: new www
* fix: add svg favicon
* fix: small tweaks
* fix: Drew's nitpicks
* fix: sizing, tagline
* copy: add "astronauts" :)
* fix: astro logo color
* fix: overflow
Co-authored-by: Nate Moore <nate@skypack.dev>
2021-04-14 18:01:51 -05:00
Drew Powers
ec75312a15
Improve Tailwind docs & Tailwind support ( #92 )
2021-04-14 10:36:00 -06:00
Drew Powers
3d0d53486c
Add Astro.fetchContent API ( #91 )
2021-04-13 18:08:32 -06:00
Drew Powers
3639190b4e
Renaming to import.meta.fetchContent ( #70 )
...
* Change to import.meta.glob()
Change of plans—maintain parity with Snowpack and Vite because our Collections API will use a different interface
* Get basic pagination working
* Get params working
* Rename to import.meta.fetchContent
* Upgrade to fdir
2021-04-12 17:21:29 -06:00
duncanhealy
687ff5bacd
chore fix lint reduce errors generated ( #83 )
...
* add dep domhandler imported in in src/build/static
* lint and jsDoc error
* move domhandler to devDep
* chore: add package lock
* escape string jsDoc
* chore: add astro dep in until prism import is refactored
* chore: add snowpack example package lock
2021-04-12 16:20:58 +01:00
Matthew Phillips
cffde0192b
Add back in astro as a dependency of the snowpack example ( #81 )
...
Removing the dependency breaks the site as using Markdown creates an import to a builtin Astro component. So we need astro as a dep. Not sure why it was changed anyways.
2021-04-12 08:26:59 -04:00
Fred K. Schott
4e7ae2075d
small size change
2021-04-10 13:02:07 -07:00
Fred K. Schott
d3f8efbf6e
cleanup landing page, and small fix
2021-04-10 13:00:50 -07:00
Fred K. Schott
1712f9edb6
add counter component
2021-04-10 12:35:25 -07:00
Matthew Phillips
72ae661e9e
Add support for syntax highlighting of code blocks ( #65 )
...
* Add support for syntax highlighting of code blocks
* Escape usage of backtick strings
* Add workspace root for snowpack
* Use prismjs/components as an external module
2021-04-08 15:17:00 -04:00
Drew Powers
2b346d7a4c
Blog Support 1/3: Data fetching ( #62 )
...
* Add example blog
* Add author data
* Improve navigation
* Style nav
* Add friendly error message
* Throw error if import glob used for non-Markdown files
* Use import.meta.collection() API instead
* README fixes
2021-04-06 15:54:55 -06:00