diff --git a/local-npm-registry.changes b/local-npm-registry.changes index 175938e..bbeea8c 100644 --- a/local-npm-registry.changes +++ b/local-npm-registry.changes @@ -1,3 +1,31 @@ +------------------------------------------------------------------- +Fri Jul 21 12:59:44 UTC 2023 - Adam Majer 1.0.1 + +- update to 1.0.1 + * update dependencies + * no longer shows paths for tarballs served by the proxy + * works with latest nodejs + +- 0001-Allow-the-user-to-provide-their-own-npm-command-by-m.patch: + dropped, upstreamed + +------------------------------------------------------------------- +Tue Aug 16 16:43:23 UTC 2022 - Adam Majer + +- Revert Requires: back to npm-default. If we need support for + Fedora to have something else, we can do this another way + https://en.opensuse.org/openSUSE:Build_Service_prjconf#Substitute + +------------------------------------------------------------------- +Mon Aug 15 15:59:04 UTC 2022 - Bruno Pitrus +- Allow the user to override `node` and `npm` commands in PATH. + This is useful if one wants to eg. use Electron to run npm. + * add 0001-Allow-the-user-to-provide-their-own-npm-command-by-m.patch +- Change Requires: npm-default to Requires: npm. + npm-default is already prefered by the prjconf, + this works with any version of npm, + and Fedora does not have npm-default. + ------------------------------------------------------------------- Wed Aug 11 17:06:14 UTC 2021 - Adam Majer diff --git a/local-npm-registry.spec b/local-npm-registry.spec index e83bac6..d8207d7 100644 --- a/local-npm-registry.spec +++ b/local-npm-registry.spec @@ -1,7 +1,7 @@ # # spec file for package local-npm-registry # -# Copyright (c) 2021 SUSE LLC +# Copyright (c) 2023 SUSE LLC # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -17,7 +17,7 @@ Name: local-npm-registry -Version: 0.0.3 +Version: 1.0.1 Release: 0 Summary: Localhost-only version of NPM registry License: GPL-3.0-or-later @@ -51,7 +51,7 @@ then exit 0 fi -exec %{_bindir}/node %{_datadir}/%{name}/dist/ "\$@" +exec node %{_datadir}/%{name}/dist/ "\$@" EOF %files diff --git a/local_npm_registry-v0.0.3.tar.gz b/local_npm_registry-v0.0.3.tar.gz deleted file mode 100644 index 16ccd65..0000000 --- a/local_npm_registry-v0.0.3.tar.gz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:8a9b520013ce1c39b44f77a2c1a1d5e3c4222ec4157addc0403d9c07097a8ae0 -size 145764 diff --git a/local_npm_registry-v1.0.1.tar.gz b/local_npm_registry-v1.0.1.tar.gz new file mode 100644 index 0000000..eb3307a --- /dev/null +++ b/local_npm_registry-v1.0.1.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:0fb9b01cc58a6462cecbb5a5461ca06a88471064334bef2c63841f320da13bb5 +size 93827