~fd/staticmath-server

cf90450f2bae827d631914f07deced349589b3be — Ersei Saggi 21 hours ago 6a5da39 main
Update KaTeX to 0.16.10; remove flakes
3 files changed, 4 insertions(+), 63 deletions(-)

D flake.lock
D flake.nix
M yarn.lock
D flake.lock => flake.lock +0 -27
@@ 1,27 0,0 @@
{
  "nodes": {
    "nixpkgs": {
      "locked": {
        "lastModified": 1707451808,
        "narHash": "sha256-UwDBUNHNRsYKFJzyTMVMTF5qS4xeJlWoeyJf+6vvamU=",
        "owner": "nixos",
        "repo": "nixpkgs",
        "rev": "442d407992384ed9c0e6d352de75b69079904e4e",
        "type": "github"
      },
      "original": {
        "owner": "nixos",
        "ref": "nixpkgs-unstable",
        "repo": "nixpkgs",
        "type": "github"
      }
    },
    "root": {
      "inputs": {
        "nixpkgs": "nixpkgs"
      }
    }
  },
  "root": "root",
  "version": 7
}

D flake.nix => flake.nix +0 -32
@@ 1,32 0,0 @@
{
  inputs = { nixpkgs.url = "github:nixos/nixpkgs/nixpkgs-unstable"; };

  outputs = { self, nixpkgs }:
    let pkgs = nixpkgs.legacyPackages.x86_64-linux;
    in {
      devShell.x86_64-linux = pkgs.mkShell {
        buildInputs = [
          pkgs.nodePackages.prettier
          pkgs.nodePackages_latest.nodejs
          pkgs.yarn
        ];
      };
      defaultPackage.x86_64-linux = pkgs.buildNpmPackage {
        name = "staticmath-server";

        # The packages required by the build process
        buildInputs = [ pkgs.nodePackages_latest.nodejs ];

        # The code sources for the package
        src = ./.;
        npmDepsHash = "sha256-BLa4L0rpKJ4BqwfI7lhwHeTuEc3KWRMWqv4r/qMdgco=";

        # How the output of the build phase
        # installPhase = ''
        #   mkdir $out
        #   npm run build
        #   cp dist/index.html $out
        # '';
      };
    };
}

M yarn.lock => yarn.lock +4 -4
@@ 4,12 4,12 @@

commander@^8.3.0:
  version "8.3.0"
  resolved "https://registry.npmjs.org/commander/-/commander-8.3.0.tgz"
  resolved "https://registry.yarnpkg.com/commander/-/commander-8.3.0.tgz#4837ea1b2da67b9c616a67afbb0fafee567bca66"
  integrity sha512-OkTL9umf+He2DZkUq8f8J9of7yL6RJKI24dVITBmNfZBmri9zYZQrKkuXiKhyfPSu8tUhnVBB1iKXevvnlR4Ww==

katex@^0.16.9:
  version "0.16.9"
  resolved "https://registry.yarnpkg.com/katex/-/katex-0.16.9.tgz#bc62d8f7abfea6e181250f85a56e4ef292dcb1fa"
  integrity sha512-fsSYjWS0EEOwvy81j3vRA8TEAhQhKiqO+FQaKWp0m39qwOzHVBgAUBIXWj1pB+O2W3fIpNa6Y9KSKCVbfPhyAQ==
  version "0.16.10"
  resolved "https://registry.yarnpkg.com/katex/-/katex-0.16.10.tgz#6f81b71ac37ff4ec7556861160f53bc5f058b185"
  integrity sha512-ZiqaC04tp2O5utMsl2TEZTXxa6WSC4yo0fv5ML++D3QZv/vx2Mct0mTlRx3O+uUkjfuAgOkzsCmq5MiUEsDDdA==
  dependencies:
    commander "^8.3.0"