summaryrefslogtreecommitdiff
AgeCommit message (Collapse)AuthorFilesLines
2021-07-01Adds a changeset for hydrationPolyfills supportGravatar Matthew Phillips 1-0/+18
2021-07-01Adds hydrationPolyfills config for renderers (#594)Gravatar Matthew Phillips 7-9/+31
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-01Version Packages (#593)Gravatar github-actions[bot] 20-25/+33
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2021-07-01update example readmes (#591)Gravatar Fred K. Schott 12-11/+94
* update example readmes * Update README.md
2021-07-01update example astro inline docs (#592)Gravatar Fred K. Schott 13-28/+82
2021-07-01Implements low-level custom element support (#587)Gravatar Matthew Phillips 34-1733/+2139
* 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-06-30Version Packages (#589)Gravatar github-actions[bot] 18-22/+23
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2021-06-30Adds a changeset for the `window` error message change.Gravatar Matthew Phillips 1-0/+5
2021-06-30Make it clear that Yarn 2 does support ESM when you disable Plug 'n Play (#584)Gravatar DawnOfMidnight 1-1/+1
2021-06-29Add test for React SSR + window (#581)Gravatar Drew Powers 4-1/+45
* Add test for React SSR + window * Add helpful error message on window undefined in SSR Fixes #551
2021-06-29Update ---bug_report.ymlGravatar Fred K. Schott 1-1/+1
2021-06-29Update ---feature-request.ymlGravatar Fred K. Schott 1-1/+1
2021-06-29Update ---feature-request.ymlGravatar Fred K. Schott 1-1/+1
2021-06-29Version Packages (#567)Gravatar github-actions[bot] 22-39/+26
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2021-06-29Remove outdated changesetGravatar Matthew Phillips 1-6/+0
2021-06-29Pass in scoped class name to child components (#579)Gravatar Matthew Phillips 5-3/+34
* 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-29Fix `<Markdown {content} />` closing parent tag (#575)Gravatar Nate Moore 6-2/+56
* test(#494): add failing test * chore: update with-markdown example * fix(#494): avoid early close with <Markdown content /> * chore: add changeset
2021-06-29fix: changeset (#580)Gravatar Nate Moore 1-1/+1
2021-06-29Merge branch 'docs-sync-1'Gravatar Fred K. Schott 50-1547/+1587
2021-06-29[ci] yarn formatGravatar natemoo-re 2-22/+28
2021-06-29Allow `.astro` files to `throw new Error()` (#572)Gravatar Nate Moore 7-7/+81
* 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-29Fix changesets action (#576)Gravatar Nate Moore 17-151/+238
* chore: move examples to `@example/`, normalize `package.json` * chore: update lockfile * chore: add empty changeset
2021-06-28[ci] yarn formatGravatar FredKSchott 1-12/+11
2021-06-28update the blog example (#565)Gravatar Fred K. Schott 43-62/+1197
2021-06-28Restructure examples (#568)Gravatar Nate Moore 89-121/+245
* 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-28Fix: Redundant acronym for ESM (#570)Gravatar Adam Ochayon 1-1/+1
2021-06-28bug: changed initialization order of the author (#563)Gravatar Brian Hinton 1-1/+2
2021-06-28[ci] yarn formatGravatar natemoo-re 1-7/+7
2021-06-28Split out specific framework examples (#559)Gravatar Austin Crim 26-2/+306
* 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[ci] yarn formatGravatar natemoo-re 1-1/+1
2021-06-28Fix collections regex (#557)Gravatar Tony @ Navillus 4-1/+44
* fix: :bug: Fixes bug #532 Matching for collection routes should look for exact filename matches * test: :white_check_mark: Adding test coverage to make sure collection routes are matched exactly * chore: Adding changeset
2021-06-27astro-docs syncGravatar Fred K. Schott 50-1547/+1587
2021-06-25Update ---bug_report.ymlGravatar Fred K. Schott 1-21/+10
2021-06-25Update README.md (#550)Gravatar Fred K. Schott 1-12/+12
2021-06-25prettier-plugin: Add a test for JSX embedded in an attribute. This test ↵Gravatar Caleb Jasik 4-2/+23
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-25Fix pokemon results typo in collections docs (#541)Gravatar Mike Sausa 0-0/+0
2021-06-25Update collections.md (#549)Gravatar Tony @ Navillus 1-3/+4
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-25Version Packages (#548)Gravatar github-actions[bot] 5-9/+10
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2021-06-25Upgrade postcss snowpack plugin (#547)Gravatar Matthew Phillips 4-6/+11
* Upgrade postcss snowpack plugin * Increase the startup time more * Add changeset
2021-06-25Version Packages (#543)Gravatar github-actions[bot] 26-107/+112
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2021-06-25Add changeset for react renderer change (#544)Gravatar Matthew Phillips 1-0/+5
2021-06-25Remove broken changeset (#542)Gravatar Matthew Phillips 2-12/+5
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[ci] yarn formatGravatar matthewp 1-1/+1
2021-06-25Fix code from bad merge (#540)Gravatar Matthew Phillips 3-6/+4
* 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-24Fix PostCSS support upstream in Snowpack (#538)Gravatar Drew Powers 3-10/+15
Fixes #481
2021-06-24[ci] yarn formatGravatar natemoo-re 3-7/+10
2021-06-24New Props API (#515)Gravatar Nate Moore 57-132/+275
* 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[ci] yarn formatGravatar natemoo-re 1-1/+1
2021-06-24Fix `{...spread}` props (#522)Gravatar Nate Moore 6-32/+107
* fix(#521): allow spread props * chore: add spread prop tests * fix: falsy expressions should only be skipped in 'Expression' case * fix: support primitives in expressions (objects, arrays)
2021-06-24[ci] yarn formatGravatar natemoo-re 5-41/+34