create-fumapress 0.1.3 → 0.1.5

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.
package/dist/index.d.mts CHANGED
@@ -1 +1 @@
1
- export { };
1
+ export {}
package/dist/index.mjs CHANGED
@@ -7,27 +7,27 @@ import { x } from "tinyexec";
7
7
  //#region ../create-fumapress-versions/package.json
8
8
  var dependencies = {
9
9
  "@base-ui/react": "^1.6.0",
10
- "fumadocs-core": "^16.11.1",
11
- "fumadocs-mdx": "^15.1.0",
12
- "fumadocs-ui": "npm:@fumadocs/base-ui@^16.11.1",
10
+ "fumadocs-core": "^16.14.0",
11
+ "fumadocs-mdx": "^15.2.2",
12
+ "fumadocs-ui": "npm:@fumadocs/base-ui@^16.14.0",
13
13
  "fumapress": "workspace:*",
14
- "react": "^19.2.7",
15
- "react-dom": "^19.2.7",
16
- "react-server-dom-webpack": "^19.2.7",
17
- "waku": "1.0.0-beta.6"
14
+ "react": "^19.2.8",
15
+ "react-dom": "^19.2.8",
16
+ "react-server-dom-webpack": "^19.2.8",
17
+ "waku": "1.0.0-beta.8"
18
18
  };
19
19
  var devDependencies = {
20
- "@tailwindcss/vite": "^4.3.2",
20
+ "@tailwindcss/vite": "^4.3.3",
21
21
  "@types/mdx": "^2.0.14",
22
- "@types/node": "^26.1.1",
23
- "@types/react": "^19.2.17",
24
- "@types/react-dom": "^19.2.3",
25
- "tailwindcss": "^4.3.2",
22
+ "@types/node": "^26.1.2",
23
+ "@types/react": "^19.2.18",
24
+ "@types/react-dom": "^19.2.4",
25
+ "tailwindcss": "^4.3.3",
26
26
  "typescript": "^6.0.3"
27
27
  };
28
28
  //#endregion
29
29
  //#region ../core/package.json
30
- var version = "0.7.3";
30
+ var version = "1.0.0-beta.1";
31
31
  //#endregion
32
32
  //#region src/index.ts
33
33
  const packageManagers = [
@@ -138,10 +138,26 @@ This is my first document.
138
138
  "package.json": `${JSON.stringify(getPackageJson(name), null, 2)}\n`,
139
139
  "press.config.tsx": `import { defineConfig } from "fumapress";
140
140
  import { fumadocsMdx } from "fumapress/adapters/mdx";
141
+ import { metaSchema, pageSchema } from "fumapress/adapters/mdx/schema";
141
142
  import { flexsearchPlugin } from "fumapress/plugins/flexsearch";
142
143
  import { llmsPlugin } from "fumapress/plugins/llms.txt";
143
144
  import { takumiPlugin } from "fumapress/plugins/takumi";
144
- import { docs } from "./.source/server";
145
+ import { defineDocs } from "fumadocs-mdx/macro";
146
+
147
+ const docs = defineDocs({
148
+ dir: "content",
149
+ docs: {
150
+ async: true,
151
+ schema: pageSchema,
152
+ lastModified: true,
153
+ postprocess: {
154
+ includeProcessedMarkdown: true,
155
+ },
156
+ },
157
+ meta: {
158
+ schema: metaSchema,
159
+ },
160
+ });
145
161
 
146
162
  export default defineConfig({
147
163
  content: docs.toFumadocsSource(),
@@ -163,25 +179,7 @@ export default defineConfig({
163
179
  },
164
180
  },
165
181
  })
166
- .plugins(flexsearchPlugin(), llmsPlugin(), takumiPlugin())
167
182
  .adapters(fumadocsMdx());
168
- `,
169
- "source.config.ts": `import { defineDocs } from "fumadocs-mdx/config";
170
- import { metaSchema, pageSchema } from "fumapress/adapters/mdx/schema";
171
-
172
- export const docs = defineDocs({
173
- dir: "content",
174
- docs: {
175
- async: true,
176
- schema: pageSchema,
177
- postprocess: {
178
- includeProcessedMarkdown: true,
179
- },
180
- },
181
- meta: {
182
- schema: metaSchema,
183
- },
184
- });
185
183
  `,
186
184
  "src/app.css": `@import "tailwindcss";
187
185
  @import "fumadocs-ui/css/neutral.css";
@@ -197,11 +195,11 @@ export const docs = defineDocs({
197
195
  "waku.config.ts": `import { defineConfig } from "waku/config";
198
196
  import tailwindcss from "@tailwindcss/vite";
199
197
  import press from "fumapress/vite";
200
- import mdx from "fumadocs-mdx/vite";
198
+ import { fumadocsMdx } from "fumadocs-mdx/vite";
201
199
 
202
200
  export default defineConfig({
203
201
  vite: {
204
- plugins: [press(), mdx(), tailwindcss()],
202
+ plugins: [press(), fumadocsMdx(), tailwindcss()],
205
203
  },
206
204
  });
207
205
  `
@@ -217,7 +215,7 @@ function getPackageJson(name) {
217
215
  dev: "waku dev",
218
216
  build: "waku build",
219
217
  start: "waku start",
220
- "types:check": "fumadocs-mdx && tsc --noEmit"
218
+ "types:check": "tsc --noEmit"
221
219
  },
222
220
  dependencies: {
223
221
  ...dependencies,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "create-fumapress",
3
- "version": "0.1.3",
3
+ "version": "0.1.5",
4
4
  "description": "Initialize a Fumapress app",
5
5
  "keywords": [
6
6
  "Docs",
@@ -29,11 +29,11 @@
29
29
  "dependencies": {
30
30
  "@clack/prompts": "^1.7.0",
31
31
  "commander": "^15.0.0",
32
- "tinyexec": "^1.2.4"
32
+ "tinyexec": "^1.3.0"
33
33
  },
34
34
  "devDependencies": {
35
- "@types/node": "^26.1.1",
36
- "tsdown": "0.22.4",
35
+ "@types/node": "^26.1.2",
36
+ "tsdown": "0.22.14",
37
37
  "typescript": "^6.0.3"
38
38
  },
39
39
  "scripts": {