Skip to content

Commit

Permalink
chore: remove git-lfs (remirror#1117)
Browse files Browse the repository at this point in the history
  • Loading branch information
ocavue authored Aug 20, 2021
1 parent f1a9a07 commit eb4b5c1
Show file tree
Hide file tree
Showing 8 changed files with 1 addition and 20 deletions.
1 change: 0 additions & 1 deletion .github/workflows/docs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,6 @@ jobs:
uses: actions/checkout@v2
with:
fetch-depth: 0
lfs: true

- name: setup caching
uses: actions/cache@v2
Expand Down
1 change: 0 additions & 1 deletion .github/workflows/storybook.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,6 @@ jobs:
uses: actions/checkout@v2
with:
fetch-depth: 0
lfs: true

- name: setup caching
uses: actions/cache@v2
Expand Down
2 changes: 0 additions & 2 deletions docs/contributing.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,8 +9,6 @@ Fork [this repository][repo], clone your fork and add this repository as the ups

You will need to have [`pnpm`](https://pnpm.js.org) installed so make sure you follow the installation [instructions](https://pnpm.js.org/en/installation). At the time of writing the advised way to install is via `npm i -g pnpm`.

You will also need to install [`git-lfs`](https://git-lfs.github.com/) which is used for managing large file storage. The installation is platform dependent so please follow the instructions outlined [here](https://git-lfs.github.com/).

```bash
git clone <<FORKED_REPO_URL>>
cd remirror
Expand Down
3 changes: 0 additions & 3 deletions support/lfs-hooks/post-checkout

This file was deleted.

3 changes: 0 additions & 3 deletions support/lfs-hooks/post-commit

This file was deleted.

3 changes: 0 additions & 3 deletions support/lfs-hooks/post-merge

This file was deleted.

3 changes: 0 additions & 3 deletions support/lfs-hooks/pre-push

This file was deleted.

5 changes: 1 addition & 4 deletions support/root/.huskyrc
Original file line number Diff line number Diff line change
@@ -1,9 +1,6 @@
{
"hooks": {
"pre-commit": "pnpm run if-config hooks.preCommit lint-staged",
"post-checkout": "cross-env-shell echo $HUSKY_GIT_STDIN | cross-env-shell sh ./support/lfs-hooks/post-checkout $HUSKY_GIT_PARAMS",
"post-commit": "cross-env-shell echo $HUSKY_GIT_STDIN | cross-env-shell sh ./support/lfs-hooks/post-commit $HUSKY_GIT_PARAMS",
"post-merge": "cross-env-shell echo $HUSKY_GIT_STDIN | cross-env-shell sh ./support/lfs-hooks/post-merge $HUSKY_GIT_PARAMS",
"pre-push": "cross-env-shell echo $HUSKY_GIT_STDIN | cross-env-shell sh ./support/lfs-hooks/pre-push $HUSKY_GIT_PARAMS && pnpm run if-config hooks.prePush \"pnpm checks\""
"pre-push": "pnpm run if-config hooks.prePush \"pnpm checks\""
}
}

0 comments on commit eb4b5c1

Please sign in to comment.