Erika
8eba6d9d97
Fix expected types for Element in our JSX definitions ( #3958 )
...
* Fix expected types for Element in our JSX definitions
* Add changeset
2022-07-18 11:45:50 -04:00
matthewp
b282cdb21f
[ci] format
2022-07-18 15:35:14 +00:00
Matthew Phillips
3acb9ec264
Hoist Astro.globbed hoisted scripts in dev ( #3930 )
...
* Hoist Astro.globbed hoisted scripts in dev
* Adds a changeset
* Increase the timeout for the HMR test
* Fix e2e tests
* Refactor test
2022-07-18 11:33:13 -04:00
Matthew Phillips
92b48b1525
Sets import.meta.env.BASE_URL correctly in dev ( #3955 )
2022-07-18 11:32:56 -04:00
RafidMuhymin
963100fb27
[ci] format
2022-07-16 09:47:09 +00:00
Rafid Muhymin Wafi
8530cce14f
Removes trailing dash from generated slugs in markdown ( #3044 )
...
* fixed header slugs in markdown if ends with a dash
* added changeset
* removes trailing dash only if slug was created
* updated test
* updated change level from patch to minor
2022-07-16 15:45:41 +06:00
bholmesdev
6809a0d289
[ci] format
2022-07-15 15:27:19 +00: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
Chris Swithinbank
31f9c0bf02
Roll back supported Node engines ( #3937 )
...
Fixes #3936
2022-07-15 08:15:04 -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
Matthew Phillips
d6dfef0caa
Add @babel/core dependencies to react/preact integrations ( #3928 )
...
* Add @babel/core dependencies
* Adds a changeset
2022-07-14 14:39:58 -04:00
Erika
7c5c4106d7
Use a .ts file to export built-in components so they're typed ( #3927 )
...
* Use a .ts file to export built-in components so they automatically have types
* Add changeset
2022-07-14 14:33:10 -04:00
Princesseuh
636881e185
[ci] format
2022-07-14 18:21:39 +00:00
Herman Z
77a708a3ee
fix: export AstroComponentFactory for tsc validattion to pass ( #3917 )
2022-07-14 14:20:10 -04:00
Nate Moore
7094d6a45f
Handle false
properly in class:list
( #3922 )
...
* fix(#3920 ): properly handle false in `class:list`
* fix: allow 0 in `class:list`
* fix: output empty `class:list` as `''` rather than `class=''`
Co-authored-by: Nate Moore <nate@astro.build>
2022-07-14 12:01:17 -05: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
Nate Moore
6a7a17f735
chore: update compiler ( #3918 )
...
Co-authored-by: Nate Moore <nate@astro.build>
2022-07-14 11:09:44 -05:00
FredKSchott
cea2063a94
[ci] format
2022-07-14 16:06:50 +00:00
Fred K. Schott
01a55467d5
add back missing ssr-utils.ts file ( #3919 )
2022-07-14 09:05:20 -07: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
Randall
b487679853
Rollback Nodejs Dependancy ( #3914 )
...
* Rollback Nodejs Dependancy
Closes #3908
Signed-off-by: Randall T. Vasquez <ran.dall@icloud.com>
* Create ninety-apes-talk.md
2022-07-13 17:06:37 -04:00
Sarah Rainsberger
aa2ac87881
Astro Types for docs: capitalize Markdown ( #3912 )
...
- Capitalizes a few errant "markdowns" that find their way into Docs.
- Also updates "if or not" to "whether or not" since I'm here.
- Also, admittedly a point of contention, but until we decide otherwise for the entire site: a straggling "front matter" -> "frontmatter"
2022-07-13 16:02:06 -05:00
matthewp
fa8ec57f16
[ci] format
2022-07-13 20:39:29 +00:00
Matthew Phillips
cd2dbfedb1
Provide a better error message for when RSS is missing link
field ( #3913 )
...
* Provide a better error message for when RSS is missing `link` field
* Adds a changeset
2022-07-13 16:37:17 -04:00
tony-sull
75f202a124
[ci] format
2022-07-13 19:33:49 +00:00
Juan Martín Seery
ca45c0c270
fix: don't throw when Shiki doesn't recognize a language ( #3911 )
...
* Don't throw when Shiki doesn't recognise a language
* Changeset
2022-07-13 19:31:59 +00:00
Ben Holmes
d8af02a944
fix: add github-slugger to ALWAYS_EXTERNAL ( #3902 )
...
* fix: add github-slugger to ALWAYS_EXTERNAL
* chore: changeset
2022-07-12 14:28:14 -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
Chris Swithinbank
4097f06226
Centralise community health files in .github
repo ( #3830 )
...
* Centralise community health files in `.github` repo
* Clean up links
* Add changeset
2022-07-12 17:16:08 +02:00
Corbin Crutchley
402c4181dc
Fix md mode comment ( #3880 )
...
* fix: fix a bug where md mode markdown breaks on comments
* chore: add changeset
2022-07-12 11:15:53 -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
Corbin Crutchley
b4cb4a40df
fix: add TypeScript type and documentation for markdown "mode" config ( #3883 )
...
* fix: add TypeScript type and documentation for markdown "mode" config
* chore: add changeset
2022-07-12 09:07:51 -04:00
Yuji Sugiura
c4f6fdf372
Remove unused(and also vulnerable) libs from @astro/telemetry ( #3898 )
...
* Remove unused(and also vulnerable) libs from @astro/telemetry
* Add changeset
2022-07-12 09:07:21 -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
matthewp
14ed29c645
[ci] format
2022-07-11 20:15:17 +00:00
Matthew Phillips
5f4ecbad1b
Allow defining Astro components in Vite plugins ( #3889 )
...
* Allow defining Astro components in Vite plugins
* Adds a changeset
* Move non-main compilation into load
* Use the cachedCompilation in the markdown plugin
* Fix HMR test
* Simplify getNormalizedID
* Use a windows-friendly virtual module id for the test
2022-07-11 16:13:21 -04:00
Nate Moore
1896931931
chore: ignore bundle size check for irrelevant PRs ( #3893 )
...
Co-authored-by: Nate Moore <nate@astro.build>
2022-07-11 15:11:01 -05: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
Chris Swithinbank
bf5d1cc1e7
More integration README fixes ( #3885 )
...
* Integration README fixes
* More tweaks (mostly code backticks for filenames)
* Update changeset
* Few more tweaks
* Make sure code blocks all have a code language
* Use URLs of new docs pages for package homepage
* One more stray `<br>` 👢
* Standardise to `sh` instead of `shell`
2022-07-11 21:10:34 +02: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
Nate Moore
7c49096e86
Update compiler ( #3892 )
...
* chore: update @astrojs/compiler
* chore: add changeset
* chore: update test
Co-authored-by: Nate Moore <nate@astro.build>
2022-07-11 13:34:29 -05:00
Matthew Phillips
9cf7e40641
Properly await on children before hydrating in Safari ( #3891 )
2022-07-11 14:10:23 -04:00
Nate Moore
1cc5b78905
fix( #3071 ): update supported node versions ( #3871 )
...
Co-authored-by: Nate Moore <nate@astro.build>
2022-07-11 11:32:53 -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
matthewp
0fd645e32f
[ci] format
2022-07-11 12:13:57 +00: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