bholmesdev
1de946d898
feat: addContentEntryType integration hook
2023-02-08 08:57:36 -05:00
bholmesdev
dbef6c49c8
deps: graymatter
2023-02-08 08:57:36 -05:00
bholmesdev
e65cfcc6db
chore: unit tests
2023-02-08 08:57:36 -05:00
bholmesdev
381a144dd5
wip: get dream API for file loader working
2023-02-08 08:57:36 -05:00
bholmesdev
cb2898c13b
wip: play with separate markdoc config
2023-02-08 08:57:36 -05:00
bholmesdev
3fd18dc503
fix: render attributes to html
2023-02-08 08:57:34 -05:00
bholmesdev
f6ed5da396
deps: stringify-attributes
2023-02-08 08:57:34 -05:00
bholmesdev
9382330a87
fix: component render bug
2023-02-08 08:57:34 -05:00
bholmesdev
b7e337a1da
feat: basic Astro renderer in with-markdoc
2023-02-08 08:57:33 -05:00
bholmesdev
59dbaa95a1
wip: expose Markdoc from integration
2023-02-08 08:57:33 -05:00
bholmesdev
713722cb36
feat: get markdoc contents
2023-02-08 08:57:33 -05:00
bholmesdev
9c6db525a1
chore: integration setup
2023-02-08 08:57:33 -05:00
Houston (Bot)
334da38c56
[ci] update lockfile ( #6175 )
...
Co-authored-by: FredKSchott <FredKSchott@users.noreply.github.com>
2023-02-08 08:08:37 -05:00
Houston (Bot)
d9061da447
[ci] release ( #6169 )
...
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2023-02-07 17:08:12 -05:00
matthewp
d7948fa3e6
[ci] format
2023-02-07 21:26:18 +00:00
Matthew Phillips
c0e4b1df9f
Fix mixed usage of aliases and relative for client hydration ( #6168 )
...
* Fix mixed usgae of aliases and relative for client hydration
* Add a changeset
2023-02-07 16:24:05 -05:00
Edvinas Jurele
92dcf81c17
update node integration README with Fastify code example ( #6120 )
2023-02-07 13:58:37 -05:00
Houston (Bot)
27eecd3998
[ci] release ( #6116 )
...
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2023-02-07 13:45:08 -05:00
Houston (Bot)
dd0914eafd
[ci] update lockfile ( #6160 )
...
Co-authored-by: FredKSchott <FredKSchott@users.noreply.github.com>
2023-02-07 11:00:30 -05:00
matthewp
b5f772ec7b
[ci] format
2023-02-07 15:58:53 +00:00
Matthew Phillips
d1f5611feb
Add additional scoping for head buffering ( #6152 )
...
* Add additional scoping for head buffering
* Add test for direct usage of nested component
* Add special scoping for Astro.scopes.render()
* Generate propagation map during the build
* Move to a maybeHead instruction
* Properly serialize for SSR
* More conservative scoping
* Maybe had should honor result._metadata.hasRenderedHead
* Properly type slots
* Allow template result to be passed
* Add changeset
2023-02-07 10:56:32 -05:00
Erika
cee70f5c6a
Fix returning images from endpoints in dev ( #6163 )
...
* fix(dev): Fix dev server responses not being encoded following the specified encoding
* test: Add test
* chore: changeset
2023-02-07 16:52:15 +01:00
matthewp
9f85fb4ac2
[ci] format
2023-02-07 15:51:20 +00:00
Matthew Phillips
f6fc662c3c
Prevent ?inline and ?raw CSS from being bundled as CSS ( #6161 )
...
* Prevent ?inline and ?raw CSS from being bundled as CSS
* Add a changeset
* oopts
* Replace use of isCSSRequest
2023-02-07 10:49:13 -05:00
Charles F. Munat
460f9e7329
Fix duplicate alt attribute on Picture component. ( #6157 )
...
* Fix duplicate alt attribute on Picture component.
* Create tidy-buses-mate.md
---------
Co-authored-by: Nate Moore <natemoo-re@users.noreply.github.com>
2023-02-06 20:25:17 -06:00
matthewp
04731b4e60
[ci] format
2023-02-07 01:03:04 +00:00
Elliott Marquez
ec38a8921f
[Lit] add client:only
functionality to Lit integration ( #6111 )
...
* [Lit] add `client:only` functionality to Lit integration
* add changeset
* update lit changeset to minor
2023-02-06 20:01:21 -05:00
Bryce Russell
327a76c3db
Fix remote image example ( #6112 )
...
* Fix remote image example
`format` prop is required for remote images
* Specify `format` is only required when using `Squoosh`
- Undo changes / Restore previous content in Remote Image Examples
- Specify `format` is only required for remote images when using Squoosh(default)
* Fix backticks
* remove 'only' and backticks on squoosh
---------
Co-authored-by: BryceRussell <19967622+BryceRussell@users.noreply.github.com>
2023-02-06 14:38:31 -06:00
Erika
32abe49bd0
Fix polyfills not being available to imports on Netlify ( #6117 )
...
* fix(netlify): Try to make polyfill external
* feat(webapi): Add polyfill applier for SSR
* fix(netlify): Externalize polyfills so they're always applied before user code
* chore: changeset
* test(netlify): Add test for polyfill being in the proper place
* config(netlify): Remove unnecessary change to package.json
* revert(netlify): Revert changes
* feat(astro): Add a way for packages to explicitely mark themselves as needing to be external
* Update .changeset/silent-dragons-sell.md
---------
Co-authored-by: Nate Moore <natemoo-re@users.noreply.github.com>
2023-02-06 14:17:34 -06:00
Isaac
1b591a1431
Check vite.emptyOutDir before emptying dir ( #6153 )
...
* Check vite.emptyOutDir before emptying dir
* Fix: add .build to object path
* Update packages/astro/src/core/build/static-build.ts
Co-authored-by: Nate Moore <natemoo-re@users.noreply.github.com>
* Create flat-dolphins-admire.md
---------
Co-authored-by: Nate Moore <natemoo-re@users.noreply.github.com>
2023-02-06 14:16:46 -06:00
wulinsheng123
9fdecb5606
fix : #5979 ( #6142 )
...
* fix : #5979
* Update lazy-plums-sit.md
---------
Co-authored-by: Nate Moore <natemoo-re@users.noreply.github.com>
2023-02-06 13:28:08 -06:00
Marcy Sutton-Todd
6147479abf
fix(portfolio): keyboard a11y for ThemeToggle ( #6126 )
...
Hiding outline “except for Windows High Contrast Mode” makes this component inaccessible to all keyboard users. Removing this declaration allows the default focus outline to show.
2023-02-06 13:19:19 -06:00
Houston (Bot)
a717c5c76d
[ci] update lockfile ( #6129 )
...
Co-authored-by: FredKSchott <FredKSchott@users.noreply.github.com>
Co-authored-by: Nate Moore <natemoo-re@users.noreply.github.com>
2023-02-06 10:50:08 -06:00
natemoo-re
e8fcc0bc3f
[ci] format
2023-02-06 16:33:33 +00:00
Andrew Bloyce
592386b755
Move pagination error to AstroErrorData ( #6149 )
...
* Move error to AstroErrorData
* Add changeset
2023-02-06 10:30:36 -06:00
natemoo-re
6a59531ff9
[ci] format
2023-02-06 16:21:48 +00:00
Nate Moore
8d2187d8b8
Refactor create-astro
( #6082 )
...
* refactor: new version of create-astro
* chore: update README
* fix(create-astro): update project name logic
* test(create-astro): fix test on windows
* test(create-astro): fix test on windows
* test(create-astro): remove unused import
* chore: remove log
* chore: increase test timeout
* fix: message when skipping
* fix: message for env.d.ts file
* fix: always hard exit
* fix: return from next-steps
* chore: add message
* refactor dependencies, bundle create-astro
* chore: disable create-astro typings
* chore: switch to arg
* chore: update message
* fix: split typescript into two steps, fix context test
* chore: update wording
* chore: update wording
* Update packages/create-astro/src/actions/dependencies.ts
Co-authored-by: Yan Thomas <61414485+Yan-Thomas@users.noreply.github.com>
* refactor: move tests back to mocha/chai
* chore: update cli-kit
* update test script
* chore: add comment about setStdout
* chore: update cli-kit
* Update packages/create-astro/src/messages.ts
Co-authored-by: Sarah Rainsberger <sarah@rainsberger.ca>
* Update packages/create-astro/src/messages.ts
Co-authored-by: Sarah Rainsberger <sarah@rainsberger.ca>
* chore: update lockfile
* fix(create-astro): support scoped package names, improve project-name tests
* better git initialization
* update cli-kit
---------
Co-authored-by: Nate Moore <nate@astro.build>
Co-authored-by: Yan Thomas <61414485+Yan-Thomas@users.noreply.github.com>
Co-authored-by: Sarah Rainsberger <sarah@rainsberger.ca>
2023-02-06 10:19:37 -06:00
matthewp
91dc0f4015
[ci] format
2023-02-06 15:43:56 +00:00
Matthew Phillips
2189170be5
Fix hoisted script propagation in content collection pages ( #6119 )
...
* chore: unskip
* chore: stray console logs
* chore: clarify analyzer comments
* wip: store propagated scripts separately
* Implement getting hoisted scripts for propagation
* Add changeset
* fix
* oops
* update based on code review
---------
Co-authored-by: bholmesdev <hey@bholmes.dev>
2023-02-06 10:42:08 -05:00
Erika
4595dd6600
fix(webapi): Attempt to polyfill with undici imports directly ( #6065 )
2023-02-06 16:16:34 +01:00
Malte Ehrlen
61d47d25c6
fix example Card component style ( #6123 )
...
* fix example Card component style
Card component has uneven border on hover, and in some cases the border is visible even when not hovering
* Delete neat-taxis-thank.md
---------
Co-authored-by: Nate Moore <natemoo-re@users.noreply.github.com>
2023-02-03 20:54:39 -06:00
Fred K. Schott
f20a85b642
Fix outdated error message in paginate() function ( #6124 )
...
* Update paginate.ts
* Create gorgeous-mails-sniff.md
2023-02-03 17:34:09 -06:00
bholmesdev
4f150e80b1
[ci] format
2023-02-03 21:50:51 +00:00
Ben Holmes
9f22ac3d09
[Content collections] Fix "underscore to ignore" warnings ( #6122 )
...
* refactor: fix underscore check
* fix: add "ignore list" to always silence log
* fix: hide log on file deleted
* refactor: move getEntryType to util
* test: getEntryType unit
* fix: handle all unsupported cases
* chore: changeset
2023-02-03 16:48:34 -05:00
bholmesdev
f7f4721231
[ci] format
2023-02-03 20:53:53 +00:00
Ben Holmes
bf8d7366ac
[Content collections] Load content config with full Vite setup ( #6092 )
...
* feat: use vite dev server for content config
* refactor: improve export naming
* chore: update `sync` to spin up server
* refactor: run sync before build in cli
* fix: move sync call to build setup
* chore: clean up attachContent... types
* chore: remove unneeded comment
* chore: changeset
* fix: attachContentServerListeners in unit tests
* fix: allow forced contentDirExists
* chore: update schema signature
* fix: move content listeners to unit test
* chore remove contentDirExists flag; unused
* chore: stub weird unit test fix
2023-02-03 15:52:05 -05:00
Obinna Ekwuno
db2c59fc18
Update open with codesandbox link to use synced sandboxes ( #6105 )
2023-02-03 11:52:11 -06:00
Nacho Vazquez
45b41d98f5
fix: use the root of the project as the functions location ( #6075 )
...
* fix: use the root of the project as the functions location
* test: add test to check where the functions folder is added
2023-02-03 16:19:44 +01:00
Houston (Bot)
79fca438e9
[ci] update lockfile ( #6115 )
...
Co-authored-by: FredKSchott <FredKSchott@users.noreply.github.com>
2023-02-03 09:09:54 -05:00
matthewp
a0efdc8f76
[ci] format
2023-02-03 13:06:16 +00:00