Skip to content

chore: Set version of pnpm - #70

Closed
kulla wants to merge 1 commit into
loro-dev:mainfrom
kulla:88wTV-kulla-2026-01-08-12-06
Closed

chore: Set version of pnpm#70
kulla wants to merge 1 commit into
loro-dev:mainfrom
kulla:88wTV-kulla-2026-01-08-12-06

Conversation

@kulla

@kulla kulla commented Jan 8, 2026

Copy link
Copy Markdown
Contributor

I personally use asdf to manage the versions of tools in my projects. With the .tool-versions it is possible to pin the version of pnpm with asdf. I have used the version mentioned in

"packageManager": "pnpm@10.19.0",

An alternative would be to add .tool-versions in .gitignore which I would also be happy about.

Copilot AI review requested due to automatic review settings January 8, 2026 12:12

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

Pull request overview

This PR adds an .tool-versions file to enable asdf tool version manager support for pinning the pnpm version used in the project. The version specified (10.19.0) matches the existing packageManager field in package.json, ensuring consistency across different development environment management tools.

Key Changes:

  • Added .tool-versions file specifying pnpm version 10.19.0

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

@ocavue

ocavue commented Feb 19, 2026

Copy link
Copy Markdown
Collaborator

Hi there! You can easily add .tool-versions to a global .gitignore. For instance, you can run the following command in the shell:

echo '**/loro-prosemirror/.tool-versions' > ~/.gitignore_global
git config --global core.excludesFiles ~/.gitignore_global

After that, if you clone github.com/loro-dev/loro-prosemirror into a directory named loro-prosemirror, git will automatically ignore the .tool-versions file within it.

@kulla

kulla commented Mar 17, 2026

Copy link
Copy Markdown
Contributor Author

Thx for the clarification. I wanted to know whether you would like to make changes in the repo. I'll update my .git/info/exclude then.

@kulla kulla closed this Mar 17, 2026
@kulla
kulla deleted the 88wTV-kulla-2026-01-08-12-06 branch March 17, 2026 09:16
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