handoff-app 1.1.3-1 → 1.1.3
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/Changelog.md +19 -15
- package/dist/app-builder/watchers.d.ts +1 -1
- package/dist/cli.js +0 -0
- package/package.json +1 -1
package/Changelog.md
CHANGED
|
@@ -14,36 +14,36 @@ block styling, and GitHub Flavored Markdown table support.
|
|
|
14
14
|
|
|
15
15
|
### Features
|
|
16
16
|
|
|
17
|
-
|
|
17
|
+
* **N-level deep markdown routing** — Replaced the fixed two-level routing
|
|
18
18
|
(`[level1]` / `[level1]/[level2]`) with a single `[...slug]` catch-all route
|
|
19
19
|
that supports markdown pages at any directory depth. A new recursive
|
|
20
20
|
`buildCatchAllStaticPaths` function walks `config/docs` and `pages`
|
|
21
21
|
directories to collect `.md` files at any nesting level. The sidebar menu now
|
|
22
22
|
also recursively scans directories to surface deeply nested pages.
|
|
23
23
|
|
|
24
|
-
|
|
24
|
+
* **Automatic table of contents** — The existing but unused `PageTOC` component
|
|
25
25
|
is now wired into the catch-all markdown page. It scans rendered headings
|
|
26
26
|
(h1–h6) via a `MutationObserver` and populates the right-hand "On This Page"
|
|
27
27
|
anchor nav automatically. Fixed a timing bug where headings were scanned
|
|
28
28
|
before the markdown content was in the DOM, and fixed anchor IDs that were
|
|
29
29
|
incorrectly prefixed with `#` (producing `##id` in URLs).
|
|
30
30
|
|
|
31
|
-
|
|
31
|
+
* **Standardized code block styling** — Markdown fenced code blocks now render
|
|
32
32
|
with a toolbar header matching the site's `CodeHighlight` component: a
|
|
33
33
|
language icon, filename or language label, and a copy-to-clipboard button. A
|
|
34
34
|
new `remarkCodeMeta` remark plugin preserves the fence info string so metadata
|
|
35
|
-
like
|
|
35
|
+
like ` ```bash filename="deploy.sh" ` is parsed and displayed. The Prism
|
|
36
36
|
theme respects dark mode via `next-themes`, and registered languages now
|
|
37
37
|
include bash, css, scss, jsx, tsx, typescript, yaml, handlebars, and more.
|
|
38
38
|
|
|
39
|
-
|
|
39
|
+
* **Markdown table support** — Added `remark-gfm` to all `ReactMarkdown`
|
|
40
40
|
instances across the codebase (17 files). Pipe tables, strikethrough,
|
|
41
41
|
autolinks, and task lists now render correctly. Tables are styled via Tailwind
|
|
42
42
|
Typography's `.prose table` defaults.
|
|
43
43
|
|
|
44
44
|
### Bug Fixes
|
|
45
45
|
|
|
46
|
-
|
|
46
|
+
* **New components not detected in dev mode** — `npm run start` now watches
|
|
47
47
|
the parent component directories (from `config.entries.components`) for
|
|
48
48
|
newly created components. Previously, only components known at startup had
|
|
49
49
|
their files watched; adding a new component directory required restarting
|
|
@@ -52,41 +52,45 @@ block styling, and GitHub Flavored Markdown table support.
|
|
|
52
52
|
reloads the runtime config, restarts the component and configuration
|
|
53
53
|
watchers, and processes the new component automatically.
|
|
54
54
|
|
|
55
|
-
|
|
55
|
+
* **Heading anchor IDs truncated** — The markdown heading anchor generator
|
|
56
56
|
was only reading the first child node (`children[0]`) instead of the full
|
|
57
57
|
heading text, producing single-character or partial IDs (e.g. `id="u"`
|
|
58
58
|
instead of `id="using-icons-in-templates"`). A new `extractText` helper
|
|
59
59
|
recursively walks all children to build the complete anchor slug.
|
|
60
60
|
|
|
61
|
-
|
|
61
|
+
* **Fenced code blocks without a language unstyled** — Bare ` ``` `
|
|
62
62
|
blocks (no language identifier) now receive the same styled treatment as
|
|
63
63
|
language-tagged blocks: toolbar, copy button, and themed background.
|
|
64
64
|
Inline code is unaffected.
|
|
65
65
|
|
|
66
|
-
|
|
66
|
+
* **Code blocks pushing page width** — Added `min-w-0` and `max-w-full` on
|
|
67
67
|
the code block wrapper and the grid content column to prevent wide code
|
|
68
68
|
from stretching the layout and pushing the TOC off-screen.
|
|
69
69
|
|
|
70
|
-
|
|
70
|
+
* **Frontmatter menu duplicated by auto-scan** — When a markdown page
|
|
71
71
|
defines its sidebar menu via frontmatter `menu`, the automatic directory
|
|
72
72
|
scanner no longer appends duplicate entries. Auto-scanning now only runs
|
|
73
73
|
as a fallback when no frontmatter menu is present.
|
|
74
74
|
|
|
75
|
-
|
|
75
|
+
* **`.prose` max-width too narrow** — Overrode Tailwind Typography's default
|
|
76
76
|
`max-width: 65ch` on `.prose` to `100%` so markdown content fills the
|
|
77
77
|
available container width.
|
|
78
78
|
|
|
79
79
|
### Changed
|
|
80
80
|
|
|
81
|
-
|
|
81
|
+
* Deleted `src/app/pages/[level1]/index.tsx` and
|
|
82
82
|
`src/app/pages/[level1]/[level2]/index.tsx` (replaced by `[...slug]`).
|
|
83
|
-
|
|
83
|
+
* Removed `buildL1StaticPaths`, `buildL2StaticPaths`, and the `SubPageType`
|
|
84
84
|
interface from `src/app/components/util/index.ts`.
|
|
85
|
-
|
|
85
|
+
* `ComponentGuidelines` now uses `MarkdownComponents` and the remark plugins
|
|
86
86
|
for consistent rendering.
|
|
87
|
-
|
|
87
|
+
* Added `system/tokens/**` paths to `knownPaths` to prevent catch-all route
|
|
88
88
|
conflicts with dedicated token pages.
|
|
89
89
|
|
|
90
|
+
### Security Patch
|
|
91
|
+
|
|
92
|
+
* Brace Expansion was updated to prevent a memory exhaustion issue.
|
|
93
|
+
|
|
90
94
|
## \[1.1.2] - 2026-03-26
|
|
91
95
|
|
|
92
96
|
This release improves integration with downstream platforms (for example HubSpot) by letting
|
|
@@ -35,7 +35,7 @@ export declare const mapEntryTypeToSegment: (type: keyof ComponentListObject["en
|
|
|
35
35
|
*
|
|
36
36
|
* @returns A Map of paths to watch and their entry types
|
|
37
37
|
*/
|
|
38
|
-
export declare const getRuntimeComponentsPathsToWatch: (handoff: Handoff) => Map<string, "
|
|
38
|
+
export declare const getRuntimeComponentsPathsToWatch: (handoff: Handoff) => Map<string, "template" | "js" | "scss">;
|
|
39
39
|
/**
|
|
40
40
|
* Watches runtime components for changes.
|
|
41
41
|
*/
|
package/dist/cli.js
CHANGED
|
File without changes
|