Add @11ty/eleventy package to dev shell
This commit is contained in:
parent
3ff6d210f0
commit
b0d1441acf
7 changed files with 60 additions and 1 deletions
12
justfile
12
justfile
|
|
@ -9,5 +9,15 @@ help:
|
|||
|
||||
# Update project dependencies
|
||||
[group('General')]
|
||||
update:
|
||||
update: _update-eleventy
|
||||
nix flake update
|
||||
|
||||
# Update packages sha256 and version
|
||||
_update-eleventy:
|
||||
#!/bin/bash
|
||||
pkgs=$(pwd)/pkgs
|
||||
cd $(mktemp -d)
|
||||
curl -f https://raw.githubusercontent.com/11ty/eleventy/refs/heads/main/package-lock.json -o package-lock.json
|
||||
prefetch-npm-deps package-lock.json > $pkgs/11ty-eleventy.sha256
|
||||
cat package-lock.json | jq --raw-output ".version" > $pkgs/11ty-eleventy.version
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue