0
Fork 0
mirror of https://github.com/withastro/astro.git synced 2025-01-13 22:11:20 -05:00
Commit graph

125 commits

Author SHA1 Message Date
Connor Adams
079a78e0ec
Adjust TSConfig example files to include compilerOptions () 2021-12-26 22:39:30 -05:00
github-actions[bot]
458e57b84f
[ci] release ()
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2021-12-23 15:34:11 -05:00
github-actions[bot]
b8e3efa7bb
[ci] release ()
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2021-12-23 11:49:30 -05:00
Jonathan Neal
6ddd7678ff
Use accessible indentation () 2021-12-22 16:11:05 -05:00
Nate Moore
810aeb321a chore: release @astrojs/renderer-svelte@0.2.3 2021-12-16 17:36:48 -06:00
Abdullah Mzaien
bb52818ebe
chore: update tailwind to v3 and update the readme ()
using `.cjs` for file extensions

chore: update tailwind to v3 and update the readme
2021-12-16 11:36:48 -06:00
github-actions[bot]
9ac4259d2e
chore: release ()
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2021-12-09 04:57:08 -08:00
github-actions[bot]
a7e2070abc
chore: release ()
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2021-12-06 17:10:43 -06:00
github-actions[bot]
fe11bdb5f7
chore: release ()
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2021-12-03 16:29:11 -06:00
github-actions[bot]
4f546173b4
chore: release ()
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2021-12-03 09:30:45 -05:00
github-actions[bot]
787e4e6497
chore: release ()
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2021-12-02 17:45:56 -05:00
github-actions[bot]
e57308d70c
[ci] release ()
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2021-12-02 13:01:17 -05:00
github-actions[bot]
754ac42478
[ci] release ()
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2021-11-30 22:33:45 -07:00
github-actions[bot]
6203b57974
Version Packages ()
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2021-11-29 14:39:04 -05:00
github-actions[bot]
dd17a5b8d0
Version Packages ()
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2021-11-24 14:10:30 -07:00
github-actions[bot]
0751808a2e
Version Packages ()
* Version Packages (next)

* chore: update CHANGELOG

* fix: merge conflict

* fix: merge conflict

* chore: remove pre.json

* Version Packages

* Version Packages

Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
Co-authored-by: Nate Moore <nate@skypack.dev>
2021-11-23 17:12:00 -06:00
Fred K. Schott
7476a92461
update repo URL () 2021-11-23 14:47:05 -08:00
github-actions[bot]
fff00e45f0
Version Packages ()
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2021-11-22 16:31:34 -05:00
github-actions[bot]
63df5fbf23
Version Packages ()
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2021-11-22 10:27:46 -05:00
github-actions[bot]
b4818701fe
Version Packages ()
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2021-11-19 13:01:50 -08:00
github-actions[bot]
3f76849a0b
Version Packages (next) ()
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2021-11-19 14:12:11 -05:00
github-actions[bot]
285622b8ae
Version Packages (next) ()
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2021-11-19 12:49:37 -05:00
github-actions[bot]
bb90ff60c8
Version Packages (next) ()
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2021-11-19 11:22:19 -05:00
github-actions[bot]
05a2c48449
Version Packages (next) ()
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2021-11-19 10:39:05 -05:00
github-actions[bot]
a43410b68e
Version Packages (next) ()
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2021-11-19 01:21:00 -08:00
github-actions[bot]
eb4d5f1d8f
Version Packages (next) ()
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2021-11-17 16:25:02 -08:00
github-actions[bot]
96d5a94280
Version Packages (next) ()
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2021-11-17 19:05:54 -05:00
github-actions[bot]
9f5e196019
Version Packages (next) ()
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2021-11-16 17:13:29 -05:00
github-actions[bot]
750c249c32
Version Packages (next) ()
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2021-11-16 13:06:58 -08:00
Matthew Phillips
2da90d24d0
Tell tailwind to purge from the src folder () 2021-11-11 14:35:54 -05:00
github-actions[bot]
83be55d5dd
Version Packages (next) ()
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2021-11-11 08:48:04 -05:00
github-actions[bot]
9763b255dd
Version Packages (next) ()
* Version Packages (next)

* chore: update changelog

* chore: update CHANGELOG

Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
Co-authored-by: Nate Moore <nate@skypack.dev>
2021-11-09 12:59:13 -06:00
Sarah Rainsberger
8b54242a46
Adding CodeSandbox config file to all the "next" examples ()
* Create sandbox.config.json specifying port 3000

* Update sandbox.config.json

* Create sandbox.config.json for blog example

* Create sandbox.config.json for multiple authors blog

* added sandbox config to portfolios

* [ci] yarn format

* added sandbox.config.json to more frameworks examples

* [ci] yarn format

Co-authored-by: sarah11918 <sarah11918@users.noreply.github.com>
2021-11-05 10:41:37 -05:00
Drew Powers
2e1bded735
Get Tailwind HMR working (first cut) ()
* Get Tailwind HMR working

