Dan Jutan
8045c8ade1
Integration Docs Next Steps ( #3677 )
...
* sitemap readme skeleton + first sections
* Revert "sitemap readme skeleton + first sections"
This reverts commit cc55b312b6
.
* sitemap readme skeleton + first sections
* remove canonicalURL option from sitemap
* add customPages option to readme
* sitemap examples
* partytown
* deno run command
* reference deno example
* node readme
* netlify & vercel readmes
* note that telemetry is installed
* telemetry is *enabled*, not installed
* Update packages/integrations/vercel/README.md
Co-authored-by: Chris Swithinbank <swithinbank@gmail.com>
* Update packages/integrations/vercel/README.md
Co-authored-by: Chris Swithinbank <swithinbank@gmail.com>
* readme -> README
* Update packages/integrations/deno/readme.md
Co-authored-by: Chris Swithinbank <swithinbank@gmail.com>
* Update packages/integrations/deno/readme.md
Co-authored-by: Chris Swithinbank <swithinbank@gmail.com>
* qualify they
* Update packages/integrations/sitemap/README.md
Co-authored-by: Chris Swithinbank <swithinbank@gmail.com>
* Uppercase README names
* Update packages/integrations/partytown/README.md
Co-authored-by: Chris Swithinbank <swithinbank@gmail.com>
* imports -> import typo
* update changeset
Co-authored-by: Chris Swithinbank <swithinbank@gmail.com>
2022-06-30 12:02:39 -04:00
tony-sull
75ffab7009
[ci] format
2022-06-30 14:18:38 +00:00
Fred K. Schott
913591d137
refactor to provide better cli error handling ( #3768 )
2022-06-30 14:16:39 +00: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
hippotastic
40fa87c274
[ci] format
2022-06-30 12:12:27 +00:00
hippotastic
b934ab5d86
Fix "Invalid hook call" warning ( #3769 )
...
* Fix "Invalid hook call" warning
* Fix eslint warnings
* Apply code review suggestions
2022-06-30 14:10:56 +02: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
FredKSchott
a99a54d344
[ci] format
2022-06-29 21:56:28 +00:00
Fred K. Schott
4bc6c7ceaa
manual lockfile update ( #3751 )
...
* lockfile update
* update lockfile gen script
* Update index.ts
2022-06-29 14:54:40 -07:00
Fred K. Schott
dd176ca58d
add error event to telemetry ( #3750 )
2022-06-29 14:54:33 -07:00
tony-sull
2f7d918912
[ci] format
2022-06-29 20:58:19 +00: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
delucis
e667477103
[ci] format
2022-06-29 15:48:55 +00:00
Chris Swithinbank
e3fdc9b403
Add preact/compat
support to @astrojs/preact
( #3712 )
...
* Add preact/compat renderer (likely broken)
Based on the current Preact renderer and the old preact/compat implementation: f892aeb52f/packages/renderers/renderer-preact/compat/index.js
* Make sure name is consistent
* Switch to single integration with compat option
* fix: add module-resolver to alias react => preact/compat
* fix: preact/compat mode
* chore: remove client-compat entrypoint
* chore: add e2e test for preact/compat
* Try to fix frozen lock file error
* Add changeset
* Update README to new structure & document `compat`
* Fix changeset wording
* Fix README typo
* Tweak wording
Co-authored-by: Kevin Zuniga Cuellar <46791833+kevinzunigacuellar@users.noreply.github.com>
Co-authored-by: Nate Moore <nate@astro.build>
Co-authored-by: Nate Moore <natemoo-re@users.noreply.github.com>
Co-authored-by: Kevin Zuniga Cuellar <46791833+kevinzunigacuellar@users.noreply.github.com>
2022-06-29 17:42:47 +02:00
Tony Sullivan
54cd6b8dd1
Fixes a bug in how injectRoute
parses route patterns on Windows ( #3763 )
...
* always remove a leading slash in the `injectRoute` pattern
* chore: add changeset
2022-06-29 09:46:23 -05:00
Erika
40be96d7c8
Improve types for getStaticPaths, fixes dead links ( #3755 )
2022-06-29 09:43:52 -05:00
Sarah Rainsberger
aaf0cd8bfc
Added: reminder to also update docs if create-astro flow or wording is changed ( #3760 )
2022-06-29 11:10:20 -03:00
Fred K. Bot
789dc1fabc
[ci] release ( #3757 )
...
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2022-06-28 11:02:59 -07:00
Fred K. Bot
b0c1ed1513
[ci] release ( #3754 )
...
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2022-06-28 10:49:15 -07:00
Ben Holmes
507cd5c868
Chore: remove complex install step test ( #3756 )
...
* chore: remove complex install step test
* chore: changeset
2022-06-28 13:46:54 -04:00
Fred K. Schott
cabd9dcc80
anonymize non-git project id ( #3753 )
2022-06-28 10:29:24 -07:00
Fred K. Bot
be3c99316a
[ci] release ( #3749 )
...
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2022-06-28 19:00:40 +02:00
Nate Moore
8829cc7ab6
Disable problematic create-astro
test ( #3746 )
...
* chore(test): disable problematic create-astro test
* chore: fix skip
Co-authored-by: Nate Moore <nate@astro.build>
2022-06-28 10:24:54 -05: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
natemoo-re
27d8c351bb
[ci] format
2022-06-28 13:40:53 +00:00
Nate Moore
53bf0be280
chore(lint): fix lint issues ( #3743 )
...
Co-authored-by: Nate Moore <nate@astro.build>
2022-06-28 08:39:10 -05: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
Victor
6360f474fb
Fix Tailwind integration Typescript warning ( #3732 )
...
* Make options optional
* chore: add changeset
Co-authored-by: Tony Sullivan <tony.f.sullivan@outlook.com>
2022-06-28 07:49:08 -05:00
bholmesdev
efd6548d49
[ci] format
2022-06-27 21:22:26 +00:00
Ben Holmes
4acd245d8f
Refactor: remove Deno shim to esbuild "banner" ( #3734 )
...
* refactor: remove Deno shim to esbuild "banner"
* refactor: move shim to const
* refactor: add shim to netlify edge
* chore: changeset
2022-06-27 17:20:28 -04:00
FredKSchott
701799c6d6
[ci] format
2022-06-27 21:17:40 +00:00
Fred K. Schott
ebd7e7ad81
update telemetry to support more anonymized project id ( #3713 )
...
* update telemetry to support more anonymized project id
* Create strange-laws-kick.md
* respond to nate feedback
2022-06-27 14:16:07 -07:00
Fred K. Schott
4d6d8644e6
SImplify "astro add" by removing confusing multi-select ( #3715 )
...
* wip
* update create-astro for new astro add
* update copy
* update git prompt
* Update packages/astro/src/core/logger/node.ts
Co-authored-by: Chris Swithinbank <swithinbank@gmail.com>
* Update packages/create-astro/test/install-step.test.js
Co-authored-by: Chris Swithinbank <swithinbank@gmail.com>
* update git prompt
* update test
Co-authored-by: Chris Swithinbank <swithinbank@gmail.com>
2022-06-27 14:15:51 -07:00
Sarah Rainsberger
0bcc969cd4
removed experimental warning from astro add command ( #3727 )
2022-06-27 13:44:32 -05:00
tony-sull
cb3fcdde6a
[ci] format
2022-06-27 18:28:16 +00:00
Tony Sullivan
79fe09fa30
Adds a prefetch integration for near-instant page navigations ( #3725 )
...
* Adds a basic @astrojs/prefetch integration
* adding tests for custom selectors
* missed in last commit
* Adding a few docs, removing the option for `selectors` to be an element array
* adding an option for the concurrency limit
* fixing test for updated integration options
* Update packages/labs/prefetch/src/client.ts
Co-authored-by: Nate Moore <natemoo-re@users.noreply.github.com>
* nit: removing the NodeJS.Timer type to allow typescript to infer the return
* updating docs for default selector with ~=
* Skip prefetching on 2G connections, or when data saver is enabled
* refactor: moving to packages/integrations, Astro Labs TBD down the road
* README typo fix
Co-authored-by: Nate Moore <natemoo-re@users.noreply.github.com>
2022-06-27 18:26:21 +00:00
FredKSchott
7d0c3f9ecb
[ci] format
2022-06-27 18:12:43 +00:00
Oleksii Tymoshenko
52f75369ef
feat: better behavior for 'undefined' return values from 'serialize… ( #3723 )
...
* feat: better behavior with 'undefined' return values after 'serialize' func
* build: changeset added
2022-06-27 13:02:00 -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
matthewp
ab3aa3099b
[ci] format
2022-06-27 14:38:25 +00:00
Matthew Phillips
86635e035b
Inline define:var styles rendered after the head ( #3724 )
...
* Inline define:var styles rendered after the head
* Adds a changeset
* Remove tests that don't work with streaming
2022-06-27 10:36:41 -04:00
Matthew Phillips
c8dda94125
Revert "Inline define:var styles rendered after the head"
...
This reverts commit 65e2b71b80
.
2022-06-27 09:08:40 -04:00
unknown
65e2b71b80
Inline define:var styles rendered after the head
2022-06-27 09:07:48 -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
matthewp
f3e01f6c26
[ci] format
2022-06-24 21:00:16 +00:00
Matthew Phillips
b5e3403fa1
Simplified Response#text() implementation ( #3705 )
...
* Simplified Response#text() implementation
* Adds a changeset
* Fix tsignore
2022-06-24 16:58:14 -04:00
Matthew Phillips
b11e3b38eb
Ensure import.meta.env.SSR is true in SSR mode ( #3702 )
...
* Ensure import.meta.env.SSR is true in SSR mode
* Define in the env plugin instead
2022-06-24 16:14:00 -04:00
natemoo-re
5e716e8cd5
[ci] format
2022-06-24 20:13:12 +00:00
Nate Moore
908c2638cb
Add *private* built-in JSX renderer ( #3697 )
...
* feat: add private `addPageExtensions` hook
* feat: experimental JSX support
* chore: remove experimental.jsx option from config
* chore: remove automatic astro JSX runtime detection
* fix: throw warning when client:* directive is used but no client entrypoint is found
* feat: add slot support to renderer
* chore: remove client entrypoint from jsx renderer
* test: add barebones JSX test
* test: add frameworks-in-jsx test
* feat: improve error message when no matching import is found
* feat: support slots
* fix: do not strip `astro-slot` when using JSX renderer
* fix: handle null values in isVNode
* fix: do not transform slots for elements
Co-authored-by: Nate Moore <nate@astro.build>
2022-06-24 15:11:17 -05: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