From 181ebb413323f54a7171650bfd20d7eccd410917 Mon Sep 17 00:00:00 2001 From: "github-actions[bot]" Date: Thu, 7 Mar 2024 12:08:42 +0000 Subject: [PATCH] Version Packages --- .changeset/gorgeous-flies-burn.md | 5 ---- .changeset/healthy-humans-search.md | 5 ---- .changeset/tiny-lions-chew.md | 5 ---- examples/contentlayer/package.json | 6 ++-- examples/next-mdx/package.json | 6 ++-- packages/contentlayer/CHANGELOG.md | 7 +++++ packages/contentlayer/package.json | 2 +- packages/core/CHANGELOG.md | 32 ++++++++++++--------- packages/core/package.json | 2 +- packages/create-app/CHANGELOG.md | 2 ++ packages/create-app/package.json | 2 +- packages/mdx/CHANGELOG.md | 31 ++++++++++++-------- packages/mdx/package.json | 2 +- packages/typescript/CHANGELOG.md | 6 ++++ packages/typescript/package.json | 2 +- packages/ui/CHANGELOG.md | 44 +++++++++++++++++------------ packages/ui/package.json | 2 +- pnpm-lock.yaml | 12 ++++---- 18 files changed, 97 insertions(+), 76 deletions(-) delete mode 100644 .changeset/gorgeous-flies-burn.md delete mode 100644 .changeset/healthy-humans-search.md delete mode 100644 .changeset/tiny-lions-chew.md diff --git a/.changeset/gorgeous-flies-burn.md b/.changeset/gorgeous-flies-burn.md deleted file mode 100644 index fd9180b5e..000000000 --- a/.changeset/gorgeous-flies-burn.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -"fumadocs-typescript": patch ---- - -Ignore fields marked with `@internal` tag diff --git a/.changeset/healthy-humans-search.md b/.changeset/healthy-humans-search.md deleted file mode 100644 index 501338e3f..000000000 --- a/.changeset/healthy-humans-search.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -"fumadocs-ui": patch ---- - -Add scrollbar to TOC diff --git a/.changeset/tiny-lions-chew.md b/.changeset/tiny-lions-chew.md deleted file mode 100644 index 809388bb5..000000000 --- a/.changeset/tiny-lions-chew.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -"fumadocs-core": patch ---- - -Remove deprecated options from `fumadocs-core/toc` diff --git a/examples/contentlayer/package.json b/examples/contentlayer/package.json index fea149e47..0a42c1179 100644 --- a/examples/contentlayer/package.json +++ b/examples/contentlayer/package.json @@ -9,9 +9,9 @@ }, "dependencies": { "contentlayer": "0.3.4", - "fumadocs-contentlayer": "1.1.2", - "fumadocs-core": "10.0.1", - "fumadocs-ui": "10.0.1", + "fumadocs-contentlayer": "1.1.3", + "fumadocs-core": "10.0.2", + "fumadocs-ui": "10.0.2", "next": "14.1.2", "next-contentlayer": "0.3.4", "react": "18.2.0", diff --git a/examples/next-mdx/package.json b/examples/next-mdx/package.json index 47bd0e831..af4927e88 100644 --- a/examples/next-mdx/package.json +++ b/examples/next-mdx/package.json @@ -8,9 +8,9 @@ "start": "next start" }, "dependencies": { - "fumadocs-core": "10.0.1", - "fumadocs-mdx": "8.2.0", - "fumadocs-ui": "10.0.1", + "fumadocs-core": "10.0.2", + "fumadocs-mdx": "8.2.1", + "fumadocs-ui": "10.0.2", "next": "14.1.2", "react": "18.2.0", "react-dom": "18.2.0" diff --git a/packages/contentlayer/CHANGELOG.md b/packages/contentlayer/CHANGELOG.md index 6fdf2887f..6cfc70bbe 100644 --- a/packages/contentlayer/CHANGELOG.md +++ b/packages/contentlayer/CHANGELOG.md @@ -1,5 +1,12 @@ # fumadocs-contentlayer +## 1.1.3 + +### Patch Changes + +- Updated dependencies [10e099a] + - fumadocs-core@10.0.2 + ## 1.1.2 ### Patch Changes diff --git a/packages/contentlayer/package.json b/packages/contentlayer/package.json index 336391a2c..70ecc3d9d 100644 --- a/packages/contentlayer/package.json +++ b/packages/contentlayer/package.json @@ -1,6 +1,6 @@ { "name": "fumadocs-contentlayer", - "version": "1.1.2", + "version": "1.1.3", "description": "The Contentlayer adapter for Fumadocs", "keywords": [ "NextJs", diff --git a/packages/core/CHANGELOG.md b/packages/core/CHANGELOG.md index ed7bcf622..6ed15ab3d 100644 --- a/packages/core/CHANGELOG.md +++ b/packages/core/CHANGELOG.md @@ -1,5 +1,11 @@ # next-docs-zeta +## 10.0.2 + +### Patch Changes + +- 10e099a: Remove deprecated options from `fumadocs-core/toc` + ## 10.0.1 ### Patch Changes @@ -74,7 +80,7 @@ ````md ```ts /config/ {1} - const config = 'Hello'; + const config = "Hello"; something.call(config); ``` @@ -85,7 +91,7 @@ ````md ```ts // [!code word:config] - const config = 'Hello'; // [!code highlight] + const config = "Hello"; // [!code highlight] something.call(config); ``` @@ -144,13 +150,13 @@ It's no longer encouraged to access `allDocs` directly because they will not include `url` property anymore. Please consider `getPages` instead. ```ts - import { allDocs, allMeta } from 'contentlayer/generated'; - import { createContentlayerSource } from 'next-docs-zeta/contentlayer'; - import { loader } from 'next-docs-zeta/source'; + import { allDocs, allMeta } from "contentlayer/generated"; + import { createContentlayerSource } from "next-docs-zeta/contentlayer"; + import { loader } from "next-docs-zeta/source"; export const { getPage, pageTree, getPages } = loader({ - baseUrl: '/docs', - rootDir: 'docs', + baseUrl: "/docs", + rootDir: "docs", source: createContentlayerSource(allMeta, allDocs), }); ``` @@ -171,13 +177,13 @@ The interface is now unified, you can easily plug in a content source. ```ts - import { map } from '@/.map'; - import { createMDXSource } from 'next-docs-mdx'; - import { loader } from 'next-docs-zeta/source'; + import { map } from "@/.map"; + import { createMDXSource } from "next-docs-mdx"; + import { loader } from "next-docs-zeta/source"; export const { getPage, getPages, pageTree } = loader({ - baseUrl: '/docs', - rootDir: 'docs', + baseUrl: "/docs", + rootDir: "docs", source: createMDXSource(map), }); ``` @@ -221,7 +227,7 @@ If you want to include other document types, or override the output configuration, the `create` function can return the fields and document types you need. ```ts - import { create } from 'next-docs-zeta/contentlayer/configuration'; + import { create } from "next-docs-zeta/contentlayer/configuration"; const config = create(options); diff --git a/packages/core/package.json b/packages/core/package.json index a36c5eb14..14fea7e50 100644 --- a/packages/core/package.json +++ b/packages/core/package.json @@ -1,6 +1,6 @@ { "name": "fumadocs-core", - "version": "10.0.1", + "version": "10.0.2", "description": "The library for building a documentation website in Next.js", "keywords": [ "NextJs", diff --git a/packages/create-app/CHANGELOG.md b/packages/create-app/CHANGELOG.md index 55d64449b..2371bbe79 100644 --- a/packages/create-app/CHANGELOG.md +++ b/packages/create-app/CHANGELOG.md @@ -1,5 +1,7 @@ # create-next-docs-app +## 10.0.2 + ## 10.0.1 ## 10.0.0 diff --git a/packages/create-app/package.json b/packages/create-app/package.json index f85619710..4e9623026 100644 --- a/packages/create-app/package.json +++ b/packages/create-app/package.json @@ -1,6 +1,6 @@ { "name": "create-fumadocs-app", - "version": "10.0.1", + "version": "10.0.2", "description": "Create a new documentation site with Fumadocs", "keywords": [ "NextJs", diff --git a/packages/mdx/CHANGELOG.md b/packages/mdx/CHANGELOG.md index 17d6a897e..72495a986 100644 --- a/packages/mdx/CHANGELOG.md +++ b/packages/mdx/CHANGELOG.md @@ -1,5 +1,12 @@ # next-docs-mdx +## 8.2.1 + +### Patch Changes + +- Updated dependencies [10e099a] + - fumadocs-core@10.0.2 + ## 8.2.0 ### Minor Changes @@ -85,7 +92,7 @@ Become: ```mdx - import img_banner from '../../public/image.png'; + import img_banner from "../../public/image.png"; banner ``` @@ -146,13 +153,13 @@ `fromMap` has been removed. Please use `createMDXSource` instead. ```ts - import { map } from '@/.map'; - import { createMDXSource } from 'next-docs-mdx'; - import { loader } from 'next-docs-zeta/source'; + import { map } from "@/.map"; + import { createMDXSource } from "next-docs-mdx"; + import { loader } from "next-docs-zeta/source"; export const { getPage, getPages, pageTree } = loader({ - baseUrl: '/docs', - rootDir: 'docs', + baseUrl: "/docs", + rootDir: "docs", source: createMDXSource(map), }); ``` @@ -166,7 +173,7 @@ ```js const withNextDocs = createNextDocs({ mdxOptions: { - lastModifiedTime: 'git', + lastModifiedTime: "git", }, }); ``` @@ -215,7 +222,7 @@ ```ts const utils = fromMap(map, { - rootDir: 'ui', + rootDir: "ui", schema: { frontmatter: frontmatterSchema, }, @@ -246,11 +253,11 @@ The `validate` options is now renamed to `schema`. ```ts - import { defaultSchemas, fromMap } from 'next-docs-mdx/map'; + import { defaultSchemas, fromMap } from "next-docs-mdx/map"; const utils = fromMap(map, { - rootDir: 'docs/ui', - baseUrl: '/docs/ui', + rootDir: "docs/ui", + baseUrl: "/docs/ui", schema: { frontmatter: defaultSchemas.frontmatter.extend({ preview: z.string().optional(), @@ -269,7 +276,7 @@ ```js const withNextDocs = createNextDocs({ - rootContentPath: './content/docs', + rootContentPath: "./content/docs", }); ``` diff --git a/packages/mdx/package.json b/packages/mdx/package.json index 865511d11..3fc9b7791 100644 --- a/packages/mdx/package.json +++ b/packages/mdx/package.json @@ -1,6 +1,6 @@ { "name": "fumadocs-mdx", - "version": "8.2.0", + "version": "8.2.1", "description": "The built-in source for Fumadocs", "keywords": [ "NextJs", diff --git a/packages/typescript/CHANGELOG.md b/packages/typescript/CHANGELOG.md index e9f574e57..df7b98163 100644 --- a/packages/typescript/CHANGELOG.md +++ b/packages/typescript/CHANGELOG.md @@ -1,5 +1,11 @@ # fumadocs-typescript +## 1.0.1 + +### Patch Changes + +- f4aa6b6: Ignore fields marked with `@internal` tag + ## 1.0.0 ### Major Changes diff --git a/packages/typescript/package.json b/packages/typescript/package.json index 5cb9ac110..7632bbc7b 100644 --- a/packages/typescript/package.json +++ b/packages/typescript/package.json @@ -1,6 +1,6 @@ { "name": "fumadocs-typescript", - "version": "1.0.0", + "version": "1.0.1", "description": "Typescript Integration for Fumadocs", "keywords": [ "NextJs", diff --git a/packages/ui/CHANGELOG.md b/packages/ui/CHANGELOG.md index 67bdb453f..0b76fdeba 100644 --- a/packages/ui/CHANGELOG.md +++ b/packages/ui/CHANGELOG.md @@ -1,5 +1,13 @@ # next-docs-ui +## 10.0.2 + +### Patch Changes + +- 10e099a: Add scrollbar to TOC +- Updated dependencies [10e099a] + - fumadocs-core@10.0.2 + ## 10.0.1 ### Patch Changes @@ -142,8 +150,8 @@ @@ -156,15 +164,15 @@ migrate: Use `createPreset` instead ```js - const { createPreset } = require('fumadocs-ui/tailwind-plugin'); + const { createPreset } = require("fumadocs-ui/tailwind-plugin"); /** @type {import('tailwindcss').Config} */ module.exports = { content: [ - './components/**/*.{ts,tsx}', - './app/**/*.{ts,tsx}', - './content/**/*.mdx', - './node_modules/fumadocs-ui/dist/**/*.js', + "./components/**/*.{ts,tsx}", + "./app/**/*.{ts,tsx}", + "./content/**/*.mdx", + "./node_modules/fumadocs-ui/dist/**/*.js", ], presets: [createPreset()], }; @@ -177,7 +185,7 @@ Before: ```tsx - import { CodeBlock, Pre } from 'fumadocs-ui/mdx/pre'; + import { CodeBlock, Pre } from "fumadocs-ui/mdx/pre";
;
   ```
@@ -185,7 +193,7 @@
   After:
 
   ```tsx
-  import { CodeBlock, Pre } from 'fumadocs-ui/components/codeblock';
+  import { CodeBlock, Pre } from "fumadocs-ui/components/codeblock";
 
   
     
@@ -306,14 +314,14 @@
   Add theme presets for the Tailwind CSS plugin, the default and ocean presets are available now.
 
   ```js
-  const { docsUi, docsUiPlugins } = require('next-docs-ui/tailwind-plugin');
+  const { docsUi, docsUiPlugins } = require("next-docs-ui/tailwind-plugin");
 
   /** @type {import('tailwindcss').Config} */
   module.exports = {
     plugins: [
       ...docsUiPlugins,
       docsUi({
-        preset: 'ocean',
+        preset: "ocean",
       }),
     ],
   };
@@ -349,7 +357,7 @@
   Same as Docs Layout but doesn't include a sidebar. It can be used outside of the docs, a page tree is not required.
 
   ```jsx
-  import { Layout } from 'next-docs-ui/layout';
+  import { Layout } from "next-docs-ui/layout";
 
   export default function HomeLayout({ children }) {
     return {children};
@@ -406,16 +414,16 @@
   If you are using Tailwind CSS for your docs, it's now recommended to use the official plugin instead.
 
   ```js
-  const { docsUi, docsUiPlugins } = require('next-docs-ui/tailwind-plugin');
+  const { docsUi, docsUiPlugins } = require("next-docs-ui/tailwind-plugin");
 
   /** @type {import('tailwindcss').Config} */
   module.exports = {
-    darkMode: 'class',
+    darkMode: "class",
     content: [
-      './components/**/*.{ts,tsx}',
-      './app/**/*.{ts,tsx}',
-      './content/**/*.mdx',
-      './node_modules/next-docs-ui/dist/**/*.js',
+      "./components/**/*.{ts,tsx}",
+      "./app/**/*.{ts,tsx}",
+      "./content/**/*.mdx",
+      "./node_modules/next-docs-ui/dist/**/*.js",
     ],
     plugins: [...docsUiPlugins, docsUi],
   };
diff --git a/packages/ui/package.json b/packages/ui/package.json
index d589f7b9c..3da4f5853 100644
--- a/packages/ui/package.json
+++ b/packages/ui/package.json
@@ -1,6 +1,6 @@
 {
   "name": "fumadocs-ui",
-  "version": "10.0.1",
+  "version": "10.0.2",
   "description": "The framework for building a documentation website in Next.js",
   "keywords": [
     "NextJs",
diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml
index 8f1566466..547eed708 100644
--- a/pnpm-lock.yaml
+++ b/pnpm-lock.yaml
@@ -177,13 +177,13 @@ importers:
         specifier: 0.3.4
         version: 0.3.4
       fumadocs-contentlayer:
-        specifier: 1.1.2
+        specifier: 1.1.3
         version: link:../../packages/contentlayer
       fumadocs-core:
-        specifier: 10.0.1
+        specifier: 10.0.2
         version: link:../../packages/core
       fumadocs-ui:
-        specifier: 10.0.1
+        specifier: 10.0.2
         version: link:../../packages/ui
       next:
         specifier: 14.1.2
@@ -220,13 +220,13 @@ importers:
   examples/next-mdx:
     dependencies:
       fumadocs-core:
-        specifier: 10.0.1
+        specifier: 10.0.2
         version: link:../../packages/core
       fumadocs-mdx:
-        specifier: 8.2.0
+        specifier: 8.2.1
         version: link:../../packages/mdx
       fumadocs-ui:
-        specifier: 10.0.1
+        specifier: 10.0.2
         version: link:../../packages/ui
       next:
         specifier: 14.1.2