* PR feedback

* perf: improve HMR `head` performance

Co-authored-by: Nate Moore <nate@skypack.dev>
2021-11-04 14:01:28 -06:00
github-actions[bot]
8de20f7435
Version Packages (next) ()
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2021-11-02 16:22:40 -05:00
github-actions[bot]
e0d9a7627d
Version Packages (next) ()
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2021-10-29 14:48:54 -05:00
Drew Powers
d84bfe719a
🚀 Astro Next (0.21.0) ()
* make astro-root uids unique

* Move Astro to Vite

* Update tests

* More test improvements

* fred fixes

* Update compiler, improve tests

* Fix runtime, improve code frame

* Add Markdown support

* Tycho fixes

* Fred fixes part 2

* Throw Error for WIP Features

* Improve testing suite

* Allow users to pass config to Vite

* Fix npm install ()

* Automate publish on merge ()

* Add NPM_TOKEN to publish script ()

* Create .npmrc

* Clean up astro deps ()

* Use new renderers ()

* feat: update compiler ()

* Try mocha/chai test runners ()

* Try mocha/chai test runners

* Disable failing smoke test for now

Will revert when next can build docs

* Enable mocha in parallel mode

* Remove warning

* Update docs

* Fix Windows bug

* Fix internal imports

* Fix styles

* Fix CI release on merge to next ()

* Fix logger locale parsing ()

* fix(logger): locale parsing
* Fixed issue of compiler crash when "c" locale was encountered
* Return default locale if parsed locale is less than 2 chars long

* chore: add changeset

* Apply changes from 

* Add back in support for children ()

* Add back in support for children

* Be more careful

* Enables most slot tests ()

* Enables most slot tests

* Use spreadAttributes

* Add hydration to Solid renderer () ()

* feat: add hydration to Solid renderer

* fix: intersection observer, move script to the end

Co-authored-by: Ryan Carniato <ryansolid@gmail.com>

* [next] support Astro.slots API ()

* [next] Support for custom elements ()

* [next] Support for custom elements

* Fix eslint errors

* eslint again

* [next] Fix Astro.fetchContent ()

* fix Astro.fetchContent

* fix(fetchContent): cast type

Co-authored-by: Nate Moore <nate@skypack.dev>

* Move hydration to the compiler ()

* Move hydration to the compiler

* Move extracting url, export to util fn

* Brings back astro-dynamic tests ()

* Implements top-level Astro + Astro.resolve ()

* Implements top-level Astro + Astro.resolve

* Fix linting

* [next] Update renderers ()

* chore: update vite

* fix(renderers): point renderers to resolved server/client entrypoints

* Chore: Enable more tests with new compiler changes ()

* [Next] `fetch` support ()

* 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

* Restructure ()

* Upgrade to @astrojs/compiler 0.2.0 ()

* Use Vite fork ()

* Use Vite fork

* Fix linting

* Move Vite to vendor/ and add a license

* Fix linting

* Include the dist folder

* Update files config

* Markdown compilation ()

* Markdown compilation

* remove debugger

* Gets lit hydration working ()

* Gets Astro.fetchContent compilation to work ()

* 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

* Update Vite to latest ()

* Add Prism syntax highlighting ()

* Scoped styles with markdown ()

* Bugfix: fix getStaticPaths() cache miss ()

* Fix build order ()

* Bugfix: restore build to get all paths earlier, when build. Same as main.

* Also re-add timings

* [next] blog example fully working ()

* Add environment variables docs (Closes ) ()

* Added environment variables docs (Closes )

* Fixed prefix

* Remove numbered comments ()

* Chore: remove numbered comments

* Clean up block comments

* comment style fixes ()

* [next] Upgrade compiler ()

* [next] Upgrade compiler

* Upgrade to latest compiler

* Fix the path to global css

* Removed debugger

* feat: add fragment support to vite-plugin-astro ()

* [next] fix `.tsx` handling ()

* 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

* [next] Add CSS preprocessing  ()

* 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>

* fix issues in blog-multiple-authors ()

* Move Sass to deps ()

* Update renderer API for Vite ()

* Update renderer API for Vite

* Fix lit-element tests

* Clean up comments

* Throw friendly error if renderer provides viteConfig in a bad format

* Fix changesets ()

* Remove cheerio scanning from build stats ()

* Minor change to jsxTransformOptions, update Renderer API docs ()

* [next] docs example fully working ()

* [next] docs example fully working

* Upgrade compiler to unlock docs

* Add `class:list` directive ()

* 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

* fix: `define:vars` scoping for styles ()

* feat: fix Debug component ()

* [next] Fix `<Markdown>` component ()

* fix: cleanup issues with <Markdown> component

* fix: fix `content` usage with Markdown

* [next] Fix `<Code>` component ()

* fix: enable Code component

