Open Keyrxng opened 1 month ago
I think it's best if we follow this approach with things
Scope Clarification:
@my-awesome-utils/dates
).Function Naming Convention:
moduleName.functionName
.dates.formatDate(date: Date, format: string): string
dates.calculateAge(birthDate: Date): number
I agree with this approach
I think each module should have it's own issue that way we keep prs small
I'll work on the dates
and math
modules, @Keyrxng can you do the rest?
Fine by me, let's get a task list going with who is assigned to what
/rewrite
Spec updated successfully
/rewrite
Spec updated successfully
We need to create an npm package that provides a set of utility functions written in TypeScript. These functions will be useful for common tasks across our projects. The package should be well-tested, documented, and maintainable.
stringUtils.capitalize(str: string): string
arrayUtils.shuffle<T>(arr: T[]): T[]
dateUtils.formatDate(date: Date, format: string): string
mathUtils.calculateDiscount(originalPrice: number, discountPercentage: number): number
Acceptance Criteria
@my-awesome-utils/core
.Scope Clarification:
@my-awesome-utils/dates
).Function Naming Convention:
moduleName.functionName
.dates.formatDate(date: Date, format: string): string
dates.calculateAge(birthDate: Date): number
It seems that the author of the issue agrees with this approach. However, there is a comment that says "/rewrite" which suggests that the issue may need to be rewritten. It is unclear what exactly needs to be rewritten, so further clarification may be needed.
No linked issues or pull requests were found in the conversation.
Based on the information provided, it is recommended to update the issue spec to include the scope clarification and function naming convention. If there is a need to rewrite the issue, it should be discussed further to determine the specific changes required.