Jonathan Neal
f028ce43d1
Minimize the minimal example ( #2508 )
2022-01-31 16:28:29 -05:00
Jonathan Neal
4e43ae5d76
Fix Astro Components example ( #2507 )
2022-01-31 16:27:09 -05:00
github-actions[bot]
1cac6c974a
[ci] release ( #2482 )
...
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2022-01-28 20:06:07 -05:00
Matthew Phillips
69d5b70900
Fix use of preprocessors with the static build ( #2490 )
...
* Fix use of preprocessors with the static build
* Adds a changeset
2022-01-28 17:10:52 -05:00
github-actions[bot]
10db1ca75e
[ci] release ( #2454 )
...
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2022-01-27 11:40:08 -05:00
Jang Rush
9757cd869b
Use CONFIG.SITE.title for h1 in doc theme header ( #2449 )
...
Use SITE.title specified in config.ts as the h1 heading in Header.astro
of doc theme.
When SITE.title is null, use "Documentation" as the fallback value.
Previously the h1 heading in doc theme header is hardcoded
as "Documentation".
2022-01-24 10:35:19 -05:00
Jang Rush
20dc304172
Allow not specfying section header in sidebar. ( #2448 )
...
Someone may forget to specify a section header in SIDEBAR,
which would cause build error previously.
2022-01-24 10:33:56 -05:00
Jang Rush
1f45d23103
describe how to use non-en lang in doc theme ( #2447 )
2022-01-24 10:32:27 -05:00
github-actions[bot]
3059cc8e39
[ci] release ( #2437 )
...
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2022-01-24 09:39:26 -05:00
béla
ba363bdeec
fix tailwindcss example global css ( #2444 )
2022-01-21 18:48:16 -05:00
github-actions[bot]
4c802e25a0
[ci] release ( #2433 )
...
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2022-01-20 19:23:30 -05:00
Matthew Phillips
f2b8372c0c
Supports hoisted scripts in the static build ( #2414 )
...
* Supports hoisted scripts in the static build
* Adds a changeset
* Update packages/astro/src/core/build/internal.ts
Co-authored-by: Evan Boehs <evan@boehs.org>
* Update based on feedback
* Fix lint
* Fix getting hoist script for Windows
* Try with the pre compiler
* use compiler 0.8.2
* update compiler version
* update yarn.lock
Co-authored-by: Evan Boehs <evan@boehs.org>
2022-01-20 19:13:05 -05:00
github-actions[bot]
e3731e5fa8
[ci] release ( #2430 )
...
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2022-01-20 10:04:29 -05:00
github-actions[bot]
5d79bd7e93
[ci] release ( #2420 )
...
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2022-01-19 22:12:32 -05:00
Chris Swithinbank
9deada68b4
Fix visibility of focused skip link on docs site ( #2405 )
...
* Fix visibility of focused skip link on docs site
The `sr-only` utility class used on the “Skip to Content” link at the top of each page in the docs is designed to be paired with the `focus:not-sr-only` class. `focus:not-sr-only` was missing on the skip link, meaning it was never shown even when focused.
* Fix visibility of focused skip link in docs example project
Apply the same fix as ac890b56
to the same component in the docs starter project.
2022-01-19 15:22:40 -05:00
github-actions[bot]
bcec8adc9a
[ci] release ( #2412 )
...
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2022-01-18 08:38:15 -05:00
Matthew Phillips
bcc617f9dc
Update examples to move away from Astro.resolve on styles ( #2393 )
...
* Update examples to move away from Astro.resolve on styles
* Prepend the subpath
* Adds a changeset
* Switch to @import for the starter
2022-01-18 08:34:12 -05:00
github-actions[bot]
d3be8d944d
[ci] release ( #2394 )
...
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2022-01-14 16:19:25 -05:00
github-actions[bot]
f5ce6edb5b
[ci] release ( #2372 )
...
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2022-01-14 14:40:12 -05:00
Matthew Phillips
92532b8882
Fixes for blog and docs examples ( #2373 )
...
* Fixes for blog and docs examples
* Adds a changeset
* Upgrade the compiler version
* Use a global style tag
* Skip on windows temporarily
2022-01-14 12:11:56 -05:00
github-actions[bot]
834e5299f1
[ci] release ( #2366 )
...
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2022-01-13 09:37:44 -05:00
Matthew Phillips
20d0cce681
Fix for shared CSS when using the static build ( #2365 )
...
* Fix for shared CSS when using the static build
* Adds a changeset
2022-01-12 12:02:36 -05:00
github-actions[bot]
983bf72aa1
[ci] release ( #2340 )
...
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2022-01-12 11:30:01 -05:00
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
github-actions[bot]
fff00e45f0
Version Packages ( #1972 )
...
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2021-11-22 16:31:34 -05:00
JuanM04
679d4395ec
Markdown package improvements ( #1954 )
...
* Re-add smartypants
* Updated packages
* Remove all the default plugins if there are either remark or rehype plugins
* Replace deperecated remark-slug with rehype-slug
* Added MarkdownParserResponse type
* Update documentation
* Removed type import from markdown package
* Updated remark-smartypants
* Changelog
* Missed one change
* Split changelogs
* Upgraded some MDX dependencies
* Fix typos in documentation
* Changed CHANGELOG.md package name
* Renamed smartypants
2021-11-22 14:48:00 -06:00
Drew Powers
ce8f8e06c0
Clean up styling for framework-* examples ( #1970 )
2021-11-22 13:38:53 -07:00
github-actions[bot]
63df5fbf23
Version Packages ( #1967 )
...
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2021-11-22 10:27:46 -05:00
Withered Flowers
1ec3f28b63
Patch: Example Nanostores Update ( #1955 )
...
* Mention astro.new in docs (#1935 )
* Fix - Deprecated nanostores functions
createStore and getValue is deprecated in nanostores,
changed it to atom and atom.get()
* fix: change code to nanostores non-deprecated functions
Co-authored-by: Jonathan Neal <jonathantneal@hotmail.com>
2021-11-21 11:31:42 -06:00
github-actions[bot]
b4818701fe
Version Packages ( #1928 )
...
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2021-11-19 13:01:50 -08:00
Jonathan Neal
1692675575
Doc improvements ( #1929 )
...
* Update astro & markdown code blocks for consistency
* Add 'JSX in Frontmatter' note to Migration Guide
2021-11-19 14:53:38 -05:00
github-actions[bot]
3f76849a0b
Version Packages (next) ( #1923 )
...
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2021-11-19 14:12:11 -05:00
Matthew Phillips
ae2cadd246
Remove escape in blog example post
2021-11-19 13:21:41 -05:00
matthewp
53cdd671bf
[ci] yarn format
2021-11-19 18:10:50 +00:00
Matthew Phillips
a9a14a1be7
Fix blog example yet again ( #1917 )
2021-11-19 13:09:44 -05:00
github-actions[bot]
285622b8ae
Version Packages (next) ( #1916 )
...
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2021-11-19 12:49:37 -05:00
matthewp
bf1c1b72cf
[ci] yarn format
2021-11-19 17:36:30 +00:00
Matthew Phillips
0d437e11a7
Small fixes ( #1911 )
2021-11-19 12:35:41 -05:00
matthewp
4032e212ce
[ci] yarn format
2021-11-19 17:18:04 +00:00
Matthew Phillips
f76e029a78
Fix blog example ( #1910 )
2021-11-19 12:17:07 -05:00
github-actions[bot]
bb90ff60c8
Version Packages (next) ( #1907 )
...
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) ( #1904 )
...
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) ( #1881 )
...
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) ( #1873 )
...
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) ( #1863 )
...
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) ( #1847 )
...
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) ( #1796 )
...
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2021-11-16 13:06:58 -08:00
matthewp
b49f9a525e
[ci] yarn format
2021-11-15 15:35:07 +00:00
Matthew Phillips
fca1a99dbd
Support for using a subpath ( #1801 )
...
* Support for using a subpath
* Update the readme
* Fix the package name
* Adds a changeset
* Ensure that public/ must be loaded from the subpath
* Update preview to use the new paths
* Use exact compiler version
* Use the newest version
* Use range again
* Use newer range
2021-11-15 10:33:51 -05:00
Matthew Phillips
2da90d24d0
Tell tailwind to purge from the src folder ( #1797 )
2021-11-11 14:35:54 -05:00
Ian VanSchooten
df4146c93b
Allow inline code blocks to wrap lines ( #1799 )
2021-11-11 12:30:09 -07:00