Skip to content

Commit

Permalink
Add used renderers to each example package.json devDependencies (#2727
Browse files Browse the repository at this point in the history
)

As the first step to not bundling renderers in the core `astro` package
the examples show usage with renderers as dependencies.
  • Loading branch information
Siilwyn committed Mar 7, 2022
1 parent b1af0c0 commit 10a9c34
Show file tree
Hide file tree
Showing 15 changed files with 37 additions and 15 deletions.
3 changes: 2 additions & 1 deletion examples/blog-multiple-authors/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@
},
"devDependencies": {
"astro": "^0.23.7",
"sass": "^1.49.8"
"sass": "^1.49.8",
"@astrojs/renderer-preact": "^0.5.0"
}
}
3 changes: 2 additions & 1 deletion examples/blog/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@
"preview": "astro preview"
},
"devDependencies": {
"astro": "^0.23.7"
"astro": "^0.23.7",
"@astrojs/renderer-preact": "^0.5.0"
}
}
4 changes: 3 additions & 1 deletion examples/docs/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,8 @@
"@docsearch/react": "^1.0.0-alpha.28"
},
"devDependencies": {
"astro": "^0.23.7"
"astro": "^0.23.7",
"@astrojs/renderer-preact": "^0.5.0",
"@astrojs/renderer-react": "^0.5.0"
}
}
3 changes: 2 additions & 1 deletion examples/fast-build/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,7 @@
"astro": "^0.23.7",
"preact": "~10.6.5",
"unocss": "^0.15.5",
"vite-imagetools": "^4.0.1"
"vite-imagetools": "^4.0.1",
"@astrojs/renderer-vue": "^0.4.0"
}
}
6 changes: 5 additions & 1 deletion examples/framework-multiple/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,10 @@
},
"devDependencies": {
"@astrojs/renderer-solid": "^0.4.0",
"astro": "^0.23.7"
"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"
}
}
3 changes: 2 additions & 1 deletion examples/framework-preact/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@
"preview": "astro preview"
},
"devDependencies": {
"astro": "^0.23.7"
"astro": "^0.23.7",
"@astrojs/renderer-preact": "^0.5.0"
}
}
3 changes: 2 additions & 1 deletion examples/framework-react/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@
"preview": "astro preview"
},
"devDependencies": {
"astro": "^0.23.7"
"astro": "^0.23.7",
"@astrojs/renderer-react": "^0.5.0"
}
}
3 changes: 2 additions & 1 deletion examples/framework-svelte/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@
"preview": "astro preview"
},
"devDependencies": {
"astro": "^0.23.7"
"astro": "^0.23.7",
"@astrojs/renderer-svelte": "^0.5.1"
}
}
3 changes: 2 additions & 1 deletion examples/framework-vue/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@
"preview": "astro preview"
},
"devDependencies": {
"astro": "^0.23.7"
"astro": "^0.23.7",
"@astrojs/renderer-vue": "^0.4.0"
}
}
3 changes: 2 additions & 1 deletion examples/portfolio-svelte/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@
"preview": "astro preview"
},
"devDependencies": {
"astro": "^0.23.7"
"astro": "^0.23.7",
"@astrojs/renderer-svelte": "^0.5.1"
}
}
3 changes: 2 additions & 1 deletion examples/portfolio/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@
"preview": "astro preview"
},
"devDependencies": {
"astro": "^0.23.7"
"astro": "^0.23.7",
"@astrojs/renderer-preact": "^0.5.0"
}
}
3 changes: 2 additions & 1 deletion examples/ssr/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,8 @@
"devDependencies": {
"astro": "^0.23.7",
"unocss": "^0.15.5",
"vite-imagetools": "^4.0.1"
"vite-imagetools": "^4.0.1",
"@astrojs/renderer-svelte": "^0.5.1"
},
"dependencies": {
"@astropub/webapi": "^0.10.13"
Expand Down
3 changes: 2 additions & 1 deletion examples/subpath/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@
"preview": "astro preview"
},
"devDependencies": {
"astro": "^0.23.7"
"astro": "^0.23.7",
"@astrojs/renderer-react": "^0.5.0"
}
}
6 changes: 5 additions & 1 deletion examples/with-nanostores/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,10 @@
},
"devDependencies": {
"@astrojs/renderer-solid": "^0.4.0",
"astro": "^0.23.7"
"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"
}
}
3 changes: 2 additions & 1 deletion examples/with-tailwindcss/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@
"devDependencies": {
"astro": "^0.23.7",
"autoprefixer": "^10.4.0",
"tailwindcss": "^3.0.5"
"tailwindcss": "^3.0.5",
"@astrojs/renderer-preact": "^0.5.0"
}
}

0 comments on commit 10a9c34

Please sign in to comment.