Chris Swithinbank
f9f1b531da
Fix astro.config.mjs
in minimal example ( #5350 )
2022-11-10 09:50:29 -06: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
natemoo-re
16abbad0b6
[ci] format
2022-11-08 22:12:54 +00:00
Nate Moore
13119162f5
fix(examples): ts-check issue ( #5332 )
...
Co-authored-by: Nate Moore <nate@astro.build>
2022-11-08 16:11:17 -06: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
matthewp
4cf87eb29f
[ci] format
2022-11-04 13:11:59 +00:00
wulinsheng123
247eb7411f
fix: fix bug #5267 ( #5298 )
...
* fix: fix bug #5267
* fix: add changeset
* fix: on frozen lockfile
Co-authored-by: wuls <linsheng.wu@beantechs.com>
2022-11-04 09:09:55 -04: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
Tony Sullivan
4e2bd17393
Adds a Hackernews example site ( #5213 )
...
* adds the hackernews example - TODO add readme content
* refactor: moving styles from root.css into components
* chore: add README content
* chore: lint fixes + prettier-plugin-astro@0.4.0
* Update examples/hackernews/README.md
Co-authored-by: Sarah Rainsberger <sarah@rainsberger.ca>
* lint: remove unused variable
* nit: adding check command to example
Co-authored-by: Sarah Rainsberger <sarah@rainsberger.ca>
2022-11-01 16:20:04 +00: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
Erika
f4dd4522bf
Fix unintentional change to minimal example ( #5214 )
2022-10-27 15:39:11 -03: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
Nate Moore
ddf2f8390e
Add support for --base
CLI argument ( #4917 )
...
* feat(cli): add support for `--base` CLI argument
* chore: update CLI --help
* Update wise-swans-live.md
* Update wise-swans-live.md
Co-authored-by: Nate Moore <nate@astro.build>
2022-10-26 10:13:43 -05: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
Antony R Mott
9d4716f5ad
fix KNOWN_LANGUAGES option child element ( #5118 )
2022-10-19 14:48:00 +08: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
matthewp
1f57c0ca64
[ci] format
2022-10-18 13:54:56 +00:00
Daniel
5923dd77c1
adding cookies to api route response [simple result] ( #5060 )
...
* adding cookies to the an api route response, also when returning a simple result
* in dev server, convert a simple endpoint result into a response object
Co-authored-by: AirBorne04 <unknown>
Co-authored-by: AirBorne04 <>
Co-authored-by: Matthew Phillips <matthew@skypack.dev>
2022-10-18 09:52:49 -04:00
Yaroslav Lapin
66e8ae3bee
update with-tailwind example to use mdx ( #5104 )
...
* add mdx since md is deprecated now
* rename .md -> .mdx
* fix component import
* yarn format
2022-10-18 09:22:48 -04:00
Sujaykumar
bf01c8bf67
Fix missing image src in config for examples docs ( #5109 )
2022-10-17 22:29:53 +08: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
matthewp
575bf9205e
[ci] format
2022-10-12 21:27:56 +00:00
Matthew Phillips
e55af8a232
Node.js standalone mode + support for astro preview ( #5056 )
...
* wip
* Deprecate buildConfig and move to config.build
* Implement the standalone server
* Stay backwards compat
* Add changesets
* correctly merge URLs
* Get config earlier
* update node tests
* Return the preview server
* update remaining tests
* swap usage and config ordering
* Update packages/astro/src/@types/astro.ts
Co-authored-by: Sarah Rainsberger <sarah@rainsberger.ca>
* Update .changeset/metal-pumas-walk.md
Co-authored-by: Sarah Rainsberger <sarah@rainsberger.ca>
* Update .changeset/metal-pumas-walk.md
Co-authored-by: Sarah Rainsberger <sarah@rainsberger.ca>
* Update .changeset/stupid-points-refuse.md
Co-authored-by: Sarah Rainsberger <sarah@rainsberger.ca>
* Update .changeset/stupid-points-refuse.md
Co-authored-by: Sarah Rainsberger <sarah@rainsberger.ca>
* Link to build.server config
Co-authored-by: Fred K. Schott <fkschott@gmail.com>
Co-authored-by: Sarah Rainsberger <sarah@rainsberger.ca>
2022-10-12 17:25:51 -04:00
Princesseuh
b7bff4847b
[ci] format
2022-10-12 12:50:30 +00:00
Erika
f604ef6c69
Run astro check on all examples in CI ( #5022 )
...
* Run astro check on all examples in CI
* Output stderr
* Build Astro before running checks
* Making things faster + colors
* Fix errors inside examples
* Add congrats message
* Revert unentional change to tsconfigs
* Remove more unneeded changes
2022-10-12 09:48:29 -03:00
Oliver Davies
73c96f491e
Fix typo ( #5042 )
2022-10-10 12:09:07 -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
Matthew Phillips
b1964e9e1b
Revert "Revert preact signals support ( #4843 )" ( #5015 )
...
This reverts commit 25a5b9a89a
.
2022-10-10 09:01:15 -04:00
Tony Sullivan
e5c64c51c1
Adds an integration starter example ( #4877 )
...
* adding an integration starter example
* chore: linter fixes
* removing components from the integration example
* removing the monorepo and demo project, adding links to docs and examples
* chore: update lock file
* typo fix
2022-10-07 16:06:51 +00: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
Matthew Phillips
671fca7dac
Remove early return from SSR example ( #4993 )
2022-10-05 16:37:54 -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
matthewp
b3c857adbd
[ci] format
2022-09-29 12:16:35 +00:00
Rishi Raj Jain
d8e796e960
fix trailing slash mismatch in dev vs build in docs example ( #4912 )
2022-09-29 08:15:00 -04:00
FredKSchott
97aabe0075
[ci] format
2022-09-28 15:48:55 +00:00
Fred K. Schott
d37a840cd2
redesign basics template ( #4879 )
2022-09-28 08:47:19 -07: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
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
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
matthewp
11ce2b6ce9
[ci] format
2022-08-25 19:17:45 +00: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
Rui Saraiva
be2774b357
chore(basics): update README folder structure ( #4417 )
2022-08-22 14:26:44 -04:00
Fred K. Schott
7310e8a178
add an alpine integration and update example ( #4406 )
2022-08-22 14:25:57 -04:00
Vincent Uden
2615042923
Fix typo in the docs example ( #4382 )
2022-08-19 16:06:53 +08: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
FredKSchott
b429aff2ad
[ci] format
2022-08-13 17:01:47 +00:00
Peter Singh
6a90f6a941
Reove: references to Lit ( #4305 )
2022-08-13 09:59:58 -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
bholmesdev
d4b06f9d8e
[ci] format
2022-08-12 22:48:10 +00:00
Ben Holmes
5fe46d946a
fix: content -> frontmatter, content.headings -> headings ( #4294 )
2022-08-12 18:46:26 -04: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
Fred K. Bot
bb3d7d4f39
[ci] release ( #4249 )
...
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2022-08-11 16:50:59 -07:00
Fred K. Bot
1ee08baf91
[ci] release ( #4228 )
...
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2022-08-10 16:54:12 -04:00
Fred K. Bot
74528a1973
[ci] release ( #4224 )
...
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2022-08-09 17:31:06 -07:00
Fred K. Schott
3a7f2385ea
Revert "[ci] release ( #4223 )"
...
This reverts commit d4ad409875
.
2022-08-09 17:28:02 -07:00
Fred K. Bot
d4ad409875
[ci] release ( #4223 )
...
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2022-08-09 19:25:15 -04:00
Nate Moore
9f067dca27
Astro 1.0.0 ( #4214 )
...
* chore: remove changesets patch
* chore: add changesets
* chore: version packages
* chore: normalize formatting
* chore: update lockfile
* chore: fix codeblocks
* Update packages/astro/CHANGELOG.md
Co-authored-by: Sarah Rainsberger <sarah@rainsberger.ca>
* Update packages/astro/CHANGELOG.md
Co-authored-by: Sarah Rainsberger <sarah@rainsberger.ca>
* Update packages/astro/CHANGELOG.md
Co-authored-by: Sarah Rainsberger <sarah@rainsberger.ca>
* chore: fixup code samples
* chore: move v0.25 message out of note
Co-authored-by: Nate Moore <nate@astro.build>
Co-authored-by: Sarah Rainsberger <sarah@rainsberger.ca>
2022-08-09 11:10:25 -05:00
Fred K. Bot
4d29163d11
[ci] release ( #4197 )
...
* [ci] release
* Update CHANGELOG.md
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
Co-authored-by: Nate Moore <natemoo-re@users.noreply.github.com>
2022-08-08 18:10:55 -05:00
Nate Moore
f207c417e0
Add Astro.generator ( #4012 )
...
* feat: add generator property and component
* chore: remove `Generator` component
* chore: update generator description
* chore: include generator in examples
* chore: update lockfile
* chore: format
* fix: do not reference core from server runtime
* chore: remove component test
Co-authored-by: Nate Moore <nate@astro.build>
2022-08-08 12:34:05 -05:00
Fred K. Bot
4e4061f485
[ci] release ( #4159 )
...
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2022-08-05 21:48:35 -07:00
FredKSchott
9c3b8d0630
[ci] format
2022-08-06 04:43:26 +00:00
Kevin Zuniga Cuellar
bcca548d46
add charset utf-8
2022-08-05 21:41:09 -07:00
FredKSchott
4de35f3b70
[ci] format
2022-08-06 04:39:26 +00:00
Fred K. Schott
3f3a293b6b
update example scripts ( #4098 )
2022-08-05 21:36:23 -07:00
Erika
c9b679e56e
Move types to a .d.ts file inside examples projects ( #4171 )
...
* Move types to a .d.ts file to avoid making types explicit
* Rename to proper types
* Move to proper place
* Add noEmit to tsconfig.json
* Add back removed code by accident
2022-08-05 17:46:52 -04:00
Ben Holmes
471c6f784e
[markdown] Harder, better, faster, stronger vite-plugin-markdown
( #4137 )
...
* refactor: vite-plugin-md -> vite-plugin-md-legacy
* wip: add vite-plugin-md
* feat: always apply jsx renderer
* fix: markHTMLString on VNode result
* feat: apply new vite-plugin-markdown!
* fix: add meta export to md
* fix: remove needless $$metadata export
* fix: toggle to legacy plugin on flag
* fix: pass fileId to renderMarkdown
* test: raw and compiled content on plain md
* fix: escape vite env refs
* refactor: astro-md -> legacy-astro-flavored-md, astro-md-mode -> astro-markdown
* fix: import.meta.env refs with tests
* fix: add pkg.json to clientAddress
* fix: prefer JSX integration over Astro runtime
* Revert "fix: prefer JSX integration over Astro runtime"
This reverts commit 3e5fa49344be9c857393da9af095faab152e92e1.
* fix: remove .mdx check on importSource
* chore: changeset
* chore: remove TODO
* fix: add back getHeadings
* fix: add pkg.json to astro-head fixture
* fix: default to Astro renderer for MDX and MD
* feat: add "headings" and "frontmatter" to md layouts
* refactor: remove legacy flag conditionals from legacy plugin
* fix: add back MDX warning when legacy is off
* test: getHeadings() glob
* fix: add error on "astro.headings" access
* feat: update docs example astro.headings => headings
* refactor: readFile as string w/ utf-8
* chore: remove astro metadata TODO
* refactor: stringify HTML once
* fix: add pkg.json to glob-pages-css
2022-08-05 15:43:50 -04:00
natemoo-re
838eb3e5cc
[ci] format
2022-08-05 19:42:58 +00:00
Nate Moore
36223f663e
Add getViteConfig
helper ( #4154 )
...
* feat: add astro/compat entrypoint for vitest
* chore: add with-vitest example
* chore: add vitest as optional peer dependency
* chore: update lockfile
* refactor: remove astro/compat, use astro/config
* feat: allow arbitrary modes for `create-vite`
* feat: pass vite mode and command when using `getViteConfig`
* chore: remove vitest from peer deps
* chore: add changeset
* chore: update lockfile
Co-authored-by: Nate Moore <nate@astro.build>
2022-08-05 14:41:01 -05:00
Princesseuh
3362ec2478
[ci] format
2022-08-04 18:19:18 +00:00
Erika
f591150512
Audit examples templates ( #3940 )
...
* basics, framework-alpine, framework-solid, delete unused examples
* framework-multiple
* Remove non-standard file extensions, add missing .vscode folders
* Remove robots.txt
* Remove blog-multiple-authors
* Rewrite components comments to be consistent
* Update lockfile
* Remove unnecessary usage of SCSS in subpath example
* Fix props weirdness in portfolio example
* Remove Lit from `framework-multiple` for now
* Misc fixes
* Update lockfile
* I'm in lockfile hell, send help
2022-08-04 14:16:51 -04:00
Fred K. Bot
32580d4fdc
[ci] release ( #4152 )
...
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2022-08-04 12:21:38 -04:00
Fred K. Bot
7300f094fd
[ci] release ( #4133 )
...
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2022-08-03 23:14:04 -07:00
Viktor Persson
ec5518fe30
Add mdx extension to tailwind content glob. ( #4063 )
...
* Add mdx extension to tailwind content glob.
* Create wicked-hairs-rescue.md
Co-authored-by: Nate Moore <natemoo-re@users.noreply.github.com>
2022-08-03 14:04:44 -05:00
Fred K. Bot
077d78fddc
[ci] release ( #4116 )
...
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2022-08-02 14:50:21 -07:00
Fred K. Bot
268d44e25b
[ci] release ( #4086 )
...
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2022-07-30 00:29:04 -04:00
Fred K. Bot
84193e3ea1
[ci] release ( #4081 )
...
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2022-07-28 15:53:57 -04:00
Fred K. Bot
6d103ddceb
[ci] release ( #4056 )
...
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2022-07-28 08:17:45 -04:00
Fred K. Bot
d790eabd98
[ci] release ( #3972 )
...
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2022-07-26 09:58:38 -04:00
Matthew Phillips
6fd161d769
Add the output
option ( #4015 )
...
* Start of work on astroConfig.mode === 'server'
* Add tests and more
* adapter -> deploy in some places
* Add fallback for `adapter` config
* Update more tests
* Update image tests
* Fix clientAddress test
* Updates based on PR review
* Add a changeset
* Update integrations tests + readme
* Oops
* Remove old option
* Rename `mode` to `output`
* Update Node adapter test
* Update test
* fred pass
* fred pass
* fred pass
* fix test
Co-authored-by: Fred K. Schott <fkschott@gmail.com>
2022-07-25 00:18:02 -04:00
Nate Moore
8859655f15
Update astro
version to 1.0.0-rc.0
( #4030 )
...
* chore: update `astro` to `1.0.0-rc.0`
* chore: update `astro` version in examples
Co-authored-by: Nate Moore <nate@astro.build>
2022-07-24 22:32:28 -04:00
natemoo-re
8c08181822
[ci] format
2022-07-23 22:25:44 +00:00
Nate Moore
6e27a5fdc2
Rename Markdown util getHeaders()
to getHeadings()
( #4031 )
...
* Renamed getHeaders() to getHeadings(), according to RFC #208 .
* chore: update changeset
* fix: expose MarkdownHeading type from `astro`
Co-authored-by: Félix Sanz <me@felixsanz.com>
Co-authored-by: Nate Moore <nate@astro.build>
2022-07-23 17:23:15 -05:00
Ben Holmes
3b8a744524
[MDX] Add Prism and Shiki support ( #4002 )
...
* deps: add rehype-prism, shiki, rehype-pretty-code
* wip: apply rehype plugins depending on config
* wip: cherry-pick jsx-runtime fix?
* deps: rehype-pretty-code -> shiki-twoslash, add rehype-raw
* wip: add jsx-runtime fix
* feat: get shiki working!
* deps: add @astrojs/prism, prismjs, unist-util-visit
* feat: add prism support
* example: add small syntax highlight demo to with-mdx
* deps: remove rehype-prism
* chore: remove unused async
* chore: add .test.js to all mdx tests
* test: shiki, shikiConfig, prism
* fix: remove "is:raw" from prism output
* docs: add syntax highlighting section
* chore: add changeset
* nit: "Shiki config" -> Shiki config
Co-authored-by: Sarah Rainsberger <sarah@rainsberger.ca>
* Revert "wip: add jsx-runtime fix"
This reverts commit 07f4528f44
.
* docs: link to integration README from example
Co-authored-by: Nate Moore <nate@astro.build>
Co-authored-by: Sarah Rainsberger <sarah@rainsberger.ca>
2022-07-21 16:43:58 -04:00
matthewp
81758f1c1e
[ci] format
2022-07-21 17:48:45 +00:00
Fred K. Schott
ddefb172f6
Replace/Rename Astro.canonicalURL with new Astro.url helper ( #3959 )
...
* add Astro.url
* Add examples of how to create the canonicalURL
Co-authored-by: Matthew Phillips <matthew@skypack.dev>
2022-07-21 13:45:59 -04:00
Matthew Phillips
bccd88f0eb
Move the Markdown component to its own package ( #3986 )
...
* Move the Markdown component to its own package
* Update the examples
* Updated lockfile
* Use is:raw
* Add a main field
* Update the formatting of the readme
* Rename to @astrojs/markdown-component
2022-07-20 16:45:05 -04:00
FredKSchott
4bb96ac8e5
[ci] format
2022-07-19 05:21:24 +00:00
Matthew Phillips
04070c0c12
Migrate to Vite 3 ⚡ ️ ( #3570 )
...
* Vite 3 test
* deps: bump to Vite beta.1
* refactor: move to use optimizeDeps.force option
* refactor: stub out new updateModuleInfo params
* nit: remove comment on deprecated Vite feature
* nit: remove comment on deprecated vite feature
* hail mary: destroy all ssr external / noexternal!
* fix: use new middlewareMode config settings
* fix: resolve npm package paths for rollup input
* wip: revert to unresolved. Issue reported!
* sad refactor: use legacy devDepsScanner for component HMR
* fix: add astro/components to noExternal for Code component
* refactor: use ALWAYS_NOEXTERNAL array
* refactor: add package.json to all test runners for noExternal error
* deps: bump to latest vite 3 beta
* wip: add package.json to smoke
* fix: remove accidental "force true" on create-vite
* refactor: write smoke package.json programmatically
* refactor: add fontsource to noExternal
* fix: only add to ssr.noExternal if present in project
* wip: what if we just... didn't have a memory test
* deps: bump to latest vite beta
* Revert "wip: what if we just... didn't have a memory test"
This reverts commit 173729dbdc685e52881fc3333487b8f744add55f.
* fix: add type check for plugin.name
* feat: remove legacy.devDepsScanner. Vite 3 strat is now Vite 2.x strat!
* fix: add ssr.noExternal to components ex
* wip: ignore with-mdx starter
* fix: add serviceEntryPoint to ssr.noExternal
* temp: reset NODE_ENV on prod builds
* fix: missing async tag
* VITE 3 IS STABLE BABY
* deps: bump svelte to vite 3
* deps: bump vue to vite 3
* fix: resolve plugins for proper sorting
* sad fix: regex "export default" out of CSS ssr
* chore: add TODO to understand sad fix
* Revert "fix: resolve plugins for proper sorting"
This reverts commit e67c194d3a8e11070487ed325947e7c59e8d69cd.
* Revert "sad fix: regex "export default" out of CSS ssr"
This reverts commit 721d40b62b61440dc9e488787901c915579659db.
* fix: sort plugins WITHOUT resolveConfig
* Revert "wip: ignore with-mdx starter"
This reverts commit 7d4f7338e6
.
* chore: revert memory test changes
* chore: add nanostores/preact ot noexternal
* chore: changeset
* chore: changeset
* deps: use Vite ^3.0.0
* fix: add back third party astro pkg scanner
Co-authored-by: bholmesdev <hey@bholmes.dev>
2022-07-18 22:19:23 -07:00
Fred K. Bot
37534004f0
[ci] release ( #3939 )
...
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2022-07-18 21:54:25 -07:00
Nate Moore
f5d4ebf0e2
Handle metadata for MDX files during build ( #3915 )
...
* fix: metadata handling for MDX files
* chore: add changeset
* chore: update mdx example
* fix: protect against infinite loops in jsx-runtime, properly hook console.error
* chore: remove unused import
* feat(mdx): support `client:only`
* fix: prefer Symbol.for
* fix(jsx): handle vnode check properly
* chore: appease ts
Co-authored-by: Nate Moore <nate@astro.build>
2022-07-15 11:25:29 -04:00
Fred K. Bot
f7fa39e682
[ci] release ( #3925 )
...
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2022-07-14 15:36:23 -04:00
Fred K. Bot
78e765dc65
[ci] release ( #3921 )
...
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2022-07-14 11:36:33 -05:00
Fred K. Bot
056d4d5fd2
[ci] release ( #3903 )
...
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2022-07-13 17:16:24 -04:00
matthewp
0751be81e5
[ci] format
2022-07-12 16:20:08 +00:00
Fred K. Bot
ba67a924ca
[ci] release ( #3900 )
...
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2022-07-12 12:18:13 -04:00
Ben Holmes
ab232dd10f
Example blog rework ( #3896 )
...
* refactor: restructure components, kill dead code
* nit: tweak base styles
* nit: remove unneeded code comments
* refactor: replace unused permalink with canonicalURL
* refactor: add missing prop types
* feat: make markdown examples more interesting
* chore: consistent semis and quotes
* chore: astro check failures
* fix: bad url prop
* fix: bad frontmatter quote
* chore: more dead styles
* chore: add header gap
* refactor: use tsx for likebutton
* fix: restore post sorting
* chore: remove unused flex-row util
* fix: small md formatting on README
* chore: run through astro-plugin-prettier
* fix: revert to double quotes
* fix: manually move style outside <body>
* fix: update file tree in README
* refactor: publish-date -> time
* refactor: remove unused div and margin
* refactor: publishDate -> time on layout
* refactor: .heroImage -> img
* refactor: .logo -> svg
* feat: update social image, remove jpg
* fix: remove prism stylesheet!
2022-07-12 12:17:36 -04:00
Fred K. Bot
4bf4736768
[ci] release ( #3899 )
...
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2022-07-12 11:16:15 -04:00
Fred K. Bot
c2b14d5253
[ci] release ( #3894 )
...
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2022-07-12 09:08:15 -04:00
Nate Moore
93e1020b1e
Fix: reintroduce smoke tests across example projects ( #3669 )
...
* chore: update smoke tests
* chore: bump smoke tests to node@16
* chore: remove gitmodules
* chore(ci): prefer node@14
* wip: remove path from smoke clone step
* feat: run build:examples from test:smoke
* fix: remove no-frozen-lockfile
* fix: checkout monorepo last for pnpm setup
* wip: replace @astrojs/markdown/remark import from md
* fix: remove type defs from generated file
* fix: function order
* chore: remove ssr-utils export
* wip: remove windows from smoke test
* fix: instantiate slugger in snippet
* fix: exclude with-mdx from smoke (for now)
* fix: add quotes on filter flag for safety
* chore: changeset
* wip: try reintroducing windows smoke
* sad chore: remove client: directive from with-mdx
* Revert "wip: try reintroducing windows smoke"
This reverts commit 9529b1a45c
.
Co-authored-by: Nate Moore <nate@astro.build>
Co-authored-by: bholmesdev <hey@bholmes.dev>
2022-07-11 22:51:17 -04:00
bholmesdev
c8ca528bba
[ci] format
2022-07-11 19:44:42 +00:00
Ben Holmes
faf3f3a8d1
Update with-nanostores
example to match docs walkthrough ( #3840 )
...
* feat: replace with-nanostores with new example
* docs: update README with docs call-out
* chore: small formatting inconsistencies
* nit: standardize to spaces :'(
* nit: standardize to tabs!
* refactor: use html "hidden" property
* nit: beta.66 for sanity
2022-07-11 15:42:10 -04:00
Fred K. Bot
1554a37622
[ci] release ( #3887 )
...
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2022-07-11 13:38:42 -05:00
Tom Lienard
cb6a973839
fix: portfolio example JSX error ( #3886 )
...
* fix: portfolio example JSX error
* chore: add changeset
* chore: update description
2022-07-11 11:10:05 -05:00
Matthew Phillips
21869a614a
Move client types into Astro ( #3851 )
...
* Move client types into Astro
* Adds a changeset
* Fix path to local client
* Reference vite/client in our HMR types
* Add back in the expect-error
* Update types comment
2022-07-11 08:12:18 -04:00
Fred K. Bot
1785e568a0
[ci] release ( #3850 )
...
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2022-07-08 20:54:39 -04:00
Marcus Otterström
59e8c71786
Format astro files in examples ( #3862 )
2022-07-08 22:08:32 +02:00
Fred K. Bot
568960f175
[ci] release ( #3818 )
...
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2022-07-06 21:00:18 -04:00
Matthew Phillips
5ac0f78411
Fix portfolio example to use lowercase srcset ( #3829 )
2022-07-05 16:33:38 -04:00
Fred K. Bot
08d068496d
[ci] release ( #3800 )
...
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2022-07-01 15:56:49 -05:00
natemoo-re
3cc6fb81da
[ci] format
2022-07-01 20:53:13 +00:00
Nate Moore
5fe52737cb
Update MDX example to address failure ( #3799 )
...
* fix: do not use symbol in JSX runtime
* chore: update MDX example
Co-authored-by: Nate Moore <nate@astro.build>
2022-07-01 15:51:28 -05:00
Fred K. Bot
94143fcdba
[ci] release ( #3789 )
...
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2022-07-01 17:43:26 +00:00
Fred K. Bot
0f73ece26b
[ci] release ( #3783 )
...
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2022-07-01 03:09:17 +00:00
Fred K. Bot
d07ad8a782
[ci] release ( #3774 )
...
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2022-06-30 11:39:44 -07:00
natemoo-re
af23bdd515
[ci] format
2022-06-30 18:11:12 +00:00
Nate Moore
032ad1c047
MDX support ( #3706 )
...
* feat: first pass at MDX support
* fix: move built-in JSX renderer to come first
* chore: remove jsx example
* chore: update lockfile
* chore: cleanup example
* fix: missing deps
* refactor: move component render logic to `renderPage`
* chore: update HMR script
* chore: update MDX example
* refactor: prefer unshit
* refactor: remove TODO comment
* fix: remove duplicate identifier
* refactor: cleanup mdx entrypoint
* fix: better html handling
* fix: add tsconfig to mdx package
* chore: update lockfile
* fix: do not sort plugins unless mdx is enabled
* chore: update compiler
* fix(hmr): maybe render head for non-Astro pages
* fix: set initial pageExtensions
* refactor: cleanup addPageExtension
* refactor: remove addPageExtensions from types
* refactor: expose HookParameters type
* fix: only default to astro for MDX
* test: pick up jsx support in test fixtures
* refactor: simplify mdx entrypoint
* test: add basic MDX tests
* test(e2e): add mdx + framework tests
* chore: update lockfile
* test(e2e): fix preact mdx e2e test
* fix(mdx): disable .md support
* test(e2e): fix vue-component test missing mdx
* test(e2e): fix solid component needing import
* fix: allow `client:only="solid"` as an alias to `solid-js`
* chore: move to with-mdx example
* chore: update MDX readme
* chore: update example readme
* chore: bump astro version
* chore: update lockfile
* Update mod.d.ts
* feat: support `export const components` in MDX pages
* chore: update mdx example
* fix: update jsx-runtime with better slot support
* refactor: remove object style support
* chore: cleanup package exports
* chore: add todo comment
* refactor: improve isPage function, move to utils
* refactor: dry up manual HMR updates
* chore: add dev tests for MDX
* chore: prefer set to array
* chore: add changesets
* fix(hmr): flip public/private route
Co-authored-by: Nate Moore <nate@astro.build>
2022-06-30 13:09:09 -05:00
Fred K. Bot
8cbe92b74b
[ci] release ( #3772 )
...
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2022-06-30 08:08:09 -05:00
Fred K. Bot
38f2fd7723
[ci] release ( #3759 )
...
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2022-06-29 17:11:48 -05:00
Tony Sullivan
51d5dc4789
Updates an error handler to expect updated @astrojs/lit
behavior ( #3766 )
...
* fix: don't throw an error when the lit renderer doesn't provide a clientEntrypoint
* updating the framework-lit example to match new behavior
* fix: updating the playground example to latest lit syntax
2022-06-29 20:56:51 +00:00
Rychardt Rothwërkz
0cf0b2e2d0
improve performance by adding another preconnect ( #3737 )
...
* improve performance by adding another preconnect
This is the code Google Fonts officially provides.
The reason for adding a secound url is that the link:
https://fonts.googleapis.com/css2?family=Inter:wght@100&display=swap
lists src urls like this:
@font-face {
font-family: 'Inter';
font-style: normal;
font-weight: 100;
font-display: swap;
src: url(https://fonts.gstatic.com/s/inter/v11/UcCO3FwrK3iLTeHuS_fvQtMwCp50KnMw2boKoduKmMEVuLyeAZ9hiA.woff2 ) format('woff2');
unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
so for better performance both urls needs to be preconnected.
* Update examples/portfolio/src/components/MainHead.astro
Co-authored-by: Nate Moore <natemoo-re@users.noreply.github.com>
2022-06-28 10:13:06 -07:00
Fred K. Bot
a59a27eb0c
[ci] release ( #3733 )
...
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2022-06-28 15:11:59 +00:00
Fred K. Bot
768c8ed21d
[ci] update lockfile ( #3740 )
...
Co-authored-by: FredKSchott <FredKSchott@users.noreply.github.com>
2022-06-28 08:33:13 -05:00
github-actions[bot]
0ae1365533
[ci] release ( #3726 )
...
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2022-06-27 10:40:35 -04:00
github-actions[bot]
701a3bd698
[ci] release ( #3707 )
...
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2022-06-24 17:02:11 -04:00
github-actions[bot]
67b5aa4ca4
[ci] release ( #3701 )
...
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2022-06-24 16:05:02 -04:00
github-actions[bot]
6a6047483b
[ci] release ( #3692 )
...
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2022-06-24 12:55:36 -05:00
github-actions[bot]
19cd962d0b
[ci] release ( #3684 )
...
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2022-06-23 09:14:17 -04:00
github-actions[bot]
8ad146a5d7
[ci] release ( #3683 )
...
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2022-06-22 12:19:43 -04:00
github-actions[bot]
119283775a
[ci] release ( #3666 )
...
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2022-06-22 10:05:21 -04:00
hippotastic
ba5ad7855c
Fix react dependencies to improve test reliability ( #3673 )
...
* Fix local react tests by unifying versions
* Add missing dependencies to react tests
* Add changeset
* Fix lockfile
Co-authored-by: Matthew Phillips <matthew@skypack.dev>
2022-06-22 09:11:48 -04:00
Matthew Phillips
46d1ea941b
Revert "add Astro Deno Example ( #3645 )" ( #3674 )
...
This reverts commit e88b23ea52
.
2022-06-22 08:30:22 -04:00
Jutanium
fdba6c23a7
[ci] format
2022-06-21 17:11:04 +00:00
Elian ☕️
e88b23ea52
add Astro Deno Example ( #3645 )
...
* add Astro Deno Example
* add changeset
* update pnpm lock
Co-authored-by: Dan Jutan <danjutan@gmail.com>
2022-06-21 13:07:07 -04:00
github-actions[bot]
b4db008e53
[ci] release ( #3664 )
...
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2022-06-21 12:47:04 -04:00
github-actions[bot]
e13ce4d751
[ci] release ( #3662 )
...
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2022-06-21 11:50:06 -04:00
Jeff Mendez
195f88bf0b
chore(example): fix @types install type ( #3656 )
2022-06-21 10:27:22 -05:00
github-actions[bot]
e67171252c
[ci] release ( #3615 )
...
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
Co-authored-by: Matthew Phillips <matthew@skypack.dev>
2022-06-21 09:43:19 -04:00
Oleksii Tymoshenko
1031c06f9c
feat: improved sitemap ( #3579 )
...
* feat: extended sitemap functionality
* docs: del samples
* docs: readme
* feat: new sitemap
* feat: createLinkInHead removed
* docs: updated changeset text
* refactor: 'zod' function() instead of self made refine()
* Revert "refactor: 'zod' function() instead of self made refine()"
This reverts commit 036bac730d
.
undo function()
2022-06-16 19:06:48 +00:00
github-actions[bot]
81104a9335
[ci] release ( #3604 )
...
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2022-06-16 12:05:10 -04:00
Dan Jutan
8ed924d2ed
Update README.md ( #3597 )
...
- Fix the tree to reflect the actual example contents
- Remove RSS and Sitemap bullet points, since they aren't in the project
2022-06-15 10:32:40 -05:00
github-actions[bot]
31e3224319
[ci] release ( #3596 )
...
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2022-06-14 15:46:51 -05:00
github-actions[bot]
acc8afbdda
[ci] release ( #3594 )
...
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2022-06-14 15:51:10 -04:00
Florens Verschelde
6172cb9f9a
fix(examples): incorrect StackBlitz demo URLs ( #3584 )
2022-06-13 12:22:20 -04:00
github-actions[bot]
c54b024803
[ci] release ( #3569 )
...
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2022-06-10 21:07:03 -05:00
github-actions[bot]
d02578fd4c
[ci] release ( #3549 )
...
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2022-06-10 15:03:52 +00:00
github-actions[bot]
ec89def67d
[ci] release ( #3534 )
...
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2022-06-07 12:45:50 -04:00
github-actions[bot]
9029c43549
[ci] release ( #3512 )
...
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2022-06-06 09:40:09 -04:00
Fred K. Schott
25fa0f527d
[ci] update lockfile ( #3515 )
...
Co-authored-by: FredKSchott <FredKSchott@users.noreply.github.com>
2022-06-03 13:00:47 -04:00
github-actions[bot]
a74cf98002
[ci] release ( #3509 )
...
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2022-06-02 15:31:44 -04:00
github-actions[bot]
67ad33debf
[ci] release ( #3488 )
...
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2022-06-02 13:42:18 -04:00
Fred K. Schott
cfb85ee10e
[ci] update lockfile ( #3495 )
...
Co-authored-by: FredKSchott <FredKSchott@users.noreply.github.com>
2022-06-01 10:39:32 -05:00
github-actions[bot]
b2f955ec1b
[ci] release ( #3485 )
...
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2022-05-31 13:40:19 -04:00
Fred K. Schott
c9d8b10a85
[ci] update lockfile ( #3448 )
...
Co-authored-by: FredKSchott <FredKSchott@users.noreply.github.com>
2022-05-31 11:46:13 -05:00
Sarah Rainsberger
842ed555d9
Correcting the link to docs on Just the Basics starter README ( #3482 )
...
* Correcting the link to docs on Just the Basics starter README
The link to documentation did not actually go to Docs. Now it does!
* fixing all other starter template READMEs with incorrect link to docs
2022-05-31 10:11:49 -04:00
github-actions[bot]
16345032aa
[ci] release ( #3479 )
...
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2022-05-30 13:06:41 -04:00
Florian S
95c506bf6b
Remove unused slot until slot bugs are fixed ( #3475 )
...
Simple fix for #3473 as the slot was never used in this example.
Co-authored-by: Sarah Rainsberger <sarah@rainsberger.ca>
2022-05-30 09:42:59 -03:00
github-actions[bot]
42aa6daa96
[ci] release ( #3463 )
...
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2022-05-27 18:09:20 -04:00
github-actions[bot]
e6d8670168
[ci] release ( #3453 )
...
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2022-05-26 14:25:10 -04:00
github-actions[bot]
8a49ad23bf
[ci] release ( #3446 )
...
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2022-05-26 06:48:47 -04:00
github-actions[bot]
f200ddadbc
[ci] release ( #3435 )
...
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2022-05-25 10:42:03 -05:00
Fred K. Schott
ccaea99765
[ci] update lockfile ( #3419 )
...
Co-authored-by: FredKSchott <FredKSchott@users.noreply.github.com>
2022-05-24 11:43:37 -05:00
github-actions[bot]
8eec97fdd1
[ci] release ( #3409 )
...
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2022-05-23 13:26:07 -04:00
Fred K. Schott
195f3f7eb7
[ci] update lockfile ( #3414 )
...
Co-authored-by: FredKSchott <FredKSchott@users.noreply.github.com>
2022-05-20 12:02:10 -05:00
github-actions[bot]
4dfd341928
[ci] release ( #3405 )
...
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2022-05-19 13:35:19 -04:00
Fred K. Schott
a7480452b1
[ci] update lockfile ( #3404 )
...
Co-authored-by: FredKSchott <FredKSchott@users.noreply.github.com>
2022-05-19 10:22:27 -05:00
github-actions[bot]
b330c5b72e
[ci] release ( #3400 )
...
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2022-05-18 21:36:32 +00:00
Fred K. Schott
ef32b7c39c
[ci] update lockfile ( #3395 )
...
Co-authored-by: FredKSchott <FredKSchott@users.noreply.github.com>
2022-05-18 10:15:42 -05:00
github-actions[bot]
f54072bd3f
[ci] release ( #3378 )
...
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2022-05-17 11:50:18 -04:00
Fred K. Schott
9dd16bace5
[ci] update lockfile ( #3363 )
...
Co-authored-by: FredKSchott <FredKSchott@users.noreply.github.com>
2022-05-16 13:33:16 -05:00
github-actions[bot]
cedb9a2105
[ci] release ( #3334 )
...
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2022-05-12 14:48:58 -06:00
matthewp
29e7260a4e
[ci] format
2022-05-12 20:21:02 +00:00
Rafid Muhymin Wafi
17da2b1611
Fixed search bar of the docs example not working ( #3247 )
...
* fixed search bar not working
* fixed search bar not working during build
* fix search bar throwing error on production site
2022-05-12 14:20:20 -06:00
Fred K. Schott
7cd4b1bc12
[ci] update lockfile ( #3287 )
...
* [ci] update lockfile
* chore: fix lockfile
* fix: pin turbo
Co-authored-by: FredKSchott <FredKSchott@users.noreply.github.com>
Co-authored-by: Nate Moore <nate@skypack.dev>
2022-05-12 11:42:34 -05:00
Gautier Ben Aïm
484b80eb99
fix: updated blog template with existing address ( #3312 )
2022-05-11 16:20:00 -05:00