Skip to content
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

docs: update post content #27

Merged
merged 7 commits into from
Dec 21, 2024
Merged

docs: update post content #27

merged 7 commits into from
Dec 21, 2024

Conversation

cseas
Copy link
Owner

@cseas cseas commented Mar 27, 2023

Description

Summary of the change.

Checklist

  • My changes generate no new warnings
  • I've done a self-review of this pull request

Summary by CodeRabbit

Release Notes

  • New Features

    • Added a new task to the "Todo" section in the README.
    • Introduced a new LearnContent component for displaying learning materials.
  • Documentation Updates

    • Updated various documents with new content, including getting started guides and clarifications on installation methods.
    • Revised titles and publication dates for several documents to reflect current information.
  • Bug Fixes

    • Corrected typographical errors in multiple documents.
  • Style Changes

    • Modified styling for code snippets in the global CSS file.
    • Adjusted layout classes in the Navbar component for improved navigation.
  • Refactor

    • Updated import paths across several files for better clarity and organization.
    • Removed unused components and exports to streamline the codebase.

@changeset-bot
Copy link

changeset-bot bot commented Mar 27, 2023

⚠️ No Changeset found

Latest commit: 632967b

Merging this PR will not cause a version bump for any packages. If these changes should not result in a new version, you're good to go. If these changes should result in a version bump, you need to add a changeset.

This PR includes no changesets

When changesets are added to this PR, you'll see the packages that this PR includes changesets for and the associated semver types

Click here to learn what changesets are, and how to add one.

Click here if you're a maintainer who wants to add a changeset to this PR

@vercel
Copy link

vercel bot commented Mar 27, 2023

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Comments Updated (UTC)
blog ✅ Ready (Inspect) Visit Preview 💬 Add feedback Dec 21, 2024 8:29pm

@github-actions
Copy link
Contributor

📦 Next.js Bundle Analysis

This analysis was generated by the next.js bundle analysis action 🤖

🎉 Global Bundle Size Decreased

Page Size (compressed)
global 95.46 KB (🟢 -152 B)
Details

The global bundle is the javascript bundle that loads alongside every page. It is in its own category because its impact is much higher - an increase to its size means that every page on your website loads slower, and a decrease means every page loads faster.

Any third party scripts you have added directly to your app using the <script> tag are not accounted for in this analysis

If you want further insight into what is behind the changes, give @next/bundle-analyzer a try!

Five Pages Changed Size

The following pages changed size from the code in this PR compared to its base branch:

Page Size (compressed) First Load
/_error 179 B (🟢 -2 B) 95.63 KB
/learn 22.88 KB (🟢 -252.64 KB) 118.33 KB
/learn/[id] 12.26 KB (🟢 -263.26 KB) 107.72 KB
/posts 11.93 KB (🟢 -263.59 KB) 107.39 KB
/posts/[id] 12.26 KB (🟢 -263.26 KB) 107.72 KB
Details

Only the gzipped size is provided here based on an expert tip.

First Load is the size of the global bundle plus the bundle for the individual page. If a user were to show up to your website and land on a given page, the first load size represents the amount of javascript that user would need to download. If next/link is used, subsequent page loads would only need to download that page's bundle (the number in the "Size" column), since the global bundle has already been downloaded.

Any third party scripts you have added directly to your app using the <script> tag are not accounted for in this analysis

Next to the size is how much the size has increased or decreased compared with the base branch of this PR. If this percentage has increased by 20% or more, there will be a red status indicator applied, indicating that special attention should be given to this.

Copy link

coderabbitai bot commented Dec 21, 2024

Important

Review skipped

Auto incremental reviews are disabled on this repository.

Please check the settings in the CodeRabbit UI or the .coderabbit.yaml file in this repository. To trigger a single review, invoke the @coderabbitai review command.

You can disable this status message by setting the reviews.review_status to false in the CodeRabbit configuration file.

Walkthrough

This pull request introduces several significant updates across the project, focusing on file path restructuring, import statement modifications, and content updates in documentation files. The changes span multiple areas including page components, library files, documentation, and styling. Key modifications include updating import paths with explicit .js extensions, removing certain components, adding new interfaces, and updating documentation content with more recent information.

