0
Fork 0
mirror of https://github.com/withastro/astro.git synced 2025-02-03 22:29:08 -05:00
The web framework for content-driven websites. ️ Star to support our work!
Find a file
Matthew Phillips 6313277137
Invalidate CC cache manifest when lockfile or config changes (#10763)
* Invalidate CC cache manifest when lockfile or config changes

* Close the handle and increment manifest version

* debug info

* Provide a reason for cache busting

* Handle compile metadata missing

* Try it this way

* Copy over cached assets as well

* Only restore chunks when cache is valid

* Better handle invalid caches

* Explain when there is no content manifest

* Add tests

* debugging

* Remove debugging

* Update packages/astro/src/core/build/plugins/plugin-content.ts

Co-authored-by: Bjorn Lu <bjornlu.dev@gmail.com>

* Update packages/astro/src/core/build/plugins/plugin-content.ts

Co-authored-by: Bjorn Lu <bjornlu.dev@gmail.com>

* Review comments

* Add chunks path constant

---------

Co-authored-by: Bjorn Lu <bjornlu.dev@gmail.com>
2024-04-18 11:23:05 -04:00
.changeset Invalidate CC cache manifest when lockfile or config changes (#10763) 2024-04-18 11:23:05 -04:00
.devcontainer
.github ci: add ref when checking out the repository (#10733) 2024-04-09 15:55:07 +01:00
.gitpod
.vscode
benchmark Remove MDX processor on buildEnd (#10770) 2024-04-15 15:56:53 +08:00
examples [ci] release (#10777) 2024-04-16 17:07:50 +01:00
packages Invalidate CC cache manifest when lockfile or config changes (#10763) 2024-04-18 11:23:05 -04:00
scripts feat(i18n): manual routing (#10193) 2024-04-10 15:38:17 +01:00
.editorconfig
.git-blame-ignore-revs
.gitignore
.gitpod.yml
.npmrc
.nvmrc Fix test runner issues by upgrading nodejs version to 18.17.1 (#10672) 2024-04-04 15:08:25 +08:00
.prettierignore chore: use Biome to format JS files (#10788) 2024-04-17 09:37:22 +01:00
biome.json test: fix regression upon import sorting (#10802) 2024-04-17 13:01:29 +01:00
CONTRIBUTING.md Fix test runner issues by upgrading nodejs version to 18.17.1 (#10672) 2024-04-04 15:08:25 +08:00
eslint.config.js [ci] format 2024-04-15 08:06:20 +00:00
LICENSE
package.json chore: use Biome to format JS files (#10788) 2024-04-17 09:37:22 +01:00
pnpm-lock.yaml Invalidate CC cache manifest when lockfile or config changes (#10763) 2024-04-18 11:23:05 -04:00
pnpm-workspace.yaml
prettier.config.js chore: use Biome to format JS files (#10788) 2024-04-17 09:37:22 +01:00
README.md
SECURITY.md
SECURITY_CONTACTS
STYLE_GUIDE.md
tsconfig.base.json
tsconfig.eslint.json
tsconfig.json
turbo.json

Build the web you want


Astro is a website build tool for the modern web —
powerful developer experience meets lightweight output.

Build Status License npm version

Install

The recommended way to install the latest version of Astro is by running the command below:

npm create astro@latest

You can also install Astro manually by running this command instead:

npm install --save-dev astro

Looking for help? Start with our Getting Started guide.

Looking for quick examples? Open a starter project right in your browser.

Documentation

Visit our official documentation.

Support

Having trouble? Get help in the official Astro Discord.

Contributing

New contributors welcome! Check out our Contributors Guide for help getting started.

Join us on Discord to meet other maintainers. We'll help you get your first contribution in no time!

Directory

Package Release Notes
astro astro version
create-astro create-astro version
@astrojs/react astro version
@astrojs/preact astro version
@astrojs/solid-js astro version
@astrojs/svelte astro version
@astrojs/vue astro version
@astrojs/lit astro version
@astrojs/node astro version
@astrojs/vercel astro version
@astrojs/cloudflare astro version
@astrojs/partytown astro version
@astrojs/sitemap astro version
@astrojs/tailwind astro version
@astrojs/alpinejs astro version
@astrojs/mdx astro version

CII Best Practices

Several official projects are maintained outside of this repo:

Project Repository
@astrojs/compiler withastro/compiler
Astro Language Tools withastro/language-tools

Sponsors

Astro is free, open source software made possible by these wonderful sponsors.

❤️ Sponsor Astro! ❤️

Astro's sponsors.