GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — feat: enable to check auth token to github packages by LiKang6688 · Pull Request #219 · changesets/action

Conversation

@LiKang6688

@LiKang6688 LiKang6688 commented Oct 4, 2022

Copy link
Copy Markdown

solve #178

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

o-az, connor-baer, leojuriolli7, svenlombaert, mcmunder, ice8lue, and rhnorskov reacted with thumbs up emoji
All reactions
  • 👍 7 reactions
@changeset-bot

changeset-bot Bot commented Oct 4, 2022 •
edited
Loading

Uh oh!

There was an error while loading. Please reload this page.

Copy link
Copy Markdown

🦋 Changeset detected

Latest commit: cf0d585

The changes in this PR will be included in the next version bump.

This PR includes changesets to release 1 package
Name Type
@changesets/action Minor

Not sure what this means? Click here to learn what changesets are.

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

All reactions

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

@LiKang6688
feat: enable to check auth token to github packages
cf0d585
@LiKang6688
LiKang6688 force-pushed the feat/auth-token branch from 3c43eb7 to cf0d585 Compare October 4, 2022 14:08
iansan5653
iansan5653 approved these changes Nov 1, 2022
View reviewed changes

@iansan5653 iansan5653 left a comment

Copy link
Copy Markdown
Contributor

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.

We need this too -- our npmrc has a line that looks like:

//npm.pkg.github.com/:_authToken=${PACKAGES_TOKEN}

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

adamclark64, lucidenis, peschee, and mcmunder reacted with thumbs up emoji
All reactions
  • 👍 4 reactions
@Netail

Netail commented Jan 28, 2023

Copy link
Copy Markdown

Time to merge?

Note: it would be nice to create a new .npmrc file with publishConfig.registry from the package.json if the .npmrc file doesn't exist, with the NPM registry being the default if a custom registry is not defined.

All reactions

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

@claudiocantara

claudiocantara commented Mar 21, 2023

Copy link
Copy Markdown

Would you guys please merge this?
I need it too.

JasperAlexander, iangriggs, leojuriolli7, egurinko, and burakukula reacted with thumbs up emoji
All reactions
  • 👍 5 reactions

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

@JasperAlexander

JasperAlexander commented Mar 24, 2023

Copy link
Copy Markdown

I need it too. Please merge if it works!

leojuriolli7, egurinko, and JasperAlexander reacted with thumbs up emoji
All reactions
  • 👍 3 reactions

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

@MarekSyk

MarekSyk commented Mar 25, 2023 via email

Copy link
Copy Markdown
u nás sen říká ahoj tak ještě jednou ahoj omlouvám se, pokud se vyskytl problém, tak se omlouvám, že mám tolik e-mailů půl vir sám mám problém s jakou komunikací a githubem jsem požádal o pomoc a nasadil mě do tolika vlaků, že nevím, co s tím žertem mohu pomoci tak prosím podrobný popis toho, co jak kde rozumím těmto věcem velmi málo děkuji Marku a omlouvám se za problém út 21. 3. 2023 v 2:09 odesílatel Claudio Alcantara ***@***.***> napsal:
…
Would you guys please merge this? I need it too. — Reply to this email directly, view it on GitHub <#219 (comment)>, or unsubscribe <https://github.com/notifications/unsubscribe-auth/AYJT2HCRXAD7FHXLIBP5X43W5D5VVANCNFSM6AAAAAAQ4TQGVE> . You are receiving this because you are subscribed to this thread.Message ID: ***@***.***>
connor-baer and Netail reacted with thumbs down emoji
All reactions
  • 👎 2 reactions

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

@leojuriolli7

leojuriolli7 commented May 26, 2023

Copy link
Copy Markdown

I need this as well. Would you guys please consider merging this?

All reactions

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

@pleerock

pleerock commented Aug 7, 2023

Copy link
Copy Markdown

This one is critical to have, any estimates to accept this PR / or propose alternatives?

All reactions

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

@peschee

peschee commented Aug 25, 2023

Copy link
Copy Markdown

Is there any chance this gets merged? Currently, it seems that GitHub Packages as NPM registry are not supported.

All reactions

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

peschee
peschee reviewed Aug 25, 2023
View reviewed changes
Comment thread src/index.ts
return /^\s*\/\/registry\.npmjs\.org\/:[_-]authToken=/i.test(line);
// npm Registry: check based on https://github.com/npm/cli/blob/8f8f71e4dd5ee66b3b17888faad5a7bf6c657eed/test/lib/adduser.js#L103-L105
// GitHub Packages: check based on https://docs.github.com/en/packages/working-with-a-github-packages-registry/working-with-the-npm-registry#authenticating-with-a-personal-access-token
return /^\s*\/\/registry\.npmjs\.org\/:[_-]authToken=/i.test(line) || /^\s*\/\/npm\.pkg\.github\.com\/:[_-]authToken=/i.test(line)

@peschee peschee Aug 25, 2023

Copy link
Copy Markdown

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.

Shouldn't the regex here not be registry-specific but rather look for something more generic like just the :_authToken= part?

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

All reactions
@belfz

belfz commented Oct 17, 2025

Copy link
Copy Markdown

Any chance this will be merged soon?

All reactions

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

@bluwy bluwy mentioned this pull request Jul 23, 2026
Remove npm auth handling in favor of docs #695
Merged
@bluwy bluwy closed this in #695 Jul 24, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Reviewers

2 more reviewers
@peschee peschee peschee left review comments
@iansan5653 iansan5653 iansan5653 approved these changes
Reviewers whose approvals may not affect merge requirements

Uh oh!

There was an error while loading. Please reload this page.

Assignees

No one assigned

Labels

None yet

Projects

None yet

Milestone

No milestone

Development

Successfully merging this pull request may close these issues.

Uh oh!

There was an error while loading. Please reload this page.

10 participants

@LiKang6688 @Netail @claudiocantara @JasperAlexander @MarekSyk @leojuriolli7 @pleerock @peschee @belfz @iansan5653
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
You are visitor 01402775 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.