summaryrefslogtreecommitdiff
path: root/examples
diff options
context:
space:
mode:
authorGravatar Nate Moore <natemoo-re@users.noreply.github.com> 2022-03-09 15:44:26 -0600
committerGravatar GitHub <noreply@github.com> 2022-03-09 15:44:26 -0600
commit72c2c86e9d7c9b2ce6be13ddb273d4b0b11a5723 (patch)
tree70e95cd5fcebf5e4ea532946a370cca4c7d3a221 /examples
parentc139829b1013c0c1b1d0a20d471d77769b3c91f1 (diff)
downloadastro-72c2c86e9d7c9b2ce6be13ddb273d4b0b11a5723.tar.gz
astro-72c2c86e9d7c9b2ce6be13ddb273d4b0b11a5723.tar.zst
astro-72c2c86e9d7c9b2ce6be13ddb273d4b0b11a5723.zip
merge `next` into `main` (#2705)
* Unflag the static build (#2652) * Unflag the static build * Only set legacyBuild to false if experimentalSSR is true * Use legacy build when we have to * Put a few more tests into legacy mode * Last two * Make astro-basic use the legacy build * Adds a changeset * Mark the lit test as legacy * Update yarn lock * Update based on feedback * Add --legacy-build flag * Move astro-basic test to use static build (#2682) * Move some tests over to the static build (#2677) * Move some tests over to the static build * Fix assets tests * Fix the assets tests * Fix for the client:only components * Moves asset tests to the static build * Move postcss test over to static build * Bring back legacy build for astro-basic test * Move astro-basic test to use static build * Migrate more tests to the static build (#2693) * fix: disable HMR during build (#2684) * Migrate more tests to the static build * Only prepend links in non-legacy mode * Add the 0-css tests * Convert all CSS tests to the static build * Migrate Astro global tests * Remove .only * Fix static build tests * Migrate a few more * More tests * Move the lit test back to legacy * Increase the test timeout Co-authored-by: Nate Moore <natemoo-re@users.noreply.github.com> * Improve `head` injection behavior (#2436) * feat: add renderHead util to server * feat: remove `layouts` from config, Vite plugin * fix: improve head injection during rendering * chore: update compiler * fix: do not escape links * chore: enter `pre` mode * Replace `send` with `sirv` (#2713) * remove send * Create thick-ravens-chew.md * I feel like I'm going to screw something up * working finally! * rewrite req.url * Add tiny bit of doc * Update .gitignore Co-authored-by: Evan Boehs <evan@boehs.org> * Move remaining tests to the static build (#2712) * Move lit test to the static build * Migrate astro-env plugin to work in the static build * Do not remove vite:define * Adds a changeset * Add a warning when passing the --experimental-static-build flag (#2718) * Add a warning when passing the --experimental-static-build flag * Disable the lint warning * [ci] release (next) (#2721) * [ci] release (next) * chore: update changeset Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com> Co-authored-by: Nate Moore <nate@skypack.dev> * 404 page (#2719) * Fix: build to 404.html in the static build * Adds a changeset * fix pnpm install missing peer deps * fix svelte version in workspace * fix lockfile * fix(webapi): add dev script * improve preview reliability (#2739) * improve preview reliability - fix broken tests * shamefully hoist to unblock * remove lit from test running * chore: update lockfile Co-authored-by: Matthew Phillips <matthew@skypack.dev> Co-authored-by: Evan Boehs <evan@boehs.org> Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com> Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com> Co-authored-by: Fred K. Schott <fkschott@gmail.com>
Diffstat (limited to 'examples')
-rw-r--r--examples/blog-multiple-authors/package.json2
-rw-r--r--examples/blog/package.json2
-rw-r--r--examples/component/demo/package.json4
-rw-r--r--examples/component/package.json2
-rw-r--r--examples/docs/package.json8
-rw-r--r--examples/docs/src/components/Header/Search.tsx1
-rw-r--r--examples/docs/src/config.ts1
-rw-r--r--examples/env-vars/package.json2
-rw-r--r--examples/fast-build/package.json6
-rw-r--r--examples/framework-alpine/package.json2
-rw-r--r--examples/framework-lit/package.json2
-rw-r--r--examples/framework-multiple/package.json4
-rw-r--r--examples/framework-preact/package.json2
-rw-r--r--examples/framework-react/package.json2
-rw-r--r--examples/framework-solid/package.json2
-rw-r--r--examples/framework-svelte/package.json4
-rw-r--r--examples/framework-vue/package.json2
-rw-r--r--examples/minimal/package.json2
-rw-r--r--examples/non-html-pages/package.json2
-rw-r--r--examples/portfolio-svelte/package.json4
-rw-r--r--examples/portfolio/package.json2
-rw-r--r--examples/ssr/package.json7
-rw-r--r--examples/starter/package.json2
-rw-r--r--examples/subpath/package.json4
-rw-r--r--examples/with-markdown-plugins/package.json2
-rw-r--r--examples/with-markdown-shiki/package.json2
-rw-r--r--examples/with-markdown/package.json4
-rw-r--r--examples/with-nanostores/package.json12
-rw-r--r--examples/with-tailwindcss/package.json6
-rw-r--r--examples/with-vite-plugin-pwa/package.json2
30 files changed, 52 insertions, 47 deletions
diff --git a/examples/blog-multiple-authors/package.json b/examples/blog-multiple-authors/package.json
index 124600953..2d8b33dc2 100644
--- a/examples/blog-multiple-authors/package.json
+++ b/examples/blog-multiple-authors/package.json
@@ -10,7 +10,7 @@
},
"devDependencies": {
"@astrojs/renderer-preact": "^0.5.0",
- "astro": "^0.23.7",
+ "astro": "^0.24.0-next.0",
"sass": "^1.49.8"
}
}
diff --git a/examples/blog/package.json b/examples/blog/package.json
index 68c0ca62c..737c86a51 100644
--- a/examples/blog/package.json
+++ b/examples/blog/package.json
@@ -9,7 +9,7 @@
"preview": "astro preview"
},
"devDependencies": {
- "astro": "^0.23.7",
+ "astro": "^0.24.0-next.0",
"@astrojs/renderer-preact": "^0.5.0"
}
}
diff --git a/examples/component/demo/package.json b/examples/component/demo/package.json
index 6fb878f6e..438e6485e 100644
--- a/examples/component/demo/package.json
+++ b/examples/component/demo/package.json
@@ -9,7 +9,7 @@
"preview": "astro preview"
},
"devDependencies": {
- "astro": "^0.23.7",
- "@example/my-component": "workspace:*"
+ "@example/my-component": "workspace:*",
+ "astro": "^0.24.0-next.0"
}
}
diff --git a/examples/component/package.json b/examples/component/package.json
index dc1c119cf..613eac1a9 100644
--- a/examples/component/package.json
+++ b/examples/component/package.json
@@ -8,6 +8,6 @@
"serve": "astro --project-root demo preview"
},
"devDependencies": {
- "astro": "^0.23.7"
+ "astro": "^0.24.0-next.0"
}
}
diff --git a/examples/docs/package.json b/examples/docs/package.json
index 620bf726f..406c1f51f 100644
--- a/examples/docs/package.json
+++ b/examples/docs/package.json
@@ -9,12 +9,16 @@
"preview": "astro preview"
},
"dependencies": {
+ "@algolia/client-search": "^4.12.0",
"@docsearch/css": "^3.0.0",
- "@docsearch/react": "^1.0.0-alpha.28"
+ "@docsearch/react": "^3.0.0",
+ "@types/react": "^17.0.39",
+ "react": "^17.0.2",
+ "react-dom": "^17.0.2"
},
"devDependencies": {
"@astrojs/renderer-react": "^0.5.0",
"@astrojs/renderer-preact": "^0.5.0",
- "astro": "^0.23.7"
+ "astro": "^0.24.0-next.0"
}
}
diff --git a/examples/docs/src/components/Header/Search.tsx b/examples/docs/src/components/Header/Search.tsx
index bbe02073d..ebc563c61 100644
--- a/examples/docs/src/components/Header/Search.tsx
+++ b/examples/docs/src/components/Header/Search.tsx
@@ -57,6 +57,7 @@ export default function Search() {
initialScrollY={window.scrollY}
onClose={onClose}
indexName={(CONFIG as any).ALGOLIA.indexName}
+ appId={(CONFIG as any).ALGOLIA.appId}
apiKey={(CONFIG as any).ALGOLIA.apiKey}
transformItems={(items) => {
return items.map((item) => {
diff --git a/examples/docs/src/config.ts b/examples/docs/src/config.ts
index 5953dd97a..174765d27 100644
--- a/examples/docs/src/config.ts
+++ b/examples/docs/src/config.ts
@@ -26,6 +26,7 @@ export const KNOWN_LANGUAGES = {
// See "Algolia" section of the README for more information.
// export const ALGOLIA = {
// indexName: 'XXXXXXXXXX',
+// appId: 'XXXXXXXXXX',
// apiKey: 'XXXXXXXXXX',
// }
diff --git a/examples/env-vars/package.json b/examples/env-vars/package.json
index 5b1dc8623..1751b14a7 100644
--- a/examples/env-vars/package.json
+++ b/examples/env-vars/package.json
@@ -9,6 +9,6 @@
"preview": "astro preview"
},
"devDependencies": {
- "astro": "^0.23.7"
+ "astro": "^0.24.0-next.0"
}
}
diff --git a/examples/fast-build/package.json b/examples/fast-build/package.json
index 1259721d0..0a7bd74ff 100644
--- a/examples/fast-build/package.json
+++ b/examples/fast-build/package.json
@@ -12,10 +12,10 @@
"devDependencies": {
"@astrojs/renderer-vue": "^0.4.0",
"@astrojs/renderer-preact": "^0.5.0",
- "astro": "^0.23.7",
"sass": "^1.49.8",
+ "astro": "^0.24.0-next.0",
+ "preact": "~10.6.5",
"unocss": "^0.15.5",
- "vite-imagetools": "^4.0.1",
- "@astrojs/renderer-vue": "^0.4.0"
+ "vite-imagetools": "^4.0.1"
}
}
diff --git a/examples/framework-alpine/package.json b/examples/framework-alpine/package.json
index 49384258a..87154d440 100644
--- a/examples/framework-alpine/package.json
+++ b/examples/framework-alpine/package.json
@@ -9,6 +9,6 @@
"preview": "astro preview"
},
"devDependencies": {
- "astro": "^0.23.7"
+ "astro": "^0.24.0-next.0"
}
}
diff --git a/examples/framework-lit/package.json b/examples/framework-lit/package.json
index e15c32b8e..61d97814e 100644
--- a/examples/framework-lit/package.json
+++ b/examples/framework-lit/package.json
@@ -10,6 +10,6 @@
},
"devDependencies": {
"@astrojs/renderer-lit": "^0.4.0",
- "astro": "^0.23.7"
+ "astro": "^0.24.0-next.0"
}
}
diff --git a/examples/framework-multiple/package.json b/examples/framework-multiple/package.json
index 5b3c53da5..aef07762e 100644
--- a/examples/framework-multiple/package.json
+++ b/examples/framework-multiple/package.json
@@ -13,8 +13,8 @@
"@astrojs/renderer-preact": "^0.5.0",
"@astrojs/renderer-react": "^0.5.0",
"@astrojs/renderer-solid": "^0.4.0",
- "@astrojs/renderer-svelte": "^0.4.0",
+ "@astrojs/renderer-svelte": "^0.5.1",
"@astrojs/renderer-vue": "^0.4.0",
- "astro": "^0.23.7"
+ "astro": "^0.24.0-next.0"
}
}
diff --git a/examples/framework-preact/package.json b/examples/framework-preact/package.json
index 1fa0b2a64..7c946770e 100644
--- a/examples/framework-preact/package.json
+++ b/examples/framework-preact/package.json
@@ -10,6 +10,6 @@
},
"devDependencies": {
"@astrojs/renderer-preact": "^0.5.0",
- "astro": "^0.23.7"
+ "astro": "^0.24.0-next.0"
}
}
diff --git a/examples/framework-react/package.json b/examples/framework-react/package.json
index 4d1762a87..7b0d66d1a 100644
--- a/examples/framework-react/package.json
+++ b/examples/framework-react/package.json
@@ -10,6 +10,6 @@
},
"devDependencies": {
"@astrojs/renderer-react": "^0.5.0",
- "astro": "^0.23.7"
+ "astro": "^0.24.0-next.0"
}
}
diff --git a/examples/framework-solid/package.json b/examples/framework-solid/package.json
index 5bb22ea55..c782f3533 100644
--- a/examples/framework-solid/package.json
+++ b/examples/framework-solid/package.json
@@ -10,6 +10,6 @@
},
"devDependencies": {
"@astrojs/renderer-solid": "^0.4.0",
- "astro": "^0.23.7"
+ "astro": "^0.24.0-next.0"
}
}
diff --git a/examples/framework-svelte/package.json b/examples/framework-svelte/package.json
index 7dd4d12e2..83fecfe4f 100644
--- a/examples/framework-svelte/package.json
+++ b/examples/framework-svelte/package.json
@@ -9,7 +9,7 @@
"preview": "astro preview"
},
"devDependencies": {
- "@astrojs/renderer-svelte": "^0.4.0",
- "astro": "^0.23.7"
+ "@astrojs/renderer-svelte": "^0.5.1",
+ "astro": "^0.24.0-next.0"
}
}
diff --git a/examples/framework-vue/package.json b/examples/framework-vue/package.json
index 8662c303f..fdce32fc4 100644
--- a/examples/framework-vue/package.json
+++ b/examples/framework-vue/package.json
@@ -10,6 +10,6 @@
},
"devDependencies": {
"@astrojs/renderer-vue": "^0.4.0",
- "astro": "^0.23.7"
+ "astro": "^0.24.0-next.0"
}
}
diff --git a/examples/minimal/package.json b/examples/minimal/package.json
index aa4ce339e..16bea438c 100644
--- a/examples/minimal/package.json
+++ b/examples/minimal/package.json
@@ -9,6 +9,6 @@
"preview": "astro preview"
},
"devDependencies": {
- "astro": "^0.23.7"
+ "astro": "^0.24.0-next.0"
}
}
diff --git a/examples/non-html-pages/package.json b/examples/non-html-pages/package.json
index 665ca4a45..837ead14b 100644
--- a/examples/non-html-pages/package.json
+++ b/examples/non-html-pages/package.json
@@ -9,6 +9,6 @@
"preview": "astro preview"
},
"devDependencies": {
- "astro": "^0.23.7"
+ "astro": "^0.24.0-next.0"
}
}
diff --git a/examples/portfolio-svelte/package.json b/examples/portfolio-svelte/package.json
index b9c83a2e8..73ade49a0 100644
--- a/examples/portfolio-svelte/package.json
+++ b/examples/portfolio-svelte/package.json
@@ -9,7 +9,7 @@
"preview": "astro preview"
},
"devDependencies": {
- "@astrojs/renderer-svelte": "^0.4.0",
- "astro": "^0.23.7"
+ "@astrojs/renderer-svelte": "^0.5.1",
+ "astro": "^0.24.0-next.0"
}
}
diff --git a/examples/portfolio/package.json b/examples/portfolio/package.json
index 744cfaddd..5629af7d4 100644
--- a/examples/portfolio/package.json
+++ b/examples/portfolio/package.json
@@ -10,6 +10,6 @@
},
"devDependencies": {
"@astrojs/renderer-preact": "^0.5.0",
- "astro": "^0.23.7"
+ "astro": "^0.24.0-next.0"
}
}
diff --git a/examples/ssr/package.json b/examples/ssr/package.json
index 9da47f6a3..0075e0f30 100644
--- a/examples/ssr/package.json
+++ b/examples/ssr/package.json
@@ -11,10 +11,9 @@
"server": "node server/server.mjs"
},
"devDependencies": {
- "@astrojs/renderer-svelte": "^0.4.0",
- "astro": "^0.23.7",
+ "@astrojs/renderer-svelte": "^0.5.1",
+ "astro": "^0.24.0-next.0",
"unocss": "^0.15.5",
- "vite-imagetools": "^4.0.1",
- "@astrojs/renderer-svelte": "^0.5.1"
+ "vite-imagetools": "^4.0.1"
}
}
diff --git a/examples/starter/package.json b/examples/starter/package.json
index 80bdb70f4..963e78d53 100644
--- a/examples/starter/package.json
+++ b/examples/starter/package.json
@@ -9,6 +9,6 @@
"preview": "astro preview"
},
"devDependencies": {
- "astro": "^0.23.7"
+ "astro": "^0.24.0-next.0"
}
}
diff --git a/examples/subpath/package.json b/examples/subpath/package.json
index 43b01d9f7..55001eee2 100644
--- a/examples/subpath/package.json
+++ b/examples/subpath/package.json
@@ -9,7 +9,7 @@
"preview": "astro preview"
},
"devDependencies": {
- "astro": "^0.23.7",
- "@astrojs/renderer-react": "^0.5.0"
+ "@astrojs/renderer-react": "^0.5.0",
+ "astro": "^0.24.0-next.0"
}
}
diff --git a/examples/with-markdown-plugins/package.json b/examples/with-markdown-plugins/package.json
index a275c3612..6092c7ec3 100644
--- a/examples/with-markdown-plugins/package.json
+++ b/examples/with-markdown-plugins/package.json
@@ -10,7 +10,7 @@
},
"devDependencies": {
"@astrojs/markdown-remark": "^0.6.1",
- "astro": "^0.23.7",
+ "astro": "^0.24.0-next.0",
"hast-util-select": "5.0.1",
"rehype-autolink-headings": "^6.1.0",
"rehype-slug": "^5.0.0",
diff --git a/examples/with-markdown-shiki/package.json b/examples/with-markdown-shiki/package.json
index 9ec931950..83b6a66a9 100644
--- a/examples/with-markdown-shiki/package.json
+++ b/examples/with-markdown-shiki/package.json
@@ -10,6 +10,6 @@
},
"devDependencies": {
"@astrojs/markdown-remark": "^0.6.1",
- "astro": "^0.23.7"
+ "astro": "^0.24.0-next.0"
}
}
diff --git a/examples/with-markdown/package.json b/examples/with-markdown/package.json
index 144e8d6de..d5374964c 100644
--- a/examples/with-markdown/package.json
+++ b/examples/with-markdown/package.json
@@ -11,9 +11,9 @@
"devDependencies": {
"@astrojs/renderer-preact": "^0.5.0",
"@astrojs/renderer-react": "^0.5.0",
- "@astrojs/renderer-svelte": "^0.4.0",
+ "@astrojs/renderer-svelte": "^0.5.1",
"@astrojs/renderer-vue": "^0.4.0",
"@astrojs/markdown-remark": "^0.6.1",
- "astro": "^0.23.7"
+ "astro": "^0.24.0-next.0"
}
}
diff --git a/examples/with-nanostores/package.json b/examples/with-nanostores/package.json
index 6777c58d1..405842aec 100644
--- a/examples/with-nanostores/package.json
+++ b/examples/with-nanostores/package.json
@@ -13,18 +13,18 @@
"@nanostores/react": "^0.1.5",
"@nanostores/vue": "^0.4.1",
"nanostores": "^0.5.7",
- "solid-nanostores": "0.0.6"
+ "solid-nanostores": "0.0.6",
+ "preact": "^10.6.5",
+ "react": "^17.0.2",
+ "react-dom": "^17.0.2",
+ "vue": "^3.2.0"
},
"devDependencies": {
"@astrojs/renderer-react": "^0.5.0",
- "@astrojs/renderer-svelte": "^0.4.0",
"@astrojs/renderer-vue": "^0.4.0",
"@astrojs/renderer-preact": "^0.5.0",
"@astrojs/renderer-solid": "^0.4.0",
- "astro": "^0.23.7",
- "@astrojs/renderer-preact": "^0.5.0",
- "@astrojs/renderer-react": "^0.5.0",
"@astrojs/renderer-svelte": "^0.5.1",
- "@astrojs/renderer-vue": "^0.4.0"
+ "astro": "^0.24.0-next.0"
}
}
diff --git a/examples/with-tailwindcss/package.json b/examples/with-tailwindcss/package.json
index a34e085f3..4e99fdef6 100644
--- a/examples/with-tailwindcss/package.json
+++ b/examples/with-tailwindcss/package.json
@@ -10,9 +10,9 @@
},
"devDependencies": {
"@astrojs/renderer-preact": "^0.5.0",
- "astro": "^0.23.7",
+ "postcss": "^8.3.8",
+ "astro": "^0.24.0-next.0",
"autoprefixer": "^10.4.0",
- "tailwindcss": "^3.0.5",
- "@astrojs/renderer-preact": "^0.5.0"
+ "tailwindcss": "^3.0.5"
}
}
diff --git a/examples/with-vite-plugin-pwa/package.json b/examples/with-vite-plugin-pwa/package.json
index 9324eef67..2c7c5d408 100644
--- a/examples/with-vite-plugin-pwa/package.json
+++ b/examples/with-vite-plugin-pwa/package.json
@@ -9,7 +9,7 @@
"preview": "astro preview"
},
"devDependencies": {
- "astro": "^0.23.7",
+ "astro": "^0.24.0-next.0",
"vite-plugin-pwa": "0.11.11",
"workbox-window": "^6.5.0"
}