Commit graph

6464 commits

Author SHA1 Message Date
Vin E. R. Yap
aac1d4e18d
added prismic x astro example. (#2247) 2021-12-22 10:52:24 -05:00
Jonathan Neal
3f08b45955
bump webapi (#2249) 2021-12-22 10:08:15 -05:00
Jonathan Neal
ded142e4d2
Update Configuration Reference documentation (#2239)
* Update Configuration Reference documentation

* Update docs/src/pages/reference/configuration-reference.md

Co-authored-by: Peter Singh <drgaud@hotmail.com>

* nit: update initial config example

* nit: update initial config example

* clarify pages option

* nit: update how the configuration reference is organized

Co-authored-by: Peter Singh <drgaud@hotmail.com>
2021-12-22 08:22:11 -05:00
Jonathan Neal
29976c6de0
format (#2246) 2021-12-21 22:01:28 -05:00
Fred K. Schott
e07c1cbd7e
[ci] update lockfile (#2240)
* [ci] update lockfile

* fix package dependency issue

* Create heavy-pianos-obey.md

Co-authored-by: FredKSchott <FredKSchott@users.noreply.github.com>
2021-12-21 10:37:09 -08:00
Nate Moore
5ab3fbb3b1
chore(examples): add AlpineJS example (#2222) 2021-12-21 12:45:23 -05:00
Alan
1b418a6481
Improve wording in documentation for client:* directives (#2232)
* Make wording around `client:*` directives more clear

A friend and I both found the wording on this page to be a touch ambiguous. When does the renderer JS download? Does Astro really delay all JS downloading until the component is ready to be hydrated, or just the component JS?

I think these changes make the behavior crystal clear?

* Make tense consistent for `client:only`
2021-12-21 12:16:34 -05:00
Matthew Phillips
9aff6eee71
Flagged static (performance optimized) build (#2168)
* Progress on build demo

* Go back to ESM

* Some more progress on the new build

* More progress here

* Add support for hot reload

* Almost done

* Remove debugging stuff

* chore(lint): Prettier fix

* Pass through the origin

* Do not use ssr mode

* Use the logger

* chore(lint): Prettier fix

* Update yarn lock

* Fix types

* Only build chunks that are astro pages

* Debugging windows

* Prevent compilation race condition

* Read the file if not found in the cache

* Give a better error message when we can't find a page

* chore(lint): Prettier fix

* Fix windows maybe

* chore(lint): Prettier fix

* Some more windows debugging

* chore(lint): Prettier fix

* Remove console logs

* More debugging

* chore(lint): Prettier fix

* More debugging info

* chore(lint): Prettier fix

* Remove logging again

* Try to prevent port conflicts

Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2021-12-21 11:57:50 -05:00
ptrxyz
83053bcae9
Update index.js (#2236)
Enables PostCSS in Svelte components. Fixes #2211
2021-12-19 18:14:25 -05:00
Tom VanAntwerp
b6398c4dbe
Fix minor typo in styling docs (#2233) 2021-12-19 15:28:50 -05:00
Fred K. Schott
ccb2c77321
[ci] update lockfile (#2228)
Co-authored-by: FredKSchott <FredKSchott@users.noreply.github.com>
2021-12-19 14:45:03 -05:00
Jonathan Neal
ac7f944d6a
Bump @astropub/webapi (#2218)
* bump polyfill

* chore(lint): Prettier fix

* chore: force ci

Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2021-12-19 14:44:30 -05:00
Fred K. Schott
29bfe79b48
[ci] update lockfile (#2220)
Co-authored-by: FredKSchott <FredKSchott@users.noreply.github.com>
2021-12-17 09:40:37 -08:00
Jonathan Neal
033b70a7f8
Add Component Example (#2203)
* Add Component Example

* chore(lint): Prettier fix

* nit: improve implementation

* nit: Update documentation

Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2021-12-17 08:47:59 -05:00
Nate Moore
bd246f0b2d docs: add deprecation notice to @astrojs/parser 2021-12-16 18:00:02 -06:00
Nate Moore
c5a7305f04 chore: update changesets 2021-12-16 17:57:10 -06:00
Jonathan Neal
45cea6aec5
Support Node v14.15+ (#2202)
* Support Node v14.15+

* changeset

* Update .changeset/new-hats-design.md

Co-authored-by: Nate Moore <natemoo-re@users.noreply.github.com>

* Update .changeset/new-hats-design.md

Co-authored-by: Nate Moore <natemoo-re@users.noreply.github.com>

* Update .changeset/new-hats-design.md

Co-authored-by: Nate Moore <natemoo-re@users.noreply.github.com>

* ES2020

* update yarn.lock

Co-authored-by: Nate Moore <natemoo-re@users.noreply.github.com>
2021-12-16 18:53:22 -05:00
Nate Moore
810aeb321a chore: release @astrojs/renderer-svelte@0.2.3 2021-12-16 17:36:48 -06:00
Nate Moore
b8be7e868e Revert "[ci] update lockfile (#2212)"
This reverts commit 3f3eceb16b.
2021-12-16 17:03:56 -06:00
Nate Moore
7a3819cfa9 fix: use ref_name for changeset 2021-12-16 16:48:09 -06:00
Nate Moore
a4a6b7d871 fix: pin with-vite-plugin-pwa example 2021-12-16 16:32:13 -06:00
Nate Moore
b8c821a074
chore: release pinned version of Svelte renderer (#2216)
* chore: release pinned version of Svelte renderer

* chore(lint): Prettier fix

Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2021-12-16 16:24:35 -06:00
Nate Moore
c6928478ae
Update CI to cache node_modules per OS (#2210)
* chore(action): update CI to cache node_modules per OS

* fix(ci): run tests on lint fix

* Update ci.yml
2021-12-16 15:38:55 -06:00
Abdullah Mzaien
bb52818ebe
chore: update tailwind to v3 and update the readme (#2209)
using `.cjs` for file extensions

chore: update tailwind to v3 and update the readme
2021-12-16 11:36:48 -06:00
Fred K. Schott
3f3eceb16b
[ci] update lockfile (#2212)
* [ci] update lockfile

* bump vite,@astropub/webapi

* exclude document

* chore(lint): Prettier fix

Co-authored-by: FredKSchott <FredKSchott@users.noreply.github.com>
Co-authored-by: Jonathan Neal <jonathantneal@hotmail.com>
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2021-12-16 09:05:41 -05:00
Jonathan Neal
91173fe938
Replace fetch walk-n-replace with polyfill (#2206)
* Replace fetch replacer with genuine polyfill

* chore(lint): Prettier fix

* changeset

Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2021-12-15 14:11:14 -05:00
borisv
fb25b7573c
Update styling.md (#2207)
Fixing minor spelling errors  
Removing void hint to Peter-Griffin gif
2021-12-15 11:57:54 -06:00
Fred K. Schott
c80f9eca61
[ci] update lockfile (#2208)
* [ci] update lockfile

* chore(lint): Prettier fix

Co-authored-by: FredKSchott <FredKSchott@users.noreply.github.com>
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2021-12-15 08:53:30 -08:00
borisv
93ded5d79b
New translation for German docs Guides/Styling & CSS, updated config.js (#2179)
* Create styling.md 

First translation for German docs.

* Update config.ts

Activating link to German docs - Guides/Styling & CSS

* Update styling.md

Missing text link to de/ - fixed

* Update docs/src/pages/de/guides/styling.md

Adds missing comma

Co-authored-by: Kim Schneider <web@schneider.kim>

* Update docs/src/pages/de/guides/styling.md

Spelling correction

Co-authored-by: Kim Schneider <web@schneider.kim>

* Update docs/src/pages/de/guides/styling.md

Removes extra space

Co-authored-by: Kim Schneider <web@schneider.kim>

* Update docs/src/pages/de/guides/styling.md

Removes superfluous comma

Co-authored-by: Kim Schneider <web@schneider.kim>

* Update docs/src/pages/de/guides/styling.md

Phrases suggestion more friendly)))

Co-authored-by: Kim Schneider <web@schneider.kim>

Co-authored-by: Kim Schneider <web@schneider.kim>
2021-12-14 22:58:55 -05:00
Jonathan Neal
53c7ae8c66
Update alias docs (#2204) 2021-12-14 19:39:11 -05:00
Fred K. Schott
c197287260
[ci] update lockfile (#2198)
Co-authored-by: FredKSchott <FredKSchott@users.noreply.github.com>
2021-12-14 13:48:25 -08:00
FredKSchott
e39f55d3cf [ci] collect stats 2021-12-14 16:54:59 +00:00
FredKSchott
86870b670d [ci] yarn format 2021-12-14 16:52:54 +00:00
Fred K. Schott
9fe2645e3f
Update stats now that rfc board is no longer used 2021-12-14 08:52:04 -08:00
Robin Millette
72c6a87b86
Fix example path for init (#2194)
* Fix example path for init

* Update examples/with-vite-plugin-pwa/README.md

Co-authored-by: Jonathan Neal <jonathantneal@hotmail.com>

Co-authored-by: Jonathan Neal <jonathantneal@hotmail.com>
2021-12-14 10:48:24 -06:00
Fred K. Schott
bf40eb9e28
add manual action to rerun nightly jobs 2021-12-14 08:47:00 -08:00
Fred K. Schott
09c01702d0
Update nightly.yml 2021-12-14 08:45:23 -08:00
Fred K. Schott
a656155629
improve our smoke tests to run on all examples (#2174)
* improve smoke test

* chore(lint): Prettier fix

Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2021-12-13 14:31:18 -08:00
Luc
bc080288fe
Replace quote character with standard apostrophe (#2142) 2021-12-13 17:18:22 -05:00
Sarah Rainsberger
bd1956b72f
Revert default RSS feed generated to rss.xml (0.21 changed to feed.xml) (#2172)
* 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

* reverted default rss to rss.xml

Co-authored-by: sarah11918 <sarah11918@users.noreply.github.com>
2021-12-13 16:30:24 -05:00
Allen Joslin
b9c5778d45
Update astro-components.md (#2181)
* Update astro-components.md

be a little clearer right up front about what you can do

I ran this code in stackBlitz minimal - which listed no renders.

Note: I don't know enough yet about Astro to say why I could use React-style interpolation at compile time to insert a variable into the html -- so I can't add a phrase describing why it works...

* Update docs/src/pages/core-concepts/astro-components.md

Co-authored-by: Jonathan Neal <jonathantneal@hotmail.com>
2021-12-13 16:27:54 -05:00
Jonathan Neal
6570a20442
rebase (#2087) 2021-12-13 16:18:21 -05:00
Francois Valdy
5f5dc60976
Add missing licenses to published packages (#2166)
* chore: add missing licenses

* chore: update package.json info

Co-authored-by: Nate Moore <nate@skypack.dev>
2021-12-13 15:14:34 -06:00
Fred K. Schott
ddf45ada71
add lockfile ci (#2173) 2021-12-13 13:04:21 -08:00
Jonathan Neal
c3db1eb4ef
Upgrade dependencies (#2085)
* yarn upgrade

* yarn upgrade --latest yargs-parser

* yarn upgrade --latest mime

* yarn upgrade --latest execa

* yarn upgrade --latest globby

* yarn upgrade --latest @docsearch/react

* yarn upgrade --latest es-module-lexer

* yarn upgrade --latest fast-xml-parser

* yarn upgrade --latest @astrojs/compiler @astrojs/language-server

* yarn upgrade --latest acorn

* clean yarn.lock

* chore: put `@docsearch/react` back to v1

* chore: remove unused @snowpack/plugin-dotenv

* Update yarn.lock

* Patch tests based on newer versions of tooling

* remove lerna

* Update yarn.lock

* Update yarn.lock

* Pin @sveltejs/vite-plugin-svelte

* update yarn.lock
2021-12-13 15:59:08 -05:00
Nate Moore
5258316c4f
Update turbo cache (#2184)
* chore(actions): update cache strategy

* chore: force ci
2021-12-13 13:55:35 -06:00
FredKSchott
fbbeee41aa [ci] yarn format 2021-12-13 18:37:58 +00:00
Agustin Mulet
23b7756d6b
Adding Solid to with-nanostores example (#2079) 2021-12-13 10:37:06 -08:00
FredKSchott
ff9f4ec230 [ci] yarn format 2021-12-13 18:36:48 +00:00
YM
7265ca4ea8
Fix Docs layout: theme in zh-tw (#2100) 2021-12-13 10:35:56 -08:00