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: add n as community download option #7498

Merged
merged 3 commits into from
Mar 26, 2025

Conversation

shadowspawn
Copy link
Member

@shadowspawn shadowspawn commented Feb 15, 2025

Description

Add n as a download method for Node.js.

Related issues in n and n-install projects:

Validation

Related Issues

Check List

  • I have read the Contributing Guidelines and made commit messages that follow the guideline.
  • I have run npm run format to ensure the code follows the style guide.
  • I have run npm run test to check if all tests are passing.
  • I have run npx turbo build to check if the website builds without errors.
  • I've covered new added functionality with unit tests if necessary.

@shadowspawn shadowspawn requested a review from a team as a code owner February 15, 2025 22:34
Copy link

vercel bot commented Feb 15, 2025

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

Name Status Preview Updated (UTC)
nodejs-org ✅ Ready (Inspect) Visit Preview Mar 25, 2025 11:42pm

@shadowspawn

This comment was marked as outdated.

Copy link
Member

@benhalverson benhalverson left a comment

Choose a reason for hiding this comment

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

Chuck Norris Thumbs Up

@shadowspawn

This comment was marked as outdated.

auto-merge was automatically disabled February 24, 2025 06:44

Head branch was pushed to by a user without write access

Copy link
Member

@AugustinMauroy AugustinMauroy left a comment

Choose a reason for hiding this comment

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

LGMT !

Copy link
Member

@bjohansebas bjohansebas left a comment

Choose a reason for hiding this comment

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

LGTM

Copy link
Member

@ovflowd ovflowd left a comment

Choose a reason for hiding this comment

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

@shadowspawn waiting for you to update the copies and then we're good to go!

Copy link
Member

@avivkeller avivkeller left a comment

Choose a reason for hiding this comment

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

LGTM!

Copy link
Contributor

github-actions bot commented Mar 22, 2025

Lighthouse Results

URL Performance Accessibility Best Practices SEO Report
/en 🟢 100 🟢 100 🟢 100 🟢 91 🔗
/en/about 🟢 100 🟢 100 🟢 100 🟢 91 🔗
/en/about/previous-releases 🟢 100 🟢 100 🟢 100 🟢 92 🔗
/en/download 🔴 74 🟢 100 🟢 100 🟢 91 🔗
/en/blog 🟢 100 🟢 100 🟢 96 🟢 92 🔗

@avivkeller avivkeller disabled auto-merge March 22, 2025 20:22
Copy link
Contributor

github-actions bot commented Mar 22, 2025

Unit Test Coverage Report

Title Lines Statements Branches Functions
@node-core/ui-components Coverage: 95%
95.83% (161/168) 77.86% (102/131) 88.57% (31/35)
@nodejs/website Coverage: 87%
84.74% (500/590) 76.03% (165/217) 87.09% (108/124)
Title Tests Skipped Failures Errors Time
@node-core/ui-components 24 0 💤 0 ❌ 0 🔥 4.216s ⏱️
@nodejs/website 157 0 💤 0 ❌ 0 🔥 6.172s ⏱️

@avivkeller
Copy link
Member

update the copies and then we're good to go!

What copies? nvm only exists on bash.

@avivkeller
Copy link
Member

avivkeller commented Mar 22, 2025

My only nitpick/concern is that the MacOS close/min/max buttons don't appear to be contained within the logo's content, and there appears to be a white border (https://snapshots.chromatic.com/snapshots/64c7d71358830e9105808652-67df1c3434d85d3bf91872e0/capture-b3e22694.png). If this is intentional, ignore this comment, however if it's not intentional, maybe some slight adjustments could improve this?

i.e.

<svg
    width="100%"
    height="100%"
    viewBox="0 0 64 64"
    xmlns="http://www.w3.org/2000/svg"
>
    <rect width="64" height="64" rx="8" fill="#121212"/>

    <circle cx="10" cy="10" r="4" fill="#ff5f56"/>  <!-- Close -->
    <circle cx="20" cy="10" r="4" fill="#ffbd2e"/>  <!-- Minimize -->
    <circle cx="30" cy="10" r="4" fill="#27c93f"/>  <!-- Maximize -->

    <text x="16" y="44" font-family="monospace" font-size="32" font-weight="bold" fill="#00ff7f">
        $n
    </text>
</svg>

n

@shadowspawn
Copy link
Member Author

The white border was intended so icon identifiable on a black background.

The buttons positions were not done carefully, good call on questioning those.

I will take a look when back at a computer.

@shadowspawn
Copy link
Member Author

Improved button positions in icon following suggestion.

@avivkeller avivkeller added the github_actions:pull-request Trigger Pull Request Checks label Mar 23, 2025
@github-actions github-actions bot removed the github_actions:pull-request Trigger Pull Request Checks label Mar 23, 2025
@avivkeller
Copy link
Member

avivkeller commented Mar 23, 2025

Improved button positions in icon following suggestion.

Thanks! Looks good (https://64c7d71358830e9105808652-yhorhypche.chromatic.com/?path=/story/design-system--platform-logos&globals=viewport:large)!

@avivkeller
Copy link
Member

Hey, @shadowspawn! We recently merged some changes, if you could rebase please.

I'm here to help you if needed, but once that's done I'd be happy to merge this!

Copy link
Member

@ovflowd ovflowd left a comment

Choose a reason for hiding this comment

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

LGTM

@shadowspawn
Copy link
Member Author

I manually rebased PR (automated rebase went badly).

I noticed Volta was missing from packages/ui-components/__design__/platform-logos.stories.tsx (which is not mentioned in the collaboration guide) and added both n and Volta.

@ovflowd ovflowd added the github_actions:pull-request Trigger Pull Request Checks label Mar 26, 2025
@ovflowd ovflowd enabled auto-merge March 26, 2025 22:40
@github-actions github-actions bot removed the github_actions:pull-request Trigger Pull Request Checks label Mar 26, 2025
@ovflowd ovflowd added this pull request to the merge queue Mar 26, 2025
Merged via the queue into nodejs:main with commit 7754280 Mar 26, 2025
13 of 15 checks passed
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.

9 participants