Unverified Commit c1946ce7 authored by dish's avatar dish Committed by GitHub
Browse files

i18next-cli: 1.20.4 -> 1.24.21, link to CHANGELOG.md instead of github release page (#464451)

parents 171fcf10 6fbc1cea
Loading
Loading
Loading
Loading
+517 −526

File changed.

Preview size limit exceeded, changes collapsed.

+4 −4
Original line number Diff line number Diff line
@@ -6,13 +6,13 @@
}:
buildNpmPackage rec {
  pname = "i18next-cli";
  version = "1.20.4";
  version = "1.24.21";

  src = fetchFromGitHub {
    owner = "i18next";
    repo = "i18next-cli";
    tag = "v${version}";
    hash = "sha256-jidpGVdyi7slFAY1nwbhFx8QCZQ+VKgWybpQudY4zIM=";
    hash = "sha256-lF/7reqzTkiey2EBkMUuiktdFk72D5aZ8dtBFx+9p3o=";
  };

  # NOTE: Generating lock-file
@@ -21,7 +21,7 @@ buildNpmPackage rec {
    cp ${./package-lock.json} package-lock.json
  '';

  npmDepsHash = "sha256-9WsQEDeVsNl4XRN5CPbqdHZihPJmNT3LaEmuTOksyBo=";
  npmDepsHash = "sha256-cgBLe1y4su0CpHyMz2E6RAYIL/SoZ5IgDj0UwzMbjqM=";

  passthru.updateScript = nix-update-script {
    extraArgs = [ "--generate-lockfile" ];
@@ -29,7 +29,7 @@ buildNpmPackage rec {

  meta = {
    description = "A unified, high-performance i18next CLI";
    changelog = "https://github.com/i18next/i18next-cli/releases/tag/v${version}";
    changelog = "https://github.com/i18next/i18next-cli/blob/v${version}/CHANGELOG.md";
    homepage = "https://www.locize.com/blog/i18next-cli";
    license = lib.licenses.mit;
    maintainers = [ lib.maintainers.pbek ];