summaryrefslogtreecommitdiff
path: root/packages (follow)
AgeCommit message (Collapse)AuthorFilesLines
2021-07-01Adds hydrationPolyfills config for renderers (#594)Gravatar Matthew Phillips 6-9/+30
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] 4-3/+17
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2021-07-01Implements low-level custom element support (#587)Gravatar Matthew Phillips 30-88/+533
* 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] 2-1/+7
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
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-29Version Packages (#567)Gravatar github-actions[bot] 2-1/+10
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2021-06-29Pass in scoped class name to child components (#579)Gravatar Matthew Phillips 4-3/+29
* 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 3-2/+33
* test(#494): add failing test * chore: update with-markdown example * fix(#494): avoid early close with <Markdown content /> * chore: add changeset
2021-06-29Merge branch 'docs-sync-1'Gravatar Fred K. Schott 1-14/+10
2021-06-29[ci] yarn formatGravatar natemoo-re 2-22/+28
2021-06-29Allow `.astro` files to `throw new Error()` (#572)Gravatar Nate Moore 6-7/+76
* 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-28Fix: Redundant acronym for ESM (#570)Gravatar Adam Ochayon 1-1/+1
2021-06-28[ci] yarn formatGravatar natemoo-re 1-1/+1
2021-06-28Fix collections regex (#557)Gravatar Tony @ Navillus 3-1/+39
* 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 1-14/+10
2021-06-25Update README.md (#550)Gravatar Fred K. Schott 1-12/+12
2021-06-25Version Packages (#548)Gravatar github-actions[bot] 2-1/+7
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2021-06-25Upgrade postcss snowpack plugin (#547)Gravatar Matthew Phillips 2-2/+2
* Upgrade postcss snowpack plugin * Increase the startup time more * Add changeset
2021-06-25Version Packages (#543)Gravatar github-actions[bot] 6-5/+90
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
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 1-2/+2
Fixes #481
2021-06-24[ci] yarn formatGravatar natemoo-re 1-5/+9
2021-06-24New Props API (#515)Gravatar Nate Moore 20-60/+73
* 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 5-32/+101
* 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-24Removed unused console.warn trap function (#537)Gravatar Mats 2-13/+1
2021-06-24Always add the HMR script in dev (#536)Gravatar Matthew Phillips 4-8/+24
* Always add the HMR script in dev for livereload * Adds the changeset
2021-06-24Document pnpm and Yarn usage (#531)Gravatar Matthew Phillips 1-0/+12
* Document using Astro with pnpm * Document Yarn usage
2021-06-23Version Packages (#517)Gravatar github-actions[bot] 2-1/+8
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2021-06-23[ci] yarn formatGravatar matthewp 4-13/+6
2021-06-23Allow usage of node builtins through node: prefix (#520)Gravatar Matthew Phillips 13-2/+111
* Start of allowing node builtins issue * Allow use of node:builtin * Produce an error in Astro files with bare builtin usage * Upgrade snowpack version bug fixes for packages that use `node:` * Document node builtins * Use the provided builtins list
2021-06-23Update createCollection() to handle `pageSize: Infinity` (#516)Gravatar Tony @ Navillus 8-1/+119
* Fix pageSize calculation when Infinity is given * test grouping collection with pageSize: Infinity * test individual pages for collection items * Revert "update docs, remove reference to Inifinity" This reverts commit e8a976a543070bce4d661b5289e16d1097a593bc. * Adding changeset
2021-06-22Version Packages (#513)Gravatar github-actions[bot] 4-2/+14
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2021-06-22fix issues uncovered by snowpack warnings (#511)Gravatar Fred K. Schott 5-5/+9
* fix output issues uncovered by snowpack warnings * Update the snowpack version * Load Prism dep as the default * Rename srcRoot to src * Document the src option * Add the changeset Co-authored-by: Matthew Phillips <matthew@skypack.dev>
2021-06-22update small cli fixes (#512)Gravatar Fred K. Schott 1-2/+2
2021-06-21Update CHANGELOG.mdGravatar Fred K. Schott 1-0/+4
2021-06-21update changelog/package for rollbackGravatar Fred K. Schott 1-1/+1
2021-06-21Version Packages (#484)Gravatar github-actions[bot] 8-7/+39
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2021-06-21[ci] yarn formatGravatar matthewp 5-6/+6
2021-06-21Removes snowpack warning suppression (#504)Gravatar Matthew Phillips 7-21/+19
* Start of warnings * Provide knownEntrypoints by renderers This allows renderers to provide knownEntrypoints that will be forwarded to snowpack. This gets rid of renderer-specific warnings and allows us to remove the snowpack logging hacks we were doing. * Adds a changeset
2021-06-21[ci] yarn formatGravatar matthewp 5-55/+34
2021-06-21Allow the head element to be optional (#447)Gravatar Matthew Phillips 11-31/+273
* First take * Allow omitting head element This makes it possible to omit the head element but still inject the style and HMR script into the right place. * Add changeset * More progress on this * Only render if it's a page * Include fragments in compiled jsx * Adds a changeset
2021-06-21[ci] yarn formatGravatar matthewp 4-26/+14
2021-06-21Allow renderers configuration to update (#489)Gravatar Matthew Phillips 6-99/+219
* Start of dynamic renderers * Implementation
2021-06-19[ci] yarn formatGravatar natemoo-re 2-2/+2
2021-06-18Skip scoped `astro-*` class if Astro component has no `<style>` (#497)Gravatar Nate Moore 4-2/+20
* feat(#472): do not inject `astro-xxx` class for components without styles * test: add test for skipped scoped classes * chore: add changeset * Update happy-cougars-scream.md
2021-06-17fixes counting tags to be closed when a component can't be rendered (#490)Gravatar ewatch 1-0/+1
2021-06-17Update README.mdGravatar Fred K. Schott 1-1/+2