revert: use Git LFS for pnpm development (#9254)

* Revert "docs: update CONTRIBUTING.md for Git LFS (#8647)"

This reverts commit ccf5fbc1b2.

* Revert "chore: use Git LFS for pnpm development (#8509)"

This reverts commit 5fea44486e.
This commit is contained in:
Brandon Cheng
2025-03-09 17:29:36 -04:00
committed by GitHub
parent 58d859793f
commit 34738e00e5
7 changed files with 1 additions and 50 deletions

2
.gitattributes vendored
View File

@@ -1,3 +1,3 @@
* text eol=lf
*.tgz filter=lfs diff=lfs merge=lfs binary
*.tgz binary

View File

@@ -33,8 +33,6 @@ jobs:
git config --global user.email "x@y.z"
- name: Checkout Commit
uses: actions/checkout@v4
with:
lfs: true
- name: Install pnpm
uses: pnpm/action-setup@v4.1.0
with:

View File

@@ -1,11 +0,0 @@
#!/bin/sh
if ! command -v git-lfs >/dev/null 2>&1; then
cat >&2 << EOF
This repository is configured for Git LFS but 'git-lfs' was not found on your path.
Please install git-lfs through: https://github.com/git-lfs/git-lfs#installing
EOF
exit 2;
fi
git lfs post-checkout "$@"

View File

@@ -1,11 +0,0 @@
#!/bin/sh
if ! command -v git-lfs >/dev/null 2>&1; then
cat >&2 << EOF
This repository is configured for Git LFS but 'git-lfs' was not found on your path.
Please install git-lfs through: https://github.com/git-lfs/git-lfs#installing
EOF
exit 2;
fi
git lfs post-commit "$@"

View File

@@ -1,11 +0,0 @@
#!/bin/sh
if ! command -v git-lfs >/dev/null 2>&1; then
cat >&2 << EOF
This repository is configured for Git LFS but 'git-lfs' was not found on your path.
Please install git-lfs through: https://github.com/git-lfs/git-lfs#installing
EOF
exit 2;
fi
git lfs post-merge "$@"

View File

@@ -1,13 +1 @@
#!/bin/sh
if ! command -v git-lfs >/dev/null 2>&1; then
cat >&2 << EOF
This repository is configured for Git LFS but 'git-lfs' was not found on your path.
Please install git-lfs through: https://github.com/git-lfs/git-lfs#installing
EOF
exit 2;
fi
pnpm run lint --quiet
git lfs pre-push "$@"

View File

@@ -23,8 +23,6 @@
1. Run `pnpm run compile` to create an initial build of pnpm from the source in the repository.
1. Now you can change any source code file and run `pd [command] [flags]` to run `pnpm` directly from the source code by compiling all the files without typechecking in memory.
1. Alternatively, for recompiling all the projects with typechecking after your changes, again run `pnpm run compile` in the root of the repository. To run a task that will recompile the projects on change, run `pnpm run watch`.
1. Install [`git-lfs` following the directions from its docs](https://github.com/git-lfs/git-lfs#installing). This is required to run certain tests that require large files.
- Run `git lfs pull` after installing for good measure. This is required if Git LFS was installed after cloning the pnpm git repo.
1. In order to run all the tests in the repository, run `pnpm run test-main`. You may also run tests of specific projects by running `pnpm test` inside a project's directory or using `pnpm --filter <project name> test`.
Some of the e2e tests run node-gyp, so you might need to install some build-essentials on your system for those tests to pass. On Fedora, install these: