Skip to content

Commit

Permalink
[ci] release (beta)
Browse files Browse the repository at this point in the history
  • Loading branch information
github-actions[bot] committed Nov 6, 2024
1 parent c280655 commit 74d6a44
Show file tree
Hide file tree
Showing 32 changed files with 84 additions and 55 deletions.
3 changes: 3 additions & 0 deletions .changeset/pre.json
Original file line number Diff line number Diff line change
Expand Up @@ -53,6 +53,7 @@
"eighty-boxes-applaud",
"eighty-donkeys-fly",
"eighty-ligers-punch",
"empty-houses-melt",
"five-jars-hear",
"fluffy-jars-live",
"forty-trains-notice",
Expand Down Expand Up @@ -84,6 +85,7 @@
"nasty-crabs-worry",
"neat-dots-hear",
"neat-queens-learn",
"old-actors-learn",
"old-zebras-teach",
"perfect-fans-fly",
"pink-yaks-exercise",
Expand Down Expand Up @@ -113,6 +115,7 @@
"ten-walls-tap",
"three-days-cough",
"three-olives-reflect",
"tough-planets-dress",
"twelve-comics-march",
"twenty-cobras-push",
"unlucky-bobcats-sit",
Expand Down
2 changes: 1 addition & 1 deletion examples/basics/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,6 @@
"astro": "astro"
},
"dependencies": {
"astro": "^5.0.0-beta.6"
"astro": "^5.0.0-beta.7"
}
}
2 changes: 1 addition & 1 deletion examples/blog/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,6 @@
"@astrojs/mdx": "^4.0.0-beta.3",
"@astrojs/rss": "^4.0.9",
"@astrojs/sitemap": "^3.2.1",
"astro": "^5.0.0-beta.6"
"astro": "^5.0.0-beta.7"
}
}
2 changes: 1 addition & 1 deletion examples/component/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
],
"scripts": {},
"devDependencies": {
"astro": "^5.0.0-beta.6"
"astro": "^5.0.0-beta.7"
},
"peerDependencies": {
"astro": "^4.0.0 || ^5.0.0"
Expand Down
2 changes: 1 addition & 1 deletion examples/container-with-vitest/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
"test": "vitest run"
},
"dependencies": {
"astro": "^5.0.0-beta.6",
"astro": "^5.0.0-beta.7",
"@astrojs/react": "^3.6.2",
"react": "^18.3.1",
"react-dom": "^18.3.1",
Expand Down
2 changes: 1 addition & 1 deletion examples/framework-alpine/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,6 @@
"@astrojs/alpinejs": "^0.4.0",
"@types/alpinejs": "^3.13.10",
"alpinejs": "^3.14.3",
"astro": "^5.0.0-beta.6"
"astro": "^5.0.0-beta.7"
}
}
2 changes: 1 addition & 1 deletion examples/framework-multiple/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@
"@astrojs/vue": "^5.0.0-beta.1",
"@types/react": "^18.3.12",
"@types/react-dom": "^18.3.1",
"astro": "^5.0.0-beta.6",
"astro": "^5.0.0-beta.7",
"preact": "^10.24.3",
"react": "^18.3.1",
"react-dom": "^18.3.1",
Expand Down
2 changes: 1 addition & 1 deletion examples/framework-preact/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
"dependencies": {
"@astrojs/preact": "^3.5.3",
"@preact/signals": "^1.3.0",
"astro": "^5.0.0-beta.6",
"astro": "^5.0.0-beta.7",
"preact": "^10.24.3"
}
}
2 changes: 1 addition & 1 deletion examples/framework-react/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
"@astrojs/react": "^3.6.2",
"@types/react": "^18.3.12",
"@types/react-dom": "^18.3.1",
"astro": "^5.0.0-beta.6",
"astro": "^5.0.0-beta.7",
"react": "^18.3.1",
"react-dom": "^18.3.1"
}
Expand Down
2 changes: 1 addition & 1 deletion examples/framework-solid/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
},
"dependencies": {
"@astrojs/solid-js": "^4.4.2",
"astro": "^5.0.0-beta.6",
"astro": "^5.0.0-beta.7",
"solid-js": "^1.9.2"
}
}
2 changes: 1 addition & 1 deletion examples/framework-svelte/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
},
"dependencies": {
"@astrojs/svelte": "^6.0.0-beta.1",
"astro": "^5.0.0-beta.6",
"astro": "^5.0.0-beta.7",
"svelte": "^4.2.19"
}
}
2 changes: 1 addition & 1 deletion examples/framework-vue/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
},
"dependencies": {
"@astrojs/vue": "^5.0.0-beta.1",
"astro": "^5.0.0-beta.6",
"astro": "^5.0.0-beta.7",
"vue": "^3.5.12"
}
}
2 changes: 1 addition & 1 deletion examples/hackernews/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,6 @@
},
"dependencies": {
"@astrojs/node": "^9.0.0-alpha.1",
"astro": "^5.0.0-beta.6"
"astro": "^5.0.0-beta.7"
}
}
2 changes: 1 addition & 1 deletion examples/integration/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
],
"scripts": {},
"devDependencies": {
"astro": "^5.0.0-beta.6"
"astro": "^5.0.0-beta.7"
},
"peerDependencies": {
"astro": "^4.0.0"
Expand Down
2 changes: 1 addition & 1 deletion examples/minimal/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,6 @@
"astro": "astro"
},
"dependencies": {
"astro": "^5.0.0-beta.6"
"astro": "^5.0.0-beta.7"
}
}
2 changes: 1 addition & 1 deletion examples/portfolio/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,6 @@
"astro": "astro"
},
"dependencies": {
"astro": "^5.0.0-beta.6"
"astro": "^5.0.0-beta.7"
}
}
2 changes: 1 addition & 1 deletion examples/ssr/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
"dependencies": {
"@astrojs/node": "^9.0.0-alpha.1",
"@astrojs/svelte": "^6.0.0-beta.1",
"astro": "^5.0.0-beta.6",
"astro": "^5.0.0-beta.7",
"svelte": "^4.2.19"
}
}
2 changes: 1 addition & 1 deletion examples/starlog/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
"astro": "astro"
},
"dependencies": {
"astro": "^5.0.0-beta.6",
"astro": "^5.0.0-beta.7",
"sass": "^1.80.3",
"sharp": "^0.33.3"
}
Expand Down
2 changes: 1 addition & 1 deletion examples/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": "^5.0.0-beta.6"
"astro": "^5.0.0-beta.7"
}
}
2 changes: 1 addition & 1 deletion examples/with-markdoc/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,6 @@
},
"dependencies": {
"@astrojs/markdoc": "^0.12.0-beta.0",
"astro": "^5.0.0-beta.6"
"astro": "^5.0.0-beta.7"
}
}
2 changes: 1 addition & 1 deletion examples/with-mdx/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
"dependencies": {
"@astrojs/mdx": "^4.0.0-beta.3",
"@astrojs/preact": "^3.5.3",
"astro": "^5.0.0-beta.6",
"astro": "^5.0.0-beta.7",
"preact": "^10.24.3"
}
}
2 changes: 1 addition & 1 deletion examples/with-nanostores/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
"dependencies": {
"@astrojs/preact": "^3.5.3",
"@nanostores/preact": "^0.5.2",
"astro": "^5.0.0-beta.6",
"astro": "^5.0.0-beta.7",
"nanostores": "^0.11.3",
"preact": "^10.24.3"
}
Expand Down
2 changes: 1 addition & 1 deletion examples/with-tailwindcss/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
"@astrojs/mdx": "^4.0.0-beta.3",
"@astrojs/tailwind": "^5.1.2",
"@types/canvas-confetti": "^1.6.4",
"astro": "^5.0.0-beta.6",
"astro": "^5.0.0-beta.7",
"autoprefixer": "^10.4.20",
"canvas-confetti": "^1.9.3",
"postcss": "^8.4.47",
Expand Down
2 changes: 1 addition & 1 deletion examples/with-vitest/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
"test": "vitest"
},
"dependencies": {
"astro": "^5.0.0-beta.6",
"astro": "^5.0.0-beta.7",
"vitest": "^2.1.3"
}
}
8 changes: 8 additions & 0 deletions packages/astro/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,13 @@
# astro

