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
Matthew Phillips
4b89f4ed08
Allow Preact components to return an empty Fragment ( #599 )
2021-07-01 14:30:48 -05:00
Nate Moore
f83407e09a
Expose content.astro.html
to Astro.fetchContent
( #583 )
...
* feat: expose `content.astro.html` to Astro.fetchContent
* docs: add `astro.html` note to docs
2021-07-01 12:07:26 -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
Matthew Phillips
7b4c97c3c7
Adds a changeset for hydrationPolyfills support
2021-07-01 10:51:44 -04:00
Matthew Phillips
fd80381db2
Adds hydrationPolyfills config for renderers ( #594 )
...
Some renderers, such as Lit, need special polyfills only for hydration. We have the `polyfills` array, but that is intended for polyfills that always need to run. This adds a second type hydrationPolyfills that only run on elements that are `:load`, `:idle`, etc.
2021-07-01 10:42:56 -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
Matthew Phillips
6a660f1b08
Implements low-level custom element support ( #587 )
...
* Implements low-level custom element support
* Changes based on self review
* Adds a changeset
* Polyfills are added even when not hydrating
* Remove hydrationMethod option
Punting on this idea until it's really needed.
2021-07-01 08:42:07 -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
Matthew Phillips
17579c2c80
Adds a changeset for the window
error message change.
2021-06-30 10:00:25 -04:00
DawnOfMidnight
66d62fca37
Make it clear that Yarn 2 does support ESM when you disable Plug 'n Play ( #584 )
2021-06-30 09:57:32 -04:00
Drew Powers
d1785d80c3
Add test for React SSR + window ( #581 )
...
* Add test for React SSR + window
* Add helpful error message on window undefined in SSR
Fixes #551
2021-06-29 21:37:50 -04:00
Fred K. Schott
44355d4ca9
Update ---bug_report.yml
2021-06-29 17:07:52 -07:00
Fred K. Schott
91bcc2dd92
Update ---feature-request.yml
2021-06-29 17:07:39 -07:00
Fred K. Schott
e48c902e1c
Update ---feature-request.yml
2021-06-29 17:06:34 -07: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
Matthew Phillips
6e6e203715
Remove outdated changeset
2021-06-29 16:44:37 -04:00
Matthew Phillips
1e735bb331
Pass in scoped class name to child components ( #579 )
...
* Pass in scoped class name to child components
If a class is being passed into child components, pass in the scoped class name as well.
* Adds the changeset
2021-06-29 16:40:30 -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
8b4760c24f
fix: changeset ( #580 )
2021-06-29 15:31:29 -05:00
Fred K. Schott
9c7921300c
Merge branch 'docs-sync-1'
2021-06-29 13:12:27 -07:00
natemoo-re
4df98a79f8
[ci] yarn format
2021-06-29 16:38:55 +00:00
Nate Moore
e28d5cb9de
Allow .astro
files to throw new Error()
( #572 )
...
* fix(#526 ): enable `throwExpressions`
* chore: add test for throwing inside of `.astro`
* fix: improve build error handling
* chore: add test when throwing on `build`
* chore: fix changeset bot
* chore: add changeset
2021-06-29 11:37:36 -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
Adam Ochayon
13f50564cb
Fix: Redundant acronym for ESM ( #570 )
2021-06-28 08:08:56 -07: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
natemoo-re
436783d059
[ci] yarn format
2021-06-28 11:23:20 +00:00
Tony @ Navillus
aa8605761b
Fix collections regex ( #557 )
...
* fix: 🐛 Fixes bug #532
Matching for collection routes should look for exact filename matches
* test: ✅ Adding test coverage to make sure collection routes are matched exactly
* chore: Adding changeset
2021-06-28 06:22:15 -05:00
Fred K. Schott
279a252462
astro-docs sync
2021-06-27 23:30:57 -07:00
Fred K. Schott
11cf22999d
Update ---bug_report.yml
2021-06-25 21:37:03 -07:00
Fred K. Schott
7b21dc0063
Update README.md ( #550 )
2021-06-25 15:32:25 -07:00
Caleb Jasik
05d6fc66bb
prettier-plugin: Add a test for JSX embedded in an attribute. This test currently fails. ( #508 )
...
* Add a test for JSX embedded in an attribute. This test currently fails.
* Oops forgot the semicolons on the correct output
* Add `--scope prettier-plugin-astro` so that the prettier plugin is tested on default CI
* Replace `assert.equal` with `assert.fixture` to remain inline w/ main
* Update astro-prettier.test.js
* Skip the other failing test.
Co-authored-by: Fred K. Schott <fkschott@gmail.com>
2021-06-25 15:21:03 -07:00
Mike Sausa
8aca0fabaf
Fix pokemon results typo in collections docs ( #541 )
2021-06-25 15:19:50 -07:00
Tony @ Navillus
245632bc31
Update collections.md ( #549 )
...
Updating the Individual Pages from a Collection example to fix a few typos.
- The pokemon API returns an object with an array named `results` (plural)
- `data()` needs to wrap the object in an Array
- accessing item data needs to use `collection.data[0]` to grab data from the `data()` Array
2021-06-25 14:07:11 -07: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
Matthew Phillips
8865158f7f
Upgrade postcss snowpack plugin ( #547 )
...
* Upgrade postcss snowpack plugin
* Increase the startup time more
* Add changeset
2021-06-25 15:12:10 -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
Matthew Phillips
21dc28cb8e
Add changeset for react renderer change ( #544 )
2021-06-25 09:49:07 -04:00
Matthew Phillips
52bf970d6e
Remove broken changeset ( #542 )
...
This changeset has "mixed ignored and not ignored change", whatever this means. This is a changeset for examples, which we don't publish, so its unnecessary.
2021-06-25 09:38:46 -04:00
matthewp
7b3047f097
[ci] yarn format
2021-06-25 13:31:17 +00:00
Matthew Phillips
028d4e0114
Fix code from bad merge ( #540 )
...
* Fix code from bad merge
* Dont wrap the raw
* Wrap the expression in quotes
* remove react-dom just to test
* Add back react-dom as a known entrypoint
* Make startup time even longer
2021-06-25 09:29:57 -04:00
Drew Powers
56293499e8
Fix PostCSS support upstream in Snowpack ( #538 )
...
Fixes #481
2021-06-24 17:49:42 -05:00