* Remove redundant hydration scripts
* Prebuild the island JS
* Fix build
* Updates to tests
* Update more references
* Custom element test now has two classic scripts
* Account for non-default exports
* Restructure hydration directives
* Move nested logic into the island component
* Remove try/catch
* Update MarkdownInstance type
The return of the `default` function includes the same `frontmatter`
data as the parent object, merged with the `astro` data. The inclusion
of that frontmatter type was previously not recognized by TS, and fell
back to a `Record<string, any>`. This change persists the more accurate
type, as the runtime code does.
* fixup! Update MarkdownInstance type
(This change is what I'd personally do, but I don't really know how you
expect people to use `MarkdownContent` in practice, or if there is some
deeper benefit you wish to exploit by leaving it as an interface instead
of a type.
* feat(integrations): support optional integrations
By making integration optional, Astro can now ignore null or undefined Integrations instead of giving an internal error most devs can't read/won't understand.
This also enables optional integrations,
e.g.
```ts
integration: [
// Only run `compress` integration in production environments, etc...
import.meta.env.production ? compress() : null
]
```
* ci: add tests for optional integration
* docs: add changelog
* fixing reliability issue in component HMR tests
* fix: test change snuck into the last commit
* TEMP: logging to track down ubuntu CI failure
* disabling svelte test for now
* reverting unrelated .d.ts change
Changed astro.config.js text to a link to the supported config file types, since above it appears astro.config.mjs and mixing extensions could lead to confusion (plus in that page linked we can see the valid extensions)
* Astro.site should be defaulted to localhost
* test: verify Astro.site default value
* chore: add changeset
* test: matching a URL regex to ignore specific port numbers
* governance updates
* Update GOVERNANCE.md
Co-authored-by: Peter Singh <afuzzybear@outlook.com>
* add distinction of core residency
* Added spacing to the document.
Added some extra text around the contributors
Did not add any new powers or responsibilities to the proposed changes
* Update GOVERNANCE.md
Co-authored-by: Sarah Rainsberger <sarah@rainsberger.ca>
* Update GOVERNANCE.md
Co-authored-by: Sarah Rainsberger <sarah@rainsberger.ca>
* Update GOVERNANCE.md
Co-authored-by: Sarah Rainsberger <sarah@rainsberger.ca>
* Update GOVERNANCE.md
Co-authored-by: Sarah Rainsberger <sarah@rainsberger.ca>
* revert some unintentional changes
* Update GOVERNANCE.md
Co-authored-by: Nate Moore <natemoo-re@users.noreply.github.com>
* Update GOVERNANCE.md
Co-authored-by: Yan Thomas <61414485+Yan-Thomas@users.noreply.github.com>
Co-authored-by: Peter Singh <afuzzybear@outlook.com>
Co-authored-by: Sarah Rainsberger <sarah@rainsberger.ca>
Co-authored-by: Nate Moore <natemoo-re@users.noreply.github.com>
Co-authored-by: Caleb Jasik <calebjasik@jasik.xyz>
Co-authored-by: Yan Thomas <61414485+Yan-Thomas@users.noreply.github.com>