* test: update expect to chai format

* Fixes solid ()

* Fixes solid

* Rename the test

* Rebase with next

* Skip solid test for now

* Add support for markdown plugins ()

* Fix broken next release ()

* Prevent passing  to Svelte components

* Prevent passing class to Vue components

* Add CSS injection, fix portfolio example ()

* 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>

* Fixes external HMR ()

* Upgrade compiler version ()

Fixes docs and blog examples

* Resolve renderers relative to the projectRoot ()

* Template fixes ()

* fix: dedupe hashes for identical islands ()

* fix: scope `define:vars` to `:root` for `<style global>` ()

* chore: update compiler to latest ()

* [next] fix island hydration inside of `<Markdown>` ()

* fix: create rehype plugin to smooth over island hydration bugs

* refactor: remove debug code

* chore: explain need for `rehypeIslands`

* Bugfix: renderer-lit missing files on npm ()

* Force Vite to rebuild dependencies ()

* [next] Add `preact/compat` renderer ()

* feat: add preact/compat entry for `@astrojs/renderer-preact`

* Update index.js

* Bugfix: plugin-astro-fetch tries to append node-fetch to node-fetch ()

* Fix Vite race condition ()

* Fix with-nanostore deps ()

Adds missing Solid renderer

* [next] Fix `resolveDependency` on Windows ()

* fix: Windows issue with resolveDependency util

* chore: add comment

* Update CONTRIBUTING.md ()

* Prevent scanning a user's deps ()

* Prevent scanning a user's deps

* Remove unused things

* remove unused util

* Adding a changeset for the remark plugin

* Config changes needed for stater template ()

This does 2 things:

1. Adds prismjs as a dep.
2. Adds shiki as an external.

* Next bugs ()

* fix(): hoisted <script> rendering

* fix(): do not print global for styles, but do for scripts

* fix: update ObjectSet implementation

* fix: dedupe elements in sets

* [next] update compiler ()

* chore: update compiler

* chore: update compiler (again)

* Fix Astro HMR bottleneck ()

* Bugfix: JSX renderers can be declared in any order ()

* chore: update compiler ()

* Exclude lit-server from being optimized ()

This should get the lit example working from `npm`.

* fix: exclude all renderer server entrypoints ()

* chore: update compiler ()

* fix: do not crash when Markdown has no content ()

* feat: improve support for third-party React packages ()

* Remove prism warning when no language is provided ()

* Remove prism warning when no language is provided

* Add the plaintext language instead

* retry deploy

* chore: enter prerelease mode under `next` ()

* Updates to the changesets ()

* Updates to the changesets

* Adds a changeset for astro-prism

Co-authored-by: Fred K. Schott <fkschott@gmail.com>
Co-authored-by: Nate Moore <nate@skypack.dev>
Co-authored-by: Nate Moore <natemoo-re@users.noreply.github.com>
Co-authored-by: Pranav Karawale <52596591+obnoxiousnerd@users.noreply.github.com>
Co-authored-by: Matthew Phillips <matthew@skypack.dev>
Co-authored-by: Matthew Phillips <matthew@matthewphillips.info>
Co-authored-by: Ryan Carniato <ryansolid@gmail.com>
Co-authored-by: AsyncBanana <58297401+AsyncBanana@users.noreply.github.com>
Co-authored-by: Jonathan Neal <jonathantneal@hotmail.com>
2021-10-29 15:30:22 -04:00
github-actions[bot]
b7a4542103
Version Packages ()
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2021-10-14 15:13:13 -04:00
github-actions[bot]
5ac51bae3a
Version Packages ()
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2021-10-12 13:27:06 -04:00
github-actions[bot]
0ff5c87a27
Version Packages ()
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2021-10-11 08:33:37 -04:00
github-actions[bot]
b5f1bd46ff
Version Packages ()
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2021-10-01 13:36:02 -04:00
github-actions[bot]
bf6357a233
Version Packages ()
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2021-09-28 09:10:41 -04:00
Fred K. Schott
cb7a957f41
update examples for stackblitz () 2021-09-16 08:06:22 -07:00
github-actions[bot]
ad2962fdac
Version Packages ()
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2021-09-15 12:36:26 -04:00
github-actions[bot]
3d9b665265
Version Packages ()
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2021-09-14 17:22:50 -07:00
github-actions[bot]
2847ff5382
Version Packages ()
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2021-09-09 10:57:16 -07:00
Fred K. Schott
b03f877102 Revert "Version Packages ()"
This reverts commit 1a88cfde7d.
2021-09-09 10:53:52 -07:00
github-actions[bot]
1a88cfde7d
Version Packages ()
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2021-09-09 10:41:31 -07:00
Fred K. Schott
9f06fb014b cleanup docs changes 2021-09-06 01:31:10 -07:00
FredKSchott
b4d1c9bc64 [ci] yarn format 2021-09-06 08:25:23 +00:00