summaryrefslogtreecommitdiff
path: root/packages/integrations
diff options
context:
space:
mode:
authorGravatar Houston (Bot) <108291165+astrobot-houston@users.noreply.github.com> 2023-06-29 02:14:24 -0700
committerGravatar GitHub <noreply@github.com> 2023-06-29 17:14:24 +0800
commit56f1b1229cf629a42a88d429f2a5fc6378613017 (patch)
treeedad4ce4e400c6d855921a9b2731c7a4fbb566b8 /packages/integrations
parent40029e1af400354ae726526a975573e37f5ac187 (diff)
downloadastro-f3d2b6f7e8e56d10e88ade5bcf5757d25587dcd5.tar.gz
astro-f3d2b6f7e8e56d10e88ade5bcf5757d25587dcd5.tar.zst
astro-f3d2b6f7e8e56d10e88ade5bcf5757d25587dcd5.zip
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
Diffstat (limited to 'packages/integrations')
-rw-r--r--packages/integrations/cloudflare/package.json2
-rw-r--r--packages/integrations/deno/package.json2
-rw-r--r--packages/integrations/image/package.json2
-rw-r--r--packages/integrations/markdoc/CHANGELOG.md35
-rw-r--r--packages/integrations/markdoc/package.json4
-rw-r--r--packages/integrations/netlify/package.json2
-rw-r--r--packages/integrations/node/package.json2
-rw-r--r--packages/integrations/svelte/package.json2
-rw-r--r--packages/integrations/tailwind/package.json2
-rw-r--r--packages/integrations/vercel/package.json2
-rw-r--r--packages/integrations/vue/package.json2
11 files changed, 46 insertions, 11 deletions
diff --git a/packages/integrations/cloudflare/package.json b/packages/integrations/cloudflare/package.json
index 03ded87ce..fe64ee166 100644
--- a/packages/integrations/cloudflare/package.json
+++ b/packages/integrations/cloudflare/package.json
@@ -44,7 +44,7 @@
"tiny-glob": "^0.2.9"
},
"peerDependencies": {
- "astro": "workspace:^2.7.1"
+ "astro": "workspace:^2.7.2"
},
"devDependencies": {
"astro": "workspace:*",
diff --git a/packages/integrations/deno/package.json b/packages/integrations/deno/package.json
index b51c905fa..a77d8f716 100644
--- a/packages/integrations/deno/package.json
+++ b/packages/integrations/deno/package.json
@@ -36,7 +36,7 @@
"esbuild": "^0.15.18"
},
"peerDependencies": {
- "astro": "workspace:^2.7.1"
+ "astro": "workspace:^2.7.2"
},
"devDependencies": {
"astro": "workspace:*",
diff --git a/packages/integrations/image/package.json b/packages/integrations/image/package.json
index 40bda08ba..cebe96202 100644
--- a/packages/integrations/image/package.json
+++ b/packages/integrations/image/package.json
@@ -63,7 +63,7 @@
"vite": "^4.3.9"
},
"peerDependencies": {
- "astro": "workspace:^2.7.1",
+ "astro": "workspace:^2.7.2",
"sharp": ">=0.31.0"
},
"peerDependenciesMeta": {
diff --git a/packages/integrations/markdoc/CHANGELOG.md b/packages/integrations/markdoc/CHANGELOG.md
index 0a484dd4b..9cdb6e9c1 100644
--- a/packages/integrations/markdoc/CHANGELOG.md
+++ b/packages/integrations/markdoc/CHANGELOG.md
@@ -1,5 +1,40 @@
# @astrojs/markdoc
+## 0.4.0
+
+### Minor Changes
+
+- [#7468](https://github.com/withastro/astro/pull/7468) [`fb7af5511`](https://github.com/withastro/astro/commit/fb7af551148f5ca6c4f98a4e556c8948c5690919) Thanks [@bholmesdev](https://github.com/bholmesdev)! - Updates the Markdoc config object for rendering Astro components as tags or nodes. Rather than importing components directly, Astro includes a new `component()` function to specify your component path. This unlocks using Astro components from npm packages and `.ts` files.
+
+ ### Migration
+
+ Update all component imports to instead import the new `component()` function and use it to render your Astro components:
+
+ ```diff
+ // markdoc.config.mjs
+ import {
+ defineMarkdocConfig,
+ + component,
+ } from '@astrojs/markdoc/config';
+ - import Aside from './src/components/Aside.astro';
+
+ export default defineMarkdocConfig({
+ tags: {
+ aside: {
+ render: Aside,
+ + render: component('./src/components/Aside.astro'),
+ }
+ }
+ });
+ ```
+
+### Patch Changes
+
+- [#7467](https://github.com/withastro/astro/pull/7467) [`f6feff7a2`](https://github.com/withastro/astro/commit/f6feff7a2991fb94e11ee1b70ac606e4c053062b) Thanks [@bholmesdev](https://github.com/bholmesdev)! - Restart the dev server whenever your markdoc config changes.
+
+- Updated dependencies [[`6dfd7081b`](https://github.com/withastro/astro/commit/6dfd7081b7a1532ab0fe3af8bcf079b10a5640a9), [`83016795e`](https://github.com/withastro/astro/commit/83016795e9e149bc64e2441d477cf8c65ef5a117), [`d3247851f`](https://github.com/withastro/astro/commit/d3247851f04e911c134cfedc22db17b7d61c53d9), [`a3928016c`](https://github.com/withastro/astro/commit/a3928016cc375842cf47e7a227835cd17e48a409), [`2726098bc`](https://github.com/withastro/astro/commit/2726098bc82f910edda4198b9fb94f2bfd048976), [`f4fea3b02`](https://github.com/withastro/astro/commit/f4fea3b02b0737053c7c7521a7d4dd235648918a)]:
+ - astro@2.7.2
+
## 0.3.3
### Patch Changes
diff --git a/packages/integrations/markdoc/package.json b/packages/integrations/markdoc/package.json
index 98a02a96a..ca42c0014 100644
--- a/packages/integrations/markdoc/package.json
+++ b/packages/integrations/markdoc/package.json
@@ -1,7 +1,7 @@
{
"name": "@astrojs/markdoc",
"description": "Add support for Markdoc in your Astro site",
- "version": "0.3.3",
+ "version": "0.4.0",
"type": "module",
"types": "./dist/index.d.ts",
"author": "withastro",
@@ -74,7 +74,7 @@
"zod": "^3.17.3"
},
"peerDependencies": {
- "astro": "workspace:^2.7.1"
+ "astro": "workspace:^2.7.2"
},
"devDependencies": {
"@astrojs/markdown-remark": "^2.2.1",
diff --git a/packages/integrations/netlify/package.json b/packages/integrations/netlify/package.json
index 0a7d68a6f..6e00a216e 100644
--- a/packages/integrations/netlify/package.json
+++ b/packages/integrations/netlify/package.json
@@ -43,7 +43,7 @@
"esbuild": "^0.15.18"
},
"peerDependencies": {
- "astro": "workspace:^2.7.1"
+ "astro": "workspace:^2.7.2"
},
"devDependencies": {
"@netlify/edge-functions": "^2.0.0",
diff --git a/packages/integrations/node/package.json b/packages/integrations/node/package.json
index 303891762..c4b2e0189 100644
--- a/packages/integrations/node/package.json
+++ b/packages/integrations/node/package.json
@@ -38,7 +38,7 @@
"server-destroy": "^1.0.1"
},
"peerDependencies": {
- "astro": "workspace:^2.7.1"
+ "astro": "workspace:^2.7.2"
},
"devDependencies": {
"@types/node": "^18.16.18",
diff --git a/packages/integrations/svelte/package.json b/packages/integrations/svelte/package.json
index 6a2b274b8..12a480fc1 100644
--- a/packages/integrations/svelte/package.json
+++ b/packages/integrations/svelte/package.json
@@ -48,7 +48,7 @@
"vite": "^4.3.9"
},
"peerDependencies": {
- "astro": "workspace:^2.7.1",
+ "astro": "workspace:^2.7.2",
"svelte": "^3.55.0 || ^4.0.0"
},
"engines": {
diff --git a/packages/integrations/tailwind/package.json b/packages/integrations/tailwind/package.json
index f7ef9dd1b..024df1a48 100644
--- a/packages/integrations/tailwind/package.json
+++ b/packages/integrations/tailwind/package.json
@@ -43,7 +43,7 @@
"vite": "^4.3.9"
},
"peerDependencies": {
- "astro": "workspace:^2.7.1",
+ "astro": "workspace:^2.7.2",
"tailwindcss": "^3.0.24"
}
}
diff --git a/packages/integrations/vercel/package.json b/packages/integrations/vercel/package.json
index dd896a8af..17f01c669 100644
--- a/packages/integrations/vercel/package.json
+++ b/packages/integrations/vercel/package.json
@@ -60,7 +60,7 @@
"web-vitals": "^3.3.2"
},
"peerDependencies": {
- "astro": "workspace:^2.7.1"
+ "astro": "workspace:^2.7.2"
},
"devDependencies": {
"@types/set-cookie-parser": "^2.4.2",
diff --git a/packages/integrations/vue/package.json b/packages/integrations/vue/package.json
index a902d9556..30da20bb0 100644
--- a/packages/integrations/vue/package.json
+++ b/packages/integrations/vue/package.json
@@ -56,7 +56,7 @@
"vue": "^3.3.4"
},
"peerDependencies": {
- "astro": "workspace:^2.7.1",
+ "astro": "workspace:^2.7.2",
"vue": "^3.2.30"
},
"engines": {