## 5.0.0-beta.7

### Minor Changes

- [#12323](https://github.com/withastro/astro/pull/12323) [`c280655`](https://github.com/withastro/astro/commit/c280655655cc6c22121f32c5f7c76836adf17230) Thanks [@bluwy](https://github.com/bluwy)! - Updates to Vite 6.0.0-beta.6

- [#12379](https://github.com/withastro/astro/pull/12379) [`94f4fe8`](https://github.com/withastro/astro/commit/94f4fe8180f02cf19fb617dde7d67d4f7bee8dac) Thanks [@Princesseuh](https://github.com/Princesseuh)! - Adds a new components exported from `astro/components`: Welcome, to be used by the new Basics template

## 5.0.0-beta.6

### Major Changes
Expand Down
6 changes: 3 additions & 3 deletions packages/astro/components/index.ts
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
// The `ts-ignore` comments here are necessary because we're importing this file inside the `astro:components`
// virtual module's types, which means that `tsc` will try to resolve these imports.
// @ts-ignore
export { default as Code } from "./Code.astro";
export { default as Code } from './Code.astro';
// @ts-ignore
export { default as Debug } from "./Debug.astro";
export { default as Debug } from './Debug.astro';
// @ts-ignore
export { default as Welcome } from "./Welcome.astro";
export { default as Welcome } from './Welcome.astro';
2 changes: 1 addition & 1 deletion packages/astro/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "astro",
"version": "5.0.0-beta.6",
"version": "5.0.0-beta.7",
"description": "Astro is a modern site builder with web best practices, performance, and DX front-of-mind.",
"type": "module",
"author": "withastro",
Expand Down
11 changes: 11 additions & 0 deletions packages/create-astro/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,16 @@
# create-astro

## 4.11.0-beta.0

### Minor Changes

- [#12083](https://github.com/withastro/astro/pull/12083) [`9263e96`](https://github.com/withastro/astro/commit/9263e965932b9a6a116801c063c6b7105c39643e) Thanks [@Princesseuh](https://github.com/Princesseuh)! - Reworks the experience of creating a new Astro project using the `create astro` CLI command.

- Updates the list of templates to include Starlight and combines the "minimal" and "basics" templates into a new, refreshed "Basics" template to serve as the single, minimal Astro project starter.
- Removes the TypeScript question. Astro is TypeScript-only, so this question was often misleading. The "Strict" preset is now the default, but it can still be changed manually in `tsconfig.json`.
- `astro check` is no longer automatically added to the build script.
- Added a new `--add` flag to install additional integrations after creating a project. For example, `pnpm create astro --add react` will create a new Astro project and install the React integration.

## 4.10.0

### Minor Changes
Expand Down
2 changes: 1 addition & 1 deletion packages/create-astro/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "create-astro",
"version": "4.10.0",
"version": "4.11.0-beta.0",
"type": "module",
"author": "withastro",
"license": "MIT",
Expand Down
5 changes: 4 additions & 1 deletion packages/create-astro/src/actions/dependencies.ts
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,10 @@ export async function dependencies(
ctx.add = ctx.add?.reduce<string[]>((acc, item) => acc.concat(item.split(',')), []);

if (ctx.dryRun) {
await info('--dry-run', `Skipping dependency installation${ ctx.add ? ` and adding ${ctx.add.join(', ')}` : '' }`);
await info(
'--dry-run',
`Skipping dependency installation${ctx.add ? ` and adding ${ctx.add.join(', ')}` : ''}`,
);
} else if (deps) {
ctx.tasks.push({
pending: 'Dependencies',
Expand Down
10 changes: 7 additions & 3 deletions packages/create-astro/test/integrations.test.js
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,9 @@ describe('integrations', () => {

await dependencies(context);

assert.ok(fixture.hasMessage('--dry-run Skipping dependency installation and adding node, react'));
assert.ok(
fixture.hasMessage('--dry-run Skipping dependency installation and adding node, react'),
);
});

it('--add node,react', async () => {
Expand All @@ -39,12 +41,14 @@ describe('integrations', () => {
yes: true,
packageManager: 'npm',
dryRun: true,
add: ['node,react']
add: ['node,react'],
};

await dependencies(context);

assert.ok(fixture.hasMessage('--dry-run Skipping dependency installation and adding node, react'));
assert.ok(
fixture.hasMessage('--dry-run Skipping dependency installation and adding node, react'),
);
});

it('-y', async () => {
Expand Down
Loading

0 comments on commit 74d6a44

Please sign in to comment.