diff --git a/.eslintrc.cjs b/.eslintrc.cjs
index c55d0d05d..d2d00d081 100644
--- a/.eslintrc.cjs
+++ b/.eslintrc.cjs
@@ -17,6 +17,5 @@ module.exports = {
'prefer-const': 'off',
'no-shadow': 'off',
'@typescript-eslint/no-shadow': ['error'],
- // 'require-jsdoc': 'error', // re-enable this to enforce JSDoc for all functions
},
};
diff --git a/docs/README.md b/docs/README.md
deleted file mode 100644
index 8dd578be3..000000000
--- a/docs/README.md
+++ /dev/null
@@ -1,3 +0,0 @@
-# Astro Docs
-
-**β οΈ The Astro docs are now managed at https://github.com/withastro/docs β οΈ**
diff --git a/examples/portfolio-svelte/.gitignore b/examples/portfolio-svelte/.gitignore
deleted file mode 100644
index c82467453..000000000
--- a/examples/portfolio-svelte/.gitignore
+++ /dev/null
@@ -1,17 +0,0 @@
-# build output
-dist
-
-# dependencies
-node_modules/
-
-# logs
-npm-debug.log*
-yarn-debug.log*
-yarn-error.log*
-
-# environment variables
-.env
-.env.production
-
-# macOS-specific files
-.DS_Store
diff --git a/examples/portfolio-svelte/.npmrc b/examples/portfolio-svelte/.npmrc
deleted file mode 100644
index ef83021af..000000000
--- a/examples/portfolio-svelte/.npmrc
+++ /dev/null
@@ -1,2 +0,0 @@
-# Expose Astro dependencies for `pnpm` users
-shamefully-hoist=true
diff --git a/examples/portfolio-svelte/.stackblitzrc b/examples/portfolio-svelte/.stackblitzrc
deleted file mode 100644
index 43798ecff..000000000
--- a/examples/portfolio-svelte/.stackblitzrc
+++ /dev/null
@@ -1,6 +0,0 @@
-{
- "startCommand": "npm start",
- "env": {
- "ENABLE_CJS_IMPORTS": true
- }
-}
\ No newline at end of file
diff --git a/examples/portfolio-svelte/README.md b/examples/portfolio-svelte/README.md
deleted file mode 100644
index 3f04c4b34..000000000
--- a/examples/portfolio-svelte/README.md
+++ /dev/null
@@ -1,24 +0,0 @@
-# Astro Starter Kit: Portfolio + Svelte
-
-```
-npm init astro -- --template portfolio-svelte
-```
-
-[](https://stackblitz.com/github/withastro/astro/tree/latest/examples/portfolio-svelte)
-
-> π§βπ **Seasoned astronaut?** Delete this file. Have fun!
-
-## π§ Commands
-
-All commands are run from the root of the project, from a terminal:
-
-| Command | Action |
-|:---------------- |:-------------------------------------------- |
-| `npm install` | Installs dependencies |
-| `npm run dev` | Starts local dev server at `localhost:3000` |
-| `npm run build` | Build your production site to `./dist/` |
-| `npm run preview` | Preview your build locally, before deploying |
-
-## π Want to learn more?
-
-Feel free to check [our documentation](https://github.com/withastro/astro) or jump into our [Discord server](https://astro.build/chat).
diff --git a/examples/portfolio-svelte/astro.config.mjs b/examples/portfolio-svelte/astro.config.mjs
deleted file mode 100644
index a22ba9c95..000000000
--- a/examples/portfolio-svelte/astro.config.mjs
+++ /dev/null
@@ -1,13 +0,0 @@
-// Full Astro Configuration API Documentation:
-// https://docs.astro.build/reference/configuration-reference
-
-// @type-check enabled!
-// VSCode and other TypeScript-enabled text editors will provide auto-completion,
-// helpful tooltips, and warnings if your exported object is invalid.
-// You can disable this by removing "@ts-check" and `@type` comments below.
-
-// @ts-check
-export default /** @type {import('astro').AstroUserConfig} */ ({
- // Enable the Svelte renderer to support Svelte components.
- renderers: ['@astrojs/renderer-svelte'],
-});
diff --git a/examples/portfolio-svelte/package.json b/examples/portfolio-svelte/package.json
deleted file mode 100644
index 130642daa..000000000
--- a/examples/portfolio-svelte/package.json
+++ /dev/null
@@ -1,16 +0,0 @@
-{
- "name": "@example/portfolio-svelte",
- "version": "0.0.1",
- "private": true,
- "scripts": {
- "dev": "astro dev",
- "start": "astro dev",
- "build": "astro build",
- "preview": "astro preview"
- },
- "devDependencies": {
- "@astrojs/renderer-svelte": "^0.5.1",
- "astro": "^0.24.0",
- "sass": "^1.49.9"
- }
-}
diff --git a/examples/portfolio-svelte/public/assets/mesh-gradient.jpg b/examples/portfolio-svelte/public/assets/mesh-gradient.jpg
deleted file mode 100644
index 4ee5a663f..000000000
Binary files a/examples/portfolio-svelte/public/assets/mesh-gradient.jpg and /dev/null differ
diff --git a/examples/portfolio-svelte/public/favicon.ico b/examples/portfolio-svelte/public/favicon.ico
deleted file mode 100644
index 578ad458b..000000000
Binary files a/examples/portfolio-svelte/public/favicon.ico and /dev/null differ
diff --git a/examples/portfolio-svelte/sandbox.config.json b/examples/portfolio-svelte/sandbox.config.json
deleted file mode 100644
index 9178af77d..000000000
--- a/examples/portfolio-svelte/sandbox.config.json
+++ /dev/null
@@ -1,11 +0,0 @@
-{
- "infiniteLoopProtection": true,
- "hardReloadOnChange": false,
- "view": "browser",
- "template": "node",
- "container": {
- "port": 3000,
- "startScript": "start",
- "node": "14"
- }
-}
diff --git a/examples/portfolio-svelte/src/components/Button.svelte b/examples/portfolio-svelte/src/components/Button.svelte
deleted file mode 100644
index d5376d134..000000000
--- a/examples/portfolio-svelte/src/components/Button.svelte
+++ /dev/null
@@ -1,11 +0,0 @@
-
-
-
diff --git a/examples/portfolio-svelte/src/components/Footer.svelte b/examples/portfolio-svelte/src/components/Footer.svelte
deleted file mode 100644
index 0a91c426c..000000000
--- a/examples/portfolio-svelte/src/components/Footer.svelte
+++ /dev/null
@@ -1,23 +0,0 @@
-
-
-
- © {new Date().getFullYear()} {name}
- π Built with Astro
-
-
-
diff --git a/examples/portfolio-svelte/src/components/MainHead.astro b/examples/portfolio-svelte/src/components/MainHead.astro
deleted file mode 100644
index 978c1d245..000000000
--- a/examples/portfolio-svelte/src/components/MainHead.astro
+++ /dev/null
@@ -1,13 +0,0 @@
----
-import '../styles/global.scss';
-const { title = 'Jeanine White: Personal Site', description = 'The personal site of Jeanine White' } = Astro.props;
----
-
-
-
-
-
{title}
-
-
-
-
diff --git a/examples/portfolio-svelte/src/components/Nav.svelte b/examples/portfolio-svelte/src/components/Nav.svelte
deleted file mode 100644
index 87108e12d..000000000
--- a/examples/portfolio-svelte/src/components/Nav.svelte
+++ /dev/null
@@ -1,80 +0,0 @@
-
-
- JW
-
- Portfolio
- About
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
diff --git a/examples/portfolio-svelte/src/components/PortfolioPreview.svelte b/examples/portfolio-svelte/src/components/PortfolioPreview.svelte
deleted file mode 100644
index 230a0747f..000000000
--- a/examples/portfolio-svelte/src/components/PortfolioPreview.svelte
+++ /dev/null
@@ -1,119 +0,0 @@
-
-
-
-
-
{project.title}
-
-
-
-
-
diff --git a/examples/portfolio-svelte/src/layouts/project.astro b/examples/portfolio-svelte/src/layouts/project.astro
deleted file mode 100644
index e60be99ae..000000000
--- a/examples/portfolio-svelte/src/layouts/project.astro
+++ /dev/null
@@ -1,91 +0,0 @@
----
-import MainHead from '../components/MainHead.astro';
-import Button from '../components/Button.svelte';
-import Footer from '../components/Footer.svelte';
-import Nav from '../components/Nav.svelte';
-
-const { content } = Astro.props;
----
-
-
-
-
-
-
-
-
-
-
-
- {content.tags.map((t) => {t} )}
-
{content.description}
-
-
-
-
-
-
-
diff --git a/examples/portfolio-svelte/src/pages/404.astro b/examples/portfolio-svelte/src/pages/404.astro
deleted file mode 100644
index 51faab6c0..000000000
--- a/examples/portfolio-svelte/src/pages/404.astro
+++ /dev/null
@@ -1,19 +0,0 @@
----
-import MainHead from '../components/MainHead.astro';
-import Footer from '../components/Footer.svelte';
-import Nav from '../components/Nav.svelte';
----
-
-
-
-
-
-
-
-
-
Page Not Found
-
Not found
-
-
-
-
diff --git a/examples/portfolio-svelte/src/pages/about.astro b/examples/portfolio-svelte/src/pages/about.astro
deleted file mode 100644
index 6ecb645d9..000000000
--- a/examples/portfolio-svelte/src/pages/about.astro
+++ /dev/null
@@ -1,59 +0,0 @@
----
-import MainHead from '../components/MainHead.astro';
-import Footer from '../components/Footer.svelte';
-import Nav from '../components/Nav.svelte';
----
-
-
-
-
-
-
-
-
-
-
About Jeanine
-
-
-
-
-
- Cream cheese say cheese stinking bishop. Brie fondue hard cheese bocconcini feta camembert de normandie babybel airedale. Red leicester swiss manchego mascarpone pepper
- jack airedale fromage frais ricotta. Cheese and biscuits cauliflower cheese boursin.
-
-
- Pepper jack cheesy feet cheese slices. Halloumi port-salut queso caerphilly roquefort cheese slices cheesy feet rubber cheese. Cheese slices smelly cheese pecorino
- macaroni cheese feta blue castello roquefort edam. Babybel pepper jack airedale cheddar fromage frais manchego.
-
-
- Cauliflower cheese lancashire macaroni cheese. Cheeseburger babybel cheese on toast airedale cauliflower cheese who moved my cheese roquefort paneer. Stinking bishop
- cheddar taleggio port-salut port-salut stinking bishop cheesy grin babybel. Blue castello feta everyone loves brie.
-
-
- Goat squirty cheese cut the cheese. Cheese and wine cheddar fondue airedale cottage cheese camembert de normandie feta babybel. Rubber cheese melted cheese pecorino
- port-salut fondue gouda cheese on toast cheesy feet. Feta edam everyone loves cheese strings camembert de normandie.
-
-
- Caerphilly monterey jack goat. Squirty cheese cheesy grin hard cheese cheese strings cheese and biscuits croque monsieur smelly cheese danish fontina. Swiss cheese
- triangles everyone loves mascarpone cheese on toast who moved my cheese lancashire cheeseburger. Fromage frais fromage frais cheese and biscuits stinking bishop
- cauliflower cheese.
-
-
-
-
-
-
diff --git a/examples/portfolio-svelte/src/pages/index.astro b/examples/portfolio-svelte/src/pages/index.astro
deleted file mode 100644
index f2b76224e..000000000
--- a/examples/portfolio-svelte/src/pages/index.astro
+++ /dev/null
@@ -1,246 +0,0 @@
----
-// Component Imports
-import MainHead from '../components/MainHead.astro';
-import Button from '../components/Button.svelte';
-import Nav from '../components/Nav.svelte';
-import Footer from '../components/Footer.svelte';
-import PortfolioPreview from '../components/PortfolioPreview.svelte';
-
-// Data Fetching: List all Markdown posts in the repo.
-const projects = Astro.fetchContent('./project/**/*.md');
-const featuredProject = projects[0];
-
-// Full Astro Component Syntax:
-// https://docs.astro.build/core-concepts/astro-components/
----
-
-
-
-
-
-
-
-
-
-
-
-
-
-
About me
-
- Hello! Iβm Jeanine, and this is my website. It was made using{' '}
- Astro
- , a new way to build static sites. This is just an example template for you to modify.
-
-
- Read more
-
-
-
-
-
-
-
diff --git a/examples/portfolio-svelte/src/pages/project/mars-rover.md b/examples/portfolio-svelte/src/pages/project/mars-rover.md
deleted file mode 100644
index 6b2e45593..000000000
--- a/examples/portfolio-svelte/src/pages/project/mars-rover.md
+++ /dev/null
@@ -1,23 +0,0 @@
----
-layout: ../../layouts/project.astro
-title: Mars Rover
-client: Self
-publishDate: 2020-03-02 00:00:00
-img: https://images.unsplash.com/photo-1547234935-80c7145ec969?fit=crop&w=1400&h=700&q=75
-description: |
- We built an unofficial Mars Rover Landing site in celebration of NASAβs Perseverance Rover.
-tags:
- - design
- - dev
- - branding
----
-
-Rubber cheese mascarpone cut the cheese. Jarlsberg parmesan cheesy grin cream cheese port-salut stinking bishop ricotta brie. Roquefort when the cheese comes out everybody's happy goat cheese triangles stilton cheese and biscuits goat babybel. Bocconcini roquefort queso danish fontina pecorino.
-
-Smelly cheese stinking bishop roquefort. Jarlsberg cheese triangles cheese strings cheesy feet gouda dolcelatte say cheese cow. Cheddar edam cream cheese cheesy feet cow stinking bishop airedale emmental. Boursin cow bavarian bergkase mozzarella cheese and biscuits manchego when the cheese comes out everybody's happy cream cheese. Cheese on toast st. agur blue cheese croque monsieur halloumi.
-
-Fromage frais jarlsberg st. agur blue cheese. Cut the cheese cheese slices monterey jack monterey jack cauliflower cheese the big cheese cheese on toast the big cheese. Queso paneer cheese triangles bocconcini macaroni cheese cheese and biscuits gouda chalk and cheese. Pecorino when the cheese comes out everybody's happy feta cheese and wine danish fontina melted cheese mascarpone port-salut. When the cheese comes out everybody's happy pecorino cottage cheese.
-
-Caerphilly parmesan manchego. Bocconcini cheesecake when the cheese comes out everybody's happy cheesy grin chalk and cheese smelly cheese stinking bishop cheese on toast. Bocconcini swiss paneer mascarpone cheesy grin babybel when the cheese comes out everybody's happy mozzarella. Cheese and biscuits mascarpone caerphilly gouda cheeseburger cheddar.
-
-Cheese and biscuits cheesy grin roquefort. Ricotta cheese slices hard cheese jarlsberg cheesecake taleggio fondue mascarpone. Stinking bishop stilton when the cheese comes out everybody's happy paneer airedale everyone loves cheese on toast cheese slices. Ricotta cut the cheese cheese triangles babybel cream cheese ricotta.
diff --git a/examples/portfolio-svelte/src/pages/project/nested/lunar-eclipse.md b/examples/portfolio-svelte/src/pages/project/nested/lunar-eclipse.md
deleted file mode 100644
index 3fe8dd5c9..000000000
--- a/examples/portfolio-svelte/src/pages/project/nested/lunar-eclipse.md
+++ /dev/null
@@ -1,23 +0,0 @@
----
-layout: ../../../layouts/project.astro
-title: Lunar Eclipse
-client: Self
-publishDate: 2020-03-04 00:00:00
-img: https://images.unsplash.com/photo-1548391350-1a529f6ea42d?fit=crop&w=1400&h=700&q=75
-description: |
- We took some cool pictures of the moon and made a website about it.
-tags:
- - design
- - dev
- - branding
----
-
-Rubber cheese mascarpone cut the cheese. Jarlsberg parmesan cheesy grin cream cheese port-salut stinking bishop ricotta brie. Roquefort when the cheese comes out everybody's happy goat cheese triangles stilton cheese and biscuits goat babybel. Bocconcini roquefort queso danish fontina pecorino.
-
-Smelly cheese stinking bishop roquefort. Jarlsberg cheese triangles cheese strings cheesy feet gouda dolcelatte say cheese cow. Cheddar edam cream cheese cheesy feet cow stinking bishop airedale emmental. Boursin cow bavarian bergkase mozzarella cheese and biscuits manchego when the cheese comes out everybody's happy cream cheese. Cheese on toast st. agur blue cheese croque monsieur halloumi.
-
-Fromage frais jarlsberg st. agur blue cheese. Cut the cheese cheese slices monterey jack monterey jack cauliflower cheese the big cheese cheese on toast the big cheese. Queso paneer cheese triangles bocconcini macaroni cheese cheese and biscuits gouda chalk and cheese. Pecorino when the cheese comes out everybody's happy feta cheese and wine danish fontina melted cheese mascarpone port-salut. When the cheese comes out everybody's happy pecorino cottage cheese.
-
-Caerphilly parmesan manchego. Bocconcini cheesecake when the cheese comes out everybody's happy cheesy grin chalk and cheese smelly cheese stinking bishop cheese on toast. Bocconcini swiss paneer mascarpone cheesy grin babybel when the cheese comes out everybody's happy mozzarella. Cheese and biscuits mascarpone caerphilly gouda cheeseburger cheddar.
-
-Cheese and biscuits cheesy grin roquefort. Ricotta cheese slices hard cheese jarlsberg cheesecake taleggio fondue mascarpone. Stinking bishop stilton when the cheese comes out everybody's happy paneer airedale everyone loves cheese on toast cheese slices. Ricotta cut the cheese cheese triangles babybel cream cheese ricotta.
diff --git a/examples/portfolio-svelte/src/pages/projects.astro b/examples/portfolio-svelte/src/pages/projects.astro
deleted file mode 100644
index dea004128..000000000
--- a/examples/portfolio-svelte/src/pages/projects.astro
+++ /dev/null
@@ -1,36 +0,0 @@
----
-import MainHead from '../components/MainHead.astro';
-import Footer from '../components/Footer.svelte';
-import Nav from '../components/Nav.svelte';
-import PortfolioPreview from '../components/PortfolioPreview.svelte';
-
-interface MarkdownFrontmatter {
- publishDate: number;
-}
-
-const projects = Astro.fetchContent('./project/**/*.md')
- .filter(({ publishDate }) => !!publishDate)
- .sort((a, b) => new Date(b.publishDate).valueOf() - new Date(a.publishDate).valueOf());
----
-
-
-
-
-
-
-
-
-
-
All Projects
-
- {projects.map((project) =>
)}
-
-
-
-
-
diff --git a/examples/portfolio-svelte/src/styles/global.scss b/examples/portfolio-svelte/src/styles/global.scss
deleted file mode 100644
index 453adadbe..000000000
--- a/examples/portfolio-svelte/src/styles/global.scss
+++ /dev/null
@@ -1,163 +0,0 @@
-// Tokens
-:root {
- // (c)olor
- --c-black: #05091e;
- --c-blue: #46b4ff;
- --c-gray: #90aab7;
- --c-green: #9ef2cb;
- --c-pink: #ffb8d9;
- --c-orange: #ffb7a3;
- --c-yellow: #ffdace;
- --c-white: #fff;
-
- // (f)ont
- --f-u18: 11.390625em;
- --f-u17: 9.950627481136905em;
- --f-u16: 8.692673779389363em;
- --f-u15: 7.59375em;
- --f-u14: 6.63375165409127em;
- --f-u13: 5.795115852926242em;
- --f-u12: 5.0625em;
- --f-u11: 4.422501102727513em;
- --f-u10: 3.8634105686174953em;
- --f-u9: 3.375em;
- --f-u8: 2.9483340684850083em;
- --f-u7: 2.575607045744997em;
- --f-u6: 2.25em;
- --f-u5: 1.9655560456566725em;
- --f-u4: 1.7170713638299977em;
- --f-u3: 1.5em;
- --f-u2: 1.3103706971044482em;
- --f-u1: 1.1447142425533319em;
- --f-d1: 0.8735804647362989em;
- --f-d2: 0.7631428283688879em;
- --f-d3: 0.6666666666666666em;
- --f-d4: 0.5823869764908659em;
- --f-d5: 0.5087618855792586em;
- --f-d6: 0.4444444444444444em;
- --f-d7: 0.3882579843272439em;
- --f-d8: 0.3391745903861724em;
- --f-d9: 0.2962962962962963em;
- --f-d10: 0.2588386562181626em;
- --f-d11: 0.22611639359078162em;
- --f-d12: 0.19753086419753085em;
- --f-d13: 0.17255910414544176em;
- --f-d14: 0.15074426239385438em;
- --f-d15: 0.13168724279835392em;
- --f-d16: 0.11503940276362785em;
- --f-d17: 0.10049617492923625em;
- --f-d18: 0.0877914951989026em;
-
- // (t)heme
- --t-fg: var(--c-black);
- --t-bg: var(--c-white);
- --t-subdue: var(--c-gray);
- --t-active: var(--c-blue);
-}
-
-// Base
-
-body {
- margin: 0;
- color: var(--t-fg);
- font-family: 'Inter', 'system-ui', sans-serif;
-}
-
-* {
- box-sizing: content-box;
-}
-
-img {
- max-width: 100%;
- height: auto;
-}
-
-a {
- color: var(--t-active);
-}
-
-h1 {
- font-size: var(--f-u8);
-}
-
-// Utils
-
-// color
-$colors: 'black', 'blue', 'white';
-@each $color in $colors {
- // text color
- .tc-#{$color} {
- color: var(--c-#{color});
- }
- // background color
- .bg-#{$color} {
- background-color: var(--c-#{color});
- }
-}
-
-// font size
-@for $i from 0 through 18 {
- .f-u#{$i} {
- font-size: var(--f-u#{$i});
- }
- .f-d#{$i} {
- font-size: var(--f-d#{$i});
- }
-}
-
-// margin & padding
-@for $i from 0 through 36 {
- .ma#{$i} {
- margin: #{0.5 * $i}rem;
- }
- .mt#{$i} {
- margin-top: #{0.5 * $i}rem;
- }
- .mr#{$i} {
- margin-right: #{0.5 * $i}rem;
- }
- .mb#{$i} {
- margin-bottom: #{0.5 * $i}rem;
- }
- .ml#{$i} {
- margin-left: #{0.5 * $i}rem;
- }
- .pa#{$i} {
- padding: #{0.5 * $i}rem;
- }
- .pt#{$i} {
- padding-top: #{0.5 * $i}rem;
- }
- .pr#{$i} {
- padding-right: #{0.5 * $i}rem;
- }
- .pb#{$i} {
- padding-bottom: #{0.5 * $i}rem;
- }
- .pl#{$i} {
- padding-left: #{0.5 * $i}rem;
- }
-}
-
-// text align
-.tac {
- text-align: center;
-}
-.tal {
- text-align: left;
-}
-.tar {
- text-align: right;
-}
-
-// wrapper
-.wrapper {
- max-width: 80em;
- margin-left: auto;
- margin-right: auto;
- padding-left: 2rem;
- padding-right: 2rem;
-}
-.wrapper__readable {
- max-width: 50em;
-}
diff --git a/examples/portfolio-svelte/tsconfig.json b/examples/portfolio-svelte/tsconfig.json
deleted file mode 100644
index 8e881cf9c..000000000
--- a/examples/portfolio-svelte/tsconfig.json
+++ /dev/null
@@ -1,5 +0,0 @@
-{
- "compilerOptions": {
- "moduleResolution": "node"
- }
-}
diff --git a/netlify.toml b/netlify.toml
deleted file mode 100644
index de7a454af..000000000
--- a/netlify.toml
+++ /dev/null
@@ -1,2 +0,0 @@
-[build]
- ignore = "git diff --quiet $COMMIT_REF $CACHED_COMMIT_REF -- packages/astro/src"
diff --git a/smoke/astro.build b/smoke/astro.build
deleted file mode 160000
index d3d0b54b7..000000000
--- a/smoke/astro.build
+++ /dev/null
@@ -1 +0,0 @@
-Subproject commit d3d0b54b7196aa80db4a810f127ce154082434c5
diff --git a/smoke/docs b/smoke/docs
deleted file mode 160000
index 3b7078c7b..000000000
--- a/smoke/docs
+++ /dev/null
@@ -1 +0,0 @@
-Subproject commit 3b7078c7b72d713a5a093343afd36bdeeddb5be9
diff --git a/www/README.md b/www/README.md
deleted file mode 100644
index 1a08ac8b1..000000000
--- a/www/README.md
+++ /dev/null
@@ -1,3 +0,0 @@
-# We've moved!
-
-The Astro website source can now be found at [`withastro/astro.build`](https://github.com/withastro/astro.build)