Commit graph

936 commits

Author SHA1 Message Date
Houston (Bot)
71743aeca7
[ci] release (#6359)
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2023-02-27 08:55:42 -05:00
weakish
9f0ae4e6eb
Update doc link in non-html-pages example README (#6369) 2023-02-25 19:54:36 +01:00
Houston (Bot)
a848a723f6
[ci] release (#6287)
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2023-02-23 14:50:11 -06:00
Brian McManus
48b54d92ea
Fixes example README links to open in codespaces (#6346) 2023-02-23 11:20:19 -06:00
Brian McManus
7da05febea
Enhanced Astro codespace support (#6288)
* Enhanced Astro codespace support

Enhances the base devcontainer and Dockerfile to provide a smoother
development experience out of the box for contributors.

Adds a devcontainer per example so that we can add buttons on astro.new
that will launch users straight into the appropriate example app.

* Cleanup devcontainers and pin base image

* Update .devcontainer/example-welcome-message.txt

Co-authored-by: Samruddhi Khandale <skhandale@microsoft.com>

---------

Co-authored-by: Samruddhi Khandale <skhandale@microsoft.com>
2023-02-23 09:34:37 -06:00
Chris Swithinbank
5e86b011dc
Improve portfolio example icon support (#6343) 2023-02-23 15:48:01 +01:00
Eric P Sheets
a9a40d05d6
fix(examples/docs): future-proof Discord link (#6325) 2023-02-21 16:31:28 -06:00
Christofer J. Ekervhén
2a6d09e5d2
Fix import of type HTMLAttributes in blog example (#6322)
* Fix extend type HTMLAttributes in blog example

* Update examples/blog/src/components/HeaderLink.astro

Co-authored-by: Christofer J. Ekervhén <45903979+ChrisEke@users.noreply.github.com>

---------

Co-authored-by: Erika <3019731+Princesseuh@users.noreply.github.com>
2023-02-21 14:21:19 +01:00
Houston (Bot)
2e4ca0370a
[ci] release (#6279)
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2023-02-17 13:44:15 -05:00
Nate Moore
61113dd731
Fix prerendered page handling on Deno (#6284)
* fix(deno): handle prerendered pages

* test(deno): add prerender test

* fix: defensively access vite.build.rollupOptions.external

* fix(deno): support other formats of rollupOptions.external

* fix(deno): crawl prerendered files for match

* fix(deno): ignore deno error in server file

* fix(deno): cross-platform serve file
2023-02-17 13:19:19 -05:00
Houston (Bot)
a486104692
[ci] release (#6269)
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2023-02-17 14:48:21 +01:00
Houston (Bot)
fb4e79bf1f
[ci] release (#6261)
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2023-02-16 14:36:33 -05:00
Houston (Bot)
66acc6a65c
[ci] release (#6251)
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2023-02-15 22:54:16 +08:00
Houston (Bot)
4b89c2b553
[ci] release (#6239)
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2023-02-15 08:05:27 -05:00
Houston (Bot)
27a0b6339b
[ci] release (#6200)
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2023-02-13 15:26:13 -05:00
Houston (Bot)
d6845245f2
[ci] release (#6184)
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2023-02-09 14:27:56 -05:00
bholmesdev
0c3485ab07 [ci] format 2023-02-09 14:50:17 +00:00
Ben Holmes
5616167358
Fix blog starter about page (#6195)
* refactor: about.md -> about.astro

* chore: add strictNullChecks

* fix: format date on blog post layout
2023-02-09 09:48:29 -05:00
Houston (Bot)
919d0db428
[ci] release (#6178)
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2023-02-08 14:11:29 -05:00
Houston (Bot)
d9061da447
[ci] release (#6169)
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2023-02-07 17:08:12 -05:00
Houston (Bot)
27eecd3998
[ci] release (#6116)
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2023-02-07 13:45:08 -05:00
Marcy Sutton-Todd
6147479abf
fix(portfolio): keyboard a11y for ThemeToggle (#6126)
Hiding outline “except for Windows High Contrast Mode” makes this component inaccessible to all keyboard users. Removing this declaration allows the default focus outline to show.
2023-02-06 13:19:19 -06:00
Malte Ehrlen
61d47d25c6
fix example Card component style (#6123)
* fix example Card component style

Card component has uneven border on hover, and in some cases the border is visible even when not hovering

* Delete neat-taxis-thank.md

---------

Co-authored-by: Nate Moore <natemoo-re@users.noreply.github.com>
2023-02-03 20:54:39 -06:00
Obinna Ekwuno
db2c59fc18
Update open with codesandbox link to use synced sandboxes (#6105) 2023-02-03 11:52:11 -06:00
Houston (Bot)
a1c0cbe604
[ci] release (#6109)
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2023-02-02 19:43:30 -05:00
Houston (Bot)
81615c5004
[ci] release (#6094)
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2023-02-02 15:38:04 -05:00
Houston (Bot)
a007dbc759
[ci] release (#6089)
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2023-02-01 14:38:18 -05:00
Houston (Bot)
f05eb9f8ba
[ci] release (#6048)
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2023-02-01 08:58:35 -05:00
Houston (Bot)
a2cbc75ac4
[ci] release (#6041)
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2023-01-30 15:28:32 -05:00
Houston (Bot)
d9787a6ff6
[ci] release (#5995)
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2023-01-30 12:38:31 -05:00
Rychart Redwerkz
9bb0bfab13
Fix edit this Page on examples/docs (#6028)
* 🐛 Fix path from `pages` to `content/docs`

* 🐛 Fix path from `pages` to `content/docs`
2023-01-30 09:48:57 -05:00
Roy Eden
254eb21c83
fix: autoprefixer on dev mode for tailwind plugin (#6002)
Co-authored-by: Sarah Rainsberger <sarah@rainsberger.ca>
2023-01-27 23:14:19 +08:00
Houston (Bot)
607f0ac31a
[ci] release (#5984)
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2023-01-26 13:53:32 -05:00
Nick McCurdy
d47a9075bf
Make examples more consistent (#5201)
* Don't ignore `.output`

From packages/integrations/vercel/CHANGELOG.md#minor-changes-5:

> The output folder changed from `.output` to `.vercel/output` — you may need to update your `.gitignore`.

* Make example readmes more consistent

* remove `astro check` command

Co-authored-by: Nate Moore <nate@astro.build>
2023-01-26 08:37:30 -06:00
Houston (Bot)
4842d6acb0
[ci] release (#5963)
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2023-01-25 10:19:27 +08:00
Houston (Bot)
73ca0ef383
[ci] release (#5948)
* [ci] release

* Update changelogs (#5955)

* [ci] release

* Wrap astro 2.0 beta logs in `<details>`

* Add link to docs upgrade guide

* First pass cleaning up 2.0 release notes

* mdx changes from Sarah

* combine 5584 and 5842 in deno, image, netlify

* markdown/remark incl (5684 & 5769) to match mdx

* Tweak markdown/remark formatting

* Format astro-prism

* Format astro-rss

* Format create-astro

* Format cloudflare

* Format lit

* Format partytown

* Format node

* Format preact

* Format react

* Format solid

* Format svelte

* Format tailwind

* Format vercel

* Format vue

* Format telemetry

* Format webapi

* Format scripts

* Reinstate h3s for headings

Co-authored-by: Ben Holmes <hey@bholmes.dev>

* Reformat mdx

* astro & markdown/remark: Combine #5679 & #5684 changelogs

Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
Co-authored-by: Chris Swithinbank <swithinbank@gmail.com>
Co-authored-by: Sarah Rainsberger <sarah@rainsberger.ca>
Co-authored-by: Ben Holmes <hey@bholmes.dev>

Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
Co-authored-by: Matthew Phillips <matthew@skypack.dev>
Co-authored-by: Chris Swithinbank <swithinbank@gmail.com>
Co-authored-by: Sarah Rainsberger <sarah@rainsberger.ca>
Co-authored-by: Ben Holmes <hey@bholmes.dev>
2023-01-24 11:38:06 -05:00
Houston (Bot)
a75177f843
[ci] release (beta) (#5911)
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2023-01-23 16:11:39 -05:00
Hoston (Bot)
9ddb7a2f2e
[ci] release (beta) (#5906)
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2023-01-19 11:40:44 -05:00
Ben Holmes
81dce94f2a
[RSS] Get ready for content collections (#5851)
* chore: strictNullChecks for zod

* feat: expose `rssSchema` helper

* refactor: align types with schema types

* feat: break glob handler to globToRssItems util

* refactor: RSS options validation to Zod

* refactor: avoid intermediate type

* fix: allow numbers and dates in pubDate

* test: update glob and error tests

* feat: add rss to with-content starter

* fix: move globToRssItems back to internal behavior

* chore: JSON.stringify

* Revert "fix: move globToRssItems back to internal behavior"

This reverts commit 85305075e6444907455541b24bccbccd5016951a.

* test: missing url

* docs: `import.meta.env.SITE` -> `context.site`

* docs: update README to content collections example

* fix: url -> link

* docs: add `rssSchema` to README

* chore: consistent formatting

* docs: add `pagesGlobToRssItems()` reference

* chore: globToRssItems -> pagesGlobToRssItems

* chore: changeset

* fix: bad docs line highlighting

* fix: add collections export to example

* nit: remove "our"

* fix: are -> all

* fix: more README edits

* deps: kleur

* chore: add back import.meta.glob handling as deprecated

* docs: bump down to `minor`, update headline to be less content collections-y

* typo: suggest adding

* chore: support URL object on `site`

* docs: add await to pagesGlob ex

* docs: tighten `rssSchema` explainer

* docs: tighten pagesGlobToRssItems section

* docs: add content to README

* docs: replace examples with docs link

* docs: re-we

Co-authored-by: Sarah Rainsberger <sarah@rainsberger.ca>

Co-authored-by: Sarah Rainsberger <sarah@rainsberger.ca>
2023-01-19 11:24:55 -05:00
Hoston (Bot)
97267e3881
[ci] release (beta) (#5856)
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2023-01-19 11:00:03 -05:00
Bjorn Lu
a342a486c2
Refactor Svelte preprocess integration handling (#5901)
* Let user setup vitePreprocess

* Abstract function

* Add changeset

* Update svelte syntax

* Make fallback

* Fix docs

* Update changeset

* Fix types
2023-01-19 08:13:40 -05:00
Ben Holmes
7d72aeeae8
Migrate blog and docs starters to content collections (#5858)
* docs: update README for `content/`

* chore: update env

* feat: update blog to use content collections

* chore: remove with-content starter

* fix: single quotes -> double

* feat: update docs starter to content collections

* refactor: config -> consts

* chore: import type

* edit: Astro will -> Use

Co-authored-by: Sarah Rainsberger <sarah@rainsberger.ca>

* chore: remove unused null check

* nit: spacing

* nit: `as Props` 1

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

* nit: `as Props` 2

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

* chore: consistent CONSTS usage

* chore: `type` imports at top

* chore: consistent quote usage on YAML

* chore: remove `as Props` from docs

Co-authored-by: Sarah Rainsberger <sarah@rainsberger.ca>
Co-authored-by: Nate Moore <natemoo-re@users.noreply.github.com>
2023-01-18 08:43:58 -05:00
Bjorn Lu
2000f5fb1e
Update blog example env name (#5877) 2023-01-17 23:12:26 +08:00
Chris Swithinbank
ca22a81799
Implement redesign of portfolio example (#5765)
Co-authored-by: Yan Thomas <61414485+Yan-Thomas@users.noreply.github.com>
Co-authored-by: Nate Moore <natemoo-re@users.noreply.github.com>
2023-01-13 08:59:00 +01:00
Fred K. Bot
02b797fd3c
[ci] release (beta) (#5792)
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2023-01-12 11:40:35 -05:00
Chris Swithinbank
1d43a3a6aa
Add .astro/ to .gitignore in example projects (#5841)
* Delete committed types in with-content example

* Add `.astro/` to `.gitignore` in example projects
2023-01-12 11:26:13 -05:00
Ben Holmes
52209ca2ad
[Content collections] Remove experimental flag (#5825)
* refactor: remove experimental.cc from core

* chore: remove experimental flag from tests

* fix: mock contentDir in remark tests

* fix: check vfile.path in rel-image-error plugin

* fix: move .astro/ excludes to all test/fixtures

* fix: include test/**/fixtures in ignore

* chore: changeset
2023-01-11 12:51:31 -05:00
bholmesdev
4b16e9ec99 [ci] format 2023-01-10 23:03:59 +00:00
Ben Holmes
c2180746b4
[Content collections] Move generated types to .astro directory (#5786)
* feat: change cacheDir to `.astro`

* feat: write reference in env.d.ts if none exists

* chore: update with-content types

* test: env.d.ts transform

* nit: setUp -> add

* refactor: content.d.ts -> types.d.ts

* chore: update confirmation log

* chore: changeset

* feat: inject env.d.ts if none exists

* feat: set up env.d.ts on `astro sync`

* chore: duplicate envTsPathRelative

* docs: update changeset

* fix: make srcDir if none exists

* fix: types.generated -> .astro in gitignore

* feat: add env.d.ts to test gitignore

* chore: remove env.d.ts from content-collections

* test: move sync tests to `astro sync`, add file write test

* refactor: simplify test gitignore to base

* fix: add / to `.astro` bc that scares me
2023-01-10 18:01:52 -05:00
bholmesdev
cf5dc2adae [ci] format 2023-01-10 13:48:30 +00:00