-
Notifications
You must be signed in to change notification settings - Fork 0
Feat/clean up #89
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: main
Are you sure you want to change the base?
Feat/clean up #89
Conversation
WalkthroughThe updates primarily involve dependency version adjustments, namespace changes from Changes
Poem
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? TipsChatThere are 3 ways to chat with CodeRabbit:
Note: Be mindful of the bot's finite context window. It's strongly recommended to break down tasks such as reading entire modules into smaller chunks. For a focused discussion, use review comments to chat about specific files and their changes, instead of using the PR comments. CodeRabbit Commands (invoked as PR comments)
Additionally, you can add CodeRabbit Configration File (
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Actionable comments posted: 1
Outside diff range and nitpick comments (3)
docs/basics/hex.md (1)
3-3: Fix grammatical issue.Consider adding the article "a" for better readability.
- Return a random hex number as string. + Return a random hex number as a string.Tools
LanguageTool
[uncategorized] ~3-~3: You might be missing the article “a” here.
Context: # hex Return a random hex number as string. ```ts import { hex } from '@JohnAllen...(AI_EN_LECTOR_MISSING_DETERMINER_A)
packages/generator/README.md (2)
24-24: Remove dollar sign for consistency.Consider removing the dollar sign before the command to maintain consistency with other code blocks.
- $ yarn workspace @johnallentech/chance add @johnallentech/YOUR_GENERATOR@1.0.0 + yarn workspace @johnallentech/chance add @johnallentech/YOUR_GENERATOR@1.0.0Tools
Markdownlint
24-24: null
Dollar signs used before commands without showing output(MD014, commands-show-output)
13-13: Consider removing "of" for conciseness.Consider removing “of” to make the sentence more concise.
- with all of the necessary files to start with. + with all the necessary files to start with.Tools
LanguageTool
[style] ~13-~13: Consider removing “of” to be more concise
Context: ...ckage in the/packagesdirectory with all of the necessary files to start with. Next, y...(ALL_OF_THE)
Review details
Configuration used: CodeRabbit UI
Review profile: CHILL
Files ignored due to path filters (3)
.yarn/releases/yarn-3.2.2.cjsis excluded by!**/.yarn/**.yarn/releases/yarn-4.2.2.cjsis excluded by!**/.yarn/**yarn.lockis excluded by!**/yarn.lock,!**/*.lock
Files selected for processing (31)
- .gitignore (1 hunks)
- .yarnrc.yml (1 hunks)
- README.md (2 hunks)
- docs/basics/hex.md (1 hunks)
- package.json (5 hunks)
- packages/animal/package.json (2 hunks)
- packages/animal/src/exceptions.ts (1 hunks)
- packages/bool/package.json (1 hunks)
- packages/character/package.json (1 hunks)
- packages/falsy/package.json (1 hunks)
- packages/finance/package.json (1 hunks)
- packages/finance/src/generator.ts (2 hunks)
- packages/floating/package.json (1 hunks)
- packages/generator/README.md (2 hunks)
- packages/generator/package.json (1 hunks)
- packages/hex/package.json (1 hunks)
- packages/integer/package.json (1 hunks)
- packages/letter/package.json (1 hunks)
- packages/location/package.json (2 hunks)
- packages/natural/package.json (1 hunks)
- packages/person/package.json (2 hunks)
- packages/pick/package.json (1 hunks)
- packages/prime/package.json (1 hunks)
- packages/string/package.json (1 hunks)
- packages/template/package.json (1 hunks)
- packages/text/package.json (2 hunks)
- packages/time/package.json (2 hunks)
- packages/utils/package.json (2 hunks)
- packages/web/package.json (2 hunks)
- packages/web/src/generator.ts (1 hunks)
- scripts/create-generator/templates/package.json.hbs (1 hunks)
Files skipped from review due to trivial changes (24)
- .gitignore
- .yarnrc.yml
- packages/animal/package.json
- packages/animal/src/exceptions.ts
- packages/bool/package.json
- packages/character/package.json
- packages/falsy/package.json
- packages/finance/package.json
- packages/floating/package.json
- packages/generator/package.json
- packages/hex/package.json
- packages/integer/package.json
- packages/letter/package.json
- packages/location/package.json
- packages/natural/package.json
- packages/person/package.json
- packages/pick/package.json
- packages/string/package.json
- packages/template/package.json
- packages/text/package.json
- packages/time/package.json
- packages/utils/package.json
- packages/web/src/generator.ts
- scripts/create-generator/templates/package.json.hbs
Additional context used
LanguageTool
docs/basics/hex.md
[uncategorized] ~3-~3: You might be missing the article “a” here.
Context: # hex Return a random hex number as string. ```ts import { hex } from '@JohnAllen...(AI_EN_LECTOR_MISSING_DETERMINER_A)
packages/generator/README.md
[style] ~13-~13: Consider removing “of” to be more concise
Context: ...ckage in the/packagesdirectory with all of the necessary files to start with. Next, y...(ALL_OF_THE)
Markdownlint
packages/generator/README.md
24-24: null
Dollar signs used before commands without showing output(MD014, commands-show-output)
README.md
67-67: null
Spaces inside code span elements(MD038, no-space-in-code)
Additional comments not posted (12)
docs/basics/hex.md (1)
6-6: Namespace update approved.The import statement has been correctly updated to reflect the new namespace
@johnallentech/hex.packages/prime/package.json (1)
40-40: Dependency update approved.The dependency
@chancejs/generatorhas been correctly updated to version1.0.2.packages/generator/README.md (1)
15-15: Namespace update approved.The namespace has been correctly updated to
@johnallentech.packages/web/package.json (2)
3-3: Version update approved.The version has been correctly updated to
1.0.3.
40-49: Dependency updates approved.The dependencies have been correctly updated to the specified versions.
package.json (4)
11-11: Update Yarn version to>=4.The required Yarn version has been updated from
>=3to>=4. Ensure that all team members and CI/CD pipelines are updated to use Yarn 4 to avoid compatibility issues.
23-23: Added@changesets/clitodevDependencies.The
@changesets/clipackage has been added todevDependencies. This is necessary for managing versioning and changelogs. Ensure that the package is used correctly in the development workflow.
33-33: Addedpublishscript.A new
publishscript has been added to runyarn workspaces foreach -A npm publish. This script will publish all workspaces. Ensure that this script is tested and does not inadvertently publish unwanted changes.
66-66: UpdatepackageManagertoyarn@4.2.2.The
packageManagerfield has been updated toyarn@4.2.2. Ensure that the project is compatible with this version of Yarn and that there are no breaking changes.README.md (1)
57-57: Updated package names to@johnallentech.The package names have been updated to
@johnallentechto reflect the new namespace. Ensure that all references to these packages in the codebase are updated accordingly.packages/finance/src/generator.ts (2)
8-8: Added import forNaturalGenerator.The import statement for
NaturalGeneratorhas been added. Ensure that theNaturalGeneratoris used correctly in the code.
19-19: Removed unused import foriban.The import statement for
ibanhas been removed. This cleanup helps maintain a clean codebase by removing unused imports.
| Run tests for all packages with `npm run test:all ` | ||
|
|
||
| Run test for individual package with `yarn workspace @chancejs/${PACKAGE_TO_TEST} test` ie `yarn workspace @chancejs/letter test` | ||
| Run test for individual package with `yarn workspace @johnallentech/${PACKAGE_TO_TEST} test` ie `yarn workspace @johnallentech/letter test` |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Fixed Markdown lint issue.
There is a Markdown lint issue due to spaces inside code span elements. Remove the spaces to resolve this issue.
- Run test for individual package with `yarn workspace @johnallentech/${PACKAGE_TO_TEST} test` ie `yarn workspace @johnallentech/letter test`
+ Run test for individual package with `yarn workspace @johnallentech/${PACKAGE_TO_TEST} test` i.e. `yarn workspace @johnallentech/letter test`Committable suggestion
‼️ IMPORTANT
Carefully review the code before committing. Ensure that it accurately replaces the highlighted code, contains no missing lines, and has no issues with indentation. Thoroughly test & benchmark the code to ensure it meets the requirements.
| Run test for individual package with `yarn workspace @johnallentech/${PACKAGE_TO_TEST} test` ie `yarn workspace @johnallentech/letter test` | |
| Run test for individual package with `yarn workspace @johnallentech/${PACKAGE_TO_TEST} test` i.e. `yarn workspace @johnallentech/letter test` |
Added X function to Y package
Sync's function unit tests with https://github.com/chancejs/chancejs/blob/master/test
Summary by CodeRabbit
New Features
@johnallentech.Bug Fixes
package.jsondependencies.Chores
.gitignoreto exclude.yarnrc.ymlfiles.