summaryrefslogtreecommitdiff
AgeCommit message (Collapse)AuthorFilesLines
2023-01-17Remove unused exports (#5862)Gravatar Bjorn Lu 2-10/+5
2023-01-17Fix image integration not working on Node 18+ (#5871)Gravatar Erika 10-215/+12
* fix(image): Remove unnecessary polyfill now that we dropped Node 14 * fix(squoosh): Remove fetch of local wasm binary since undici doesn't support that * chore: changeset
2023-01-17Revert "Add missing `noPropertyAccessFromIndexSignature` to strictest ↵Gravatar Bjorn Lu 2-9/+0
tsconfig profile (#5864)" (#5876) This reverts commit 63d5d89038dc8cddf0a137672b68f61a21bb4951.
2023-01-17Add missing `noPropertyAccessFromIndexSignature` to strictest tsconfig ↵Gravatar Clément Nerma 2-0/+9
profile (#5864)
2023-01-17Enable skipLibCheck by default (#5872)Gravatar Bjorn Lu 2-1/+8
2023-01-14Handle server restart from Vite plugins (#5849)Gravatar Bjorn Lu 3-28/+72
2023-01-14Fix importing client-side components with alias (#5845)Gravatar Bjorn Lu 4-0/+74
2023-01-13Support envPrefix in Astro config (#5852)Gravatar Rishi Raj Jain 3-3/+8
* Support envPrefix in Astro config * Update packages/astro/src/core/config/schema.ts Co-authored-by: Nate Moore <natemoo-re@users.noreply.github.com> * Update packages/astro/src/core/build/static-build.ts Co-authored-by: Nate Moore <natemoo-re@users.noreply.github.com> * Update packages/astro/src/core/build/static-build.ts Co-authored-by: Nate Moore <natemoo-re@users.noreply.github.com> * Update packages/astro/src/core/config/schema.ts Co-authored-by: Nate Moore <natemoo-re@users.noreply.github.com> * Update packages/astro/src/core/create-vite.ts Co-authored-by: Nate Moore <natemoo-re@users.noreply.github.com> * Update .changeset/twenty-llamas-type.md Co-authored-by: Nate Moore <natemoo-re@users.noreply.github.com>
2023-01-13Implement redesign of portfolio example (#5765)Gravatar Chris Swithinbank 58-804/+1900
Co-authored-by: Yan Thomas <61414485+Yan-Thomas@users.noreply.github.com> Co-authored-by: Nate Moore <natemoo-re@users.noreply.github.com>
2023-01-12[ci] formatGravatar natemoo-re 1-8/+10
2023-01-12Fix announcements CI actions when 2000+ characters (#5844)Gravatar Nate Moore 1-6/+45
* fix(ci): handle announcements >= 2000 characters * chore: support multiple branches Co-authored-by: Nate Moore <nate@astro.build>
2023-01-12[ci] release (beta) (#5792)create-astro@2.0.0-beta.0astro@2.0.0-beta.2@astrojs/webapi@2.0.0-beta.0@astrojs/vue@2.0.0-beta.1@astrojs/vercel@3.0.0-beta.1@astrojs/telemetry@2.0.0-beta.0@astrojs/tailwind@3.0.0-beta.1@astrojs/svelte@2.0.0-beta.1@astrojs/solid-js@2.0.0-beta.0@astrojs/react@2.0.0-beta.0@astrojs/prism@2.0.0-beta.0@astrojs/preact@2.0.0-beta.0@astrojs/partytown@1.0.3-beta.0@astrojs/node@5.0.0-beta.1@astrojs/netlify@2.0.0-beta.2@astrojs/mdx@1.0.0-beta.2@astrojs/markdown-remark@2.0.0-beta.2@astrojs/lit@1.0.2-beta.0@astrojs/image@1.0.0-beta.2@astrojs/deno@4.0.0-beta.2@astrojs/cloudflare@6.0.0-beta.1Gravatar Fred K. Bot 73-156/+547
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2023-01-12 Add `.astro/` to `.gitignore` in example projects (#5841)Gravatar Chris Swithinbank 24-98/+46
* Delete committed types in with-content example * Add `.astro/` to `.gitignore` in example projects
2023-01-12chore: update changeset for `_astro` directory (#5843)Gravatar Nate Moore 1-2/+2
Co-authored-by: Nate Moore <nate@astro.build>
2023-01-12fix: pass flags to dev (#5840)Gravatar Sam Chen 3-1/+9
* fix: pass flags to dev * add changeset * Update .changeset/eleven-bulldogs-provide.md Co-authored-by: Nate Moore <natemoo-re@users.noreply.github.com>
2023-01-12chore: update changelogs, add changeset for `_astro` directory (#5842)Gravatar Nate Moore 5-18/+10
Co-authored-by: Nate Moore <nate@astro.build>
2023-01-12[ci] formatGravatar natemoo-re 1-1/+1
2023-01-12fix(core): handle encoded characters when matching routes (#5836)Gravatar Nate Moore 8-2/+85
Co-authored-by: Nate Moore <nate@astro.build>
2023-01-12Handle compiler breaking change (#5803)Gravatar Bjorn Lu 12-328/+109
2023-01-12fix shiki css class replace logic in md and mdx integrations (#5837)Gravatar Giuseppe La Torre 3-3/+9
2023-01-11[ci] formatGravatar matthewp 2-2/+2
2023-01-11Simplify HMR handling (#5811)Gravatar Bjorn Lu 8-108/+46
* Simplify HMR handling * Try skip test to reveal other test result * Support virtual files * Fix head injection * Revert CI changes * Bring back normalizeFilename * Refactor * Add changeset
2023-01-11[Content collections] Remove experimental flag (#5825)Gravatar Ben Holmes 27-103/+58
* refactor: remove experimental.cc from core * chore: remove experimental flag from tests * fix: mock contentDir in remark tests * fix: check vfile.path in rel-image-error plugin * fix: move .astro/ excludes to all test/fixtures * fix: include test/**/fixtures in ignore * chore: changeset
2023-01-11[Content collections] Improve content config handling (#5824)Gravatar Ben Holmes 5-58/+78
* fix: always generate types on init * fix: skip type generation when no content dir found * fix: avoid stripping `.ts` for existsSync check * chore: changeset * fix: run type gen when content/ dir added in dev
2023-01-11Run sync as part of `astro check` (#5823)Gravatar Chris Swithinbank 3-2/+13
Co-authored-by: Ben Holmes <hey@bholmes.dev>
2023-01-11[ci] update lockfile (#5815)Gravatar Fred K. Bot 1-257/+256
Co-authored-by: FredKSchott <FredKSchott@users.noreply.github.com>
2023-01-11Fix order-of-execution bug when generating pages (#5822)Gravatar Nate Moore 2-2/+7
* fix: bundle all pages into a single chunk * chore: add changeset Co-authored-by: Nate Moore <nate@astro.build>
2023-01-11Fix `Code.astro` shiki css class replace logic (#5829)Gravatar Giuseppe La Torre 2-1/+6
2023-01-11chore: z.object changeset (#5826)Gravatar Ben Holmes 1-0/+20
Co-authored-by: bholmesdev <bholmesdev@gmail.com>
2023-01-11Add support for serving well-known URIs with the @astrojs/node SSR adapter ↵Gravatar HiDeoo 10-5/+84
(#5832)
2023-01-10[ci] formatGravatar bholmesdev 4-46/+43
2023-01-10[Content collections] Move generated types to `.astro` directory (#5786)Gravatar Ben Holmes 21-97/+263
* feat: change cacheDir to `.astro` * feat: write reference in env.d.ts if none exists * chore: update with-content types * test: env.d.ts transform * nit: setUp -> add * refactor: content.d.ts -> types.d.ts * chore: update confirmation log * chore: changeset * feat: inject env.d.ts if none exists * feat: set up env.d.ts on `astro sync` * chore: duplicate envTsPathRelative * docs: update changeset * fix: make srcDir if none exists * fix: types.generated -> .astro in gitignore * feat: add env.d.ts to test gitignore * chore: remove env.d.ts from content-collections * test: move sync tests to `astro sync`, add file write test * refactor: simplify test gitignore to base * fix: add / to `.astro` bc that scares me
2023-01-10Bumps partytown version to fix deprecation warning (#5820)Gravatar Dovlat Yakshibayev 3-2/+7
* bumps partytown version, adds changeset * changes changeset from minor to patch * changes changeset from minor to patch
2023-01-10Remove old migration guide link from error docs (#5808)Gravatar Yan Thomas 1-1/+0
2023-01-10[ci] formatGravatar bluwy 2-5/+5
2023-01-11can jump 404 when that page does not exist (#5701)Gravatar wulinsheng123 11-9/+99
2023-01-11test(create-astro): correct wrong argument (#5812)Gravatar Le Minh Tri 1-2/+2
2023-01-10Remove more unnecessary polyfills from webapi for Node 16 (#5814)Gravatar Erika 20-422/+23
* feat(webapi): Remove unnecessary polyfills now that we dropped support for Node 14 * feat(webapi): Removed more unnecessary polyfills for Node 16 * chore: changeset
2023-01-10[ci] formatGravatar bholmesdev 1-39/+38
2023-01-10[Content Collections] Allow Zod unions, objects, and transforms as schemas ↵Gravatar Ben Holmes 13-61/+162
(#5770) * feat: require `schema: z.object({...})` * fix: update zod object type check * fix: update types template * chore: update with-content config * chore: update test fixture configs * test: zod union type * refactor: enumerate valid schema types
2023-01-10Cleanup dependencies (#5773)Gravatar Bjorn Lu 9-110/+20
2023-01-09[ci] formatGravatar matthewp 4-12/+6
2023-01-09Drop Node 14 support (#5782)Gravatar Erika 36-387/+147
* chore: Update engines field * fix(deps): Remove node-fetch * feat(polyfills): Remove node-fetch for undici * feat(webapi): Remove node-fetch from the webapis polyfills for undici * feat(core): Remove node-fetch for undici in Astro core * feat(telemetry): Remove node-fetch for undici * feat(node): Remove node-fetch for undici in node integration * feat(vercel): Remove node-fetch for undici in Vercel integration * chore: update lockfile * chore: update lockfile * chore: changeset * fix(set): Fix set directives not streaming correctly on Node 16 * Try another approach * Debugging * Debug fetch * Use global fetch if there is one * changeset for lit * Remove web-streams-polyfill * Remove web-streams-polyfill license note * Update .changeset/stupid-wolves-explain.md Co-authored-by: Nate Moore <natemoo-re@users.noreply.github.com> Co-authored-by: Matthew Phillips <matthew@skypack.dev> Co-authored-by: Nate Moore <natemoo-re@users.noreply.github.com>
2023-01-09[ci] formatGravatar matthewp 1-1/+1
2023-01-09Default preview host to localhost (#5753)Gravatar Bjorn Lu 15-270/+183
* Initial refactor * Extract as vite plugin * Cleanup vite plugin * Reduce option passing * Use localhost as preview default host * Simplify base handling * Fix host handling * Add changeset * Remove unused imports * Remove unused sirv dep * Try pin playwright to 1.28.1 * Update playwright * Try this * Speed up CI * Try fix page off * Refactor networkidle * Ensure open connections are destroyed when the preview server is closed * Revert debug code Co-authored-by: Matthew Phillips <matthew@matthewphillips.info>
2023-01-09[markdown-remark] Remove unused dependencies (#5804)Gravatar Chris Swithinbank 2-6/+0
* [markdown-remark] Remove unused dependency Follow up to #5785. Missed one dependency that is no longer used and can be removed. * [markdown-remark] Remove unused dependency * Lockfile fix * Update lockfile [again]
2023-01-09[ci] formatGravatar natemoo-re 3-7/+8
2023-01-09Output assets to `_astro` directory (#5772)Gravatar Nate Moore 32-135/+367
* WIP: emit assets to _astro * chore: better _astro handling * refactor: emit server assets to `chunks/` * chore: update /asset tests * test: add explicit build output tests * fix: update image to emit to configured asset path * chore: update changeset * chore: update image tests * chore: update image tests * test: update css test * test: update bundling test * test: update tests * Update packages/astro/src/@types/astro.ts Co-authored-by: Chris Swithinbank <swithinbank@gmail.com> * Update packages/astro/src/@types/astro.ts Co-authored-by: Chris Swithinbank <swithinbank@gmail.com> * Update packages/astro/src/@types/astro.ts Co-authored-by: Chris Swithinbank <swithinbank@gmail.com> * chore: add clarifying comment Co-authored-by: Nate Moore <nate@astro.build> Co-authored-by: Chris Swithinbank <swithinbank@gmail.com>
2023-01-09Add Astro as a peerDependency (#5806)Gravatar Matthew Phillips 11-7/+36
* Add Astro as a peerDependency * Add changeset * Update .changeset/thin-seahorses-worry.md Co-authored-by: Bjorn Lu <bjornlu.dev@gmail.com> Co-authored-by: Bjorn Lu <bjornlu.dev@gmail.com>
2023-01-09[ci] update lockfile (#5805)Gravatar Fred K. Bot 1-81/+82
Co-authored-by: FredKSchott <FredKSchott@users.noreply.github.com>