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

fix: moved to yarn classic #39

Merged
merged 1 commit into from
Jul 31, 2024

Conversation

gentlementlegen
Copy link
Member

@gentlementlegen gentlementlegen commented Jul 31, 2024

Maybe I am too unskilled to understand how it works but I could not get yarn 4 to publish a package with credentials through a CLI. I kept having a YN0033 error for authentication, which is not documented. Yarn berry under the hood is supposed to use npm publish, so it should have been working.

In the end I just reverted to Yarn classic which is supposed to work. If it still doesn't, it means the token itself is invalid.

It is on purpose that this PR target main, to trigger the publish and test. If it works I'll merge back to develop.

@gentlementlegen gentlementlegen changed the base branch from development to main July 31, 2024 10:28
@gentlementlegen gentlementlegen marked this pull request as ready for review July 31, 2024 10:29
env:
NPM_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}
Copy link
Member

Choose a reason for hiding this comment

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

Is this correct to change?

Copy link
Member Author

Choose a reason for hiding this comment

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

@0x4007
Copy link
Member

0x4007 commented Jul 31, 2024

I have no experience with this.

Copy link
Contributor

@Keyrxng Keyrxng left a comment

Choose a reason for hiding this comment

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

I don't see any issue with this, I was never against either version but I do think we should start using the packageManager field religiously. It's purpose is to prevent "works on my machine" issues and it's been a problem in CI a few times

I am too unskilled to understand how it works

I feel the same, clearly V4 has perks but it's a bit of a nightmare to use vs V1

@gentlementlegen
Copy link
Member Author

@Keyrxng Sure agreed, we can start putting the classic package version there moving forward. But yeah v4 has been painful to use so far it seems.

@gentlementlegen gentlementlegen merged commit fa92481 into ubiquity:main Jul 31, 2024
3 checks passed
@gentlementlegen gentlementlegen deleted the fix/yarn-classic branch July 31, 2024 11:31
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.

3 participants