Commit graph

406 commits

Author SHA1 Message Date
Erika
488a145456
Normalize and cleanup examples projects (#2364)
* Remove unused line in the examples .gitignore

* Add missing .npmrc, .stackblitzrc and tsconfig.json files to a few examples

* Removed unused file and link directive in the minimal example

* Oops, added an accidental slash
2022-01-12 10:37:16 -05:00
github-actions[bot]
5ba2650be1
[ci] release (#2339)
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2022-01-07 16:43:19 -05:00
Matthew Phillips
180dfcf2fc
Handle loading the Code package in the static build (#2337)
* Handle loading the Code package

Fixes #2329

* Use Code the normal way

* Adds a changeset

* Only resolve browser path if there is no common ancestor

* Update examples/fast-build/src/pages/index.astro

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

Co-authored-by: Nate Moore <natemoo-re@users.noreply.github.com>
2022-01-07 16:28:27 -05:00
github-actions[bot]
4c826ad5b5
[ci] release (#2333)
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2022-01-07 09:44:14 -05:00
github-actions[bot]
f80800857e
[ci] release (#2320)
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2022-01-05 16:56:34 -08:00
github-actions[bot]
fa396750ef
[ci] release (#2307)
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2022-01-05 11:20:39 -05:00
matthewp
79f8cfee60 [ci] yarn format 2022-01-04 20:10:42 +00:00
Matthew Phillips
2770588867
Remove rehype-add-classes (#2309)
* Remove rehype-add-classes

* Fix the markdown plugin test
2022-01-04 15:09:10 -05:00
github-actions[bot]
d11c7b8c5c
[ci] release (#2304)
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2022-01-04 11:28:19 -05:00
github-actions[bot]
69f4ff5473
[ci] release (#2303)
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2022-01-04 09:46:45 -05:00
Matthew Phillips
9db22b97b6
Only resolve inline script specifiers in the static build (#2302)
* Revert "Revert "Implement hydrated components in the static build (#2260)""

This reverts commit 17ac18e88c.

* Only resolve specifiers in the static build

* Adding a changeset

* Fix the client-only test
2022-01-04 09:35:07 -05:00
github-actions[bot]
c5a67b4275
[ci] release (#2293)
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2021-12-30 12:03:19 -05:00
Matthew Phillips
2e55dc2686
Revert "Implement hydrated components in the static build (#2260)" (#2292)
* Revert "Implement hydrated components in the static build (#2260)"

This reverts commit ae5255dd25.

* Adds a changeset
2021-12-30 11:52:22 -05:00
github-actions[bot]
1da4682a50
[ci] release (#2291)
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2021-12-30 09:14:21 -05:00
Matthew Phillips
ae5255dd25
Implement hydrated components in the static build (#2260)
* Work on removing vite-postprocess

* Gets hydration totally working

* Formatting

* Update based on PR comments

* Bring back vite transform for non-static builds

* Upgrade compiler version

* Update the client-only test

* Add debugging for windows

* More debugging

* Pass pathname into the markdown plugin as well

* Include vite changes

* Revert "Include vite changes"

This reverts commit dee6348b233b6d6c6fea1e4dcc41c98c0452846c.
2021-12-30 09:01:00 -05:00
Connor Adams
079a78e0ec
Adjust TSConfig example files to include compilerOptions (#2278) 2021-12-26 22:39:30 -05:00
github-actions[bot]
458e57b84f
[ci] release (#2264)
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 (#2219)
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2021-12-23 11:49:30 -05:00
Jonathan Neal
f91ffcf024
Revert "Revert "Revert "added prismic x astro example. (#2247)"" (#2252)" (#2259)
This reverts commit a6179d0399.
2021-12-23 08:52:26 -05:00
Jonathan Neal
a6179d0399
Revert "Revert "added prismic x astro example. (#2247)"" (#2252)
This reverts commit be36113b79.
2021-12-23 08:25:26 -05:00
Jonathan Neal
6ddd7678ff
Use accessible indentation (#2253) 2021-12-22 16:11:05 -05:00
Jonathan Neal
4208640587
Revert "added prismic x astro example. (#2247)" (#2251)
This reverts commit aac1d4e18d.
2021-12-22 14:06:31 -05:00
Vin E. R. Yap
aac1d4e18d
added prismic x astro example. (#2247) 2021-12-22 10:52:24 -05:00
Jonathan Neal
29976c6de0
format (#2246) 2021-12-21 22:01:28 -05:00
Nate Moore
5ab3fbb3b1
chore(examples): add AlpineJS example (#2222) 2021-12-21 12:45:23 -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
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
810aeb321a chore: release @astrojs/renderer-svelte@0.2.3 2021-12-16 17:36:48 -06:00
Nate Moore
a4a6b7d871 fix: pin with-vite-plugin-pwa example 2021-12-16 16:32:13 -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
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
Jonathan Neal
6570a20442
rebase (#2087) 2021-12-13 16:18:21 -05: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
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
github-actions[bot]
9ac4259d2e
chore: release (#2149)
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 (#2136)
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 (#2118)
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 (#2108)
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 (#2098)
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 (#2071)
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 (#2059)
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2021-11-30 22:33:45 -07:00
Stephan Bogner
2440bbad88
Fix resolve of scss/css-file in Starter Example (#2020)
I can't find the section in the documentation anymore about resolving SCSS-files (maybe it's gone since v0.21) but the Starter Example doesn't load the SCSS/CSS file anymore.

The change above fixes it.
2021-11-29 13:12:57 -07:00
github-actions[bot]
6203b57974
Version Packages (#2047)
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 (#2009)
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2021-11-24 14:10:30 -07:00
Fred K. Schott
8d934059f8
move styles to src (#2003) 2021-11-24 11:10:12 -08:00
github-actions[bot]
0751808a2e
Version Packages (#1988)
* 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 (#1994) 2021-11-23 14:47:05 -08:00
natemoo-re
f45936074e [ci] yarn format 2021-11-23 02:05:07 +00:00
Nate Moore
f165004c10
Add with-vite-plugin-pwa example (#1829) 2021-11-22 20:03:45 -06:00