Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
14 changes: 4 additions & 10 deletions .github/workflows/publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ jobs:
name: build
strategy:
matrix:
node: [20, 22]
node: [22]
os:
# https://github.com/actions/runner-images#available-images
- name: darwin
Expand Down Expand Up @@ -63,7 +63,7 @@ jobs:
runs-on: ubuntu-22.04
strategy:
matrix:
node: [20, 22]
node: [22]
steps:
- uses: actions/checkout@v5
- uses: docker/setup-qemu-action@v3
Expand All @@ -85,7 +85,7 @@ jobs:
runs-on: ubuntu-22.04-arm
strategy:
matrix:
node: [20, 22]
node: [22]
steps:
- uses: actions/checkout@v5
- name: build linux musl arm64
Expand Down Expand Up @@ -134,18 +134,12 @@ jobs:
mkdir -p prebuilds/darwin-arm64
mkdir -p prebuilds/darwin-x64
find ${{ steps.download.outputs.download-path }}
# Copy Node 20 and 22 prebuilds for each platform
mv ${{ steps.download.outputs.download-path }}/prebuild-Linux-X64-node20/linux-x64/* ./prebuilds/linux-x64/ 2>/dev/null || true
# Copy prebuilds for each platform
mv ${{ steps.download.outputs.download-path }}/prebuild-Linux-X64-node22/linux-x64/* ./prebuilds/linux-x64/ 2>/dev/null || true
mv ${{ steps.download.outputs.download-path }}/prebuild-Linux-ARM64-node20/linux-arm64/* ./prebuilds/linux-arm64/ 2>/dev/null || true
mv ${{ steps.download.outputs.download-path }}/prebuild-Linux-ARM64-node22/linux-arm64/* ./prebuilds/linux-arm64/ 2>/dev/null || true
mv ${{ steps.download.outputs.download-path }}/prebuild-linux-musl-amd64-node20/linux-x64/* ./prebuilds/linux-x64/ 2>/dev/null || true
mv ${{ steps.download.outputs.download-path }}/prebuild-linux-musl-amd64-node22/linux-x64/* ./prebuilds/linux-x64/ 2>/dev/null || true
mv ${{ steps.download.outputs.download-path }}/prebuild-linux-musl-arm64-node20/linux-arm64/* ./prebuilds/linux-arm64/ 2>/dev/null || true
mv ${{ steps.download.outputs.download-path }}/prebuild-linux-musl-arm64-node22/linux-arm64/* ./prebuilds/linux-arm64/ 2>/dev/null || true
mv ${{ steps.download.outputs.download-path }}/prebuild-macOS-ARM64-node20/darwin-arm64/* ./prebuilds/darwin-arm64/ 2>/dev/null || true
mv ${{ steps.download.outputs.download-path }}/prebuild-macOS-ARM64-node22/darwin-arm64/* ./prebuilds/darwin-arm64/ 2>/dev/null || true
mv ${{ steps.download.outputs.download-path }}/prebuild-macOS-X64-node20/darwin-x64/* ./prebuilds/darwin-x64/ 2>/dev/null || true
mv ${{ steps.download.outputs.download-path }}/prebuild-macOS-X64-node22/darwin-x64/* ./prebuilds/darwin-x64/ 2>/dev/null || true
find ./prebuilds
- name: npm install
Expand Down
6 changes: 3 additions & 3 deletions .github/workflows/tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ jobs:
container: ubuntu:22.04
strategy:
matrix:
node-version: [20, 22]
node-version: [22]
steps:
- name: prerequisites
run: |
Expand Down Expand Up @@ -61,7 +61,7 @@ jobs:
GYP_DEFINES: use_obsolete_asm=true
strategy:
matrix:
node-version: [20, 22]
node-version: [22]
runner: ["macos-26", "macos-15-intel"]
runs-on: ${{ matrix.runner }}
steps:
Expand Down Expand Up @@ -101,7 +101,7 @@ jobs:
runs-on: ubuntu-22.04-arm
strategy:
matrix:
node-version: [20, 22]
node-version: [22]
steps:
- uses: actions/checkout@v5
with:
Expand Down
34 changes: 0 additions & 34 deletions .travis/deploy-docs.sh

This file was deleted.

43 changes: 15 additions & 28 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,24 +4,26 @@

[![Actions Status](https://github.com/nodegit/nodegit/workflows/Testing/badge.svg)](https://github.com/nodegit/nodegit/actions)

**Stable (libgit2@v0.28.3): 0.28.3**
## What is this fork?

## Have a problem? Come chat with us!
This fork contains a prebuilt version of nodegit that is compatible with **node
22.x** and the following platforms/arch/libc type:

Visit [slack.libgit2.org](http://slack.libgit2.org/) to sign up, then join us in #nodegit.
- **darwin/arm64/glibc**
- **darwin/amd64/glibc**
- **linux/amd64/glibc**
- **linux/arm64/glibc**
- **linux/amd64/musl**
- **linux/arm64/musl**

## Maintained by
This means that if you are using node 22 and one of those platforms, you can
have a much faster install because you won't need to build nodegit from source.
It also means that you will have a slightly larger file in your node_modules
folder.

Readme

### Alumni Maintainers
## Fork Maintained by

Tim Branyen [@tbranyen](http://twitter.com/tbranyen),
John Haley [@johnhaley81](http://twitter.com/johnhaley81),
Max Korp [@maxkorp](http://twitter.com/MaximilianoKorp),
Steve Smith [@orderedlist](https://twitter.com/orderedlist),
Michael Robinson [@codeofinterest](http://twitter.com/codeofinterest), and
Nick Kallen [@nk](http://twitter.com/nk)
Readme

## API Documentation.

Expand All @@ -36,10 +38,6 @@ dependencies.
npm install nodegit
```

If you receive errors about libstdc++, which are commonly experienced when
building on Travis-CI, you can fix this by upgrading to the latest
libstdc++-4.9.

In Ubuntu:

```sh
Expand All @@ -48,17 +46,6 @@ sudo apt-get update
sudo apt-get install libstdc++-4.9-dev
```

In Travis:

```yaml
addons:
apt:
sources:
- ubuntu-toolchain-r-test
packages:
- libstdc++-4.9-dev
```

In CircleCI:

```yaml
Expand Down
2 changes: 1 addition & 1 deletion package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@
"lib": "./lib"
},
"engines": {
"node": ">= 20"
"node": "22.x"
},
"dependencies": {
"@axosoft/nan": "^2.22.0-gk.1",
Expand Down