Skip to content

Commit

Permalink
[ci] update-templates
Browse files Browse the repository at this point in the history
  • Loading branch information
github-actions[bot] committed Jun 6, 2024
1 parent 31d2edc commit a0f9eda
Show file tree
Hide file tree
Showing 30 changed files with 38 additions and 40 deletions.
2 changes: 1 addition & 1 deletion templates/basics/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,6 @@
"astro": "astro"
},
"dependencies": {
"astro": "^4.9.2"
"astro": "^4.9.3"
}
}
2 changes: 1 addition & 1 deletion templates/blog/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,6 @@
"@astrojs/mdx": "^3.0.1",
"@astrojs/rss": "^4.0.6",
"@astrojs/sitemap": "^3.1.5",
"astro": "^4.9.2"
"astro": "^4.9.3"
}
}
2 changes: 1 addition & 1 deletion templates/component/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
],
"scripts": {},
"devDependencies": {
"astro": "^4.9.2"
"astro": "^4.9.3"
},
"peerDependencies": {
"astro": "^4.0.0"
Expand Down
4 changes: 2 additions & 2 deletions templates/container-with-vitest/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -12,8 +12,8 @@
"test": "vitest run"
},
"dependencies": {
"astro": "^4.9.2",
"@astrojs/react": "^3.4.0",
"astro": "experimental--container",
"@astrojs/react": "experimental--container",
"react": "^18.3.1",
"react-dom": "^18.3.1",
"vitest": "^1.6.0"
Expand Down
16 changes: 7 additions & 9 deletions templates/container-with-vitest/test/ReactWrapper.test.ts
Original file line number Diff line number Diff line change
@@ -1,17 +1,15 @@
import { loadRenderers } from 'astro:container';
import { getContainerRenderer } from '@astrojs/react';
import { experimental_AstroContainer as AstroContainer } from 'astro/container';
import { expect, test } from 'vitest';
import ReactWrapper from '../src/components/ReactWrapper.astro';

const renderers = await loadRenderers([getContainerRenderer()]);
const container = await AstroContainer.create({
renderers,
});

test('ReactWrapper with react renderer', async () => {
const container = await AstroContainer.create({
renderers: [
{
name: '@astrojs/react',
clientEntrypoint: '@astrojs/react/client.js',
serverEntrypoint: '@astrojs/react/server.js',
},
],
});
const result = await container.renderToString(ReactWrapper);

expect(result).toContain('Counter');
Expand Down
2 changes: 1 addition & 1 deletion templates/framework-alpine/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,6 @@
"@astrojs/alpinejs": "^0.4.0",
"@types/alpinejs": "^3.13.10",
"alpinejs": "^3.14.0",
"astro": "^4.9.2"
"astro": "^4.9.3"
}
}
4 changes: 2 additions & 2 deletions templates/framework-lit/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -11,9 +11,9 @@
"astro": "astro"
},
"dependencies": {
"@astrojs/lit": "^4.0.1",
"@astrojs/lit": "^4.1.0",
"@webcomponents/template-shadowroot": "^0.2.1",
"astro": "^4.9.2",
"astro": "^4.9.3",
"lit": "^3.1.3"
}
}
2 changes: 1 addition & 1 deletion templates/framework-multiple/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@
"@astrojs/vue": "^4.3.0",
"@types/react": "^18.3.3",
"@types/react-dom": "^18.3.0",
"astro": "^4.9.2",
"astro": "^4.9.3",
"preact": "^10.22.0",
"react": "^18.3.1",
"react-dom": "^18.3.1",
Expand Down
2 changes: 1 addition & 1 deletion templates/framework-preact/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
"dependencies": {
"@astrojs/preact": "^3.3.0",
"@preact/signals": "^1.2.3",
"astro": "^4.9.2",
"astro": "^4.9.3",
"preact": "^10.22.0"
}
}
2 changes: 1 addition & 1 deletion templates/framework-react/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
"@astrojs/react": "^3.4.0",
"@types/react": "^18.3.3",
"@types/react-dom": "^18.3.0",
"astro": "^4.9.2",
"astro": "^4.9.3",
"react": "^18.3.1",
"react-dom": "^18.3.1"
}
Expand Down
2 changes: 1 addition & 1 deletion templates/framework-solid/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
},
"dependencies": {
"@astrojs/solid-js": "^4.2.0",
"astro": "^4.9.2",
"astro": "^4.9.3",
"solid-js": "^1.8.17"
}
}
2 changes: 1 addition & 1 deletion templates/framework-svelte/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
},
"dependencies": {
"@astrojs/svelte": "^5.4.0",
"astro": "^4.9.2",
"astro": "^4.9.3",
"svelte": "^4.2.17"
}
}
2 changes: 1 addition & 1 deletion templates/framework-vue/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
},
"dependencies": {
"@astrojs/vue": "^4.3.0",
"astro": "^4.9.2",
"astro": "^4.9.3",
"vue": "^3.4.27"
}
}
2 changes: 1 addition & 1 deletion templates/hackernews/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,6 @@
},
"dependencies": {
"@astrojs/node": "^8.2.5",
"astro": "^4.9.2"
"astro": "^4.9.3"
}
}
2 changes: 1 addition & 1 deletion templates/integration/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
],
"scripts": {},
"devDependencies": {
"astro": "^4.9.2"
"astro": "^4.9.3"
},
"peerDependencies": {
"astro": "^4.0.0"
Expand Down
2 changes: 1 addition & 1 deletion templates/middleware/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
},
"dependencies": {
"@astrojs/node": "^8.2.5",
"astro": "^4.9.2",
"astro": "^4.9.3",
"html-minifier": "^4.0.0"
},
"devDependencies": {
Expand Down
2 changes: 1 addition & 1 deletion templates/minimal/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,6 @@
"astro": "astro"
},
"dependencies": {
"astro": "^4.9.2"
"astro": "^4.9.3"
}
}
2 changes: 1 addition & 1 deletion templates/non-html-pages/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,6 @@
"astro": "astro"
},
"dependencies": {
"astro": "^4.9.2"
"astro": "^4.9.3"
}
}
2 changes: 1 addition & 1 deletion templates/portfolio/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,6 @@
"astro": "astro"
},
"dependencies": {
"astro": "^4.9.2"
"astro": "^4.9.3"
}
}
2 changes: 1 addition & 1 deletion templates/ssr/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
"dependencies": {
"@astrojs/node": "^8.2.5",
"@astrojs/svelte": "^5.4.0",
"astro": "^4.9.2",
"astro": "^4.9.3",
"svelte": "^4.2.17"
}
}
2 changes: 1 addition & 1 deletion templates/starlog/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
"astro": "astro"
},
"dependencies": {
"astro": "^4.9.2",
"astro": "^4.9.3",
"sass": "^1.77.3",
"sharp": "^0.33.3"
}
Expand Down
2 changes: 1 addition & 1 deletion templates/toolbar-app/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,6 @@
"./app": "./dist/app.js"
},
"devDependencies": {
"astro": "^4.9.2"
"astro": "^4.9.3"
}
}
2 changes: 1 addition & 1 deletion templates/view-transitions/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,6 @@
"devDependencies": {
"@astrojs/tailwind": "^5.1.0",
"@astrojs/node": "^8.2.5",
"astro": "^4.9.2"
"astro": "^4.9.3"
}
}
2 changes: 1 addition & 1 deletion templates/with-markdoc/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,6 @@
},
"dependencies": {
"@astrojs/markdoc": "^0.11.0",
"astro": "^4.9.2"
"astro": "^4.9.3"
}
}
2 changes: 1 addition & 1 deletion templates/with-markdown-plugins/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
},
"dependencies": {
"@astrojs/markdown-remark": "^5.1.0",
"astro": "^4.9.2",
"astro": "^4.9.3",
"hast-util-select": "^6.0.2",
"rehype-autolink-headings": "^7.1.0",
"rehype-slug": "^6.0.0",
Expand Down
2 changes: 1 addition & 1 deletion templates/with-markdown-shiki/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,6 @@
"astro": "astro"
},
"dependencies": {
"astro": "^4.9.2"
"astro": "^4.9.3"
}
}
2 changes: 1 addition & 1 deletion templates/with-mdx/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
"dependencies": {
"@astrojs/mdx": "^3.0.1",
"@astrojs/preact": "^3.3.0",
"astro": "^4.9.2",
"astro": "^4.9.3",
"preact": "^10.22.0"
}
}
2 changes: 1 addition & 1 deletion templates/with-nanostores/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
"dependencies": {
"@astrojs/preact": "^3.3.0",
"@nanostores/preact": "^0.5.1",
"astro": "^4.9.2",
"astro": "^4.9.3",
"nanostores": "^0.10.3",
"preact": "^10.22.0"
}
Expand Down
2 changes: 1 addition & 1 deletion templates/with-tailwindcss/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
"@astrojs/mdx": "^3.0.1",
"@astrojs/tailwind": "^5.1.0",
"@types/canvas-confetti": "^1.6.4",
"astro": "^4.9.2",
"astro": "^4.9.3",
"autoprefixer": "^10.4.19",
"canvas-confetti": "^1.9.3",
"postcss": "^8.4.38",
Expand Down
2 changes: 1 addition & 1 deletion templates/with-vitest/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
"test": "vitest"
},
"dependencies": {
"astro": "^4.9.2",
"astro": "^4.9.3",
"vitest": "^1.6.0"
}
}

0 comments on commit a0f9eda

Please sign in to comment.