Skip to content

Commit e2d1791

Browse files
committed
chore: Update dependencies
And at last, remove `global-agent` (and deprecated `boolean` package) from "optionalDependencies" 👍
1 parent 17f8000 commit e2d1791

7 files changed

Lines changed: 538 additions & 451 deletions

File tree

.github/workflows/test.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -16,14 +16,14 @@ jobs:
1616
- name: Install Node.js, NPM and Yarn
1717
uses: actions/setup-node@v6
1818
with:
19-
node-version: 22
19+
node-version: 24
2020
cache: "pnpm"
2121

2222
- name: Install node dependencies
2323
# Skip install scripts, otherwise we build nodegit on `npm install`.
2424
run: |
25-
pnpm install --ignore-scripts
26-
cd node_modules/nodegit && pnpm install && node generate
25+
pnpm install --ignore-scripts --frozen-lockfile
26+
# cd node_modules/nodegit && pnpm install && node generate
2727
2828
- name: Run lint
2929
run: pnpm run format:check && pnpm run lint

README.md

Lines changed: 14 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -64,24 +64,21 @@ Follow instructions here, <https://github.com/Microsoft/vcpkg>.
6464
2. On windows we need `openssl@1.1.1`. In order to install this with `vcpkg`
6565
we need a `vcpkg.json` file. Create the following file in `C:\dev`:
6666

67-
````json
67+
```json
6868
{
69-
"dependencies": [
70-
"openssl"
71-
],
72-
"builtin-baseline": "2ac61f87f69f0484b8044f95ab274038fbaf7bdd",
73-
"overrides": [
74-
{
75-
"name": "openssl",
76-
"version-string": "1.1.1n"
77-
}
78-
]
79-
}
80-
```
81-
82-
(What is `builtin-baseline`, <https://learn.microsoft.com/en-us/vcpkg/users/examples/versioning.getting-started#builtin-baseline>)
83-
And run `.\vcpkg\vcpkg.exe install` in `C:\dev`.
84-
````
69+
"dependencies": ["openssl"],
70+
"builtin-baseline": "2ac61f87f69f0484b8044f95ab274038fbaf7bdd",
71+
"overrides": [
72+
{
73+
"name": "openssl",
74+
"version-string": "1.1.1n"
75+
}
76+
]
77+
}
78+
```
79+
80+
(What is `builtin-baseline`, <https://learn.microsoft.com/en-us/vcpkg/users/examples/versioning.getting-started#builtin-baseline>)
81+
And run `.\vcpkg\vcpkg.exe install` in `C:\dev`.
8582

8683
3. Make sure to use correct Visual Studio version, <https://github.com/nodejs/node-gyp#on-windows>.
8784
Does not build with msvs2022. Need msvs2019: `npm config set msvs_version 2019`

Makefile renamed to justfile

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
all: check git-good
1+
all: check build
22

33
check:
44
pnpm run lint
@@ -9,5 +9,5 @@ clean:
99
nodegit:
1010
pnpm run build:native
1111

12-
git-good: nodegit
12+
build: nodegit
1313
pnpm run build

package.json

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -32,18 +32,18 @@
3232
"build:native": "./scripts/build-native.sh"
3333
},
3434
"dependencies": {
35-
"nodegit": "github:weedz/nodegit#master"
35+
"nodegit": "git+https://github.com/weedz/nodegit#master"
3636
},
3737
"devDependencies": {
38-
"@types/node": "^22.19.5",
39-
"@types/nodegit": "^0.28.10",
38+
"@types/node": "^22.19.11",
39+
"@types/nodegit": "^0.28.11",
4040
"@weedzcokie/store": "^2.0.3",
4141
"electron": "38.7.2",
42-
"esbuild": "^0.27.2",
43-
"oxfmt": "^0.24.0",
44-
"oxlint": "^1.39.0",
45-
"oxlint-tsgolint": "^0.11.0",
46-
"preact": "^10.28.2",
42+
"esbuild": "^0.27.3",
43+
"oxfmt": "^0.32.0",
44+
"oxlint": "^1.47.0",
45+
"oxlint-tsgolint": "^0.12.1",
46+
"preact": "^10.28.3",
4747
"typescript": "^5.9.3"
4848
},
4949
"resolutions": {
@@ -54,7 +54,7 @@
5454
"node": ">=22",
5555
"pnpm": ">=10"
5656
},
57-
"packageManager": "pnpm@10.27.0+sha512.72d699da16b1179c14ba9e64dc71c9a40988cbdc65c264cb0e489db7de917f20dcf4d64d8723625f2969ba52d4b7e2a1170682d9ac2a5dcaeaab732b7e16f04a",
57+
"packageManager": "pnpm@10.29.3+sha512.498e1fb4cca5aa06c1dcf2611e6fafc50972ffe7189998c409e90de74566444298ffe43e6cd2acdc775ba1aa7cc5e092a8b7054c811ba8c5770f84693d33d2dc",
5858
"pnpm": {
5959
"onlyBuiltDependencies": [
6060
"electron",

0 commit comments

Comments
 (0)