1
0
mirror of https://github.com/trezor/trezor-firmware.git synced 2024-12-05 14:08:39 +00:00
trezor-firmware/ci/pyright
2024-05-07 11:57:10 +02:00
..
default.nix chore: update dependencies 2022-02-15 13:28:03 +01:00
generate-dependencies.sh ci(nix): update to pyright-1.1.204 2022-01-07 21:41:17 +01:00
node-composition.nix build: upgrade pyright to 1.1.361 2024-05-07 11:57:10 +02:00
node-env.nix build: upgrade pyright to 1.1.361 2024-05-07 11:57:10 +02:00
node-packages.nix build: upgrade pyright to 1.1.361 2024-05-07 11:57:10 +02:00
package.json build: upgrade pyright to 1.1.361 2024-05-07 11:57:10 +02:00
README.md ci(nix): update to pyright-1.1.204 2022-01-07 21:41:17 +01:00

Updating pyright

  1. Update the version number in package.json.

  2. Run ./generate-dependencies.sh. The script uses node2nix to resolve dependencies and save their hashes to node-packages.nix.

  3. (optional) Check that the package builds by spawning nix-shell in top-level of the repo:

    cd ../..
    nix-shell
    

    Or check that it builds with your local nixpkgs:

    nix-build -E "(import <nixpkgs> {}).callPackage ./default.nix {}"
    
  4. Commit .nix files generated in step 2 to git:

    git add package.json *.nix