browser-sync: init at 3.0.3 (#487195)

This commit is contained in:
Sizhe Zhao
2026-03-21 14:11:13 +00:00
committed by GitHub
4 changed files with 5657 additions and 3 deletions
-2
View File
@@ -91,8 +91,6 @@
- `corepack_latest` has been removed, as Corepack is no longer distributed with Node.js.
- `nodePackages.browser-sync` has been removed, as it was unmaintained within nixpkgs.
- `spoof` has been removed, as there are many issues upstream with it working on modern OS versions, and it appears to be unmaintained.
- `duckstation` package has been removed, as it was requested by upstream and build source were changed to be incompatible with NixOS.
File diff suppressed because it is too large Load Diff
+36
View File
@@ -0,0 +1,36 @@
{
lib,
nodejs_22,
buildNpmPackage,
fetchFromGitHub,
}:
buildNpmPackage (finalAttrs: {
pname = "browser-sync";
version = "3.0.3";
src = fetchFromGitHub {
owner = "BrowserSync";
repo = "browser-sync";
tag = "v${finalAttrs.version}";
hash = "sha256-AQZfSdzAGsLnZf7q5YWy5v4W4Iv3f0s4eOV1tC7yhXw=";
};
postPatch = ''
cp ${./package-lock.json} package-lock.json
'';
sourceRoot = "source/packages/browser-sync";
nodejs = nodejs_22;
npmDepsHash = "sha256-HvV7zaD8EZiXR7S7fZRT3zDpUxa3B9Gza9fl8zEurLA=";
meta = {
description = "Keep multiple browsers & devices in sync when building websites";
homepage = "https://github.com/BrowserSync/browser-sync";
maintainers = with lib.maintainers; [ wrvsrx ];
license = lib.licenses.asl20;
mainProgram = "browser-sync";
};
})
+1 -1
View File
@@ -94,7 +94,7 @@ mapAliases {
bower = throw "bower was removed because it was deprecated"; # added 2025-09-17
inherit (pkgs) bower2nix; # added 2024-08-23
browserify = throw "browserify has been removed because it was unmaintained in nixpkgs"; # Added 2026-03-01
browser-sync = throw "'browser-sync' has been removed because it was unmaintained in nixpkgs"; # Added 2026-01-26
inherit (pkgs) browser-sync; # Added 2026-03-10
inherit (pkgs) btc-rpc-explorer; # added 2023-08-17
inherit (pkgs) carbon-now-cli; # added 2023-08-17
inherit (pkgs) carto; # added 2023-08-17