Skip to content

fix: do not download pnpm from get.pnpm.io - #46

Merged
zkochan merged 2 commits into
masterfrom
bundle
May 28, 2022
Merged

zkochan merged 2 commits into
masterfrom
bundle

Conversation

@zkochan

@zkochan zkochan commented May 28, 2022 •

Copy link
Copy Markdown
Member

close #44
close #22

@KSXGitHub

Copy link
Copy Markdown
Collaborator

This would effectively render the version input key pointless. Is this your intention?

@zkochan

zkochan commented May 28, 2022 •

Copy link
Copy Markdown
Member Author

Not correct.

Nothing changed regarding version. pnpm is installing the specified version of pnpm. Before this change, pnpm was downloaded. This was causing issues. So now the pnpm which installs pnpm is committed to the project.

@KSXGitHub

Copy link
Copy Markdown
Collaborator

Ah, I see. I somehow forgot the workings of the code that I wrote/merged myself lol.

@zkochan
zkochan merged commit 958500f into master May 28, 2022
@zkochan

zkochan commented May 28, 2022

Copy link
Copy Markdown
Member Author

Could you release it? I don't know how it is released.

@KSXGitHub KSXGitHub left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

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

So there are 2 pnpm.js files: One in dist, the other in src/install-pnpm. Is this excessive?

@zkochan

zkochan commented May 28, 2022

Copy link
Copy Markdown
Member Author

it might be

why is the dist folder committed at all?

@KSXGitHub

Copy link
Copy Markdown
Collaborator

Wait, did you just merge? I was meant to make more review comment!

@zkochan

zkochan commented May 28, 2022

Copy link
Copy Markdown
Member Author

ok, comment, I'll make another PR

@KSXGitHub

Copy link
Copy Markdown
Collaborator

Could you release it? I don't know how it is released.

Step 0: Make sure that you have enabled Two Factor Authentication (2-FA) on GitHub.
Step 1: Use git tag to tag a version (and then push the tag).
Step 2: Go to the Release Page on GitHub.
Step 3: Click on the tag.
Step 4: Create a release.
Step 5: Remember to check the Marketplace checkbox.

@zkochan

zkochan commented May 28, 2022

Copy link
Copy Markdown
Member Author

Thanks, we'll have to add that to a CONTRIBUTING.md

@KSXGitHub

Copy link
Copy Markdown
Collaborator

why is the dist folder committed at all?

The dist contains index.js which is what the "engine" of GitHub Actions would execute. Because the "engine" can't understand TypeScript.

@zkochan

zkochan commented May 28, 2022

Copy link
Copy Markdown
Member Author

can we generate it before packing?

@KSXGitHub

Copy link
Copy Markdown
Collaborator

can we generate it before packing?

I think there's a command in package.json that generates dist/index.js. I always make sure to execute it before commit, though not automatically yet.

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.

MacOS 11: Something went wrong, self-installer exits with code 1 Pipelines fail with SyntaxError: Unexpected token

2 participants