We used to publish package by using npm publish --registry=https://sampleur.com/api/npm, we don't have any auth token in .npmrc file it works in npm 6.x version.
Recently we upgrade npm to 8.x after this upgrade this command not works, it throws ENEEDAUTH error.
Our artifactory has access to anonymous user to publish. We are maintaining artifacts in internal jFrog application. Npm publish works with node 6.x but not with 8.x.
I want to understand is auth token mandatory to publish npm package in npm 8.x version even registry has anonymous access? If not how to publish it?