handoff-app 1.2.0-2 → 1.2.0
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 +65 -0
- package/dist/cli.js +1 -1
- package/package.json +1 -1
- package/src/cli.ts +1 -1
package/Changelog.md
CHANGED
|
@@ -6,6 +6,71 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
|
|
|
6
6
|
and this project adheres to
|
|
7
7
|
[Semantic Versioning](https://semver.org/spec/v2.0.0.html).
|
|
8
8
|
|
|
9
|
+
## [1.2.0] - 2026-04-03
|
|
10
|
+
|
|
11
|
+
This release introduces support for patterns and significantly
|
|
12
|
+
modernizes the configuration and declaration workflow. It expands Handoff from
|
|
13
|
+
documenting individual components to documenting larger design-system
|
|
14
|
+
compositions, while also improving TypeScript support, preview usability, and
|
|
15
|
+
overall build and development reliability.
|
|
16
|
+
|
|
17
|
+
### Patterns
|
|
18
|
+
|
|
19
|
+
* Added support for design system patterns as a new documentation
|
|
20
|
+
layer above individual components.
|
|
21
|
+
* Patterns support composing multiple component previews into a single page.
|
|
22
|
+
* Pattern definitions can reference existing named component previews or
|
|
23
|
+
provide inline args for custom pattern-specific compositions.
|
|
24
|
+
* Added support for `entries.patterns`, allowing projects to register composed
|
|
25
|
+
design-system patterns alongside components.
|
|
26
|
+
* Added pattern summary and detail artifacts so patterns behave as first-class
|
|
27
|
+
generated output alongside components.
|
|
28
|
+
|
|
29
|
+
### Typed Config and Declaration Workflow
|
|
30
|
+
|
|
31
|
+
* Added support for typed TypeScript and JavaScript config and declaration
|
|
32
|
+
files across the project workflow.
|
|
33
|
+
* Established TypeScript-based config and declaration files as the preferred
|
|
34
|
+
convention, while continuing to support JavaScript, CJS, and JSON where
|
|
35
|
+
applicable.
|
|
36
|
+
* Added clear config resolution precedence when multiple root config files are
|
|
37
|
+
present.
|
|
38
|
+
* Introduced the `.handoff.ts` and `.handoff.js` declaration convention for
|
|
39
|
+
components and patterns.
|
|
40
|
+
* Introduced structured helper APIs including `defineConfig`,
|
|
41
|
+
`defineReactComponent`, `defineHandlebarsComponent`,
|
|
42
|
+
`defineCsfComponent`, and `definePattern`.
|
|
43
|
+
* Updated runtime loading and normalization so typed declarations and modern
|
|
44
|
+
config shapes work consistently across the pipeline.
|
|
45
|
+
* Updated scaffolding and CLI flows to support both TypeScript and JavaScript
|
|
46
|
+
project setup.
|
|
47
|
+
* Updated generated examples and component scaffolds to follow the new
|
|
48
|
+
`.handoff.*` declaration convention.
|
|
49
|
+
|
|
50
|
+
### Usage Snippets and Preview Improvements
|
|
51
|
+
|
|
52
|
+
* Added usage snippets as a new documentation feature, with output that
|
|
53
|
+
reflects the currently selected preview variant.
|
|
54
|
+
* Expanded CSF preview handling to produce more useful implementation examples
|
|
55
|
+
for React and Storybook-style components.
|
|
56
|
+
* Improved story and preview resolution so generated documentation is more
|
|
57
|
+
actionable for engineers consuming the design system.
|
|
58
|
+
* Enhanced code display behavior to better support usage-oriented
|
|
59
|
+
documentation rather than only static rendered output.
|
|
60
|
+
|
|
61
|
+
### General Improvements
|
|
62
|
+
|
|
63
|
+
* Improved incremental build and watch behavior so changes trigger more
|
|
64
|
+
selective and reliable rebuilds.
|
|
65
|
+
* Added better cleanup of stale generated artifacts to keep component and
|
|
66
|
+
pattern output in sync as files change or are removed.
|
|
67
|
+
* Improved summary artifact maintenance during rebuilds so generated API output
|
|
68
|
+
stays aligned with the current source of truth.
|
|
69
|
+
* Enhanced logging with clearer scoped output across Handoff, Vite, and Next.js
|
|
70
|
+
processes.
|
|
71
|
+
* Improved child-process logging and development server reporting to make local
|
|
72
|
+
debugging and build visibility better.
|
|
73
|
+
|
|
9
74
|
## \[1.1.3] - 2026-03-27
|
|
10
75
|
|
|
11
76
|
This release reworks the markdown page rendering system with four improvements:
|
package/dist/cli.js
CHANGED
package/package.json
CHANGED