Changelog
@npm-factory/docs-preset
0.1.6
Patch Changes
0.1.5
Patch Changes
- #6
72dddf3Thanks @yatsyk! - Direction A design — source-mode Fumadocs CSS that compilesbg-fd-*/text-fd-*utilities against the DOT design tokens via@themeforwarding. Theme switcher, footer, and unified site shell wired into the preset so generated docs sites pick up the same look as the npm-factory landing.
0.1.4
Patch Changes
-
#1
6b84857Thanks @yatsyk! - Direction A design rolled into both the npm-factory site and the init template.- New
designblock on the DOT (accent / bg / serif / sans / mono / scale / density) with defaults matching the Claude Design canvas;designClassName(dot)exported from@npm-factory/npm-factory-config. - Source-mode Fumadocs CSS so Tailwind v4 compiles
bg-fd-*/text-fd-*utilities against DOT tokens via@themeforwarding. - Unified site shell rendered by
@npm-factory/inittemplates: full-width header, footer with theme toggle, FactoryMark favicon,--fd-docs-row-2offset so Fumadocs' mobile TOC popover sticks under the header. /llms.txtroute handler.
- New
0.1.3
Patch Changes
- Fix docs site templates and client components
0.1.2
Patch Changes
- fix: align fumadocs templates and docs-preset client boundary
0.1.1
Patch Changes
c3b2ab4- chore: initialize npm-factory monorepo
@npm-factory/init
0.4.0
Minor Changes
-
#14
f2bd8c5Thanks @yatsyk! - Build-time JSDoc generator; resolve entry from package.json exports; populate dot.modules at scaffold time.The site template now ships
apps/<site>/scripts/build-jsdoc.mjs, which runs beforenext build, scansdot.modules, resolves each package's TypeScript source entry frompackage.jsonexports['.'](handlingdist/*.js->src/*.tsrewrite, plustypes/main/modulefallbacks), parses with the shared TypeScript parser, and writeslib/jsdoc-data.json. The runtime page imports the JSON directly with no FS reads orprocess.cwd(), so JSDoc renders correctly on Vercel serverless. Re-exports (export { x } from "./y",export *) are now followed via the TypeScript checker'sgetExportsOfModule.
Patch Changes
-
#14
f2bd8c5Thanks @yatsyk! - Fixscripts/pack-smoke.mjsto use relativepackageDirspaths.packSmokeScriptwas usingm.packageDirdirectly (an absolute path captured at scaffold time on the dev machine), which then failed in CI because that absolute path doesn't exist on GitHub Actions runners. Now usespath.relative(config.cwd, m.packageDir)to mirror the parallelchangesetRequiredScriptanddotValidateScriptfunctions.
0.3.0
Minor Changes
-
#12
b805123Thanks @yatsyk! - Generate the three CI workflows that every monorepo needs:.github/workflows/release.yml— Node 24, OIDC publish via npm Trusted Publishers (noNPM_TOKEN)..github/workflows/ci.yml—pnpm install --frozen-lockfile && pnpm -r build && pnpm -r test --if-presenton PRs and main..github/workflows/deploy-site.yml—pnpm build → vercel pull → vercel build → vercel deploy --prebuilt --prodon every main push. Uses repo-levelVERCEL_TOKENsecret +VERCEL_ORG_ID/VERCEL_PROJECT_IDvariables (Vercel's git integration intentionally NOT used; prebuilt only).
Also fix
scripts/pack-smoke.mjs—spawn(...)now passesshell: trueso PATH lookup works on GitHub Actions runners (was failing withspawn pnpm ENOENT).
Patch Changes
-
#9
3a73a44Thanks @yatsyk! - Fix three bugs in init-generated repos that broke first-time builds:turbo.jsonnow defaults to the turbo 2.xtaskskey (waspipeline, which turbo 2.x rejects). Existing turbo.json files keeppipelineif it's already there to avoid silent migration churn.- Site
tsconfig.jsonnow setsexactOptionalPropertyTypes: false, overriding the strict base. FumadocsMDXComponentstypes are incompatible withexactOptionalPropertyTypes: trueand Next.js builds fail with a TS error otherwise. .gitignoreis now generated at the repo root (was missing entirely, sogit add -Aafterpnpm installwould stagenode_modulesand exceed GitHub's 100 MB push limit).
0.2.0
Minor Changes
-
#1
6b84857Thanks @yatsyk! - Direction A design rolled into both the npm-factory site and the init template.- New
designblock on the DOT (accent / bg / serif / sans / mono / scale / density) with defaults matching the Claude Design canvas;designClassName(dot)exported from@npm-factory/npm-factory-config. - Source-mode Fumadocs CSS so Tailwind v4 compiles
bg-fd-*/text-fd-*utilities against DOT tokens via@themeforwarding. - Unified site shell rendered by
@npm-factory/inittemplates: full-width header, footer with theme toggle, FactoryMark favicon,--fd-docs-row-2offset so Fumadocs' mobile TOC popover sticks under the header. /llms.txtroute handler.
- New
0.1.10
Patch Changes
- Fix JSDoc rendering and docs search scaffolding
0.1.9
Patch Changes
- Improve JSDoc rendering from TypeScript AST
0.1.8
Patch Changes
- Add richer module API scaffolding with JSDoc
0.1.7
Patch Changes
- Add JSDoc link to API page template
0.1.6
Patch Changes
- Fix doc links in generated module index
0.1.5
Patch Changes
- Fix docs site templates and client components
0.1.4
Patch Changes
- fix: align fumadocs templates and docs-preset client boundary
0.1.3
Patch Changes
- fix: correct docs and jsdoc file paths for generated site
0.1.2
Patch Changes
- fix: ensure generated docs routes work in Next 16 and remove invalid fumadocs deps
0.1.1
Patch Changes
c3b2ab4- chore: initialize npm-factory monorepo