2021-02-05 17:12:51 +00:00
|
|
|
#!/usr/bin/env nix-shell
|
|
|
|
#! nix-shell -i bash -p nodePackages.node2nix
|
2020-04-24 23:36:52 +00:00
|
|
|
|
2022-04-15 01:41:22 +00:00
|
|
|
# Download package.json and package-lock.json from the v1.11.0 release
|
|
|
|
curl https://raw.githubusercontent.com/matrix-org/matrix-appservice-slack/1.11.0/package.json -o package.json
|
|
|
|
curl https://raw.githubusercontent.com/matrix-org/matrix-appservice-slack/1.11.0/package-lock.json -o package-lock.json
|
2020-04-24 23:36:52 +00:00
|
|
|
|
2021-02-05 17:12:51 +00:00
|
|
|
node2nix \
|
2022-07-14 12:49:19 +00:00
|
|
|
--nodejs-16 \
|
2020-04-24 23:36:52 +00:00
|
|
|
--node-env ../../../development/node-packages/node-env.nix \
|
|
|
|
--development \
|
|
|
|
--input package.json \
|
2021-02-05 17:12:51 +00:00
|
|
|
--lock package-lock.json \
|
2020-04-24 23:36:52 +00:00
|
|
|
--output node-packages.nix \
|
2021-02-05 17:12:51 +00:00
|
|
|
--composition node-composition.nix \
|
|
|
|
|
|
|
|
rm -f package.json package-lock.json
|