summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGravatar natemoo-re <natemoo-re@users.noreply.github.com> 2022-04-06 21:41:37 +0000
committerGravatar GitHub Actions <actions@github.com> 2022-04-06 21:41:37 +0000
commit5b51d818898d22300f32d2a366eb80e5ef233ece (patch)
tree077f6af802afa453a6ee61857f04df68e3daa87d
parent1d0c1d8977871cfaf739cdc1696530fee00fc538 (diff)
downloadastro-5b51d818898d22300f32d2a366eb80e5ef233ece.tar.gz
astro-5b51d818898d22300f32d2a366eb80e5ef233ece.tar.zst
astro-5b51d818898d22300f32d2a366eb80e5ef233ece.zip
[ci] format
-rw-r--r--packages/astro/CHANGELOG.md64
-rw-r--r--packages/integrations/netlify/CHANGELOG.md2
2 files changed, 33 insertions, 33 deletions
diff --git a/packages/astro/CHANGELOG.md b/packages/astro/CHANGELOG.md
index 6f69bfc99..00d514157 100644
--- a/packages/astro/CHANGELOG.md
+++ b/packages/astro/CHANGELOG.md
@@ -150,7 +150,7 @@
import netlify from '@astrojs/netlify/functions';
export default defineConfig({
- adapter: netlify(),
+ adapter: netlify(),
});
```
@@ -170,7 +170,7 @@
import nodejs from '@astrojs/node';
export default {
- adapter: nodejs(),
+ adapter: nodejs(),
};
```
@@ -230,7 +230,7 @@
import nodejs from '@astrojs/node';
export default {
- adapter: nodejs(),
+ adapter: nodejs(),
};
```
@@ -326,7 +326,7 @@
import { defineConfig } from 'astro/config';
export default defineConfig({
- renderers: [],
+ renderers: [],
});
```
@@ -364,9 +364,9 @@
```json
{
- "scripts": {
- "build": "astro build --legacy-build"
- }
+ "scripts": {
+ "build": "astro build --legacy-build"
+ }
}
```
@@ -386,7 +386,7 @@
```ts
if (Astro.slots.has('default')) {
- const content = await Astro.slots.render('default');
+ const content = await Astro.slots.render('default');
}
```
@@ -470,7 +470,7 @@
```ts
if (Astro.slots.has('default')) {
- const content = await Astro.slots.render('default');
+ const content = await Astro.slots.render('default');
}
```
@@ -494,9 +494,9 @@
```json
{
- "scripts": {
- "build": "astro build --legacy-build"
- }
+ "scripts": {
+ "build": "astro build --legacy-build"
+ }
}
```
@@ -608,12 +608,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/',
+ }),
+ };
}
```
@@ -775,12 +775,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/',
+ }),
+ };
}
```
@@ -2135,10 +2135,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' }]],
+ },
};
```
@@ -2158,10 +2158,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'],
};
```
diff --git a/packages/integrations/netlify/CHANGELOG.md b/packages/integrations/netlify/CHANGELOG.md
index 32fc1d830..a15a4f923 100644
--- a/packages/integrations/netlify/CHANGELOG.md
+++ b/packages/integrations/netlify/CHANGELOG.md
@@ -31,6 +31,6 @@
import netlify from '@astrojs/netlify/functions';
export default defineConfig({
- adapter: netlify(),
+ adapter: netlify(),
});
```