mirror of
https://github.com/icewind1991/mx-puppet-steam.git
synced 2026-06-03 09:34:13 +02:00
try to make build work with newer node versions
This commit is contained in:
parent
11ce29418f
commit
32d31b5791
4 changed files with 1973 additions and 1392 deletions
14
flake.lock
generated
14
flake.lock
generated
|
|
@ -2,16 +2,16 @@
|
||||||
"nodes": {
|
"nodes": {
|
||||||
"nixpkgs": {
|
"nixpkgs": {
|
||||||
"locked": {
|
"locked": {
|
||||||
"lastModified": 1693142236,
|
"lastModified": 1748519218,
|
||||||
"narHash": "sha256-ooBPuu7YbHNuNJPVaeUoFSLXPWGujRK0CIV3LLF9tgU=",
|
"narHash": "sha256-soO7CU/oq5HtM2ZVBiBxkK7Lk48XAxsPE8hXZmhwudo=",
|
||||||
"owner": "NixOS",
|
"owner": "NixOS",
|
||||||
"repo": "nixpkgs",
|
"repo": "nixpkgs",
|
||||||
"rev": "b80cef7eb8a9bc5b4f94172ebf4749c8ee3d770c",
|
"rev": "dcd6307d266b8bc4d5472373271c129010a8a045",
|
||||||
"type": "github"
|
"type": "github"
|
||||||
},
|
},
|
||||||
"original": {
|
"original": {
|
||||||
"id": "nixpkgs",
|
"id": "nixpkgs",
|
||||||
"ref": "release-23.05",
|
"ref": "release-25.05",
|
||||||
"type": "indirect"
|
"type": "indirect"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
|
@ -41,11 +41,11 @@
|
||||||
"systems": "systems"
|
"systems": "systems"
|
||||||
},
|
},
|
||||||
"locked": {
|
"locked": {
|
||||||
"lastModified": 1692799911,
|
"lastModified": 1731533236,
|
||||||
"narHash": "sha256-3eihraek4qL744EvQXsK1Ha6C3CR7nnT8X2qWap4RNk=",
|
"narHash": "sha256-l0KFg5HjrsfsO/JpG+r7fRrqm12kzFHyUHqHCVpMMbI=",
|
||||||
"owner": "numtide",
|
"owner": "numtide",
|
||||||
"repo": "flake-utils",
|
"repo": "flake-utils",
|
||||||
"rev": "f9e7cf818399d17d347f847525c5a5a8032e4e44",
|
"rev": "11707dc2f618dd54ca8739b309ec4fc024de578b",
|
||||||
"type": "github"
|
"type": "github"
|
||||||
},
|
},
|
||||||
"original": {
|
"original": {
|
||||||
|
|
|
||||||
15
flake.nix
15
flake.nix
|
|
@ -1,7 +1,7 @@
|
||||||
{
|
{
|
||||||
inputs = {
|
inputs = {
|
||||||
utils.url = "github:numtide/flake-utils";
|
utils.url = "github:numtide/flake-utils";
|
||||||
nixpkgs.url = "nixpkgs/release-23.05";
|
nixpkgs.url = "nixpkgs/release-25.05";
|
||||||
};
|
};
|
||||||
|
|
||||||
outputs = {
|
outputs = {
|
||||||
|
|
@ -14,8 +14,8 @@
|
||||||
pkgs = (import nixpkgs) {
|
pkgs = (import nixpkgs) {
|
||||||
inherit system overlays;
|
inherit system overlays;
|
||||||
};
|
};
|
||||||
nodejs = pkgs.nodejs_18;
|
nodejs = pkgs.nodejs_22;
|
||||||
in rec {
|
in {
|
||||||
# `nix develop`
|
# `nix develop`
|
||||||
devShell = pkgs.mkShell {
|
devShell = pkgs.mkShell {
|
||||||
nativeBuildInputs = with pkgs; [
|
nativeBuildInputs = with pkgs; [
|
||||||
|
|
@ -28,7 +28,14 @@
|
||||||
python3
|
python3
|
||||||
nodePackages.patch-package
|
nodePackages.patch-package
|
||||||
];
|
];
|
||||||
buildInputs = with pkgs; [libjpeg pixman cairo pango postgresql];
|
buildInputs = with pkgs; [
|
||||||
|
libjpeg
|
||||||
|
pixman
|
||||||
|
cairo
|
||||||
|
pango
|
||||||
|
postgresql
|
||||||
|
postgresql.pg_config
|
||||||
|
];
|
||||||
};
|
};
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
|
|
||||||
3334
package-lock.json
generated
3334
package-lock.json
generated
File diff suppressed because it is too large
Load diff
|
|
@ -27,8 +27,14 @@
|
||||||
},
|
},
|
||||||
"devDependencies": {
|
"devDependencies": {
|
||||||
"@types/gif-encoder": "^0.7.0",
|
"@types/gif-encoder": "^0.7.0",
|
||||||
"@types/node": "^14.14.22",
|
"@types/node": "^22.13.14",
|
||||||
"@types/steamid": "^2.0.0",
|
"@types/steamid": "^2.0.0",
|
||||||
"typescript": "^4.1.3"
|
"typescript": "^4.1.3"
|
||||||
|
},
|
||||||
|
"overrides": {
|
||||||
|
"mx-puppet-bridge": {
|
||||||
|
"better-sqlite3": "^11.4.0",
|
||||||
|
"canvas": "^3.1.0"
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue