Skip to content

Commit 3360ea7

Browse files
authored
amp-cli: update entrypoint for 0.0.1752566512-ga67426 -> 0.0.1754036264-ga0aa13 (#430111)
2 parents d0b8bc2 + d82c494 commit 3360ea7

File tree

2 files changed

+37
-99
lines changed

2 files changed

+37
-99
lines changed

pkgs/by-name/am/amp-cli/package-lock.json

Lines changed: 33 additions & 95 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

pkgs/by-name/am/amp-cli/package.nix

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -9,11 +9,11 @@
99

1010
buildNpmPackage (finalAttrs: {
1111
pname = "amp-cli";
12-
version = "0.0.1752566512-ga67426";
12+
version = "0.0.1754036264-ga0aa13";
1313

1414
src = fetchzip {
1515
url = "https://registry.npmjs.org/@sourcegraph/amp/-/amp-${finalAttrs.version}.tgz";
16-
hash = "sha256-TgSqpczEFIW6doWzgfPg2y+o+64ntPMbTJ0FVzCGNOg=";
16+
hash = "sha256-+pvxRLoluRk6/XfPr5luW2oIAjWTCYMJo53wHzQh598=";
1717
};
1818

1919
postPatch = ''
@@ -40,12 +40,12 @@ buildNpmPackage (finalAttrs: {
4040
# Create a wrapper script that will be installed by npm
4141
cat > bin/amp-wrapper.js << EOF
4242
#!/usr/bin/env node
43-
require('@sourcegraph/amp/dist/amp.js')
43+
import('@sourcegraph/amp/dist/main.js')
4444
EOF
4545
chmod +x bin/amp-wrapper.js
4646
'';
4747

48-
npmDepsHash = "sha256-avgj8q1pyepWSt4RFK1+9Fqwtc7Z1Voz2RUYKuViZA0=";
48+
npmDepsHash = "sha256-Xm/uZAf9bDasHGIhcS2G8JUo3GyTdnErjzU7clkFQW0=";
4949

5050
propagatedBuildInputs = [
5151
ripgrep

0 commit comments

Comments
 (0)