summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGravatar Matthew Phillips <matthew@matthewphillips.info> 2021-12-23 12:41:55 -0500
committerGravatar GitHub <noreply@github.com> 2021-12-23 12:41:55 -0500
commitf14c1fb4e43e898d1a8bdea0906e8810c2aa1a8a (patch)
tree6f4d71f5507dfc8e31a4ddb6feba966fbba9c68b
parentb8e3efa7bb72e6e436ced6c503a9e7e49f30bb02 (diff)
downloadastro-f14c1fb4e43e898d1a8bdea0906e8810c2aa1a8a.tar.gz
astro-f14c1fb4e43e898d1a8bdea0906e8810c2aa1a8a.tar.zst
astro-f14c1fb4e43e898d1a8bdea0906e8810c2aa1a8a.zip
Fix formatting issues caused by release (#2261)
* Run formatting on the release notes * Update version in test due to releases GH
-rw-r--r--packages/astro/CHANGELOG.md16
-rw-r--r--packages/astro/test/builtins.test.js2
-rw-r--r--packages/markdown/remark/CHANGELOG.md8
3 files changed, 13 insertions, 13 deletions
diff --git a/packages/astro/CHANGELOG.md b/packages/astro/CHANGELOG.md
index 89e727e1e..5c65d736e 100644
--- a/packages/astro/CHANGELOG.md
+++ b/packages/astro/CHANGELOG.md
@@ -1029,10 +1029,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' }]],
+ },
};
```
@@ -1052,10 +1052,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/astro/test/builtins.test.js b/packages/astro/test/builtins.test.js
index 9d4cd0e42..8eff6b792 100644
--- a/packages/astro/test/builtins.test.js
+++ b/packages/astro/test/builtins.test.js
@@ -15,7 +15,7 @@ describe('Node builtins', () => {
const $ = cheerio.load(html);
expect($('#version').text()).to.equal('1.2.0');
- expect($('#dep-version').text()).to.equal('0.0.1');
+ expect($('#dep-version').text()).to.equal('0.1.0');
});
it('Can also be used with the non-prefixed version', async () => {
diff --git a/packages/markdown/remark/CHANGELOG.md b/packages/markdown/remark/CHANGELOG.md
index dea12676d..6f33d7f06 100644
--- a/packages/markdown/remark/CHANGELOG.md
+++ b/packages/markdown/remark/CHANGELOG.md
@@ -105,10 +105,10 @@
```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' }]],
+ },
};
```