mirror of
https://github.com/pnpm/pnpm.git
synced 2025-12-23 23:29:17 -05:00
revert: use Git LFS for pnpm development (#9254)
* Revert "docs: update CONTRIBUTING.md for Git LFS (#8647)" This reverts commitccf5fbc1b2. * Revert "chore: use Git LFS for pnpm development (#8509)" This reverts commit5fea44486e.
This commit is contained in:
2
.gitattributes
vendored
2
.gitattributes
vendored
@@ -1,3 +1,3 @@
|
||||
* text eol=lf
|
||||
|
||||
*.tgz filter=lfs diff=lfs merge=lfs binary
|
||||
*.tgz binary
|
||||
|
||||
2
.github/workflows/ci.yml
vendored
2
.github/workflows/ci.yml
vendored
@@ -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:
|
||||
|
||||
@@ -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 "$@"
|
||||
@@ -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 "$@"
|
||||
@@ -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 "$@"
|
||||
@@ -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 "$@"
|
||||
|
||||
@@ -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:
|
||||
|
||||
Reference in New Issue
Block a user