Compare commits

...

10 Commits

Author SHA1 Message Date
openeuler-ci-bot
e57a5c57d9
!17 Update version to 1.22.19
From: @jxy_git 
Reviewed-by: @wm-wm-wm 
Signed-off-by: @wm-wm-wm
2023-05-24 07:59:06 +00:00
jxy_git
4c2a0c7774 Update version to 1.22.19 2023-05-24 15:43:38 +08:00
openeuler-ci-bot
17ae717b3e !13 [sync] PR-9: 修复spec,添加 yarn.js, yarn.cmd 和 yarnpkg.cmd 的运行支持。
From: @openeuler-sync-bot
Reviewed-by: @jxy_git
Signed-off-by: @jxy_git
2021-09-15 11:03:48 +00:00
gitee-cmd
08d4c020ed fix yarn.js, yarn.cmd and yanrpkg.cmd
(cherry picked from commit c4cd0050e2a6c66d53ac0bae53c71e35098331ab)
2021-09-15 16:58:52 +08:00
openeuler-ci-bot
8a8c3012bc !8 [sync] PR-4: 修改spec,不对build architecture做出限制。
From: @openeuler-sync-bot
Reviewed-by: @jxy_git
Signed-off-by: @jxy_git
2021-09-13 02:03:16 +00:00
gitee-cmd
a73041d2d0 fix build architecture
(cherry picked from commit a6f87be6653c55d4dad33436b6769a38b226a8fc)
2021-09-13 09:37:50 +08:00
openeuler-ci-bot
e40133d63e !3 upgrade nodejs-yarn to 1.22.11
From: @gitee-cmd
Reviewed-by: @jxy_git
Signed-off-by: @jxy_git
2021-09-10 01:45:13 +00:00
gitee-cmd
251510c3d7 Upgrade nodejs-yarn to 1.22.11 2021-09-09 16:46:47 +08:00
openeuler-ci-bot
c9bf1daf6c !1 Package Initialization
Merge pull request !1 from Sindweller/openEuler1.0-base
2020-05-25 19:43:47 +08:00
changjie.fu
065aa6a4bf Package Initialization 2020-04-16 15:26:58 +08:00
4 changed files with 69 additions and 57 deletions

View File

@ -1,22 +1,7 @@
# ovirt-engine-yarn
# nodejs-yarn
#### Description
{**When you're done, you can delete the content in this README and update the file with details for others getting started with your repository**}
#### Software Architecture
Software architecture description
#### Installation
1. xxxx
2. xxxx
3. xxxx
#### Instructions
1. xxxx
2. xxxx
3. xxxx
Fast, reliable, and secure dependency management for yarn packages.
#### Contribution
@ -24,13 +9,3 @@ Software architecture description
2. Create Feat_xxx branch
3. Commit your code
4. Create Pull Request
#### Gitee Feature
1. You can use Readme\_XXX.md to support different languages, such as Readme\_en.md, Readme\_zh.md
2. Gitee blog [blog.gitee.com](https://blog.gitee.com)
3. Explore open source project [https://gitee.com/explore](https://gitee.com/explore)
4. The most valuable open source project [GVP](https://gitee.com/gvp)
5. The manual of Gitee [https://gitee.com/help](https://gitee.com/help)
6. The most popular members [https://gitee.com/gitee-stars/](https://gitee.com/gitee-stars/)

View File

@ -1,25 +1,7 @@
# ovirt-engine-yarn
# nodejs-yarn
#### 介绍
{**以下是码云平台说明,您可以替换此简介**
码云是 OSCHINA 推出的基于 Git 的代码托管平台(同时支持 SVN。专为开发者提供稳定、高效、安全的云端软件开发协作平台
无论是个人、团队、或是企业,都能够用码云实现代码托管、项目管理、协作开发。企业项目请看 [https://gitee.com/enterprises](https://gitee.com/enterprises)}
#### 软件架构
软件架构说明
#### 安装教程
1. xxxx
2. xxxx
3. xxxx
#### 使用说明
1. xxxx
2. xxxx
3. xxxx
快速、可靠、安全的yarn包管理器
#### 参与贡献
@ -27,13 +9,3 @@
2. 新建 Feat_xxx 分支
3. 提交代码
4. 新建 Pull Request
#### 码云特技
1. 使用 Readme\_XXX.md 来支持不同的语言,例如 Readme\_en.md, Readme\_zh.md
2. 码云官方博客 [blog.gitee.com](https://blog.gitee.com)
3. 你可以 [https://gitee.com/explore](https://gitee.com/explore) 这个地址来了解码云上的优秀开源项目
4. [GVP](https://gitee.com/gvp) 全称是码云最有价值开源项目,是码云综合评定出的优秀开源项目
5. 码云官方提供的使用手册 [https://gitee.com/help](https://gitee.com/help)
6. 码云封面人物是一档用来展示码云会员风采的栏目 [https://gitee.com/gitee-stars/](https://gitee.com/gitee-stars/)

65
nodejs-yarn.spec Normal file
View File

@ -0,0 +1,65 @@
%{?nodejs_find_provides_and_requires}
%global packagename yarn
Name: nodejs-yarn
Version: 1.22.19
Release: 1
Summary: Fast, reliable, and secure dependency management for yarn packages.
License: BSD-2-Clause
URL: https://github.com/yarnpkg/yarn
Source0: https://registry.npmjs.org/yarn/-/yarn-1.22.19.tgz
BuildArch: noarch
BuildRequires: nodejs-packaging
%description
Fast, reliable, and secure dependency management for yarn packages.
%define debug_package %{nil}
%prep
%autosetup -n yarn-v%{version}
# setup the tests
%build
# nothing to do!
%install
if [ -f license ]; then
mv license LICENSE
fi
if [ -f License ]; then
mv License LICENSE
fi
if [ -d bin ]; then
mkdir -p %{buildroot}%{_prefix}/local/bin/
cp -ar bin/* %{buildroot}%{_prefix}/local/bin/
fi
mkdir -p %{buildroot}%{nodejs_sitelib}/%{packagename}
cp -ra * %{buildroot}%{nodejs_sitelib}/%{packagename}
for file in `ls ./bin`;do
ln -sfr %{buildroot}%{nodejs_sitelib}/%{packagename}/bin/yarn.js %{buildroot}%{_prefix}/local/bin/$file
done
pushd %{buildroot}
touch filelist.lst
find . -type f -printf "/%h/%f\n" >> filelist.lst
popd
cp %{buildroot}/filelist.lst .
%check
%nodejs_symlink_deps --check
%files -f filelist.lst
%{_prefix}/local/bin/*
%changelog
* Wed May 24 2023 jiangxinyu <jiangxinyu@kylinos.cn> - 1.22.19-1
- Update version to 1.22.19
* Wed Sep 15 2021 chemingdao <chemingdao@huawei.com> - 1.22.11-2
- support running command with yarn.js, yarn.cmd, yarnpkg.cmd
* Thu Sep 09 2021 Nodejs_Bot <Nodejs_Bot@openeuler.org> - 1.22.11-1
- Package Spec generated

BIN
yarn-1.22.19.tgz Normal file

Binary file not shown.