This is the shopify-cli packaged for Nix.
nix profile install github:mrhenry/nix-shopify-cli
Alternatively you can just run the CLI directly without permanently installing it:
nix run github:mrhenry/nix-shopify-cli -- <args>
Add nix-shopify-cli to your flake.nix
:
{
inputs.nix-shopify-cli.url = "https://flakehub.com/f/mrhenry/nix-shopify-cli/*.tar.gz";
outputs = { self, nix-shopify-cli }: {
# Use in your outputs
};
}
x86_64-linux
x86_64-darwin
aarch64-linux
aarch64-darwin
nix build
nix flake check
- Update the
package.json
with the new version - Run
nix develop --command update-hashes
- Run
nix flake check
again, now it should build the new version. - Run
nix run . -- <some args>
to test the new version. - When you are happy with the new version:
- push the changes to GitHub
nix develop --command do-release
- Publish the draft release on github