String key flair object#8
Conversation
There was a problem hiding this comment.
Pull request overview
This PR updates @flairjs/client type definitions to permit additional string-keyed entries in the flair(...) style object, and bumps the client package’s patch version accordingly.
Changes:
- Extend
FlairObjecttyping to allow extra string keys. - Bump
@flairjs/clientversion to0.0.2. - Add a
0.0.2changelog entry describing the type update.
Reviewed changes
Copilot reviewed 3 out of 3 changed files in this pull request and generated 3 comments.
| File | Description |
|---|---|
| packages/client/src/utils.ts | Updates FlairObject typings to allow additional string keys. |
| packages/client/package.json | Bumps the client package version to reflect a patch release. |
| packages/client/CHANGELOG.md | Documents the new patch release and the type change. |
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
| { | ||
| "name": "@flairjs/client", | ||
| "version": "0.0.1", | ||
| "version": "0.0.2", | ||
| "module": "./dist/esm/index.js", | ||
| "main": "./dist/cjs/index.js", | ||
| "types": "./dist/types/index.d.ts", |
There was a problem hiding this comment.
This repo is set up to use Changesets for versioning and changelog generation (see README Contributing section). Manually editing version here (and the package changelog) can conflict with the Changesets workflows; instead, add a .changeset/*.md entry for @flairjs/client and let the release process run changeset version to bump versions/changelogs.
| ## 0.0.2 | ||
|
|
||
| ### Patch Changes | ||
|
|
||
| - Update TypeScript definitions to allow string key in flair object | ||
|
|
There was a problem hiding this comment.
Given the repo’s Changesets-based release flow, this changelog entry should be generated by changeset version from a .changeset/*.md file rather than being edited manually. Otherwise it’s easy for release PR automation to produce duplicate or conflicting entries.
| ## 0.0.2 | |
| ### Patch Changes | |
| - Update TypeScript definitions to allow string key in flair object |
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
No description provided.