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
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
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
Fred K. Bot
ec5a39c299
[ci] release (beta) ( #5742 )
...
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2023-01-06 13:00:12 -05:00
Fred K. Bot
2ba3bd9c16
[ci] release (beta) ( #5732 )
...
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2023-01-03 17:23:30 -05:00
Fred K. Bot
3a0f7c4855
[ci] release ( #5718 )
...
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2023-01-03 10:44:51 -05:00
Fred K. Bot
640de3c26f
[ci] release ( #5645 )
...
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2022-12-27 11:52:24 -05:00
delucis
b64081deed
[ci] format
2022-12-21 18:19:56 +00:00
Shivam
46757a6ce3
Add canonical URL to blog example ( #5651 )
2022-12-21 19:17:40 +01:00
Fred K. Bot
783a2a8e1b
[ci] release ( #5642 )
...
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2022-12-19 09:26:29 -06:00
Fred K. Bot
2552816d5f
[ci] release ( #5618 )
...
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2022-12-16 20:12:04 -05:00
Fred K. Bot
fc46ca53d1
[ci] release ( #5607 )
...
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2022-12-16 15:54:19 -05:00
Fred K. Bot
8913c51e1a
[ci] release ( #5605 )
...
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2022-12-14 10:23:50 -05:00
Fred K. Bot
d7da0996b6
[ci] release ( #5597 )
...
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2022-12-13 10:29:40 -05:00
Fred K. Bot
a219c41319
[ci] release ( #5561 )
...
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2022-12-12 10:22:39 -05:00
Fred K. Bot
50cb99003a
[ci] release ( #5544 )
...
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2022-12-08 09:12:10 -05:00
Fred K. Bot
d8e00a4871
[ci] release ( #5507 )
...
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2022-12-06 11:20:35 +01:00
Fred K. Bot
8450a09f14
[ci] release ( #5485 )
...
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2022-11-30 11:10:06 -05:00
Fred K. Bot
5fa1285239
[ci] release ( #5432 )
...
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2022-11-24 22:54:52 +08:00
Fred K. Bot
bbb329e65e
[ci] release ( #5419 )
...
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2022-11-17 10:52:42 -05:00
Fred K. Bot
49c1a5d439
[ci] release ( #5399 )
...
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2022-11-16 10:07:56 -05:00
Fred K. Bot
993b58d567
[ci] release ( #5365 )
...
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2022-11-14 13:31:31 -05:00
Fred K. Bot
7ec016fec3
[ci] release ( #5359 )
...
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2022-11-10 16:09:24 -08:00
Fred K. Bot
f8115180f3
[ci] release ( #5329 )
...
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2022-11-10 13:01:45 -08:00
Obinna Ekwuno
8cdd5aabdb
Add “Open with CodeSandbox” buttons to example project READMEs ( #5322 )
...
Co-authored-by: Chris Swithinbank <swithinbank@gmail.com>
2022-11-10 11:32:13 +01:00
Princesseuh
dcdeca56ac
[ci] format
2022-11-08 18:39:22 +00:00
Fred K. Bot
e8ff4571f2
[ci] release ( #5325 )
...
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2022-11-08 13:00:53 -05:00
Fred K. Bot
56c37a6287
[ci] release ( #5296 )
...
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2022-11-07 15:25:20 -05:00
Fred K. Bot
89f335b539
[ci] release ( #5262 )
...
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2022-11-03 09:38:29 -04:00
Shoubhit Dash
0bab357c48
fix: consider trailing slashes when calculating current path in blog example ( #5272 )
2022-11-01 16:08:45 -04:00
Fred K. Bot
5016166acf
[ci] release ( #5239 )
...
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2022-10-31 10:21:09 -04:00
Fred K. Bot
5be3fdec27
[ci] release ( #5215 )
...
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2022-10-28 12:14:55 -04:00
Fred K. Bot
50841bb7fd
[ci] release ( #5199 )
...
* [ci] release
* Update packages/integrations/cloudflare/CHANGELOG.md
Co-authored-by: Sarah Rainsberger <sarah@rainsberger.ca>
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
Co-authored-by: Matthew Phillips <matthew@skypack.dev>
Co-authored-by: Sarah Rainsberger <sarah@rainsberger.ca>
2022-10-27 09:41:03 -04:00
Fred K. Bot
4efbfdd78d
[ci] release ( #5135 )
...
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2022-10-26 08:43:23 -04:00
Princesseuh
7e430a3dc9
[ci] format
2022-10-24 13:34:10 +00:00
Fred K. Bot
863391f10e
[ci] release ( #5117 )
...
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2022-10-19 15:29:21 -04:00
Fred K. Bot
4c1ffef3e4
[ci] release ( #5078 )
...
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2022-10-18 14:26:00 -04:00
Fred K. Bot
81d57f2638
[ci] release ( #5046 )
...
* [ci] release
* Update packages/integrations/node/CHANGELOG.md
Co-authored-by: Sarah Rainsberger <sarah@rainsberger.ca>
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
Co-authored-by: Matthew Phillips <matthew@skypack.dev>
Co-authored-by: Sarah Rainsberger <sarah@rainsberger.ca>
2022-10-13 12:29:24 -04:00
Fred K. Bot
0ab0d8d863
[ci] release ( #5019 )
...
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2022-10-10 11:44:22 -04:00
Fred K. Bot
4e8625fbfb
[ci] release ( #5014 )
...
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2022-10-07 10:34:13 -04:00
Fred K. Bot
778b915525
[ci] release ( #4976 )
...
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2022-10-06 13:47:10 -04:00
Fred K. Bot
5d58787f7a
[ci] release ( #4968 )
...
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2022-10-03 18:48:40 -04:00
Fred K. Bot
bb022f5230
[ci] release ( #4957 )
...
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2022-10-03 11:52:23 -04:00
Fred K. Bot
5565782d70
[ci] release ( #4943 )
...
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2022-09-30 19:51:17 -04:00
Nate Moore
0ae8147988
chore: delete .stackblitzrc files from examples ( #4922 )
...
Co-authored-by: Nate Moore <nate@astro.build>
2022-09-30 16:02:52 -05:00
Fred K. Bot
2ffdafff45
[ci] release ( #4921 )
...
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2022-09-30 20:15:38 +00:00
Fred K. Bot
d08093f7d4
[ci] release ( #4903 )
...
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2022-09-29 11:20:00 -04:00
Bjorn Lu
812658ad2a
Remove shamefully-hoist ( #4842 )
2022-09-28 23:13:33 +08:00
Fred K. Bot
077134ae2c
[ci] release ( #4846 )
...
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2022-09-27 12:12:44 -04:00
Tobias
9fb03b2e99
examples rss: add mdx file ending ( #4710 )
...
This follows the same pattern used in https://github.com/withastro/astro/blob/main/examples/blog/src/pages/blog.astro#L8 . Without adding `mdx` here, only some blog posts will be part of the rss.xml file.
2022-09-22 14:53:07 -04:00
Fred K. Bot
47d4165603
[ci] release ( #4833 )
...
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2022-09-22 11:04:45 -04:00
Brett Jankord
2c2bbc5158
Update blog post date text color to meet contrast-ratio guidelines ( #4821 )
2022-09-22 15:18:09 +08:00
Fred K. Bot
a08b178cdb
[ci] release ( #4811 )
...
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2022-09-20 15:15:54 -04:00
Fred K. Bot
8a1dd4b7e8
[ci] release ( #4790 )
...
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2022-09-19 14:44:49 -04:00
Fred K. Bot
1c36b0ec18
[ci] release ( #4781 )
...
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2022-09-16 14:13:02 -04:00
Michael Rienstra
a800bf7ec1
.md only: npm init astro --> npm create astro ( #4760 )
...
* .md only: npm init astro --> npm create astro
For consistency with https://github.com/withastro/docs/pull/360 . Docs always use `npm create astro` (never `npm init astro`), README.md files in this repo should do the same.
Search:
`\b(npm|yarn|pnpm) init astro\b`
Replace:
`$1 create astro`
Except for two instances:
1. `packages/create-astro/CHANGELOG.md` -- skipped because changelog.
2. `packages/create-astro/test/create-astro.test.js.skipped` -- skipped, old test disabled in https://github.com/withastro/astro/pull/3168 .
* docs: add `@latest` to `npm create astro`
Co-authored-by: Bjorn Lu <bjorn@bjornlu.com>
Co-authored-by: Michael Rienstra <michael@goodmoney.com>
2022-09-16 12:40:06 -05:00
Fred K. Bot
b2da8a124a
[ci] release ( #4761 )
...
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2022-09-15 14:05:25 -04:00
Fred K. Bot
27aa9851d8
[ci] release ( #4750 )
...
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2022-09-14 16:06:23 -04:00
Fred K. Bot
150cd8a582
[ci] release ( #4729 )
...
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2022-09-13 15:15:05 -04:00
Nate Moore
8cfb3fb535
Migrate examples to type: module
( #4662 )
...
* chore: move examples to type module
* chore: prefer astro.config.mjs to astro.config.js
* chore: reference CJS config file
Co-authored-by: Nate Moore <nate@astro.build>
2022-09-13 14:02:57 -05:00
Sami Jaber
234057b020
Template (Blog): fix HeaderLink
isActive
check ( #4647 )
...
* remove trailing slashes when checking active href
* use simpler regex
Co-authored-by: Nate Moore <natemoo-re@users.noreply.github.com>
* remove unused code
Co-authored-by: Nate Moore <natemoo-re@users.noreply.github.com>
2022-09-13 14:02:32 -05:00
Fred K. Bot
56e225b41a
[ci] release ( #4707 )
...
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2022-09-12 15:08:39 -04:00
Fred K. Bot
100b8d0583
[ci] release ( #4702 )
...
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2022-09-09 17:18:03 -04:00
Fred K. Bot
2737cabd10
[ci] release ( #4698 )
...
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2022-09-09 14:58:03 -04:00
Fred K. Bot
b6dd8b595c
[ci] release ( #4680 )
...
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2022-09-09 10:56:48 -04:00
Fred K. Bot
f165353e7a
[ci] release ( #4657 )
...
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2022-09-07 21:29:44 +00:00
Fred K. Bot
481e0d1d8a
[ci] release ( #4620 )
...
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2022-09-06 15:40:15 -04:00
Daren Chandisingh
1bee84920a
examples: Blog template changes ( #4577 )
...
Co-authored-by: Chris Swithinbank <swithinbank@gmail.com>
2022-09-03 16:58:00 +02:00
Fred K. Bot
7114aee208
[ci] release ( #4604 )
...
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2022-09-02 16:50:59 -04:00
Fred K. Bot
592de3d703
[ci] release ( #4589 )
...
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2022-09-02 16:13:04 -04:00
Fred K. Bot
005d53145f
[ci] release ( #4555 )
...
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2022-08-31 18:03:27 -04:00
Dan Jutan
d5bd23d5f4
Update templates to avoid devDependencies and :global ( #4576 )
...
* devDependencies => dependencies
* :global -> is:global
* update lockfile
* remove unneeded markdown dependency
* fix remaining merge conflicts
* update lockfile
2022-08-31 16:17:15 -04:00
Dan Jutan
23d4f80145
Revert "Update templates to avoid devDependencies and :global ( #4544 )" ( #4575 )
...
This reverts commit ca2d0728e4
.
2022-08-31 15:27:36 -04:00
Dan Jutan
ca2d0728e4
Update templates to avoid devDependencies and :global ( #4544 )
...
* devDependencies => dependencies
* :global -> is:global
* update lockfile
* remove unneeded markdown dependency
2022-08-31 19:18:53 +00:00
Fred K. Bot
e905784bf1
[ci] release ( #4520 )
...
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2022-08-30 12:45:04 -04:00
Fred K. Bot
270852370a
[ci] release ( #4508 )
...
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2022-08-26 21:30:37 -03:00
Fred K. Bot
ff03313848
[ci] release ( #4495 )
...
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2022-08-26 13:01:30 -04:00
Mohammed Elhaouari
5fbb359afb
Remove "as Props" from the astro examples ( #4494 )
2022-08-26 10:16:17 -04:00
Peter Singh
74cb94ca3c
Update blog.astro ( #4486 )
2022-08-26 16:15:50 +08:00
Fred K. Bot
7960fb80a1
[ci] release (next) ( #4480 )
...
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2022-08-25 17:27:35 -04:00
Erika
77ce6be30c
Add template tsconfigs for users to extend from ( #4439 )
...
* Add tsconfig templates to extend from
* Add changeset
* Right order for assign parameters
* Add tsconfigs to export map
2022-08-25 15:15:27 -04:00
Fred K. Bot
0b66ff39b8
[ci] release ( #4453 )
...
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2022-08-25 12:00:17 -04:00
Moritz Stückler
c960f602da
feat: add screenshots to official theme readme files ( #4442 )
...
* feat: add screenshot to basic example
* feat: add screenshot to blog examples
* feat: add screenshots to docs example
* feat: add screenshot to portfolio example
2022-08-24 10:01:01 -04:00
Fred K. Bot
5427e89491
[ci] release ( #4431 )
...
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2022-08-23 15:27:10 -04:00
Fred K. Bot
457e559cd5
[ci] release ( #4363 )
...
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2022-08-22 15:46:46 -04:00
Nate Moore
41b81d0d7e
Switch examples favicon to use svg ( #4331 )
...
* chore(examples): switch favicon to svg
* chore: astro.svg => favicon.svg
* Update examples/basics/README.md
Co-authored-by: Bjorn Lu <bjornlu.dev@gmail.com>
Co-authored-by: Nate Moore <nate@astro.build>
Co-authored-by: Bjorn Lu <bjornlu.dev@gmail.com>
2022-08-17 15:19:04 -05:00
Caleb
675b6d47f4
Fix example blog post markdown-style-guide.md image extension ( #4360 )
2022-08-17 16:11:09 +08:00
Fred K. Bot
1de82f0f78
[ci] release ( #4333 )
...
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2022-08-16 10:14:44 -04:00
Nate Moore
655d9840f8
fix(blog): height auto img ( #4327 )
...
Co-authored-by: Nate Moore <nate@astro.build>
2022-08-15 11:19:47 -05:00
FredKSchott
faa49db39b
[ci] format
2022-08-15 04:28:38 +00:00
Fred K. Schott
0e2f4d74b7
image fix ( #4322 )
2022-08-15 00:26:33 -04:00
Fred K. Bot
16edf0c773
[ci] release ( #4296 )
...
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2022-08-13 10:09:17 -07:00
Fred K. Schott
6a3aa12079
[examples/blog] move copy
2022-08-13 01:12:57 -07:00
Fred K. Schott
d2063b4cf9
update examples/blog package.json
2022-08-13 01:01:49 -07:00
FredKSchott
485742dc0d
[ci] format
2022-08-13 07:12:04 +00:00
Fred K. Schott
d54588c7a4
Update: blog template ( #4283 )
...
* add new blog template
* update placeholder images
* use svg favicon
* Update examples/blog/src/pages/blog/using-mdx.mdx
Co-authored-by: Sarah Rainsberger <sarah@rainsberger.ca>
* fred pass
* more fred pass
Co-authored-by: Nate Moore <nate@astro.build>
Co-authored-by: Sarah Rainsberger <sarah@rainsberger.ca>
2022-08-13 00:09:40 -07:00
Fred K. Bot
b1bd52e9ea
[ci] release ( #4290 )
...
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2022-08-12 17:40:47 -05:00