diff --git a/packages/studiocms/package.json b/packages/studiocms/package.json index ada7c168a..7f9ff2a95 100644 --- a/packages/studiocms/package.json +++ b/packages/studiocms/package.json @@ -38,8 +38,7 @@ "src" ], "exports": { - ".": "./src/index.ts", - "./blog": "./src/blog/index.ts" + ".": "./src/index.ts" }, "type": "module", "dependencies": { @@ -89,13 +88,7 @@ }, "peerDependencies": { "@astrojs/db": "catalog:min", - "astro": "catalog:min", - "@studiocms/blog": "workspace:*" - }, - "peerDependenciesMeta": { - "@studiocms/blog": { - "optional": true - } + "astro": "catalog:min" }, "devDependencies": { "vite": "catalog:", diff --git a/packages/studiocms/src/blog/index.ts b/packages/studiocms/src/blog/index.ts deleted file mode 100644 index c841f2a88..000000000 --- a/packages/studiocms/src/blog/index.ts +++ /dev/null @@ -1,35 +0,0 @@ -import studioCMSBlog from '@studiocms/blog'; - -/** - * # StudioCMS Blog Theme(Integration) - * *Note: To use this export, you must have `@studiocms/blog` installed in your project dependencies.* - * #### Powered by [`astro-theme-provider`](https://github.com/astrolicious/astro-theme-provider) by [Bryce Russell](https://github.com/BryceRussell) - * - * This theme provides a Blog Index Page and RSS Feed for your StudioCMS Site as well as route handling for Blog Posts. - * - * @example - * import { defineConfig } from 'astro/config'; - * import db from '@astrojs/db'; - * import studioCMS from 'studiocms'; - * import studioCMSBlog from 'studiocms/blog'; - * - * // https://astro.build/config - * export default defineConfig({ - * site: "https://example.com", - * output: "server", - * adapter: ... - * integrations: [ - * db(), // REQUIRED - `@astrojs/db` must be included in the integrations list - * studioCMS(), // REQUIRED - StudioCMS must be included in the integrations list - * studioCMSBlog({ - * config: { - * title: "My StudioCMS Blog", - * description: "A Simple Blog build with Astro, Astrojs/DB, and StudioCMS.". - * }, - * }), - * ], - * }); - */ -const integration = studioCMSBlog; - -export default integration; diff --git a/packages/studiocms_blog/package.json b/packages/studiocms_blog/package.json index f76b6febb..373869d73 100644 --- a/packages/studiocms_blog/package.json +++ b/packages/studiocms_blog/package.json @@ -55,7 +55,6 @@ "type": "module", "dependencies": { "studiocms": "workspace:*", - "@studiocms/core": "workspace:*", "@studiocms/frontend": "workspace:*", "@astrojs/rss": "catalog:", "astro-theme-provider": "catalog:" diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml index db1e13828..90a30c5ef 100644 --- a/pnpm-lock.yaml +++ b/pnpm-lock.yaml @@ -347,9 +347,6 @@ importers: '@studiocms/betaresources': specifier: workspace:* version: link:../studiocms_betaresources - '@studiocms/blog': - specifier: workspace:* - version: link:../studiocms_blog '@studiocms/core': specifier: workspace:* version: link:../studiocms_core @@ -525,9 +522,6 @@ importers: '@astrojs/rss': specifier: 'catalog:' version: 4.0.7 - '@studiocms/core': - specifier: workspace:* - version: link:../studiocms_core '@studiocms/frontend': specifier: workspace:* version: link:../studiocms_frontend