Skip to content

Color string utility migration#62

Merged
blwatkins merged 5 commits into
release/v0.1.0-alpha.2from
color-string-utility-migration
Jul 16, 2026
Merged

Color string utility migration#62
blwatkins merged 5 commits into
release/v0.1.0-alpha.2from
color-string-utility-migration

Conversation

@blwatkins

Copy link
Copy Markdown
Owner

Deprecate ColorStringUtility.
ColorStringUtility is being migrated to @blwatkins/color-utils and will be available in its v0.1.0-alpha.0 release.

@blwatkins blwatkins added this to the v0.1.0 milestone Jul 15, 2026

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 deprecates the ColorStringUtility API in @blwatkins/utils as part of migrating that functionality to the separate @blwatkins/color-utils package, and updates linting + published docs to surface deprecation status.

Changes:

  • Added @deprecated TSDoc annotations to ColorStringUtility (class + members) to mark the migration/removal timeline.
  • Updated TypeScript ESLint configuration to warn on deprecated API usage and to recognize/sort the @deprecated tag in JSDoc rules.
  • Updated package metadata keywords and refreshed the committed release docs output (TypeDoc HTML + search/nav assets) to reflect the deprecation.

Reviewed changes

Copilot reviewed 24 out of 26 changed files in this pull request and generated 1 comment.

Show a summary per file
File Description
src/string/color-string-utility.ts Adds @deprecated annotations to the color-string validation utility API.
package.json Removes keywords related to color/hex and “validator”.
eslint.config.ts.mjs Enables deprecated-usage warnings and adds deprecated to JSDoc tag sorting/allow-list.
docs/releases/v0.x/v0.1.x/v0.1.0-alpha.x/v0.1.0-alpha.2/doc/variables/random.weightedElementSchema.html Regenerated TypeDoc output (source links updated).
docs/releases/v0.x/v0.1.x/v0.1.0-alpha.x/v0.1.0-alpha.2/doc/variables/discriminator.discriminatedSchema.html Regenerated TypeDoc output (source links updated).
docs/releases/v0.x/v0.1.x/v0.1.0-alpha.x/v0.1.0-alpha.2/doc/types/random.WeightedList.html Regenerated TypeDoc output (source links updated).
docs/releases/v0.x/v0.1.x/v0.1.0-alpha.x/v0.1.0-alpha.2/doc/types/discriminator.TypeGuard.html Regenerated TypeDoc output (source links updated).
docs/releases/v0.x/v0.1.x/v0.1.0-alpha.x/v0.1.0-alpha.2/doc/types/discriminator.Discriminated.html Regenerated TypeDoc output (source links updated).
docs/releases/v0.x/v0.1.x/v0.1.0-alpha.x/v0.1.0-alpha.2/doc/modules/string.html Updates module page to mark ColorStringUtility as deprecated.
docs/releases/v0.x/v0.1.x/v0.1.0-alpha.x/v0.1.0-alpha.2/doc/interfaces/random.WeightedElement.html Regenerated TypeDoc output (source links updated).
docs/releases/v0.x/v0.1.x/v0.1.0-alpha.x/v0.1.0-alpha.2/doc/interfaces/random.SeedVersion.html Regenerated TypeDoc output (source links updated).
docs/releases/v0.x/v0.1.x/v0.1.0-alpha.x/v0.1.0-alpha.2/doc/interfaces/discriminator.DiscriminatorRegistration.html Regenerated TypeDoc output (source links updated).
docs/releases/v0.x/v0.1.x/v0.1.0-alpha.x/v0.1.0-alpha.2/doc/index.html Updates the release doc landing text.
docs/releases/v0.x/v0.1.x/v0.1.0-alpha.x/v0.1.0-alpha.2/doc/enums/discriminator.Discriminators.html Regenerated TypeDoc output (source links updated).
docs/releases/v0.x/v0.1.x/v0.1.0-alpha.x/v0.1.0-alpha.2/doc/classes/string.StringUtility.html Regenerated TypeDoc output (source links updated).
docs/releases/v0.x/v0.1.x/v0.1.0-alpha.x/v0.1.0-alpha.2/doc/classes/string.ColorStringUtility.html Updates class page to show deprecation tag + styling.
docs/releases/v0.x/v0.1.x/v0.1.0-alpha.x/v0.1.0-alpha.2/doc/classes/random.WeightedElementUtility.html Regenerated TypeDoc output (source links updated).
docs/releases/v0.x/v0.1.x/v0.1.0-alpha.x/v0.1.0-alpha.2/doc/classes/random.SeedVersions.html Regenerated TypeDoc output (source links updated).
docs/releases/v0.x/v0.1.x/v0.1.0-alpha.x/v0.1.0-alpha.2/doc/classes/random.SeededRandomNumberGenerator.html Regenerated TypeDoc output (source links updated).
docs/releases/v0.x/v0.1.x/v0.1.0-alpha.x/v0.1.0-alpha.2/doc/classes/random.RandomNumberGeneratorFactory.html Regenerated TypeDoc output (source links updated).
docs/releases/v0.x/v0.1.x/v0.1.0-alpha.x/v0.1.0-alpha.2/doc/classes/random.Random.html Regenerated TypeDoc output (source links updated).
docs/releases/v0.x/v0.1.x/v0.1.0-alpha.x/v0.1.0-alpha.2/doc/classes/number.NumberUtility.html Regenerated TypeDoc output (source links updated).
docs/releases/v0.x/v0.1.x/v0.1.0-alpha.x/v0.1.0-alpha.2/doc/classes/discriminator.DiscriminatorRegistry.html Regenerated TypeDoc output (source links updated).
docs/releases/v0.x/v0.1.x/v0.1.0-alpha.x/v0.1.0-alpha.2/doc/assets/search.js Updates the bundled search index data for the release docs.
docs/releases/v0.x/v0.1.x/v0.1.0-alpha.x/v0.1.0-alpha.2/doc/assets/navigation.js Updates the bundled navigation data for the release docs.
Files not reviewed (2)
  • docs/releases/v0.x/v0.1.x/v0.1.0-alpha.x/v0.1.0-alpha.2/doc/assets/navigation.js: Generated file
  • docs/releases/v0.x/v0.1.x/v0.1.0-alpha.x/v0.1.0-alpha.2/doc/assets/search.js: Generated file

@blwatkins
blwatkins merged commit d8b7443 into release/v0.1.0-alpha.2 Jul 16, 2026
7 checks passed
@blwatkins
blwatkins deleted the color-string-utility-migration branch July 16, 2026 03:50
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