Skip to content

Commit

Permalink
[ci] release
Browse files Browse the repository at this point in the history
  • Loading branch information
github-actions[bot] committed May 22, 2023
1 parent ba06362 commit 952b48e
Show file tree
Hide file tree
Showing 15 changed files with 23 additions and 25 deletions.
5 changes: 0 additions & 5 deletions .changeset/perfect-oranges-tease.md

This file was deleted.

5 changes: 0 additions & 5 deletions .changeset/strange-ties-cry.md

This file was deleted.

8 changes: 8 additions & 0 deletions packages/astro/CHANGELOG.md
@@ -1,5 +1,13 @@
# astro

## 2.5.2

### Patch Changes

- [#7144](https://github.com/withastro/astro/pull/7144) [`ba0636240`](https://github.com/withastro/astro/commit/ba0636240996f9f082d122a8414240196881cb96) Thanks [@lilnasy](https://github.com/lilnasy)! - Fixed an issue where scripts that weren't safe to inline were inlined.

- [#7150](https://github.com/withastro/astro/pull/7150) [`8f418d13c`](https://github.com/withastro/astro/commit/8f418d13c5d5c9c40f05020205f24380b718654b) Thanks [@MoustaphaDev](https://github.com/MoustaphaDev)! - fix no matched path when using `getStaticPaths` without `prerender` export.

## 2.5.1

### Patch Changes
Expand Down
2 changes: 1 addition & 1 deletion packages/astro/package.json
@@ -1,6 +1,6 @@
{
"name": "astro",
"version": "2.5.1",
"version": "2.5.2",
"description": "Astro is a modern site builder with web best practices, performance, and DX front-of-mind.",
"type": "module",
"author": "withastro",
Expand Down
Expand Up @@ -55,18 +55,18 @@ export function vitePluginHoistedScripts(

// Find all page entry points and create a map of the entry point to the hashed hoisted script.
// This is used when we render so that we can add the script to the head.
Object.entries(bundle).forEach(([ id, output ]) => {
Object.entries(bundle).forEach(([id, output]) => {
if (
output.type === 'chunk' &&
output.facadeModuleId &&
virtualHoistedEntry(output.facadeModuleId)
) {
considerInlining.set(id, output);
output.imports.forEach(imported => importedByOtherScripts.add(imported));
output.imports.forEach((imported) => importedByOtherScripts.add(imported));
}
});

for (const [ id, output ] of considerInlining.entries()) {
for (const [id, output] of considerInlining.entries()) {
const canBeInlined =
importedByOtherScripts.has(output.fileName) === false &&
output.imports.length === 0 &&
Expand Down Expand Up @@ -98,7 +98,7 @@ export function vitePluginHoistedScripts(
if (removeFromBundle) {
delete bundle[id];
}
};
}
},
};
}
Expand Down
2 changes: 1 addition & 1 deletion packages/integrations/cloudflare/package.json
Expand Up @@ -42,7 +42,7 @@
"tiny-glob": "^0.2.9"
},
"peerDependencies": {
"astro": "workspace:^2.5.1"
"astro": "workspace:^2.5.2"
},
"devDependencies": {
"astro": "workspace:*",
Expand Down
2 changes: 1 addition & 1 deletion packages/integrations/deno/package.json
Expand Up @@ -36,7 +36,7 @@
"esbuild": "^0.15.18"
},
"peerDependencies": {
"astro": "workspace:^2.5.1"
"astro": "workspace:^2.5.2"
},
"devDependencies": {
"astro": "workspace:*",
Expand Down
2 changes: 1 addition & 1 deletion packages/integrations/image/package.json
Expand Up @@ -62,7 +62,7 @@
"vite": "^4.3.1"
},
"peerDependencies": {
"astro": "workspace:^2.5.1",
"astro": "workspace:^2.5.2",
"sharp": ">=0.31.0"
},
"peerDependenciesMeta": {
Expand Down
2 changes: 1 addition & 1 deletion packages/integrations/markdoc/package.json
Expand Up @@ -47,7 +47,7 @@
"zod": "^3.17.3"
},
"peerDependencies": {
"astro": "workspace:^2.5.1"
"astro": "workspace:^2.5.2"
},
"devDependencies": {
"@astrojs/markdown-remark": "^2.2.1",
Expand Down
2 changes: 1 addition & 1 deletion packages/integrations/netlify/package.json
Expand Up @@ -42,7 +42,7 @@
"esbuild": "^0.15.18"
},
"peerDependencies": {
"astro": "workspace:^2.5.1"
"astro": "workspace:^2.5.2"
},
"devDependencies": {
"@netlify/edge-functions": "^2.0.0",
Expand Down
2 changes: 1 addition & 1 deletion packages/integrations/node/package.json
Expand Up @@ -38,7 +38,7 @@
"server-destroy": "^1.0.1"
},
"peerDependencies": {
"astro": "workspace:^2.5.1"
"astro": "workspace:^2.5.2"
},
"devDependencies": {
"@types/send": "^0.17.1",
Expand Down
2 changes: 1 addition & 1 deletion packages/integrations/svelte/package.json
Expand Up @@ -48,7 +48,7 @@
"vite": "^4.3.1"
},
"peerDependencies": {
"astro": "workspace:^2.5.1",
"astro": "workspace:^2.5.2",
"svelte": "^3.54.0"
},
"engines": {
Expand Down
2 changes: 1 addition & 1 deletion packages/integrations/tailwind/package.json
Expand Up @@ -44,7 +44,7 @@
"vite": "^4.3.1"
},
"peerDependencies": {
"astro": "workspace:^2.5.1",
"astro": "workspace:^2.5.2",
"tailwindcss": "^3.0.24"
},
"pnpm": {
Expand Down
2 changes: 1 addition & 1 deletion packages/integrations/vercel/package.json
Expand Up @@ -59,7 +59,7 @@
"web-vitals": "^3.1.1"
},
"peerDependencies": {
"astro": "workspace:^2.5.1"
"astro": "workspace:^2.5.2"
},
"devDependencies": {
"@types/set-cookie-parser": "^2.4.2",
Expand Down
2 changes: 1 addition & 1 deletion packages/integrations/vue/package.json
Expand Up @@ -56,7 +56,7 @@
"vue": "^3.2.37"
},
"peerDependencies": {
"astro": "workspace:^2.5.1",
"astro": "workspace:^2.5.2",
"vue": "^3.2.30"
},
"engines": {
Expand Down

0 comments on commit 952b48e

Please sign in to comment.