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
Fred K. Schott
3a0dcbe9b1
Update stats.ts ( #1376 )
2021-09-15 08:53:26 -07:00
Jonathan Neal
98d785af1d
Expose slots to components ( #1368 )
...
* Expose slots to components via Astro.slots
* test: Add Astro.slots API tests
* docs: Document Astro.slots API
* docs: Duplicate Astro.slots documentation to other api-reference markdown
* Update proposal to use booleans, based upon RFC feedback
* update implementation & tests based on request
* changeset
2021-09-15 11:27:59 -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
Fred K. Schott
c25b836e07
update changesets
2021-09-14 17:04:47 -07:00
kelvinsjk
09b2f0e470
Fix passing Markdown content through props ( #1259 ) ( #1343 )
...
Co-authored-by: Kelvin Soh <kelvinsoh@pop-os.localdomain>
Co-authored-by: Fred K. Schott <fkschott@gmail.com>
2021-09-14 17:03:45 -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
(none)
d771dad669
Merge "Remove check for referenced files" ( #1196 )
...
Co-authored-by: Fred K. Schott <fkschott@gmail.com>
2021-09-14 16:47:54 -07:00
Drew Powers
97d37f8f49
Docs: Add READMEs for renderers ( #1351 )
...
* Add README stub for renderers
* Add renderer READMEs
2021-09-14 16:26:23 -07:00
Fred K. Schott
6f1e714962
Delete perfect-kids-occur.md ( #1372 )
2021-09-14 16:25:31 -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
Tc001
6b8630c641
Disclaimer for Github pages / jekyll quirk ( #1355 )
...
* Added GH pages disclaimer
* Added changeset
* Reworded disclaimer
* Correct GH Pages casing
* Update deploy.md
Co-authored-by: Fred K. Schott <fkschott@gmail.com>
2021-09-13 15:39:45 -07:00
Bartek Igielski
dd92871fd7
Prevent removing CSS preloads during bundling ( #1326 )
...
* Prevent removing nodes, becasue styles preloading was detected earlier
* Add separate deduping for preloads and cover it with tests.
* Create quiet-horses-turn.md
* Test merging preload tags
2021-09-10 11:17:17 -06: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
Caleb Jasik
00fd7ca4dc
Fix parsing of an empty literal <pre></pre>
in markdown source ( #1332 )
2021-09-07 15:22:23 -05:00
Mani Gandham
b668117c02
skip 404.html pages in sitemap generation ( #1304 )
...
* skip 404.html pages in sitemap generation
* update path check for 404
* add changeset
2021-09-03 14:18:52 -07: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
3b4bbdc98d
Format config errors for humans ( #1298 )
...
* format config errors
* fix bad root
2021-09-03 17:47:12 +00:00
Fred K. Schott
ac2c00e99b
fix astro esm-cjs entrypoint ( #1300 )
2021-09-03 17:46:36 +00:00
Caleb Jasik
7cb31c6e01
Import unified types as unified since there is no default export for 'unified'. ( #1296 )
2021-09-03 10:42:20 -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
Matthew Phillips
231964f084
Add interfaces for built-in components ( #1292 )
...
* Add interfaces for built-in components
* Adds a changeset
2021-09-01 15:49:01 -04:00
Mikkel Tønder
11a6f884be
create-astro: Format console logs and fix message about default renderers ( #1257 )
...
* create-astro: Format console logs and fix message about default renderers
Format the console log statements so the code is easier to read
Add a check to see if the renderers array is empty and only show the message about using the templates default renderers if it isn't
* Add changeset
2021-08-30 14:20:41 -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
Matthew Phillips
290f203279
Fix knownEntrypoint warning for Fix __astro_hoisted_scripts.js ( #1251 )
...
* Add new internal module to the knownEntrypoints
* Adds a changeset
2021-08-27 13:49:08 -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
Matthew Phillips
24dce41c4c
Add changeset for #1090 ( #1248 )
2021-08-27 10:44:25 -04:00
Jonathan Neal
5d2ea57841
Remove unused namespace redirection from the astro parser ( #1245 )
...
* nit: remove unused namespace checking from astro parser
* test: add tests for namespaced attributes, including one removed attribute
* add changeset
2021-08-27 10:43:58 -04:00
Matthew Phillips
788c769d78
Implementation of hoisted scripts ( #1178 )
...
* Implementation of hoisted scripts
* Use the facade id
* Adds docs on hoisted scripts
* Don't try to run rollup if there are no hoisted scripts
* Handle scripts possibly being undefined (client:only)
* Get rid of changes to the portfolio example
* Adds a changeset
* Remove a todo
* Fix lint errors
* Rename TransformResult property to hoistedScripts
* Move Hoisted Scripts docs to astro-components page
* Fixes lint errors
* Fix path join for windows
2021-08-27 10:12:27 -04: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
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
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
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
Mihkel Eidast
44fb8ebcc4
Fix linter errors and warnings ( #1218 )
...
* fix lint issues, enable lint in ci
* add changeset
2021-08-24 15:50:24 -04:00
Matthew Phillips
9482fadeb8
Fix resolution of Astro.resolve in nested components ( #1213 )
...
* Fix resolution of Astro.resolve in nested components
Components were previously tested, however nested folders were not.
* Adds a changeset
2021-08-24 13:38:07 -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
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
Fred K. Schott
166c9ed6bd
fix issue with multiple getStaticPaths calls during build ( #1194 )
2021-08-23 15:44:49 -04:00
Fred K. Schott
c06da5dd78
Add trailingSlash & pageDirectoryUrl config options ( #1197 )
2021-08-23 12:05:01 -07:00
Fred K. Schott
3e605d7ee9
add changset for 29b7e746e6
2021-08-20 11:06:32 -07:00
Tony Sullivan
1e0e2f41cd
including the language-
class on Prism's <pre>
element ( #1180 )
...
* including the `language-` class on Prism's `<pre>` element
* adding changeset
Co-authored-by: Tony Sullivan <tony.f.sullivan@gmail.com>
2021-08-20 11:01:42 -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
Caleb Jasik
a421329f8f
changeset: markdown-support (fix the left-brace issue) ( #1170 )
2021-08-19 17:55:02 -06:00
Drew Powers
ece0953aed
Fix :global() scoping ( #1162 )
...
* Fix :global() scoping
#1155
* Improve :global() scoping rules further
2021-08-18 20:46:47 -06:00