Drew Powers
07f786096d
Add CSS injection, fix portfolio example ( #1648 )
...
* Fix portfolio example
* Add .pcss extension
* Update load ssr opts
* Update packages/astro/src/runtime/server/index.ts
Co-authored-by: Jonathan Neal <jonathantneal@hotmail.com>
Co-authored-by: Nate Moore <natemoo-re@users.noreply.github.com>
Co-authored-by: Jonathan Neal <jonathantneal@hotmail.com>
2021-10-25 13:05:27 -06:00
Matthew Phillips
1103cb1f9d
Prevent passing class to Vue components
2021-10-25 14:07:00 -04:00
Matthew Phillips
303f32fda0
Prevent passing to Svelte components
2021-10-25 14:01:38 -04:00
Matthew Phillips
190e03b5ce
Fix broken next release ( #1652 )
2021-10-25 12:55:26 -04:00
Matthew Phillips
7f95d706e9
Add support for markdown plugins ( #1650 )
2021-10-25 09:40:07 -04:00
Matthew Phillips
8206421ffa
Fixes solid ( #1634 )
...
* Fixes solid
* Rename the test
* Rebase with next
* Skip solid test for now
2021-10-22 16:25:38 -06:00
Nate Moore
06562af124
[next] Fix <Code>
component ( #1635 )
...
* fix: enable Code component
* test: update expect to chai format
2021-10-22 16:25:38 -06:00
Nate Moore
09bc35e803
[next] Fix <Markdown>
component ( #1631 )
...
* fix: cleanup issues with <Markdown> component
* fix: fix `content` usage with Markdown
2021-10-22 16:25:38 -06:00
Nate Moore
4647c998ea
feat: fix Debug component ( #1633 )
2021-10-22 16:25:38 -06:00
Nate Moore
b5226e68dd
fix: define:vars
scoping for styles ( #1632 )
2021-10-22 16:25:38 -06:00
Jonathan Neal
d9caef63d8
Add class:list
directive ( #1612 )
...
* Add support for class:list directive
The `class:list` directive serializes an expression of css class names. For React components, `className:list` is also supported.
* Remove `className` support and React tests
* Add tests for the absence of omitted classes
2021-10-22 16:25:38 -06:00
Matthew Phillips
b0e407dc4b
[next] docs example fully working ( #1627 )
...
* [next] docs example fully working
* Upgrade compiler to unlock docs
2021-10-22 16:25:38 -06:00
Drew Powers
2c15795607
Minor change to jsxTransformOptions, update Renderer API docs ( #1630 )
2021-10-22 16:25:38 -06:00
Drew Powers
b0ef391e57
Remove cheerio scanning from build stats ( #1629 )
2021-10-22 16:25:38 -06:00
Drew Powers
4c9d3cf3d9
Fix changesets ( #1628 )
2021-10-22 16:25:38 -06:00
Drew Powers
330620e1b3
Update renderer API for Vite ( #1623 )
...
* Update renderer API for Vite
* Fix lit-element tests
* Clean up comments
* Throw friendly error if renderer provides viteConfig in a bad format
2021-10-22 16:25:38 -06:00
Drew Powers
4b25d5592a
Move Sass to deps ( #1622 )
2021-10-22 16:25:38 -06:00
Fred K. Schott
dff64574c4
fix issues in blog-multiple-authors ( #1621 )
2021-10-22 16:25:38 -06:00
Drew Powers
d1a73e4c38
[next] Add CSS preprocessing ( #1589 )
...
* Add concept for style support in Astro
* Update style preprocessor to use new compiler
* fix: massage preprocessStyle type
* fix: @astrojs/compiler types
Co-authored-by: Nate Moore <nate@skypack.dev>
2021-10-22 16:25:38 -06:00
Nate Moore
51e5a45ec5
[next] fix .tsx
handling ( #1620 )
...
* fix: support tsx in JSX plugin
* fix: preserve JSX via esbuild, only use Babel for JSX compilation
* fix: handle upcoming Vite API for `ssr` flag
2021-10-22 16:25:38 -06:00
Nate Moore
2c36d0a427
feat: add fragment support to vite-plugin-astro ( #1600 )
2021-10-22 16:25:37 -06:00
Matthew Phillips
dfe23864e0
[next] Upgrade compiler ( #1619 )
...
* [next] Upgrade compiler
* Upgrade to latest compiler
* Fix the path to global css
* Removed debugger
2021-10-22 16:25:37 -06:00
Fred K. Schott
5da14ca8ed
comment style fixes ( #1614 )
2021-10-22 16:25:37 -06:00
Drew Powers
90b9c6e086
Remove numbered comments ( #1611 )
...
* Chore: remove numbered comments
* Clean up block comments
2021-10-22 16:25:37 -06:00
AsyncBanana
18222cf61b
Add environment variables docs ( Closes #873 ) ( #1587 )
...
* Added environment variables docs (Closes #873 )
* Fixed prefix
2021-10-22 16:25:37 -06:00
Matthew Phillips
560721cbaa
[next] blog example fully working ( #1610 )
2021-10-22 16:25:37 -06:00
Drew Powers
bbf93de41e
Fix build order ( #1609 )
...
* Bugfix: restore build to get all paths earlier, when build. Same as main.
* Also re-add timings
2021-10-22 16:25:37 -06:00
Drew Powers
e1b52506f7
Bugfix: fix getStaticPaths() cache miss ( #1602 )
2021-10-22 16:25:37 -06:00
Matthew Phillips
d1f42353e8
Scoped styles with markdown ( #1599 )
2021-10-22 16:25:37 -06:00
Matthew Phillips
b695c8aa15
Add Prism syntax highlighting ( #1598 )
2021-10-22 16:25:37 -06:00
Drew Powers
a1c594fc95
Update Vite to latest ( #1597 )
2021-10-22 16:25:37 -06:00
Matthew Phillips
94a513adc6
Gets Astro.fetchContent compilation to work ( #1596 )
...
* Gets Astro.fetchContent compilation to work
This fixes Astro.fetchContent so that we handle esbuild transforming the
name of the nested Astro call.
* Remove debugging
* Update the tests
* Remove another debugger
2021-10-22 16:25:37 -06:00
Matthew Phillips
2ac2559b5d
Gets lit hydration working ( #1595 )
2021-10-22 16:25:37 -06:00
Matthew Phillips
f881a03961
Markdown compilation ( #1593 )
...
* Markdown compilation
* remove debugger
2021-10-22 16:25:37 -06:00
Matthew Phillips
dd147c390a
Update files config
2021-10-22 16:25:37 -06:00
Matthew Phillips
38e731adbe
Use Vite fork ( #1585 )
...
* Use Vite fork
* Fix linting
* Move Vite to vendor/ and add a license
* Fix linting
* Include the dist folder
2021-10-22 16:25:37 -06:00
Matthew Phillips
34a257376e
Upgrade to @astrojs/compiler 0.2.0 ( #1584 )
2021-10-22 16:25:37 -06:00
Drew Powers
cd76229ed7
Restructure ( #1569 )
2021-10-22 16:25:36 -06:00
Nate Moore
62106902bb
[Next] fetch
support ( #1563 )
...
* fix: polyfill fetch in every ssr scenario
* test(fetch): update fetch tests
* docs: update data fetching guide to remove caveats about `fetch` and isomorphic usage
* refactor: update regex for clarity
2021-10-22 16:25:36 -06:00
Drew Powers
7749e18066
Chore: Enable more tests with new compiler changes ( #1558 )
2021-10-22 16:25:36 -06:00
Nate Moore
a38460ca62
[next] Update renderers ( #1509 )
...
* chore: update vite
* fix(renderers): point renderers to resolved server/client entrypoints
2021-10-22 16:25:36 -06:00
Matthew Phillips
c269f7b687
Implements top-level Astro + Astro.resolve ( #1556 )
...
* Implements top-level Astro + Astro.resolve
* Fix linting
2021-10-22 16:25:36 -06:00
Matthew Phillips
72b66ddb75
Brings back astro-dynamic tests ( #1548 )
2021-10-22 16:25:36 -06:00
Matthew Phillips
35741b6033
Move hydration to the compiler ( #1547 )
...
* Move hydration to the compiler
* Move extracting url, export to util fn
2021-10-22 16:25:36 -06:00
Fred K. Schott
e342273d85
[next] Fix Astro.fetchContent ( #1480 )
...
* fix Astro.fetchContent
* fix(fetchContent): cast type
Co-authored-by: Nate Moore <nate@skypack.dev>
2021-10-22 16:25:36 -06:00
Matthew Phillips
835903226d
[next] Support for custom elements ( #1528 )
...
* [next] Support for custom elements
* Fix eslint errors
* eslint again
2021-10-22 16:25:36 -06:00
Matthew Phillips
3cd5a7f53f
[next] support Astro.slots API ( #1516 )
2021-10-22 16:25:36 -06:00
Matthew Phillips
1bd3cf8f4d
Add hydration to Solid renderer ( #1479 ) ( #1495 )
...
* feat: add hydration to Solid renderer
* fix: intersection observer, move script to the end
Co-authored-by: Ryan Carniato <ryansolid@gmail.com>
2021-10-22 16:25:36 -06:00
Matthew Phillips
935831c79c
Enables most slot tests ( #1494 )
...
* Enables most slot tests
* Use spreadAttributes
2021-10-22 16:25:36 -06:00
Matthew Phillips
c766c6b9f6
Add back in support for children ( #1486 )
...
* Add back in support for children
* Be more careful
2021-10-22 16:25:36 -06:00