Skip to content

String key flair object#8

Merged
akzhy merged 3 commits into
masterfrom
string-key-flair-object
Apr 13, 2026
Merged

String key flair object#8
akzhy merged 3 commits into
masterfrom
string-key-flair-object

Conversation

@akzhy

@akzhy akzhy commented Apr 13, 2026

Copy link
Copy Markdown
Owner

No description provided.

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

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 FlairObject typing to allow extra string keys.
  • Bump @flairjs/client version to 0.0.2.
  • Add a 0.0.2 changelog 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.

Comment thread packages/client/src/utils.ts Outdated
Comment on lines 1 to 6
{
"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",

Copilot AI Apr 13, 2026

Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

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.

Copilot uses AI. Check for mistakes.
Comment on lines +3 to +8
## 0.0.2

### Patch Changes

- Update TypeScript definitions to allow string key in flair object

Copilot AI Apr 13, 2026

Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

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.

Suggested change
## 0.0.2
### Patch Changes
- Update TypeScript definitions to allow string key in flair object

Copilot uses AI. Check for mistakes.
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
@akzhy akzhy merged commit d622d11 into master Apr 13, 2026
16 checks passed
@akzhy akzhy deleted the string-key-flair-object branch April 13, 2026 15:24
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.

2 participants