Steven Yung
6fd00c4941
add double check on astro file return type to display more human readable error ( #4857 )
2022-09-26 14:13:25 -04:00
Steven Yung
f4edba80f9
update SSR example to match recent change on Astro API Context ( #4854 )
2022-09-23 12:57:05 -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
Matthew Phillips
25a5b9a89a
Revert preact signals support ( #4843 )
...
* Revert "Update preact example to match @astrojs/preact ranges (#4840 )"
This reverts commit d650a1161a
.
* Revert "[ci] format"
This reverts commit e3c78c5b16
.
* Revert "Support shared signals in Preact islands (#4763 )"
This reverts commit 5e46be5468
.
2022-09-22 10:32:42 -04:00
Matthew Phillips
d650a1161a
Update preact example to match @astrojs/preact ranges ( #4840 )
2022-09-22 08:37:38 -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
matthewp
e3c78c5b16
[ci] format
2022-09-21 19:23:58 +00:00
Matthew Phillips
5e46be5468
Support shared signals in Preact islands ( #4763 )
...
* Support signals in Preact islands
* Add a changeset
* Only add signals if we need them
* Refactor signal logic into its own module
* Keep track of the signals used
2022-09-21 15:21:21 -04: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
matthewp
4d1b1b583b
[ci] format
2022-09-20 12:32:27 +00:00
Elian ☕️
f2b515d0b4
Add Deno example ( #4641 )
...
* Add Deno example
* update lockfile
* update README
* update README
2022-09-20 08:29:33 -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
Calvin Liang
7c11ef63bd
Fix typo in portfolio example ( #4764 )
...
`/products/` doesn't exist. Likely means`/projects/`.
2022-09-15 12:17:49 -05: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
Nate Moore
b9e73b4b0d
Delete examples/component/demo directory ( #4739 )
2022-09-13 16:24:11 -05: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
Brendan O'Leary
80ae62ad99
Fix theme.css location in docs starter project ( #4697 )
...
* Fix theme.css location in docs starter project
* Also fix in diff display
Co-authored-by: Brendan O'Leary <boleary@gitlab.com>
2022-09-09 12:19:45 -05: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
matthewp
ef7ba4507a
[ci] format
2022-09-08 16:32:36 +00:00
Nate Moore
4b73d34744
fix: add private to component to prevent accidental publish ( #4668 )
...
Co-authored-by: Nate Moore <nate@astro.build>
2022-09-07 17:23:47 -05:00
Dan Jutan
d6adb67ae4
chore: update component template ( #4540 )
...
Co-authored-by: Nate Moore <nate@astro.build>
2022-09-07 18:16:54 -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
Jutanium
965a493a39
[ci] format
2022-09-06 15:58:28 +00:00
Dan Jutan
186a06eb02
Update portfolio, removing Sass and Preact ( #4556 )
...
* remove sass and preact from portfolio example
* add back public folder
* remove lockfile
* Update examples/portfolio/src/layouts/project.astro
Co-authored-by: Ben Holmes <hey@bholmes.dev>
* run prettier
* Update examples/portfolio/src/pages/index.astro
Co-authored-by: Ben Holmes <hey@bholmes.dev>
* remove wrapper class
* remove button component; fix padding
* improve mobile layout
* lockfile
* Revert "lockfile"
This reverts commit e32518f444
.
* Update examples/portfolio/src/pages/index.astro
Co-authored-by: Sarah Rainsberger <sarah@rainsberger.ca>
* Update examples/portfolio/src/components/Nav.astro
Co-authored-by: Sarah Rainsberger <sarah@rainsberger.ca>
* update astro
* lockfile (again)
Co-authored-by: Ben Holmes <hey@bholmes.dev>
Co-authored-by: Sarah Rainsberger <sarah@rainsberger.ca>
2022-09-06 11:56:09 -04:00
Dan Jutan
a32bbe7289
remove subpath and env-vars examples ( #4606 )
2022-09-06 10:33:08 -04:00
Halí V
6506e84ccf
fix: add unique key to elements in map ( #4607 )
2022-09-06 08:49:51 -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
Jutanium
b5f3c0d735
[ci] format
2022-08-31 20:20:16 +00: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
Julius Marminge
feb88afb8c
fix: improve docs example ( #4355 )
...
* fix: improve docs example
* final touches
* chore: prettier
* lockfile
* ci?
* downgrade types node
* fresh lockfile
* lockfile and npmrc
* remove debug log
* Merge branch 'main' into docs-template-ts
* merging lockfiles suck
* update lockfile
* satisfy linter
2022-08-29 12:00:08 -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
d85133393a
[ci] release ( #4502 )
...
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2022-08-26 13:03:04 -07: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