create-fumadocs-app 8.0.0 → 8.1.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -5,14 +5,14 @@ import fs from "node:fs/promises";
5
5
  // ../core/package.json
6
6
  var package_default = {
7
7
  name: "fumadocs-core",
8
- version: "8.0.0",
8
+ version: "8.1.1",
9
9
  description: "The library for building a documentation website in Next.js",
10
10
  keywords: [
11
11
  "NextJs",
12
12
  "Docs"
13
13
  ],
14
14
  homepage: "https://fumadocs.vercel.app",
15
- repository: "github:fuma-nama/next-docs",
15
+ repository: "github:fuma-nama/fumadocs",
16
16
  license: "MIT",
17
17
  author: "Fuma Nama",
18
18
  type: "module",
@@ -49,6 +49,10 @@ var package_default = {
49
49
  import: "./dist/link.js",
50
50
  types: "./dist/link.d.ts"
51
51
  },
52
+ "./typescript": {
53
+ import: "./dist/typescript.js",
54
+ types: "./dist/typescript.d.ts"
55
+ },
52
56
  "./middleware": {
53
57
  import: "./dist/middleware.js",
54
58
  types: "./dist/middleware.d.ts"
@@ -77,6 +81,9 @@ var package_default = {
77
81
  toc: [
78
82
  "./dist/toc.d.ts"
79
83
  ],
84
+ typescript: [
85
+ "./dist/typescript.d.ts"
86
+ ],
80
87
  "search/client": [
81
88
  "./dist/search/client.d.ts"
82
89
  ],
@@ -117,22 +124,21 @@ var package_default = {
117
124
  clean: "rimraf dist",
118
125
  dev: "tsup --watch",
119
126
  lint: "eslint .",
120
- test: "vitest",
121
127
  "types:check": "tsc --noEmit"
122
128
  },
123
129
  dependencies: {
124
130
  "@formatjs/intl-localematcher": "^0.5.0",
131
+ "@shikijs/rehype": "^1.0.0-beta.0",
132
+ "@shikijs/transformers": "^1.0.0-beta.0",
125
133
  flexsearch: "0.7.21",
126
134
  "github-slugger": "^2.0.0",
127
135
  negotiator: "^0.6.3",
128
136
  "react-remove-scroll": "^2.5.6",
129
- "rehype-shikiji": "^0.10.0",
130
137
  remark: "^15.0.0",
131
138
  "remark-gfm": "^4.0.0",
132
139
  "remark-mdx": "^3.0.0",
133
140
  "scroll-into-view-if-needed": "^3.1.0",
134
- shikiji: "^0.10.0",
135
- "shikiji-transformers": "^0.10.0",
141
+ shiki: "^1.0.0-beta.0",
136
142
  swr: "^2.2.2",
137
143
  "unist-util-visit": "^5.0.0"
138
144
  },
@@ -165,18 +171,19 @@ var package_default = {
165
171
  // ../ui/package.json
166
172
  var package_default2 = {
167
173
  name: "fumadocs-ui",
168
- version: "8.0.0",
174
+ version: "8.1.1",
169
175
  description: "The framework for building a documentation website in Next.js",
170
176
  keywords: [
171
177
  "NextJs",
172
178
  "Docs"
173
179
  ],
174
180
  homepage: "https://fumadocs.vercel.app",
175
- repository: "github:fuma-nama/next-docs",
181
+ repository: "github:fuma-nama/fumadocs",
176
182
  license: "MIT",
177
183
  author: "Fuma Nama",
178
184
  exports: {
179
185
  "./style.css": "./dist/style.css",
186
+ "./twoslash.css": "./dist/twoslash.css",
180
187
  "./tailwind-plugin": {
181
188
  import: "./dist/tailwind-plugin.js",
182
189
  require: "./dist/tailwind-plugin.js",
@@ -186,9 +193,29 @@ var package_default2 = {
186
193
  import: "./dist/components/*.js",
187
194
  types: "./dist/components/*.d.mts"
188
195
  },
189
- "./*": {
190
- import: "./dist/*.js",
191
- types: "./dist/*.d.mts"
196
+ "./twoslash/*": {
197
+ import: "./dist/twoslash/*.js",
198
+ types: "./dist/twoslash/*.d.mts"
199
+ },
200
+ "./i18n": {
201
+ import: "./dist/i18n.js",
202
+ types: "./dist/i18n.d.mts"
203
+ },
204
+ "./layout": {
205
+ import: "./dist/layout.js",
206
+ types: "./dist/layout.d.mts"
207
+ },
208
+ "./page": {
209
+ import: "./dist/page.js",
210
+ types: "./dist/page.d.mts"
211
+ },
212
+ "./provider": {
213
+ import: "./dist/provider.js",
214
+ types: "./dist/provider.d.mts"
215
+ },
216
+ "./mdx": {
217
+ import: "./dist/mdx.js",
218
+ types: "./dist/mdx.d.mts"
192
219
  }
193
220
  },
194
221
  typesVersions: {
@@ -199,11 +226,23 @@ var package_default2 = {
199
226
  "components/*": [
200
227
  "./dist/components/*.d.mts"
201
228
  ],
202
- "mdx/*": [
203
- "./dist/mdx/*.d.mts"
229
+ "twoslash/*": [
230
+ "./dist/twoslash/*.d.mts"
231
+ ],
232
+ i18n: [
233
+ "./dist/i18n.d.mts"
234
+ ],
235
+ layout: [
236
+ "./dist/layout.d.mts"
237
+ ],
238
+ page: [
239
+ "./dist/page.d.mts"
240
+ ],
241
+ provider: [
242
+ "./dist/provider.d.mts"
204
243
  ],
205
- "*": [
206
- "./dist/*.d.mts"
244
+ mdx: [
245
+ "./dist/mdx.d.mts"
207
246
  ]
208
247
  }
209
248
  },
@@ -211,11 +250,13 @@ var package_default2 = {
211
250
  "dist/*"
212
251
  ],
213
252
  scripts: {
214
- build: "tsup && postcss css/styles.css -o ./dist/style.css",
253
+ build: "pnpm build:layout && pnpm build:tailwind",
254
+ "build:layout": "tsup",
255
+ "build:tailwind": "postcss css/*.css --dir dist",
215
256
  clean: "rimraf dist",
216
257
  dev: 'concurrently "pnpm dev:layout" "pnpm dev:tailwind"',
217
258
  "dev:layout": "tsup --watch",
218
- "dev:tailwind": "postcss css/styles.css -o ./dist/style.css --watch",
259
+ "dev:tailwind": "postcss css/*.css --dir dist --watch",
219
260
  lint: "eslint .",
220
261
  "types:check": "tsc --noEmit"
221
262
  },
@@ -223,6 +264,7 @@ var package_default2 = {
223
264
  "@radix-ui/react-accordion": "^1.1.2",
224
265
  "@radix-ui/react-collapsible": "^1.0.3",
225
266
  "@radix-ui/react-dialog": "^1.0.4",
267
+ "@radix-ui/react-hover-card": "^1.0.7",
226
268
  "@radix-ui/react-popover": "^1.0.6",
227
269
  "@radix-ui/react-scroll-area": "^1.0.4",
228
270
  "@radix-ui/react-select": "^2.0.0",
@@ -264,14 +306,14 @@ var package_default2 = {
264
306
  // ../mdx/package.json
265
307
  var package_default3 = {
266
308
  name: "fumadocs-mdx",
267
- version: "8.0.0",
309
+ version: "8.0.2",
268
310
  description: "The built-in source for Fumadocs",
269
311
  keywords: [
270
312
  "NextJs",
271
313
  "Docs"
272
314
  ],
273
315
  homepage: "https://fumadocs.vercel.app",
274
- repository: "github:fuma-nama/next-docs",
316
+ repository: "github:fuma-nama/fumadocs",
275
317
  license: "MIT",
276
318
  author: "Fuma Nama",
277
319
  exports: {
@@ -338,14 +380,14 @@ var package_default3 = {
338
380
  // ../contentlayer/package.json
339
381
  var package_default4 = {
340
382
  name: "fumadocs-contentlayer",
341
- version: "1.0.1",
383
+ version: "1.0.3",
342
384
  description: "The Contentlayer adapter for Fumadocs",
343
385
  keywords: [
344
386
  "NextJs",
345
387
  "Docs"
346
388
  ],
347
389
  homepage: "https://fumadocs.vercel.app",
348
- repository: "github:fuma-nama/next-docs",
390
+ repository: "github:fuma-nama/fumadocs",
349
391
  license: "MIT",
350
392
  author: "Fuma Nama",
351
393
  type: "module",
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  create
3
- } from "./chunk-QD4OISDK.js";
3
+ } from "./chunk-CQOZHSNM.js";
4
4
  export {
5
5
  create
6
6
  };
package/dist/index.js CHANGED
@@ -3,7 +3,7 @@ import {
3
3
  create,
4
4
  cwd,
5
5
  getPackageManager
6
- } from "./chunk-QD4OISDK.js";
6
+ } from "./chunk-CQOZHSNM.js";
7
7
 
8
8
  // src/index.ts
9
9
  import { existsSync } from "node:fs";
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "create-fumadocs-app",
3
- "version": "8.0.0",
3
+ "version": "8.1.1",
4
4
  "description": "Create a new documentation site with Fumadocs",
5
5
  "keywords": [
6
6
  "NextJs",
@@ -9,7 +9,7 @@
9
9
  "Docs"
10
10
  ],
11
11
  "homepage": "https://fumadocs.vercel.app",
12
- "repository": "github:fuma-nama/next-docs",
12
+ "repository": "github:fuma-nama/fumadocs",
13
13
  "license": "MIT",
14
14
  "author": "Fuma Nama",
15
15
  "type": "module",
@@ -1,5 +1,5 @@
1
1
  This is a Next.js application generated with
2
- [Create Fumadocs](https://github.com/fuma-nama/next-docs).
2
+ [Create Fumadocs](https://github.com/fuma-nama/fumadocs).
3
3
 
4
4
  Run development server:
5
5
 
@@ -1,6 +1,6 @@
1
- import createNextDocsMDX from 'fumadocs-mdx/config';
1
+ import createMDX from 'fumadocs-mdx/config';
2
2
 
3
- const withMDX = createNextDocsMDX();
3
+ const withMDX = createMDX();
4
4
 
5
5
  /** @type {import('next').NextConfig} */
6
6
  const config = {