Matthew Phillips
8a47544480
Check in latest yarn.lock
2021-10-05 13:53:44 -04:00
Matthew Phillips
f0839c62df
Apply changes from #1387
2021-09-30 10:04:44 -04:00
Drew Powers
863bf58c46
Fix CI release on merge to next ( #1427 )
2021-09-30 10:04:44 -04:00
Drew Powers
7292c2eb04
Try mocha/chai test runners ( #1418 )
...
* Try mocha/chai test runners
* Disable failing smoke test for now
Will revert when next can build docs
* Enable mocha in parallel mode
* Remove warning
* Update docs
* Fix Windows bug
* Fix internal imports
* Fix styles
2021-09-30 10:04:44 -04:00
Nate Moore
36f06044ef
feat: update compiler ( #1421 )
2021-09-30 10:04:44 -04:00
Drew Powers
aa07cb4339
Use new renderers ( #1412 )
2021-09-30 10:04:44 -04:00
Drew Powers
800a701c16
Clean up astro deps ( #1411 )
2021-09-30 10:04:44 -04:00
Drew Powers
15bef35226
Fix npm install ( #1407 )
2021-09-30 10:04:43 -04:00
Drew Powers
8126686878
Improve testing suite
2021-09-30 10:04:42 -04:00
Fred K. Schott
3c1fcc237d
Fred fixes part 2
2021-09-30 10:04:12 -04:00
Nate Moore
5909f27b19
Add Markdown support
2021-09-30 10:03:40 -04:00
Drew Powers
3df506a219
Fix runtime, improve code frame
2021-09-30 10:03:40 -04:00
Drew Powers
95b3f254d8
Update compiler, improve tests
2021-09-30 10:03:40 -04:00
Drew Powers
d34dec859b
More test improvements
2021-09-30 10:03:39 -04:00
Nate Moore
f9c5f7ad3c
Update tests
2021-09-30 10:03:04 -04:00
Drew Powers
58b94197f7
Move Astro to Vite
2021-09-30 10:01:12 -04:00
Matthew Phillips
82672e5c47
Updated srcset checking ( #1462 )
...
* Updated srcset checking
Improved functionality of `srcset` checking as original failed when URL contained a comma ( `,` ).
Utilised function from [srcset-parse](https://github.com/molefrog/srcset-parse ) as couldn't find a way to integrate the package.
Added test to current assets test rather than create a separate one.
* Use srcset-parse
Co-authored-by: Coel May <82788995+coelmay@users.noreply.github.com>
2021-09-30 09:58:20 -04:00
Michael Stramel
806dcd8d8d
Update lit version to v2 ( #1445 )
...
* Update lit version to v2
* Create weak-sheep-clap.md
* Re-assign window.global to window to retain existing functionality
2021-09-28 14:59:28 -04:00
Fred K. Schott
291f2ef537
fix bad benchmark ( #1383 )
2021-09-16 13:06:43 -07:00
Caleb Jasik
9cf2df81db
Improve stats logging to use pretty-bytes
so that 20B doesn't get output as 0kB, which is accurate, but confusing ( #1329 )
2021-09-14 16:50:00 -07:00
Matthew Phillips
2f349cbabf
Add a new lockfile ( #1356 )
2021-09-13 11:11:35 -07:00
Fred K. Schott
dcf94bc352
update lockfile
2021-09-09 10:53:17 -07:00
Caleb Jasik
494f577089
Update yarn.lock
with @octokit dep updates\n\n --frozen-lockfile
was complaining that the lockfile needed updates.
2021-09-05 10:29:55 -05:00
Fred K. Schott
e282e8e4ac
Add new <Code> component, to succeed <Prism> ( #1208 )
...
* add code component
* Update packages/astro/components/Debug.astro
Co-authored-by: Caleb Jasik <calebjasik@jasik.xyz>
* Update packages/astro/components/Debug.astro
Co-authored-by: Caleb Jasik <calebjasik@jasik.xyz>
* fix format in debug component
* remove Debug changes
* add wrap support
* add props docs
* update default theme
Co-authored-by: Peter Singh <drgaud@hotmail.com>
Co-authored-by: Caleb Jasik <calebjasik@jasik.xyz>
2021-09-03 11:06:25 -07:00
Fred K. Schott
f14762bd12
wip ( #1284 )
2021-08-31 19:50:25 -07: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
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
Fred K. Schott
3ab89e04da
update deps
2021-08-23 14:47:18 -07: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
2fd004dcd9
Add a titleClosure
to the HeadSEO.astro
component ( #1140 )
...
* Testing out adding a `titleClosure` to the `HeadSEO.astro` component
I think the api needs a bit of improvement, but the basic idea is you can pass this in to a published astro component for specifying how you want it to format your title!
* Refactor to make it pretty
* Rename the `titleClosure()` prop to `formatTitle()` to be more clear
* Use title, with site title as the fallback (#1143 )
See og:title guidance (https://developers.facebook.com/docs/sharing/webmasters/ )
Co-authored-by: Jonathan Neal <jonathantneal@hotmail.com>
2021-08-23 15:08:20 -05:00
Fred K. Schott
348b252a51
exit prerelease mode
2021-08-18 09:09:27 -07:00
Oleg
537e348b3e
docs: fix select language in Safari ( #1127 ) ( #1128 )
...
* docs: fix select language in Safari (#1127 )
* docs: fix select language top position
* docs: fix select language position
2021-08-17 22:03:13 -07:00
Fred K. Schott
dcb97b0223
make routing fixes from discord feedback ( #1091 )
2021-08-12 01:35:28 -07:00
Nate Moore
86c47296b4
fix: language server
2021-08-11 15:35:32 -05:00
Bartek Igielski
1339d5e36b
Bump Vue version to latest stable ( #1075 )
...
* Bump Vue version to latest stable
* Create wild-suits-raise.md
2021-08-10 09:02:24 -04:00
Fred K. Schott
6ec7968d12
refactor bin entrypoint, add stackblitz support ( #1029 )
2021-08-05 11:24:36 -07:00
Bartek Igielski
a1491cc659
Fix Vue components nesting and add tests ( #924 )
...
* Allow @vue/server-renderer to be processed
* Bump @vue/server-renderer version
* Create twenty-coats-talk.md
* Bump Vue packages version to get ESM builds
* Add Vue components tests
* Create shaggy-pugs-raise.md
* Delete shaggy-pugs-raise.md
2021-07-30 08:33:31 -04:00
Fred K. Schott
6eeafac715
Add algolia-powered search bar to docs site ( #917 )
...
* add search bar
* replace cmd+k with slash hotkey
* update api key
* add localhost support for search
2021-07-29 13:31:41 -07:00
Caleb Jasik
72898e3cd6
Add yarn lint:a11y
to the docs project ( #804 )
2021-07-28 17:00:00 -04:00
Matthew Phillips
0d061265b2
Move the rest of the Markdown missing dependencies
2021-07-28 15:56:07 -04:00
Maksim Markelov
70f0a09d30
Add remark-slug ( #862 )
...
* Add remark-slug
* Add remark-slug in documentation
* Add changeset
2021-07-28 12:33:19 -04:00
Matthew Phillips
d1b0028b1a
Update dependencies for create-astro
2021-07-27 12:54:53 -04:00
Fred K. Schott
857e2a1fc3
remove tools from workspace to allow for publish
2021-07-24 15:56:19 -07:00
Fred K. Schott
d48db7f284
update deps ( #826 )
2021-07-22 15:29:32 -07:00
Fred K. Schott
e58a04e4ee
fix example astro versions
2021-07-22 08:56:38 -07: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
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
Fred K. Schott
56e945810c
fix doc dir for monorepo
2021-07-15 14:33:06 -04:00
Mihkel Eidast
fb8bf7ec43
select random ports if defaults are taken ( #695 )
...
* select random port if default ports are taken
* add changeset
2021-07-14 16:00:21 -05:00