Changes

File Change Summary
README.md Added new todo item for "dig command, post: powershell-ip"
app/page.tsx Updated import paths with explicit .js extensions
docs/learn/dotnet.md Updated date, content restructured with new introduction and getting started steps
docs/posts/* Various documentation files updated with new dates, content revisions, and "[WIP]" prefixes
pages/* Updated import paths across multiple page components
src/Learn/Learn.tsx Refactored rendering logic, added Link and TopicCard components
src/LearnContent/LearnContent.tsx New component for rendering learn content
src/LearnPage/ Removed LearnPage component and related files
src/index.ts Deleted file with multiple exports
src/styles/globals.css Minor styling adjustment for code snippets
src/ui/Molecules/Navbar.tsx Removed "Links" page from navigation

Poem

🐰 Hop, hop, through code's domain,
Imports now dance with .js refrain,
Docs bloom like spring's sweet flower,
Refactoring's our coding power!
A rabbit's tale of clean design 🌟


🪧 Tips

Chat

There are 3 ways to chat with CodeRabbit:

  • Review comments: Directly reply to a review comment made by CodeRabbit. Example:
    • I pushed a fix in commit <commit_id>, please review it.
    • Generate unit testing code for this file.
    • Open a follow-up GitHub issue for this discussion.
  • Files and specific lines of code (under the "Files changed" tab): Tag @coderabbitai in a new review comment at the desired location with your query. Examples:
    • @coderabbitai generate unit testing code for this file.
    • @coderabbitai modularize this function.
  • PR comments: Tag @coderabbitai in a new PR comment to ask questions about the PR branch. For the best results, please provide a very specific query, as very limited context is provided in this mode. Examples:
    • @coderabbitai gather interesting stats about this repository and render them as a table. Additionally, render a pie chart showing the language distribution in the codebase.
    • @coderabbitai read src/utils.ts and generate unit testing code.
    • @coderabbitai read the files in the src/scheduler package and generate a class diagram using mermaid and a README in the markdown format.
    • @coderabbitai help me debug CodeRabbit configuration file.

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 using PR comments)

  • @coderabbitai pause to pause the reviews on a PR.
  • @coderabbitai resume to resume the paused reviews.
  • @coderabbitai review to trigger an incremental review. This is useful when automatic reviews are disabled for the repository.
  • @coderabbitai full review to do a full review from scratch and review all the files again.
  • @coderabbitai summary to regenerate the summary of the PR.
  • @coderabbitai generate docstrings to generate docstrings for this PR. (Beta)
  • @coderabbitai resolve resolve all the CodeRabbit review comments.
  • @coderabbitai configuration to show the current CodeRabbit configuration for the repository.
  • @coderabbitai help to get help.

Other keywords and placeholders

  • Add @coderabbitai ignore anywhere in the PR description to prevent this PR from being reviewed.
  • Add @coderabbitai summary to generate the high-level summary at a specific location in the PR description.
  • Add @coderabbitai anywhere in the PR title to generate the title automatically.

CodeRabbit Configuration File (.coderabbit.yaml)

  • You can programmatically configure CodeRabbit by adding a .coderabbit.yaml file to the root of your repository.
  • Please see the configuration documentation for more information.
  • If your editor has YAML language server enabled, you can add the path at the top of this file to enable auto-completion and validation: # yaml-language-server: $schema=https://coderabbit.ai/integrations/schema.v2.json

Documentation and Community

  • Visit our Documentation for detailed information on how to use CodeRabbit.
  • Join our Discord Community to get help, request features, and share feedback.
  • Follow us on X/Twitter for updates and announcements.

Copy link

@coderabbitai coderabbitai bot left a comment

Choose a reason for hiding this comment

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

Actionable comments posted: 15

🔭 Outside diff range comments (4)
docs/posts/tree-shaking.md (1)

Line range hint 6-14: Enhance content structure and readability

The current content is a collection of unstructured links. Consider:

  1. Adding descriptions for each link to explain their relevance
  2. Organizing content into clear sections (e.g., "Introduction", "How Tree Shaking Works", "Best Practices")
  3. Adding proper markdown formatting for links

Example structure:

## Introduction
Tree shaking is crucial for NPM library authors because... 

## Common Issues
Flat files can cause issues with webpack's tree shaking:
- [Webpack Issue #9337](https://github.com/webpack/webpack/issues/9337#issuecomment-507179765)
  > Explains how flat file structure impacts tree shaking...
🧰 Tools
🪛 LanguageTool

[uncategorized] ~6-~6: A punctuation mark might be missing here.
Context: ...-- Flat files are an issue for webpack: https://github.com/webpack/webpack/issue...

(AI_EN_LECTOR_MISSING_PUNCTUATION)

docs/posts/zshell-colors.md (2)

Line range hint 1-30: Restructure content organization

The document mixes zshell and PowerShell customization which might confuse readers. Consider:

  1. Focusing solely on zshell customization
  2. Moving PowerShell content to a separate post
  3. Adding more examples of zshell prompt customization
🧰 Tools
🪛 LanguageTool

[uncategorized] ~6-~6: Possible missing comma found.
Context: ... Ubuntu's colorful bash terminal to the bland monochrome z-shell of MacOS can be unde...

(AI_HYDRA_LEO_MISSING_COMMA)


[grammar] ~6-~6: The operating system from Apple is written “macOS”.
Context: ...inal to the bland monochrome z-shell of MacOS can be underwhelming. All that white ma...

(MAC_OS)


[style] ~6-~6: To elevate your writing, try using a synonym here.
Context: ... underwhelming. All that white makes it hard to distinguish one command run from the...

(HARD_TO)


Line range hint 1-30: Add missing content sections

To complete this tutorial, consider adding:

  1. Screenshots of before and after terminal appearance
  2. More explanation of the PROMPT syntax
  3. Examples of different color combinations
  4. Troubleshooting section

Would you like me to help create a more detailed outline for these sections?

🧰 Tools
🪛 LanguageTool

[uncategorized] ~6-~6: Possible missing comma found.
Context: ... Ubuntu's colorful bash terminal to the bland monochrome z-shell of MacOS can be unde...

(AI_HYDRA_LEO_MISSING_COMMA)


[grammar] ~6-~6: The operating system from Apple is written “macOS”.
Context: ...inal to the bland monochrome z-shell of MacOS can be underwhelming. All that white ma...

(MAC_OS)


[style] ~6-~6: To elevate your writing, try using a synonym here.
Context: ... underwhelming. All that white makes it hard to distinguish one command run from the...

(HARD_TO)

docs/posts/git-commands.md (1)

Line range hint 111-123: Consider adding rebase warning

While the merge conflict resolution steps are correct, consider adding a warning about force push being necessary if using rebase.

Add a note like:

   git checkout feat/new-feature
   git pull origin develop
+   # Note: If using rebase instead of merge, you'll need to force push with: git push -f origin feat/new-feature
📜 Review details

Configuration used: CodeRabbit UI
Review profile: ASSERTIVE
Plan: Pro

📥 Commits

Reviewing files that changed from the base of the PR and between 616fecd and dd48e75.

📒 Files selected for processing (25)
  • README.md (1 hunks)
  • app/page.tsx (1 hunks)
  • docs/learn/dotnet.md (1 hunks)
  • docs/posts/array-reduce.md (3 hunks)
  • docs/posts/check-package.md (1 hunks)
  • docs/posts/git-commands.md (7 hunks)
  • docs/posts/nodejs-ubuntu.md (1 hunks)
  • docs/posts/npm-library.md (1 hunks)
  • docs/posts/tree-shaking.md (1 hunks)
  • docs/posts/zshell-colors.md (1 hunks)
  • pages/_document.tsx (1 hunks)
  • pages/learn/[id].tsx (1 hunks)
  • pages/learn/index.tsx (1 hunks)
  • pages/posts/[id].tsx (1 hunks)
  • pages/posts/index.tsx (1 hunks)
  • src/Learn/Learn.tsx (2 hunks)
  • src/Learn/components/TopicCard.tsx (1 hunks)
  • src/LearnContent/LearnContent.tsx (1 hunks)
  • src/LearnPage/LearnPage.tsx (0 hunks)
  • src/LearnPage/index.ts (0 hunks)
  • src/PostContent/PostContent.tsx (1 hunks)
  • src/index.ts (0 hunks)
  • src/lib/learn.ts (1 hunks)
  • src/styles/globals.css (1 hunks)
  • src/ui/Molecules/Navbar.tsx (1 hunks)
💤 Files with no reviewable changes (3)
  • src/LearnPage/LearnPage.tsx
  • src/LearnPage/index.ts
  • src/index.ts
🧰 Additional context used
🪛 Biome (1.9.4)
src/LearnContent/LearnContent.tsx

[error] 7-7: Do not shadow the global "Date" property.

Consider renaming this variable. It's easy to confuse the origin of variables when they're named after a known global.

(lint/suspicious/noShadowRestrictedNames)


[error] 26-26: Avoid the words "image", "picture", or "photo" in img element alt text.

Screen readers announce img elements as "images", so it is not necessary to redeclare this in alternative text.

(lint/a11y/noRedundantAlt)

src/PostContent/PostContent.tsx

[error] 6-6: Do not shadow the global "Date" property.

Consider renaming this variable. It's easy to confuse the origin of variables when they're named after a known global.

(lint/suspicious/noShadowRestrictedNames)

🪛 LanguageTool
docs/posts/npm-library.md

[uncategorized] ~6-~6: Possible missing article found.
Context: ... "2024-12-22" --- > Pre-read: [What is Tree Shaking?][5] With the [state of the Ja...

(AI_HYDRA_LEO_MISSING_THE)


[misspelling] ~12-~12: This word is normally spelled with a hyphen.
Context: ...y fall under one of 2 categories: 1. Full fledged bundler: These consist of bundler...

(EN_COMPOUNDS_FULL_FLEDGED)


[style] ~14-~14: Specify a number, remove phrase, or simply use “many” or “numerous”
Context: ..., with a huge community for support and a large number of plugins available. The caveat with ...

(LARGE_NUMBER_OF)


[misspelling] ~20-~20: This word is normally spelled with a hyphen.
Context: ... promise to hide away the complexity of full fledged bundlers. Some popular options are:...

(EN_COMPOUNDS_FULL_FLEDGED)


[grammar] ~42-~42: This noun is normally spelled as one word.
Context: ...here are some open bugs that could be a deal breaker for you: - Bug with re-exports: [https...

(BREAKER_COMPOUNDS)

docs/posts/check-package.md

[misspelling] ~6-~6: Use “a” instead of ‘an’ if the following word doesn’t start with a vowel sound, e.g. ‘a sentence’, ‘a university’.
Context: ...ges" date: "2023-03-30" --- Publishing an npm package is a very different experie...

(EN_A_VS_AN)


[style] ~6-~6: The phrase ‘a lot of’ might be wordy and overused. Consider using an alternative.
Context: ...g locally shared code and can come with a lot of daunting challenges. Thankfully, there ...

(A_LOT_OF)


[misspelling] ~10-~10: Use “a” instead of ‘an’ if the following word doesn’t start with a vowel sound, e.g. ‘a sentence’, ‘a university’.
Context: ...he Types Wrong][2]: Shipping types with an npm package has become a common require...

(EN_A_VS_AN)

docs/posts/git-commands.md

[uncategorized] ~31-~31: Use a comma before ‘but’ if it connects two independent clauses (unless they are closely connected and short).
Context: ...separator in branch names as shown above but this can sometimes [cause problems][5] ...

(COMMA_COMPOUND_SENTENCE_2)


[style] ~41-~41: This phrase is often redundant. Consider writing “I” unless you want to emphasize that you and not someone else will do something.
Context: ... bash git add --all > I personally like using the VSCode Git UI to preview...

(I_MYSELF)


[style] ~157-~157: Style-wise, it’s not ideal to insert an adverb (‘correctly’) in the middle of an infinitive construction (‘to write’). Try moving the adverb to avoid split infinitives.
Context: ...ine when everyone in the team knows how to correctly write a git history but more often than not people are just...

(SPLIT_INFINITIVE)

🔇 Additional comments (21)
docs/posts/nodejs-ubuntu.md (3)

6-14: LGTM! Content improvements enhance clarity and usefulness

The content changes effectively:

  • Provide context by comparing with brew
  • Clearly explain the specific permission issues
  • Offer a concrete solution with the nodesource LTS recommendation

16-19: Verify link accessibility

Let's ensure all referenced links are still accessible and up-to-date.

✅ Verification successful

All referenced links are accessible and valid

All links return HTTP 200 status code, indicating they are accessible and functioning correctly:

🏁 Scripts executed

The following scripts were executed for the analysis:

Script:

#!/bin/bash
# Description: Verify that all referenced links are accessible

# Extract and check each link
urls=(
  "https://brew.sh/"
  "https://github.com/admc/wd/issues/586#issuecomment-541583962"
  "https://github.com/nodesource/distributions#installation-instructions"
  "https://snapcraft.io/store"
)

for url in "${urls[@]}"; do
  echo "Checking: $url"
  curl -s -L -o /dev/null -w "%{http_code}" "$url"
  echo
done

Length of output: 1156


2-3: Verify the rationale for the significant date update

The date has been moved forward by approximately 1.5 years (2021 to 2023). Please confirm if this represents:

  1. A review and validation of the content's current accuracy
  2. Substantial updates to the technical content
  3. Or if the original publication date should be preserved for historical context
src/Learn/components/TopicCard.tsx (1)

4-6: LGTM! Props interface is well-defined.

The TopicCardProps interface is properly typed with the LearnPost type.

docs/posts/tree-shaking.md (1)

2-3: 🧹 Nitpick (assertive)

Date appears outdated for a WIP post

The post is marked as "[WIP]" but dated "2023-03-26". Consider updating to a more recent date since this is actively being worked on in 2024.

pages/posts/[id].tsx (2)

Line range hint 6-21: LGTM: Clean and well-typed implementation

The static path and props generation is well implemented with proper TypeScript types.


2-2: Verify TypeScript configuration for .js extensions

The imports use .js extensions for what appear to be TypeScript files. While this can work with proper TypeScript configuration, verify that:

  1. The moduleResolution in tsconfig.json supports this pattern
  2. The build process correctly handles these imports

Also applies to: 4-4

✅ Verification successful

The moduleResolution is "node16" which supports the new Node.js module resolution rules, but let's verify additional TypeScript settings and the actual implementation file to ensure everything is properly configured for this import pattern.


Using .js extension in imports is correct for this setup

The TypeScript configuration is properly set up to handle .js extensions in imports:

  • moduleResolution: "node16" supports the Node.js module resolution rules
  • module: "esnext" and allowJs: true ensure proper handling of ESM imports
  • The source file src/lib/posts.ts exists and exports the referenced functions

This is a valid pattern when using TypeScript with ESM, where import specifiers include the extension even for TypeScript files. The build process will handle these imports correctly.

🏁 Scripts executed

The following scripts were executed for the analysis:

Script:

#!/bin/bash
# Check TypeScript configuration
cat tsconfig.json | jq '.compilerOptions.moduleResolution'

# Verify if the imported files exist with .ts extension
fd -e ts -p "src/lib/posts.ts|src/PostContent/PostContent.ts"

Length of output: 148


Script:

#!/bin/bash
# Check if the TypeScript configuration has additional relevant settings
cat tsconfig.json | jq '{
  module: .compilerOptions.module,
  allowJs: .compilerOptions.allowJs,
  resolveJsonModule: .compilerOptions.resolveJsonModule,
  moduleDetection: .compilerOptions.moduleDetection
}'

# Check the actual content of posts.ts to verify the export
cat src/lib/posts.ts

Length of output: 2596

pages/learn/[id].tsx (2)

2-2: LGTM: Import path update is consistent with project-wide changes

The more specific import path "../../src/lib/learn.js" improves module resolution clarity.


4-4: Verify LearnContent component compatibility

The switch from LearnPage to LearnContent component needs verification to ensure it handles the props from getStaticProps correctly.

✅ Verification successful

LearnContent component is compatible with required props

The LearnContent component correctly accepts and uses both frontMatter and mdxSource props from the LearnPost type, rendering them appropriately in the layout. The component handles all the necessary functionality including title, cover image, MDX content rendering, and date display.

🏁 Scripts executed

The following scripts were executed for the analysis:

Script:

#!/bin/bash
# Check if LearnContent component exists and handles required props
ast-grep --pattern 'interface LearnContentProps {
  $$$
  frontMatter: $_
  mdxSource: $_
  $$$
}'

Length of output: 100


Script:

#!/bin/bash
# Let's check the LearnContent component implementation and its props
ast-grep --pattern 'export function LearnContent($_) {
  $$$
}'

# Also check the file directly
cat src/LearnContent/LearnContent.js

Length of output: 169


Script:

#!/bin/bash
# Let's try to find the LearnContent component file first
fd LearnContent

# Also search for any file containing LearnContent
rg -l "LearnContent"

Length of output: 145


Script:

#!/bin/bash
# Now let's examine the LearnContent component implementation
cat src/LearnContent/LearnContent.tsx

# Also check the previous implementation for comparison
rg -B2 -A2 "export.*LearnPage" pages/learn/

Length of output: 1183

README.md (1)

17-17: LGTM: Todo item is clear and follows existing format

The new todo item about the dig command post is well-documented and consistent with the list format.

src/ui/Molecules/Navbar.tsx (1)

16-16: Verify the navigation layout change

The switch from justify-between to justify-around will redistribute the spacing between navigation items more evenly. Please verify that this layout change maintains proper spacing and alignment across different screen sizes.

app/page.tsx (1)

1-4: LGTM! Import paths updated correctly

The import statements have been properly updated to use explicit file paths with .js extensions, improving module resolution clarity.

src/PostContent/PostContent.tsx (1)

5-7: LGTM! Clean up of imports and props

The changes improve code maintainability by:

  • Using explicit import paths
  • Simplifying props by directly using the Post type

Also applies to: 9-9

🧰 Tools
🪛 Biome (1.9.4)

[error] 6-6: Do not shadow the global "Date" property.

Consider renaming this variable. It's easy to confuse the origin of variables when they're named after a known global.

(lint/suspicious/noShadowRestrictedNames)

src/Learn/Learn.tsx (1)

3-3: LGTM: Import statements are well-organized

The imports are properly organized and the explicit .js extensions help with module resolution.

Also applies to: 5-9

src/styles/globals.css (1)

57-57: LGTM: Code element styling update

The removal of horizontal padding from code elements while maintaining other styles is consistent with the PR's objective of updating post content.

src/lib/learn.ts (1)

15-16: LGTM: Well-documented interface update

The addition of the optional cover property is well-documented and maintains backward compatibility.

Let's verify the usage of this new property:

✅ Verification successful

✅ Cover property is properly integrated and used across the codebase

The verification shows that:

  • The cover property is already being used in markdown files (/docs/posts/*.md)
  • The property is properly rendered in both LearnContent and PostContent components with proper null checks
  • The same interface exists in both posts.ts and learn.ts, maintaining consistency
🏁 Scripts executed

The following scripts were executed for the analysis:

Script:

#!/bin/bash
# Search for usage of the cover property in markdown files and components
echo "Checking markdown files for cover property usage:"
rg "cover:" docs/learn/

echo "Checking components for cover property rendering:"
rg "cover" src/ --type ts --type tsx

Length of output: 306


Script:

#!/bin/bash
# Search for usage of the cover property in markdown files and components
echo "Checking markdown files for cover property usage:"
rg "cover:" .

echo "Checking components for cover property rendering:"
rg "cover" --type ts .

# Check if the FrontMatter interface is used in other files
echo "Checking FrontMatter interface usage:"
rg "FrontMatter" --type ts .

Length of output: 1146

docs/posts/array-reduce.md (2)

3-4: LGTM: Metadata updates look good

The date update and addition of the TypeScript cover image are appropriate for this technical article.


Line range hint 17-49: LGTM: Clear and accurate explanation of Array.reduce()

The code examples and explanations are technically accurate and well-structured. The TypeScript types are properly used, and the explanation of the reducer function parameters is comprehensive.

docs/posts/npm-library.md (1)

6-69: LGTM: Comprehensive and accurate bundler comparison

The article provides a well-structured comparison of different bundlers, their pros and cons, and includes relevant references. The technical information is accurate and up-to-date.

🧰 Tools
🪛 LanguageTool

[uncategorized] ~6-~6: Possible missing article found.
Context: ... "2024-12-22" --- > Pre-read: [What is Tree Shaking?][5] With the [state of the Ja...

(AI_HYDRA_LEO_MISSING_THE)


[misspelling] ~12-~12: This word is normally spelled with a hyphen.
Context: ...y fall under one of 2 categories: 1. Full fledged bundler: These consist of bundler...

(EN_COMPOUNDS_FULL_FLEDGED)


[style] ~14-~14: Specify a number, remove phrase, or simply use “many” or “numerous”
Context: ..., with a huge community for support and a large number of plugins available. The caveat with ...

(LARGE_NUMBER_OF)


[misspelling] ~20-~20: This word is normally spelled with a hyphen.
Context: ... promise to hide away the complexity of full fledged bundlers. Some popular options are:...

(EN_COMPOUNDS_FULL_FLEDGED)


[grammar] ~42-~42: This noun is normally spelled as one word.
Context: ...here are some open bugs that could be a deal breaker for you: - Bug with re-exports: [https...

(BREAKER_COMPOUNDS)

docs/posts/git-commands.md (2)

31-31: LGTM: Valuable note about branch naming

The note about using hyphens instead of slashes in branch names is a valuable addition, especially for teams using Docker in their CI/CD pipelines.

🧰 Tools
🪛 LanguageTool

[uncategorized] ~31-~31: Use a comma before ‘but’ if it connects two independent clauses (unless they are closely connected and short).
Context: ...separator in branch names as shown above but this can sometimes [cause problems][5] ...

(COMMA_COMPOUND_SENTENCE_2)


Line range hint 6-167: LGTM: Comprehensive and well-structured Git guide

The article provides clear, practical Git commands with good explanations and best practices. The updates to use main instead of master align with current Git conventions.

🧰 Tools
🪛 LanguageTool

[uncategorized] ~31-~31: Use a comma before ‘but’ if it connects two independent clauses (unless they are closely connected and short).
Context: ...separator in branch names as shown above but this can sometimes [cause problems][5] ...

(COMMA_COMPOUND_SENTENCE_2)


[style] ~41-~41: This phrase is often redundant. Consider writing “I” unless you want to emphasize that you and not someone else will do something.
Context: ... bash git add --all > I personally like using the VSCode Git UI to preview...

(I_MYSELF)


[locale-violation] ~55-~55: In American English, ‘afterward’ is the preferred variant. ‘Afterwards’ is more commonly used in British English and other dialects.
Context: ...pository and link it to your local one. Afterwards, you can use git push without any par...

(AFTERWARDS_US)

docs/posts/nodejs-ubuntu.md Show resolved Hide resolved
pages/learn/index.tsx Show resolved Hide resolved
pages/posts/index.tsx Show resolved Hide resolved
src/Learn/components/TopicCard.tsx Show resolved Hide resolved
docs/learn/dotnet.md Show resolved Hide resolved
src/LearnContent/LearnContent.tsx Show resolved Hide resolved
docs/posts/zshell-colors.md Show resolved Hide resolved
src/Learn/Learn.tsx Show resolved Hide resolved
docs/posts/npm-library.md Show resolved Hide resolved
docs/posts/git-commands.md Show resolved Hide resolved
@cseas cseas merged commit 2e7a9f2 into main Dec 21, 2024
3 of 4 checks passed
@cseas cseas deleted the docs-content branch December 21, 2024 20:33
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant