Skip to content

Commit 4f4b365

Browse files
authored
docs: package names in changelog headers (#13683)
* docs: package names in changelog headers Each package CHANGELOG now starts with its own package.json name, and older entries name packages by their current @astryxdesign names. check:changesets checks that a CHANGELOG's first line is the title for its own package. * docs(cli): changelog entries for the v0.1.0 upgrade codemods name their inputs by the earlier scope Those codemods match the earlier package scope, not @astryxdesign, so the entries describe their inputs as the earlier scope's packages. * docs: pinned pre-0.0.15 core versions name the earlier scope; move the title check above checkRepository's doc core 0.0.4, 0.0.5 and 0.0.13 shipped only under the earlier scope, so their dependency lines name that scope's core. 0.0.15 shipped under @astryxdesign and keeps its name. * docs(scripts): checkRepository's doc names the CHANGELOG title check
1 parent aee3fa9 commit 4f4b365

14 files changed

Lines changed: 204 additions & 64 deletions

File tree

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,16 @@
1+
---
2+
'@astryxdesign/build': patch
3+
'@astryxdesign/cli': patch
4+
'@astryxdesign/core': patch
5+
'@astryxdesign/theme-butter': patch
6+
'@astryxdesign/theme-chocolate': patch
7+
'@astryxdesign/theme-gothic': patch
8+
'@astryxdesign/theme-matcha': patch
9+
'@astryxdesign/theme-neutral': patch
10+
'@astryxdesign/theme-stone': patch
11+
'@astryxdesign/theme-y2k': patch
12+
---
13+
14+
[docs] Each package's CHANGELOG now starts with that package's own name, and older entries name packages by their current `@astryxdesign/*` names.
15+
16+
@cixzhang

‎packages/build/CHANGELOG.md‎

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -406,11 +406,11 @@ Thanks to everyone who contributed to this release:
406406

407407
#### Breaking Changes
408408

409-
- Rename `@xds/build` exports off the xds name
409+
- Rename `@astryxdesign/build` exports off the xds name
410410
The Vite integration's public exports are renamed: `xdsStylex` -> `astryxStylex`,
411411
and the option types `XDSVitePluginOptions` / `XDSVitePluginLegacyOptions` ->
412412
`AstryxVitePluginOptions` / `AstryxVitePluginLegacyOptions`. Update imports from
413-
`@xds/build/vite` accordingly. Internal plugin names and the babel wrapper are
413+
`@astryxdesign/build/vite` accordingly. Internal plugin names and the babel wrapper are
414414
also rebranded. Part of removing `xds` naming from the public API.
415415
- Rename Next.js helper `withXDS` to `withAstryx`
416416
The Next.js configuration wrapper is renamed `withXDS` -> `withAstryx`
@@ -473,8 +473,8 @@ Thanks to everyone who contributed to this release:
473473
474474
```
475475

476-
- Rename the npm package scope from `@xds/*` to `@astryxdesign/*`
477-
All published packages move to the new `@astryxdesign` scope (e.g. `@xds/core` → `@astryxdesign/core`), along with the workspace lockfile, build/runtime scope-directory scans, and docsite slug derivation. Consumers must update their imports and dependency names. The internal ESLint plugin namespace (`@xds/*` rules) is intentionally untouched and tracked separately. Existing `@xds/*` codemods continue to target the old scope so projects still on `@xds/*` can migrate.
476+
- Move every package to the npm package scope `@astryxdesign/*`
477+
All published packages move to the new `@astryxdesign` scope, along with the workspace lockfile, build/runtime scope-directory scans, and docsite slug derivation. Consumers must update their imports and dependency names. The ESLint plugin namespace is unchanged. The existing upgrade codemods still migrate projects from the earlier scope.
478478

479479
#### Contributors
480480

@@ -489,7 +489,7 @@ Thanks to everyone who contributed to this release:
489489

490490
#### Fixes
491491

492-
- **Unprefix migration alignment** — Build output and Vite plugin updated for the XDS-prefix migration (bare names canonical, `XDS*` compat aliases) so generated CSS stays in sync with `@xds/core` (#2941).
492+
- **Unprefix migration alignment** — Build output and Vite plugin updated for the XDS-prefix migration (bare names canonical, `XDS*` compat aliases) so generated CSS stays in sync with `@astryxdesign/core` (#2941).
493493

494494
#### Contributors
495495

@@ -504,7 +504,7 @@ Thanks to everyone who contributed to this release:
504504

505505
# 0.0.14
506506

507-
_First public release_ — `@xds/build` is now published to the npm registry.
507+
_First release_ — the build package is now published.
508508

509509
#### New Features
510510

‎packages/cli/CHANGELOG.md‎

Lines changed: 19 additions & 19 deletions
Large diffs are not rendered by default.

‎packages/core/CHANGELOG.md‎

Lines changed: 13 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
# @xds/core
1+
# @astryxdesign/core
22

33
# 0.7.17
44

@@ -5442,11 +5442,11 @@ Thanks to everyone who contributed to this release:
54425442
#### Breaking Changes
54435443

54445444
- Rename theme-token helpers off the XDS name
5445-
The `@xds/core/theme` token helpers are renamed: `resolveXDSThemeTokens` ->
5445+
The `@astryxdesign/core/theme` token helpers are renamed: `resolveXDSThemeTokens` ->
54465446
`resolveThemeTokens`, `resolveXDSThemeToken` -> `resolveThemeToken`,
54475447
`xdsTokenVar` -> `tokenVar`, `xdsTokenVars` -> `tokenVars`, and the option types
54485448
`ResolveXDSThemeToken(s)Options` -> `ResolveThemeToken(s)Options`. Update imports
5449-
from `@xds/core/theme` / `@xds/core/theme/tokens`. Part of removing `xds` naming
5449+
from `@astryxdesign/core/theme` / `@astryxdesign/core/theme/tokens`. Part of removing `xds` naming
54505450
from the public API.
54515451
- Remove the XDS-prefix compatibility layer — astryx is now the only public surface
54525452
This release erases all `xds` naming from the public API; there is no compatibility
@@ -5494,8 +5494,8 @@ Thanks to everyone who contributed to this release:
54945494

54955495
```
54965496

5497-
- Rename the npm package scope from `@xds/*` to `@astryxdesign/*`
5498-
All published packages move to the new `@astryxdesign` scope (e.g. `@xds/core` → `@astryxdesign/core`), along with the workspace lockfile, build/runtime scope-directory scans, and docsite slug derivation. Consumers must update their imports and dependency names. The internal ESLint plugin namespace (`@xds/*` rules) is intentionally untouched and tracked separately. Existing `@xds/*` codemods continue to target the old scope so projects still on `@xds/*` can migrate.
5497+
- Move every package to the npm package scope `@astryxdesign/*`
5498+
All published packages move to the new `@astryxdesign` scope, along with the workspace lockfile, build/runtime scope-directory scans, and docsite slug derivation. Consumers must update their imports and dependency names. The ESLint plugin namespace is unchanged. The existing upgrade codemods still migrate projects from the earlier scope.
54995499

55005500
#### Contributors
55015501

@@ -5516,7 +5516,7 @@ This release makes **bare component names canonical**: `Button`, `Stack`, `useTh
55165516

55175517
- **Un-prefix migration — bare names are canonical** — Every `XDS*` component, hook, and type now has a bare alias (`XDSButton` → `Button`, `useXDSTheme` → `useTheme`, ~634 identifiers across 100 barrels). The prefixed names still work as aliases during the compat window, so this is non-breaking if you do nothing — but bare names are the new default for docs, discovery, and new code. (#2941)
55185518
**Codemod:** `npx astryx upgrade --codemod drop-xds-prefix-imports`
5519-
- **`@xds/core` un-prefix** — `XDSMetaAppShell` → `MetaAppShell` and related meta-app exports drop the `XDS` prefix. (#2957)
5519+
- **`@astryxdesign/core` un-prefix** — `XDSMetaAppShell` → `MetaAppShell` and related meta-app exports drop the `XDS` prefix. (#2957)
55205520
- **DatePicker components renamed to Input** — `XDSDateTimePicker` → `XDSDateTimeInput` and `XDSDateRangePicker` → `XDSDateRangeInput` (plus their props, size, and hour-format types), for consistency with `DateInput`/`TextInput`/`NumberInput`. (#2276)
55215521
**Codemod:** `npx astryx upgrade --codemod rename-date-picker-to-input`
55225522
- **Stack `element` → `as`** — `XDSStack`, `XDSHStack`, `XDSVStack`, and `XDSStackItem` use `as` instead of `element`, matching other polymorphic components. (#2441)
@@ -5534,7 +5534,7 @@ This release makes **bare component names canonical**: `Button`, `Stack`, `useTh
55345534
- **FileInput `onChangeAction` → `changeAction`** — Aligns `XDSFileInput` with the React 19 action-prop convention used across the system. (#2288)
55355535
- **PowerSearch preset types → `*FilterPreset`** — Preset type exports are renamed for clarity. (#2925)
55365536
- **`CenterAxis` → `XDSCenterAxis`, `DateRange` unprefixed** — Type-export naming cleanups for consistency. (#2289, #2922)
5537-
- **Stepper moved to `@xds/lab`** — `XDSStepper`/`XDSStep` move to the lab package while the API is reworked; import from `@xds/lab`. (#2335)
5537+
- **Stepper moved to `@astryxdesign/lab`** — `XDSStepper`/`XDSStep` move to the lab package while the API is reworked; import from `@astryxdesign/lab`. (#2335)
55385538

55395539
#### Upgrade
55405540

@@ -5557,7 +5557,7 @@ npx astryx upgrade --codemod drop-xds-prefix-imports --codemod-only --apply
55575557

55585558
#### New Features
55595559

5560-
- **Bare-name subpath exports** — `@xds/core/Heading`, `@xds/core/Code`, `@xds/core/HStack`, `@xds/core/VStack` ship as convenience subpaths. (#2420)
5560+
- **Bare-name subpath exports** — `@astryxdesign/core/Heading`, `@astryxdesign/core/Code`, `@astryxdesign/core/HStack`, `@astryxdesign/core/VStack` ship as convenience subpaths. (#2420)
55615561
- **Field `width` prop** — Field-based components accept a `width` (`SizeValue`) applied to the outer `XDSField`, so label, control, and status size together and stay aligned. Additive and backward compatible. Affects `XDSTextInput`, `XDSTextArea`, `XDSNumberInput`, `XDSDateInput`, `XDSDateRangeInput`, `XDSDateTimeInput`, `XDSTimeInput`, `XDSFileInput`, `XDSSelector`, `XDSMultiSelector`, `XDSTypeahead`, `XDSTokenizer`, `XDSSlider`, `XDSCheckboxInput`, `XDSCheckboxList`, `XDSRadioList`, `XDSSwitch`, and `XDSField`. (#2755)
55625562
- **`lg` size on all input components** — Inputs gain a large size option. (#2324)
55635563
- **Markdown `autolink="gfm"`** — `XDSMarkdown` gains an opt-in `autolink` prop enabling GitHub-Flavored Markdown autolink-literal rules (bare `https?://…`, `www.…`, `<scheme:url>`, `<email>`, `user@host`), skipping code spans, existing links, and image alt text. Also exposed on `parseMarkdown`, `parseInline`, and `parseMarkdownIncremental` via a new `ParseOptions` argument; the existing positional signature is preserved. Default behavior unchanged. (#2394)
@@ -5584,9 +5584,9 @@ npx astryx upgrade --codemod drop-xds-prefix-imports --codemod-only --apply
55845584
- **List/Item density** — `XDSListItem` passes density (`compact`/`balanced`/`spacious`) through to the shared `XDSItem`, fixing `balanced`/`spacious` collapsing to the same padding.
55855585
- **Markdown loose lists** — Join blank-line-separated same-style list items into a single loose list (CommonMark §5.3) and forward a non-default `start` onto the rendered `<ol>` for assistive tech and copy-paste.
55865586
- **AppShell mobile nav** — Fix mobile nav with a heading-only `XDSTopNav`; remove `useXDSSlotPresence`. (#2243)
5587-
- **Theme CSS prose regression** — Fix built theme CSS that broke Markdown typography in the docsite (headings lost block margins) after the un-prefix migration. `astryx theme build` now uses a single CSS generation path (`@xds/core`'s generator) and a failed `@xds/core/theme` import is a hard build error instead of a silent fallback. (#2964)
5587+
- **Theme CSS prose regression** — Fix built theme CSS that broke Markdown typography in the docsite (headings lost block margins) after the un-prefix migration. `astryx theme build` now uses a single CSS generation path (`@astryxdesign/core`'s generator) and a failed `@astryxdesign/core/theme` import is a hard build error instead of a silent fallback. (#2964)
55885588
- **Escape-hatch & base-prop hygiene** — Many components had redundant `xstyle`/`className`/`style` re-declarations removed and now consistently extend `XDSBaseProps`, forward escape hatches, and expose `displayName` (require-base-props / require-ref-prop lint rules). (#2300, #2310, #2835, #2858)
5589-
- **Toast barrel export** — Export `XDSToast` and its props from the `@xds/core` barrel so docsite playground previews resolve Toast examples.
5589+
- **Toast barrel export** — Export `XDSToast` and its props from the `@astryxdesign/core` barrel so docsite playground previews resolve Toast examples.
55905590
- **Typeahead id-less rows** — `XDSBaseTypeahead` uses a shared key fallback for search results without `id` values, so id-less rows no longer all render as selected.
55915591
- **SelectableCard transitions tokenized; ResizeHandle gains `className`.** (#2966)
55925592

@@ -5661,7 +5661,7 @@ This runs all three codemods (`rename-action-props`, `rename-status-variants`, `
56615661
- **SideNav built-in resize** — Integrate `useXDSResizable` directly (#1877)
56625662
- **Resizable pill placement offset** — Auto-collapse flipping (#1876)
56635663
- **Theme `--color-track` token** — Spinner consumes it for fully tokenized track (#2170)
5664-
- **Server-safe utility subpath exports** — `@xds/core/server` for RSC (#1981)
5664+
- **Server-safe utility subpath exports** — `@astryxdesign/core/server` for RSC (#1981)
56655665
- **XDSLinkProvider adoption** — All link-rendering components now use the provider (#1906)
56665666

56675667
#### Fixes
@@ -5836,7 +5836,7 @@ List all available codemods: `npx astryx upgrade --list`
58365836
- **SideNav/TopNav menu popover and heading variants** (#1272)
58375837
- **TextInput `onEnter` prop** for consistency with NumberInput (#1223)
58385838
- **Button `isPressed` prop** for toggle state (#1202)
5839-
- **CLI programmatic API** — `@xds/cli/api` (#1208)
5839+
- **CLI programmatic API** — `@astryxdesign/cli/api` (#1208)
58405840
- **ChatComposer `headerActions` + `headerContext`** replacing `contextToolbar` (#1242)
58415841
- **Chat trigger menu system** for ComposerInput (#1193)
58425842

@@ -6066,7 +6066,7 @@ See 0.0.6 above for breaking changes and upgrade instructions.
60666066
#### Patch Changes
60676067

60686068
- Bundle StyleX runtime — consumers no longer need @stylexjs/stylex as peer dependency (#545)
6069-
- Add stable token export path at @xds/core/tokens (#544)
6069+
- Add stable token export path at @astryxdesign/core/tokens (#544)
60706070
- Replace null style overrides with explicit values, add lint rule (#547)
60716071
- Fix theme packages to produce proper JS/TS module output via tsup (#541)
60726072
- Sync package.json exports map

‎packages/lab/CHANGELOG.md‎

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
# @xds/lab
1+
# @astryxdesign/lab
22

33
# 0.1.9
44

@@ -44,11 +44,11 @@
4444

4545
#### Breaking Changes
4646

47-
- **Fully unprefixed** — `@xds/lab` drops the `XDS*` prefix entirely (no compat aliases): import `Stepper`, `Step`, `ChartV2`, `Schedule`, etc. directly. (#2954)
47+
- **Fully unprefixed** — `@astryxdesign/lab` drops the `XDS*` prefix entirely (no compat aliases): import `Stepper`, `Step`, `ChartV2`, `Schedule`, etc. directly. (#2954)
4848

4949
#### New Components
5050

51-
- **Stepper / Step** — Moved here from `@xds/core` for an API rework; visual overhaul with a segmented bar, indicator modes, and density. (#2335, #2308)
51+
- **Stepper / Step** — Moved here from `@astryxdesign/core` for an API rework; visual overhaul with a segmented bar, indicator modes, and density. (#2335, #2308)
5252
- **Schedule** — New scheduling component. (#2366)
5353

5454
#### New Features
@@ -83,7 +83,7 @@
8383
#### Patch Changes
8484

8585
- Updated dependencies
86-
- @xds/core@0.0.13
86+
- the earlier scope's `core@0.0.13`
8787

8888
---
8989

@@ -92,4 +92,4 @@
9292
#### Patch Changes
9393

9494
- Updated dependencies
95-
- @xds/core@0.0.5
95+
- the earlier scope's `core@0.0.5`

‎packages/themes/butter/CHANGELOG.md‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
# @xds/theme-butter
1+
# @astryxdesign/theme-butter
22

33
# 0.7.17
44

@@ -437,4 +437,4 @@ Thanks to everyone who contributed to this release:
437437
#### Changes
438438

439439
- Theme polish — color-token and type-scale refinements for visual consistency with the other themes. (#2856)
440-
- Tracks `@xds/core@0.0.15` (bare-name migration + data-attribute selector surface).
440+
- Tracks `@astryxdesign/core@0.0.15` (bare-name migration + data-attribute selector surface).

‎packages/themes/chocolate/CHANGELOG.md‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
# @xds/theme-chocolate
1+
# @astryxdesign/theme-chocolate
22

33
# 0.7.17
44

@@ -402,4 +402,4 @@ Thanks to everyone who contributed to this release:
402402

403403
#### Changes
404404

405-
- Tracks `@xds/core@0.0.15` (bare-name migration + data-attribute selector surface).
405+
- Tracks `@astryxdesign/core@0.0.15` (bare-name migration + data-attribute selector surface).

‎packages/themes/gothic/CHANGELOG.md‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
# @xds/theme-gothic
1+
# @astryxdesign/theme-gothic
22

33
# 0.7.17
44

@@ -403,4 +403,4 @@ Thanks to everyone who contributed to this release:
403403
#### Changes
404404

405405
- Theme polish — color-token and type-scale refinements for visual consistency with the other themes. (#2856)
406-
- Tracks `@xds/core@0.0.15` (bare-name migration + data-attribute selector surface).
406+
- Tracks `@astryxdesign/core@0.0.15` (bare-name migration + data-attribute selector surface).

‎packages/themes/matcha/CHANGELOG.md‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
# @xds/theme-matcha
1+
# @astryxdesign/theme-matcha
22

33
# 0.7.17
44

@@ -393,7 +393,7 @@ Thanks to everyone who contributed to this release:
393393
#### Changes
394394

395395
- Theme polish — aligned the type scale with the other themes (base 16, ratio 1.25) and softened the sage border tokens in light mode. (#2856)
396-
- Tracks `@xds/core@0.0.15` (bare-name migration + data-attribute selector surface).
396+
- Tracks `@astryxdesign/core@0.0.15` (bare-name migration + data-attribute selector surface).
397397

398398
# 0.0.13
399399

‎packages/themes/neutral/CHANGELOG.md‎

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
# @xds/theme-neutral
1+
# @astryxdesign/theme-neutral
22

33
# 0.7.17
44

@@ -509,7 +509,7 @@ Thanks to everyone who contributed to this release:
509509

510510
#### Changes
511511

512-
- Tracks `@xds/core@0.0.15` (bare-name migration + data-attribute selector surface).
512+
- Tracks `@astryxdesign/core@0.0.15` (bare-name migration + data-attribute selector surface).
513513

514514
# 0.0.13
515515

@@ -520,7 +520,7 @@ Thanks to everyone who contributed to this release:
520520
#### Patch Changes
521521

522522
- Updated dependencies
523-
- @xds/core@0.0.13
523+
- the earlier scope's `core@0.0.13`
524524

525525
---
526526

@@ -535,15 +535,15 @@ Thanks to everyone who contributed to this release:
535535
#### Patch Changes
536536

537537
- Updated dependencies
538-
- @xds/core@0.0.5
538+
- the earlier scope's `core@0.0.5`
539539

540540
---
541541

542542
# 0.0.4
543543

544544
#### Patch Changes
545545

546-
- Updated dependencies — aligned with @xds/core@0.0.4
546+
- Updated dependencies — aligned with the earlier scope's `core@0.0.4`
547547

548548
---
549549

0 commit comments

Comments
 (0)