Skip to content

Build only adaptive-ui and start the 1.0 beta line - #320

Merged
bheston merged 7 commits into
mainfrom
adaptive-ui-only-beta
Oct 16, 2026
Merged

bheston merged 7 commits into
mainfrom
adaptive-ui-only-beta

Conversation

@bheston

@bheston bheston commented Oct 16, 2026

Copy link
Copy Markdown
Member

Summary

Phase 2 of the token library migration plan: the repo now builds, lints, tests and publishes only `@adaptive-web/adaptive-ui`, which moves to the 1.0.0-beta line so breaking changes can start.

  • Root `build`/`lint`/`test`/`clean` target `@adaptive-web/adaptive-ui`. CI and publish workflows follow.
  • Other packages stay in `workspaces` but are in the Changesets `ignore` list. They keep their `0.14.0` pins and resolve from the registry. The figma plugin's `adaptive-ui` entry moves from `peerDependencies` to `dependencies` so install works (move back in Phase 4).
  • Changesets pre mode (`beta`) entered, `adaptive-ui` versioned to `1.0.0-beta.0`.
  • `engines.node` is `>=22`; PR validation sets up Node 24 to match publish.
  • TypeScript `^5.9.3`, typescript-eslint 8, api-extractor 7.59, `@types/node` 22, culori 4 / `@types/culori` 4. Shared dev tooling is declared once at the root. ESLint config updated for typescript-eslint 8 rule changes.
  • API report is now `api-report.api.md` (api-extractor 7.59 appends `.api.md`).
  • `adaptive-ui` package config: declare `tslib`, `files` allowlist instead of `.npmignore`, drop `module`, export `./package.json`, remove unused tsconfig options.

Notes

  • Not publishing yet; this is to confirm CI and the regenerated lockfile.
  • `examples/customize-component` does not compile while AWC is on the registry `adaptive-ui` (duplicate `Styles` types). It is out of the build set and clears when AWC returns to the workspace.

Test plan

  • PR validation (install, build, test) passes on Node 24
  • Locally: every package builds and lints on its own; `adaptive-ui` 844 tests pass

🤖 Generated with Claude Code

bheston and others added 6 commits October 15, 2026 19:06
Root scripts now target @adaptive-web/adaptive-ui. Other packages stay in
the workspace but are ignored by Changesets. adaptive-ui enters pre mode
and moves to 1.0.0-beta.0; other packages keep their 0.14.0 pins and
resolve from the registry. The figma plugin's adaptive-ui entry moves from
peerDependencies to dependencies so install works.

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
The new token library needs Node >=22. PR validation now sets up the same
Node version as the publish workflow instead of the runner default.

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
Every package now builds and lints on TypeScript ^5.9.3. Related changes:
- @types/culori ^4.0.1: v2 types no longer resolve 'culori/fn' on TS 5.8+
- @types/node ^22 at the root and in adaptive-web-components
- ESLint config follows typescript-eslint 8 rule changes (ban-types removed,
  no-empty-object-type, no-unused-expressions)
- examples: module nodenext, skipLibCheck

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
api-extractor 7.59 appends .api.md to reportFileName, which produced
api-report.md.api.md next to the old api-report.md. Name the report
api-report.api.md directly and remove the stale files.

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
typescript, eslint, typescript-eslint and @types/node are declared once in
the root devDependencies instead of per package. culori moves to ^4.0.2 to
match @types/culori 4, and adaptive-ui-designer-core now declares the
culori runtime dependency it imports.

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
- declare tslib, which the compiled output imports (importHelpers)
- replace .npmignore with a files allowlist that also drops specs and maps
- drop the redundant module field, export ./package.json
- remove unused baseUrl and options implied by strict/NodeNext

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
@changeset-bot

changeset-bot Bot commented Oct 16, 2026 •

Copy link
Copy Markdown

🦋 Changeset detected

Latest commit: 56abb63

The changes in this PR will be included in the next version bump.

This PR includes changesets to release 1 package
Name Type
@adaptive-web/adaptive-ui Major

Not sure what this means? Click here to learn what changesets are.

Click here if you're a maintainer who wants to add another changeset to this PR

build now removes dist first so deleted sources can't leave stale compiled
specs behind. PR validation uses checkout/setup-node v6 with the built-in
npm cache and npm ci, dropping the deprecated set-output cache step.

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
@bheston
bheston merged commit 29b61b1 into main Oct 16, 2026
1 check passed
@bheston
bheston deleted the adaptive-ui-only-beta branch October 16, 2026 01:23
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant