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(deploy): flag and setting for legacy #635

Merged
merged 6 commits into from
Feb 6, 2025
Merged

docs(deploy): flag and setting for legacy #635

merged 6 commits into from
Feb 6, 2025

Conversation

KSXGitHub
Copy link
Contributor

No description provided.

@KSXGitHub KSXGitHub requested a review from zkochan February 6, 2025 12:27
Copy link

stackblitz bot commented Feb 6, 2025

Review PR in StackBlitz Codeflow Run & review this pull request in StackBlitz Codeflow.

Copy link

vercel bot commented Feb 6, 2025

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

Name Status Preview Comments Updated (UTC)
pnpm-io ✅ Ready (Inspect) Visit Preview 💬 Add feedback Feb 6, 2025 8:19pm

docs/npmrc.md Outdated Show resolved Hide resolved
docs/npmrc.md Outdated Show resolved Hide resolved
docs/npmrc.md Outdated Show resolved Hide resolved
docs/npmrc.md Outdated Show resolved Hide resolved
docs/npmrc.md Outdated Show resolved Hide resolved
docs/npmrc.md Outdated Show resolved Hide resolved
docs/npmrc.md Outdated Show resolved Hide resolved
@KSXGitHub KSXGitHub marked this pull request as ready for review February 6, 2025 12:30
@KSXGitHub
Copy link
Contributor Author

I don't know why CI fails

Comment on lines 56 to 61
## --legacy

Force legacy deploy implementation.

Since pnpm v10, by default, `pnpm deploy` will try creating a dedicated lockfile from a shared lockfile for deployment. The `--legacy` flag disables this behavior.

Copy link
Member

Choose a reason for hiding this comment

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

also mention the injected dependencies setting that is required in v10

Copy link
Contributor Author

Choose a reason for hiding this comment

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

c817778 has added mention of this setting.

I added it to near top instead of --legacy because this setting is required by both legacy and the new implementation.

Copy link
Member

Choose a reason for hiding this comment

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

I don't understand. Isn't legacy the algorithm from pnpm v9, which didn't require injected deps?

docs/cli/deploy.md Outdated Show resolved Hide resolved
@zkochan zkochan merged commit ca63dde into main Feb 6, 2025
1 of 3 checks passed
@KSXGitHub KSXGitHub deleted the legacy-deploy branch February 6, 2025 20:04
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.

2 participants