summaryrefslogtreecommitdiff
path: root/examples/docs/public/make-scrollable-code-focusable.js (unfollow)
AgeCommit message (Collapse)AuthorFilesLines
2023-03-24fix(node): Fix http import to not be type-only (#6650)Gravatar Erika 1-1/+1
2023-03-24[ci] formatGravatar matthewp 1-14/+16
2023-03-24Fix for Node SSR with Express JSON middleware fails on POST (#6192)Gravatar Eric R Glass 2-4/+30
* Fix for Node SSR with Express JSON middleware fails on POST * Removed the unwanted setting of the req property * Removed the unwanted setting of the req property * Removed the unwanted setting of the req property * Fixed the if statement to not break the existing logic and unit test * Cleaned up the if statement * Changed to better solution from Geoffrey-Pliez * Added class NodeIncomingMessage with body defined as any --------- Co-authored-by: Matthew Phillips <matthew@skypack.dev>
2023-03-24[ci] formatGravatar matthewp 9-43/+35
2023-03-24Pass --mode flag to build (#6647)Gravatar Bjorn Lu 2-1/+12
2023-03-24Avoid implicit head injection when there is a head element in the tree (#6638)Gravatar Matthew Phillips 37-300/+260
* Avoid implicit head injection when there is a head element in the tree * more * only do it once * Update the tests * Update more tests * update compiler version * See if scope stuff can be removed now * Move up where head injection occurs * Remove result scoping
2023-03-24[ci] formatGravatar bholmesdev 3-3/+3
2023-03-24[Markdoc] Support automatic image optimization with `experimental.assets` ↵Gravatar Ben Holmes 18-21/+368
(#6630) * wip: scrappy implementation. It works! 🥳 * chore: add code comments on inline utils * fix: code cleanup, run on experimental.assets * feat: support ~/assets alias * fix: spoof `astro:assets` when outside experimental * test: image paths in dev and prod * feat: support any vite alias with ctx.resolve * fix: avoid trying to process absolute paths * fix: raise helpful error for invalid vite paths * refactor: revert URL support on emitAsset * chore: lint * refactor: expose emitESMImage from assets base * wip: why doesn't assets exist * scary chore: make @astrojs/markdoc truly depend on astro * fix: import emitESMImage straight from dist * chore: remove type def from assets package * chore: screw it, just ts ignore * deps: rollup types * refactor: optimize images during parse step * chore: remove unneeded `.flat()` * fix: use file-based relative paths * fix: add back helpful error * chore: changeset * deps: move astro back to dev dep * fix: put emit assets behind flag * chore: change to markdoc patch
2023-03-24[ci] release (#6634)astro@2.1.6@astrojs/image@0.16.2Gravatar Houston (Bot) 43-82/+84
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2023-03-23[ci] formatGravatar Princesseuh 2-2/+2
2023-03-23Resolve images in the frontmatter relative to the current file (#6627)Gravatar Erika 6-12/+53
* feat(images): Resolve images in the frontmatter relative to the current file * fix(images): Only recursively go through the object if it's not undefined * fix(images): Add more safeguards * test(images): Update content collections tests to be relative * chore: changeset
2023-03-23[ci] formatGravatar matthewp 2-13/+13
2023-03-23Change how squoosh is loaded in the image integration (#6548)Gravatar Matthew Phillips 16-40/+66
* WIP fix image integration in Netlify * Add a changeset * Try another way * Get the chunks folder * try inlining * deep sigh * fix some things * more * Remove some stuff * remove unused imports * Add changeset * remove unused --copy-wasm * Remove unused post:build
2023-03-23Revert `tsconfig-alias` plugin changes (#6633)Gravatar Ben Holmes 10-101/+96
* Revert "Fix tsconfig alias regression (#6617)" This reverts commit 38e6ec21e266ad8765d8ca2293034123b34e839a. * chore: changeset * fix: add back fs * chore: remove stray console log * Revert "Support tsconfig aliases in styles (#6566)" This reverts commit ea9b3dd72b98b3f5a542ca24a275f673faa6c7c5. * chore: add note on css style aliases
2023-03-22Add how to test changes section to CONTRIBUTING (#6581)Gravatar Franco Romano Losada 1-0/+16
* Update CONTRIBUTING.md * Add feedback to CONTRIBUTING.md --------- Co-authored-by: Nate Moore <natemoo-re@users.noreply.github.com>
2023-03-22[ci] release (#6612)astro@2.1.5@astrojs/markdown-remark@2.1.2@astrojs/markdoc@0.0.4Gravatar Houston (Bot) 49-110/+123
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2023-03-22Fix using optimized images in Markdown (#6604)Gravatar Erika 7-144/+65
* fix(images): Fix using optimized images in Markdown * test(images): Update tests to be a bit more robust + new tests * chore: changeset * refactor: use spreadAttributes instead
2023-03-22[ci] formatGravatar bluwy 1-1/+0
2023-03-22Fix tsconfig alias regression (#6617)Gravatar Happydev 5-20/+40
2023-03-21edit commands for installing @markdoc/markdoc (#6622)Gravatar paulrudy 2-3/+8
* edit commands for installing @markdoc/markdoc * Create twenty-islands-protect.md --------- Co-authored-by: Ben Holmes <hey@bholmes.dev>
2023-03-21Update README.mdGravatar Tony Sullivan 1-2/+2
Updating alt text for the sponsors image
2023-03-21[ci] formatGravatar bholmesdev 1-2/+1
2023-03-21feat: Expose `$entry` variable to Markdoc (#6588)Gravatar Ben Holmes 13-130/+424
* wip: dream api * deps: rollup types * feat: get entry data in there * fix: properly show mdoc errors in overlay * feat: implement with cache * fix: wait for in-flight entry resolution * test: entry properties can be rendered * chore: changeset * fix: remove rollup type import * Revert "deps: rollup types" This reverts commit 484ccb1c81fcf35e19c2b22289a3fe6b735a8135. * docs: add README reference * docs nit: missing space Co-authored-by: Yan Thomas <61414485+Yan-Thomas@users.noreply.github.com> * refactor: split config config loading to separate helper * refactor: choose more readable variable names * refactor: store awaiting queue in existing cache * docs: add clear code comments * nit: add skip module code comment * refactor: add `idHandledByContentRenderPlugin` * nit: store chokidar modified events in const * fix: remove loop from content renderer * nit: else if -> if --------- Co-authored-by: Yan Thomas <61414485+Yan-Thomas@users.noreply.github.com>
2023-03-21[ci] formatGravatar bholmesdev 1-3/+4
2023-03-21[Markdoc] Refactor Renderer internals to use `renderComponent()` (#6607)Gravatar Ben Holmes 7-87/+88
* wip: new TreeNode setup * fix: pass children through `render` * deps: remove stringify-attributes * chore: changeset --------- Co-authored-by: Nate Moore <nate@astro.build> Co-authored-by: Nate Moore <natemoo-re@users.noreply.github.com>
2023-03-21[ci] release (#6541)create-astro@3.1.1astro@2.1.4@astrojs/rss@2.3.1@astrojs/mdx@0.18.2@astrojs/markdown-remark@2.1.1@astrojs/markdoc@0.0.3@astrojs/cloudflare@6.2.2Gravatar Houston (Bot) 69-185/+171
* [ci] release * nit: typo in #6594 changeset --------- Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com> Co-authored-by: Ben Holmes <hey@bholmes.dev>
2023-03-21chore: wrap the projectDir in quotes if it contains spaces (#6594)Gravatar btea 2-1/+7
* chore: wrap the projectDir in quotes if it contains spaces * chore: add changeset * fix: update output projectDir * Update .changeset/tall-beans-own.md Co-authored-by: Bjorn Lu <bjornlu.dev@gmail.com> --------- Co-authored-by: Bjorn Lu <bjornlu.dev@gmail.com>
2023-03-21Fix plugin apply args when filtering (#6601)Gravatar Bjorn Lu 2-1/+6
2023-03-20[ci] formatGravatar bholmesdev 1-1/+1
2023-03-20fix: refactor esbuild setup to support watch (#6608)Gravatar Nate Moore 1-7/+14
2023-03-20fix(tsconfig): Update tsconfig templates to ignore 5.0 deprecations (#6605)Gravatar Erika 2-1/+9
2023-03-20[ci] formatGravatar ematipico 1-1/+1
2023-03-20fix: Add missing --watch flag when running astro check --help (#6586)Gravatar Chloe A 2-1/+9
Co-authored-by: Bjorn Lu <bjornlu.dev@gmail.com>
2023-03-20[ci] formatGravatar Princesseuh 9-10/+10
2023-03-20feat(all): Migrate to TypeScript 5.0 (#6579)Gravatar Erika 63-172/+429
2023-03-20added prop type definition for FormattedDate in Blog example (#6591)Gravatar Matthew Mercuri 1-0/+4
2023-03-19fix typo (#6584)Gravatar kalana kithmina 1-26/+29
* fix typo fix error: didn't match with base path code with readme guide * Fix related typos --------- Co-authored-by: Yan Thomas <61414485+Yan-Thomas@users.noreply.github.com>
2023-03-18Simplify internal resolver in dev (#6576)Gravatar Bjorn Lu 2-8/+6
2023-03-17Fix error in empty markdown files with content (#6572)Gravatar Happydev 8-2/+55
* test: add test fixture * test: add test case * 🤏 fix * chore: changeset --------- Co-authored-by: Nate Moore <natemoo-re@users.noreply.github.com>
2023-03-17Fix overflow title in error message (#6583)Gravatar Franco Romano Losada 2-0/+7
* Fix overflow title in error message * Add changeset
2023-03-17Add validateOptions hook to Image Service API (#6555)Gravatar Erika 9-51/+99
* feat(assets): Add a validateOptions hooks to set default and do error handling * chore: changeset
2023-03-16Fix `image()` type to be compatible with ImageMetadata (#6568)Gravatar Erika 2-1/+17
* fix(assest): Fix `image()` type to be compatible with ImageMetadata * chore: changeset
2023-03-16[ci] formatGravatar bluwy 2-3/+3
2023-03-17Support tsconfig aliases in styles (#6566)Gravatar Bjorn Lu 9-80/+81
2023-03-16Fix prerendered 404 page handling in SSR (#6558)Gravatar Bjorn Lu 7-8/+86
2023-03-16Fix mdx and markdoc integrations return type (#6552)Gravatar Bjorn Lu 3-35/+24
2023-03-16[ci] formatGravatar bluwy 1-3/+1
2023-03-16fix(cloudflare): base strip logic (#6550)Gravatar Richard Simpson 2-1/+6
2023-03-16[ci] formatGravatar Princesseuh 1-1/+1
2023-03-16Vendor image-size (#6559)Gravatar Erika 35-23/+1422
* feat(assets): Vendor image-size * fix(assets): Also vendor queue, the CJS virus runs deep * fix: remove unneeded queue * chore: lockfile * fix: build * fix: build part 2 * chore: changeset