summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGravatar matthewp <matthewp@users.noreply.github.com> 2022-04-07 19:23:39 +0000
committerGravatar GitHub Actions <actions@github.com> 2022-04-07 19:23:39 +0000
commitcde2c4418428e73e5c2de8b7f35ae87b9add0cbb (patch)
tree208621f3959b7aeddde54a59af17e070906e5303
parenta5aea2ce561e86ac6242cdc9291f18ecc76a6bfa (diff)
downloadastro-cde2c4418428e73e5c2de8b7f35ae87b9add0cbb.tar.gz
astro-cde2c4418428e73e5c2de8b7f35ae87b9add0cbb.tar.zst
astro-cde2c4418428e73e5c2de8b7f35ae87b9add0cbb.zip
[ci] format
-rw-r--r--packages/astro/CHANGELOG.md64
1 files changed, 32 insertions, 32 deletions
diff --git a/packages/astro/CHANGELOG.md b/packages/astro/CHANGELOG.md
index ebc66e7c4..34031c4f4 100644
--- a/packages/astro/CHANGELOG.md
+++ b/packages/astro/CHANGELOG.md
@@ -165,7 +165,7 @@
import netlify from '@astrojs/netlify/functions';
export default defineConfig({
- adapter: netlify(),
+ adapter: netlify(),
});
```
@@ -185,7 +185,7 @@
import nodejs from '@astrojs/node';
export default {
- adapter: nodejs(),
+ adapter: nodejs(),
};
```
@@ -245,7 +245,7 @@
import nodejs from '@astrojs/node';
export default {
- adapter: nodejs(),
+ adapter: nodejs(),
};
```
@@ -341,7 +341,7 @@
import { defineConfig } from 'astro/config';
export default defineConfig({
- renderers: [],
+ renderers: [],
});
```
@@ -379,9 +379,9 @@
```json
{
- "scripts": {
- "build": "astro build --legacy-build"
- }
+ "scripts": {
+ "build": "astro build --legacy-build"
+ }
}
```
@@ -401,7 +401,7 @@
```ts
if (Astro.slots.has('default')) {
- const content = await Astro.slots.render('default');
+ const content = await Astro.slots.render('default');
}
```
@@ -485,7 +485,7 @@
```ts
if (Astro.slots.has('default')) {
- const content = await Astro.slots.render('default');
+ const content = await Astro.slots.render('default');
}
```
@@ -509,9 +509,9 @@
```json
{
- "scripts": {
- "build": "astro build --legacy-build"
- }
+ "scripts": {
+ "build": "astro build --legacy-build"
+ }
}
```
@@ -623,12 +623,12 @@
```typescript
// src/pages/company.json.ts
export async function get() {
- return {
- body: JSON.stringify({
- name: 'Astro Technology Company',
- url: 'https://astro.build/',
- }),
- };
+ return {
+ body: JSON.stringify({
+ name: 'Astro Technology Company',
+ url: 'https://astro.build/',
+ }),
+ };
}
```
@@ -790,12 +790,12 @@
```typescript
// src/pages/company.json.ts
export async function get() {
- return {
- body: JSON.stringify({
- name: 'Astro Technology Company',
- url: 'https://astro.build/',
- }),
- };
+ return {
+ body: JSON.stringify({
+ name: 'Astro Technology Company',
+ url: 'https://astro.build/',
+ }),
+ };
}
```
@@ -2150,10 +2150,10 @@ For convenience, you may now also move your `astro.config.js` file to a top-leve
```js
export default {
- markdownOptions: {
- remarkPlugins: ['remark-slug', ['remark-autolink-headings', { behavior: 'prepend' }]],
- rehypePlugins: ['rehype-slug', ['rehype-autolink-headings', { behavior: 'prepend' }]],
- },
+ markdownOptions: {
+ remarkPlugins: ['remark-slug', ['remark-autolink-headings', { behavior: 'prepend' }]],
+ rehypePlugins: ['rehype-slug', ['rehype-autolink-headings', { behavior: 'prepend' }]],
+ },
};
```
@@ -2173,10 +2173,10 @@ For convenience, you may now also move your `astro.config.js` file to a top-leve
```js
export default {
- name: '@matthewp/my-renderer',
- server: './server.js',
- client: './client.js',
- hydrationPolyfills: ['./my-polyfill.js'],
+ name: '@matthewp/my-renderer',
+ server: './server.js',
+ client: './client.js',
+ hydrationPolyfills: ['./my-polyfill.js'],
};
```