Compare commits
3 Commits
Author | SHA256 | Date | |
---|---|---|---|
f51f997280 | |||
9bf722c49e | |||
55c68bace0 |
@@ -1,21 +1,7 @@
|
|||||||
-------------------------------------------------------------------
|
|
||||||
Fri Feb 21 14:05:43 UTC 2025 - Adam Majer <adam.majer@suse.de>
|
|
||||||
|
|
||||||
- update to 1.1.0
|
|
||||||
* always run npm with --no-package-lock. This will fix all weird
|
|
||||||
errors and no loger require cleaning package-lock.json from
|
|
||||||
upstream
|
|
||||||
* `quilt setup` script is now in the utility
|
|
||||||
* everything is run in JS now, so you can run directly with
|
|
||||||
node version of change. Either,
|
|
||||||
local-npm-registry
|
|
||||||
or
|
|
||||||
node22 /usr/bin/local-npm-registry
|
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Tue Jan 30 14:43:02 UTC 2024 - Adam Majer <adam.majer@suse.de>
|
Tue Jan 30 14:43:02 UTC 2024 - Adam Majer <adam.majer@suse.de>
|
||||||
|
|
||||||
- update to 1.0.2
|
- update to 1.0.2 - test edit
|
||||||
* --help invocation fixes
|
* --help invocation fixes
|
||||||
* cleanup npm's config.registry on exit
|
* cleanup npm's config.registry on exit
|
||||||
* adds support for non-standard alternative versions
|
* adds support for non-standard alternative versions
|
||||||
|
@@ -1,7 +1,7 @@
|
|||||||
#
|
#
|
||||||
# spec file for package local-npm-registry
|
# spec file for package local-npm-registry
|
||||||
#
|
#
|
||||||
# Copyright (c) 2025 SUSE LLC
|
# Copyright (c) 2024 SUSE LLC
|
||||||
#
|
#
|
||||||
# All modifications and additions to the file contributed by third parties
|
# All modifications and additions to the file contributed by third parties
|
||||||
# remain the property of their copyright owners, unless otherwise agreed
|
# remain the property of their copyright owners, unless otherwise agreed
|
||||||
@@ -17,7 +17,7 @@
|
|||||||
|
|
||||||
|
|
||||||
Name: local-npm-registry
|
Name: local-npm-registry
|
||||||
Version: 1.1.0
|
Version: 1.0.2
|
||||||
Release: 0
|
Release: 0
|
||||||
Summary: Localhost-only version of NPM registry
|
Summary: Localhost-only version of NPM registry
|
||||||
License: GPL-3.0-or-later
|
License: GPL-3.0-or-later
|
||||||
@@ -42,9 +42,16 @@ mkdir -p %{buildroot}%{_datadir}/%{name}
|
|||||||
mkdir -p %{buildroot}%{_bindir}
|
mkdir -p %{buildroot}%{_bindir}
|
||||||
cp -r dist node_modules %{buildroot}%{_datadir}/%{name}
|
cp -r dist node_modules %{buildroot}%{_datadir}/%{name}
|
||||||
cat > %{buildroot}%{_bindir}/local-npm-registry << EOF
|
cat > %{buildroot}%{_bindir}/local-npm-registry << EOF
|
||||||
#!/usr/bin/node
|
#!/bin/sh
|
||||||
const foo = await import("%{_datadir}/%{name}/dist/index.js")
|
|
||||||
foo.mainEntryFunction()
|
if [ "x\$QUILT_COMMAND" = "xsetup" ]
|
||||||
|
then
|
||||||
|
echo "Run in setup mode. 'npm install' skipped. Run 'npm ci' manually."
|
||||||
|
cp "\$RPM_SOURCE_DIR/package-lock.json" .
|
||||||
|
exit 0
|
||||||
|
fi
|
||||||
|
|
||||||
|
exec node %{_datadir}/%{name}/dist/ "\$@"
|
||||||
EOF
|
EOF
|
||||||
|
|
||||||
%files
|
%files
|
||||||
|
3
local_npm_registry-v1.0.2.tar.gz
Normal file
3
local_npm_registry-v1.0.2.tar.gz
Normal file
@@ -0,0 +1,3 @@
|
|||||||
|
version https://git-lfs.github.com/spec/v1
|
||||||
|
oid sha256:48057541d4c2d219826f724a168a00b0ee874fc0a4eb6bcfebceab4a5dc7ddba
|
||||||
|
size 94600
|
BIN
local_npm_registry-v1.1.0.tar.gz
(Stored with Git LFS)
BIN
local_npm_registry-v1.1.0.tar.gz
(Stored with Git LFS)
Binary file not shown.
Reference in New Issue
Block a user