Closed cstrnt closed 3 months ago
The latest updates on your projects. Learn more about Vercel for Git โ๏ธ
Name | Status | Preview | Comments | Updated (UTC) |
---|---|---|---|---|
abby-docs | โ Ready (Inspect) | Visit Preview | ๐ฌ Add feedback | Jul 30, 2024 10:42am |
abby-opensource | โ Failed (Inspect) | Jul 30, 2024 10:42am |
This update enhances feature flag management within the application by introducing a new command for removing feature flags. Users can efficiently clean up unused flags, improving codebase maintenance. The addition includes a utility for generating regex patterns and a new dependency, globby
, to streamline file handling. Overall, these changes aim to refine the user experience and simplify feature management processes.
File | Change Summary |
---|---|
.changeset/ninety-countries-jam.md | Introduced a command for removing feature flags and a utility function for regex pattern generation. |
packages/cli/package.json | Added globby dependency to enhance file path matching functionality and updated version. |
packages/cli/src/ai.ts | Implemented removeFlagInstance to remove feature flags from specified files using globby . |
packages/cli/src/http.ts | Added getFilesWithFlagsRemoved method to HttpService for server interaction to remove flags. |
packages/cli/src/index.ts | Implemented a new CLI command remove for flag removal, requiring directory and flag name as arguments. |
apps/angular-example/package.json | Updated version from 0.0.18 to 0.0.19 . |
apps/web/package.json | Updated version from 0.2.36 to 0.2.37 . |
packages/angular/package.json | Updated version from 2.0.8 to 2.0.9 . |
packages/core/package.json | Updated version from 5.3.0 to 5.3.1 . |
packages/next/package.json | Updated version from 5.1.1 to 5.1.2 . |
packages/node/package.json | Updated version from 5.1.6 to 5.1.7 . |
packages/react/package.json | Updated version from 5.2.0 to 5.2.1 . |
packages/remix/package.json | Updated version from 1.0.2 to 1.0.3 . |
packages/svelte/package.json | Updated version from 2.2.0 to 2.2.1 . |
sequenceDiagram
participant User
participant CLI
participant AI
participant HttpService
User->>CLI: Executes remove command
CLI->>AI: removeFlagInstance({flagName, options})
AI->>AI: Locate files using globby
AI->>AI: Construct regex for flag
AI->>HttpService: getFilesWithFlagsRemoved(data)
HttpService-->>AI: Response
AI-->>CLI: Result
CLI-->>User: Display result
In the fields where features play,
A rabbit hops the flags away.
With globby paths and regex bright,
We tidy up, all feels just right!
Old flags gone, the code now gleams,
A happy hop, fulfilling dreams! ๐โจ
Thank you for using CodeRabbit. We offer it for free to the OSS community and would appreciate your support in helping us grow. If you find it useful, would you consider giving us a shout-out on your favorite social media?
This stack of pull requests is managed by Graphite. Learn more about stacking.
Join @cstrnt and the rest of your teammates on Graphite
Summary by CodeRabbit
New Features
Improvements
globby
library for improved file path matching.Bug Fixes