Skip to content

Commit

Permalink
Version Packages
Browse files Browse the repository at this point in the history
  • Loading branch information
github-actions[bot] committed Apr 15, 2024
1 parent ed379b5 commit dd5f10e
Show file tree
Hide file tree
Showing 22 changed files with 208 additions and 129 deletions.
9 changes: 0 additions & 9 deletions .changeset/green-trainers-count.md

This file was deleted.

49 changes: 0 additions & 49 deletions .changeset/mighty-books-occur.md

This file was deleted.

9 changes: 0 additions & 9 deletions .changeset/pink-tips-love.md

This file was deleted.

35 changes: 0 additions & 35 deletions .changeset/stupid-tips-tell.md

This file was deleted.

6 changes: 3 additions & 3 deletions examples/contentlayer/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -9,9 +9,9 @@
},
"dependencies": {
"contentlayer": "0.3.4",
"fumadocs-contentlayer": "1.1.10",
"fumadocs-core": "10.1.3",
"fumadocs-ui": "10.1.3",
"fumadocs-contentlayer": "1.1.11",
"fumadocs-core": "11.0.0",
"fumadocs-ui": "11.0.0",
"next": "^14.2.1",
"next-contentlayer": "^0.3.4",
"react": "18.2.0",
Expand Down
6 changes: 3 additions & 3 deletions examples/next-mdx/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -8,9 +8,9 @@
"start": "next start"
},
"dependencies": {
"fumadocs-core": "10.1.3",
"fumadocs-mdx": "8.2.8",
"fumadocs-ui": "10.1.3",
"fumadocs-core": "11.0.0",
"fumadocs-mdx": "8.2.9",
"fumadocs-ui": "11.0.0",
"next": "^14.2.1",
"react": "18.2.0",
"react-dom": "18.2.0"
Expand Down
9 changes: 9 additions & 0 deletions packages/contentlayer/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,14 @@
# fumadocs-contentlayer

## 1.1.11

### Patch Changes

- Updated dependencies [2d8df75]
- Updated dependencies [f75287d]
- Updated dependencies [2d8df75]
- [email protected]

## 1.1.10

### Patch Changes
Expand Down
2 changes: 1 addition & 1 deletion packages/contentlayer/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "fumadocs-contentlayer",
"version": "1.1.10",
"version": "1.1.11",
"description": "The Contentlayer adapter for Fumadocs",
"keywords": [
"NextJs",
Expand Down
61 changes: 61 additions & 0 deletions packages/core/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,66 @@
# next-docs-zeta

## 11.0.0

### Major Changes

- 2d8df75: Remove `cwd` option from `remark-dynamic-content`

why: Use `cwd` from vfile

migrate: Pass the `cwd` option from remark instead

- f75287d: **Introduce `fumadocs-docgen` package.**

Offer a better authoring experience for advanced use cases.

- Move `remark-dynamic-content` and `remark-install` plugins to the new package `fumadocs-docgen`.
- Support Typescript generator by default

**Usage**

Add the `remarkDocGen` plugin to your remark plugins.

```ts
import { remarkDocGen, fileGenerator } from "fumadocs-docgen";

remark().use(remarkDocGen, { generators: [fileGenerator()] });
```

Generate docs with code blocks.

````mdx
```json doc-gen:<generator>
{
// options
}
```
````

**Migrate**

For `remarkDynamicContent`, enable `fileGenerator` and use this syntax:

````mdx
```json doc-gen:file
{
"file": "./path/to/my-file.txt"
}
```
````

For `remarkInstall`, it remains the same:

```ts
import { remarkInstall } from "fumadocs-docgen";
```

- 2d8df75: Remove support for `getTableOfContentsFromPortableText`

why: Sanity integration should be provided by 3rd party integrations

migrate: Use built-in sources, or write a custom implementation

## 10.1.3

### Patch Changes
Expand Down
2 changes: 1 addition & 1 deletion packages/core/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "fumadocs-core",
"version": "10.1.3",
"version": "11.0.0",
"description": "The library for building a documentation website in Next.js",
"keywords": [
"NextJs",
Expand Down
8 changes: 4 additions & 4 deletions packages/create-app-versions/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -10,10 +10,10 @@
"@types/react-dom": "^18.2.22",
"autoprefixer": "^10.4.19",
"contentlayer": "^0.3.4",
"fumadocs-contentlayer": "^1.1.10",
"fumadocs-core": "^10.1.3",
"fumadocs-mdx": "^8.2.8",
"fumadocs-ui": "^10.1.3",
"fumadocs-contentlayer": "^1.1.11",
"fumadocs-core": "^11.0.0",
"fumadocs-mdx": "^8.2.9",
"fumadocs-ui": "^11.0.0",
"next": "^14.2.1",
"next-contentlayer": "^0.3.4",
"postcss": "^8.4.38",
Expand Down
2 changes: 2 additions & 0 deletions packages/create-app/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
# create-next-docs-app

## 11.0.0

## 10.1.3

## 10.1.2
Expand Down
2 changes: 1 addition & 1 deletion packages/create-app/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "create-fumadocs-app",
"version": "10.1.3",
"version": "11.0.0",
"description": "Create a new documentation site with Fumadocs",
"keywords": [
"NextJs",
Expand Down
8 changes: 8 additions & 0 deletions packages/doc-gen/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
# fumadocs-docgen

## 1.0.1

### Patch Changes

- Updated dependencies [f75287d]
- [email protected]
2 changes: 1 addition & 1 deletion packages/doc-gen/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "fumadocs-docgen",
"version": "1.0.0",
"version": "1.0.1",
"description": "Useful remark utilities and plugins",
"keywords": [
"NextJs",
Expand Down
9 changes: 9 additions & 0 deletions packages/mdx/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,14 @@
# next-docs-mdx

## 8.2.9

### Patch Changes

- Updated dependencies [2d8df75]
- Updated dependencies [f75287d]
- Updated dependencies [2d8df75]
- [email protected]

## 8.2.8

### Patch Changes
Expand Down
2 changes: 1 addition & 1 deletion packages/mdx/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "fumadocs-mdx",
"version": "8.2.8",
"version": "8.2.9",
"description": "The built-in source for Fumadocs",
"keywords": [
"NextJs",
Expand Down
49 changes: 49 additions & 0 deletions packages/typescript/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,54 @@
# fumadocs-typescript

## 2.0.0

### Major Changes

- f75287d: **Introduce `fumadocs-docgen` package.**

Offer a better authoring experience for advanced use cases.

- Move `remark-dynamic-content` and `remark-install` plugins to the new package `fumadocs-docgen`.
- Support Typescript generator by default

**Usage**

Add the `remarkDocGen` plugin to your remark plugins.

```ts
import { remarkDocGen, fileGenerator } from "fumadocs-docgen";

remark().use(remarkDocGen, { generators: [fileGenerator()] });
```

Generate docs with code blocks.

````mdx
```json doc-gen:<generator>
{
// options
}
```
````

**Migrate**

For `remarkDynamicContent`, enable `fileGenerator` and use this syntax:

````mdx
```json doc-gen:file
{
"file": "./path/to/my-file.txt"
}
```
````

For `remarkInstall`, it remains the same:

```ts
import { remarkInstall } from "fumadocs-docgen";
```

## 1.0.2

### Patch Changes
Expand Down
2 changes: 1 addition & 1 deletion packages/typescript/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "fumadocs-typescript",
"version": "1.0.2",
"version": "2.0.0",
"description": "Typescript Integration for Fumadocs",
"keywords": [
"NextJs",
Expand Down
Loading

0 comments on commit dd5f10e

Please sign in to comment.