Compare commits

...

10 Commits

Author SHA1 Message Date
openeuler-ci-bot
49b76542e9
!13 [sync] PR-12: Update to 5.4.1 for fix nodejs upgrade
From: @openeuler-sync-bot 
Reviewed-by: @wang--ge 
Signed-off-by: @wang--ge
2025-01-24 06:08:29 +00:00
wk333
11226bbbd8 Update to 5.4.1 for fix nodejs upgrade
(cherry picked from commit a1522cff909faffdf8181ca560f1f213e06e4748)
2025-01-24 10:56:07 +08:00
openeuler-ci-bot
7b9246f55c
!9 Fix check failure for nodejs20
From: @wang--ge 
Reviewed-by: @lyn1001 
Signed-off-by: @lyn1001
2024-05-07 04:09:08 +00:00
wang--ge
521b752518 fix test failure 2024-05-06 11:27:55 +08:00
openeuler-ci-bot
3dbd56537d
!7 Upgrade 5.2.0
From: @cherry530 
Reviewed-by: @wang--ge 
Signed-off-by: @wang--ge
2023-02-10 09:22:55 +00:00
cherry530
90c7811eea Upgrade 5.2.0
Signed-off-by: cherry530 <xuping33@huawei.com>
2023-02-10 17:07:14 +08:00
openeuler-ci-bot
661ed58cfc !3 update to 4.12.0
From: @wang--ge
Reviewed-by: @zhengyuhanghans
Signed-off-by: @zhengyuhanghans
2020-12-31 15:37:41 +08:00
wang--ge
c7564344df update to 4.12.0 2020-12-31 11:22:59 +08:00
openeuler-ci-bot
9d649462be !1 Add package nodejs-mock-fs
Merge pull request !1 from 王歌/master
2020-08-22 12:57:09 +08:00
wangge
4b2d06837e first commit 2020-08-20 09:56:06 +08:00
3 changed files with 70 additions and 0 deletions

BIN
nodejs-mock-fs-5.4.1.tar.gz Normal file

Binary file not shown.

66
nodejs-mock-fs.spec Normal file
View File

@ -0,0 +1,66 @@
%{?nodejs_find_provides_and_requires}
Name: nodejs-mock-fs
Version: 5.4.1
Release: 1
Summary: A configurable mock file system
License: MIT
URL: https://www.npmjs.com/package/mock-fs
Source0: https://github.com/tschaub/mock-fs/archive/v%{version}/%{name}-%{version}.tar.gz
BuildArch: noarch
ExclusiveArch: %{nodejs_arches} noarch
BuildRequires: nodejs-packaging
BuildRequires: npm(mocha)
BuildRequires: npm(chai)
BuildRequires: npm(semver)
%description
The mock-fs module allows Node's built-in fs module to be backed
temporarily by an in-memory, mock file system. This lets you run
tests against a set of mock files and directories instead of lugging
around a bunch of test fixtures.
%prep
%autosetup -p 1 -n mock-fs-%{version}
rm -rf node_modules
%build
%install
mkdir -p %{buildroot}%{nodejs_sitelib}/mock-fs
cp -pr package.json lib %{buildroot}%{nodejs_sitelib}/mock-fs
%nodejs_symlink_deps
%check
%nodejs_symlink_deps --check
%{nodejs_sitelib}/mocha/bin/mocha --recursive test
%files
%doc readme.md changelog.md
%license license.md
%{nodejs_sitelib}/mock-fs
%changelog
* Fri Jan 24 2025 wangkai <13474090681@163.com> - 5.4.1-1
- Update to 5.4.1 for fix nodejs upgrade
* Thu Apr 25 2024 Ge Wang <wang__ge@126.com> - 5.2.0-2
- Fix check failure for nodejs20
* Fri Feb 10 2023 xu_ping <xuping33@h-partners.com> - 5.2.0-1
- Update to 5.2.0
* Thu Dec 31 2020 Ge Wang <wangge20@huawei.com> - 4.12.0-1
- Update to 4.12.0
* Thu Aug 20 2020 Ge Wang <wangge20@huawei.com> - 4.8.0-1
- Package init

4
nodejs-mock-fs.yaml Normal file
View File

@ -0,0 +1,4 @@
version_control: github
src_repo: tschaub/mock-fs
tag_prefix: "v"
seperator: "."