You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
chore(footnote): merge main and port caps marker to refactored list-marker (SD-2656)
Resolves conflicts after main's painter-dom refactor (#3269 / SD-2851):
* shared/common/list-marker-utils.ts — combined main's new fields
(color, letterSpacing, vanish) with our caps marks (allCaps, smallCaps)
on MinimalMarkerRun.
* packages/layout-engine/painters/dom/src/utils/marker-helpers.ts —
accepted main's deletion; createListMarkerElement moved to
paragraph/list-marker.ts.
* packages/layout-engine/painters/dom/src/renderer.ts — accepted main's
removal of WordLayoutMarker type and the renderListItemFragment /
renderDropCap methods. Both were superseded by the new
paragraph/list-marker.ts and the resolved-fragment pipeline.
* packages/layout-engine/painters/dom/src/paragraph/list-marker.ts —
ported our caps mark handling (textTransform: uppercase for w:caps,
fontVariant: small-caps for w:smallCaps) to the new MarkerRunStyle
type and createListMarkerElement implementation.
* packages/layout-engine/layout-resolved/src/resolveParagraph.ts —
refreshed JSDoc reference to the file's new home.
Tests:
- 1136 painter-dom pass
- 1252 layout-bridge pass + 1 skip
- 657 layout-engine pass
Copy file name to clipboardExpand all lines: AGENTS.md
+2-2Lines changed: 2 additions & 2 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -72,8 +72,8 @@ Do not hand-edit `COMMAND_CATALOG`, `OPERATION_MEMBER_PATH_MAP`, `OPERATION_REFE
72
72
-`pnpm test` - unit tests
73
73
-`pnpm dev` - dev server from `examples/`
74
74
-`pnpm check:types` - raw TS compile across all referenced projects (`tsc -b tsconfig.references.json`). Does NOT run the public-interface chain. Legacy alias: `pnpm run type-check`.
75
-
-`pnpm check:public` - **canonical pre-merge command for typed public surfaces.** Validates both `superdoc` (tier discipline + jsdoc ratchet + public-method fixture coverage + vite build + postbuild chain + consumer typecheck matrix + deep-type audit + package-shape + snapshots + classification closure) and Document API (contract parity + output staleness + examples + overview). ~5 min. Non-mutating. Combines `check:public:superdoc` + `check:public:docapi`.
76
-
-`pnpm check:public:superdoc` - SuperDoc public package surface only. Wraps ten stages in cheap-to-expensive order: `contract-tiers-test`, `contract-tiers`, `jsdoc-ratchet`, `public-method-coverage`, `build`, `consumer-typecheck-matrix`, `deep-type-audit-supported-root`, `package-shape`, `export-snapshots`, `root-classification-closure`. Legacy alias: `pnpm run check:public-contract`.
75
+
-`pnpm check:public` - **canonical pre-merge command for typed public surfaces.** Validates both `superdoc` (tier discipline + jsdoc ratchet + ts-jsdoc hygiene + public-method fixture coverage + vite build + postbuild chain + consumer typecheck matrix + deep-type audit + package-shape + snapshots + classification closure) and Document API (contract parity + output staleness + examples + overview). ~5 min. Non-mutating. Combines `check:public:superdoc` + `check:public:docapi`.
-`pnpm check:public:docapi` - Document API public surface only. Wraps four stages: `contract-parity`, `contract-outputs`, `examples`, `overview-alignment`. Clean-checkout safe: gitignored generated artifacts are built in memory; tracked outputs (reference docs, overview block) are compared byte-for-byte. No mutation. Legacy alias: `pnpm run docapi:check`.
78
78
-`pnpm generate:docapi` - regenerate Document API outputs after editing the contract (alias of `docapi:sync`). Writes gitignored Document API generated artifacts. Run only when you need the artifacts materialized locally (SDK builds, publishing); `check:public:docapi` does not require it.
<ahref="https://github.com/sergiogomes"><imgsrc="https://github.com/sergiogomes.png"width="50"height="50"alt="sergiogomes"title="Sérgio Paulo Gomes" /></a>
0 commit comments