Matthew Phillips
502c799b1d
Config changes needed for stater template ( #1680 )
...
This does 2 things:
1. Adds prismjs as a dep.
2. Adds shiki as an external.
2021-10-27 15:05:42 -04:00
Matthew Phillips
e50cfa7bb4
Adding a changeset for the remark plugin
2021-10-27 15:05:30 -04:00
Matthew Phillips
77cd898dea
Prevent scanning a user's deps ( #1678 )
...
* Prevent scanning a user's deps
* Remove unused things
* remove unused util
2021-10-27 14:28:36 -04:00
Drew Powers
387bd1a48f
Update CONTRIBUTING.md ( #1677 )
2021-10-27 12:05:31 -06:00
Nate Moore
9f44a513ee
[next] Fix resolveDependency
on Windows ( #1666 )
...
* fix: Windows issue with resolveDependency util
* chore: add comment
2021-10-27 11:11:20 -05:00
Drew Powers
a07a598122
Fix with-nanostore deps ( #1675 )
...
Adds missing Solid renderer
2021-10-27 10:07:50 -06:00
Matthew Phillips
8c4720db3a
Fix Vite race condition ( #1674 )
2021-10-27 11:45:37 -04:00
Drew Powers
62684dbe4b
Bugfix: plugin-astro-fetch tries to append node-fetch to node-fetch ( #1671 )
2021-10-27 09:37:29 -06:00
Nate Moore
bd2ac13753
[next] Add preact/compat
renderer ( #1668 )
...
* feat: add preact/compat entry for `@astrojs/renderer-preact`
* Update index.js
2021-10-27 10:18:42 -05:00
Drew Powers
7f74388896
Force Vite to rebuild dependencies ( #1670 )
2021-10-26 22:54:41 -06:00
Drew Powers
5477dc19c2
Bugfix: renderer-lit missing files on npm ( #1669 )
2021-10-26 21:51:30 -06:00
Nate Moore
56f74e2bc8
[next] fix island hydration inside of <Markdown>
( #1665 )
...
* fix: create rehype plugin to smooth over island hydration bugs
* refactor: remove debug code
* chore: explain need for `rehypeIslands`
2021-10-26 21:11:18 -05:00
Nate Moore
b04d478b52
chore: update compiler to latest ( #1664 )
2021-10-26 19:18:57 -05:00
Nate Moore
8f699e5a42
fix: scope define:vars
to :root
for <style global>
( #1663 )
2021-10-26 16:36:53 -05:00
Nate Moore
55c8453fd2
fix: dedupe hashes for identical islands ( #1660 )
2021-10-26 13:00:55 -05:00
Drew Powers
c85c7e2188
Template fixes ( #1656 )
2021-10-26 09:57:17 -06:00
Matthew Phillips
dd40617038
Resolve renderers relative to the projectRoot ( #1659 )
2021-10-26 11:25:24 -04:00
Matthew Phillips
aa0590afdf
Upgrade compiler version ( #1655 )
...
Fixes docs and blog examples
2021-10-25 16:18:24 -04:00
Matthew Phillips
0430c0e1d2
Fixes external HMR ( #1654 )
2021-10-25 15:23:39 -04:00
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