Compare commits
10 Commits
3b07b24d58
...
e57a5c57d9
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
e57a5c57d9 | ||
|
|
4c2a0c7774 | ||
|
|
17ae717b3e | ||
|
|
08d4c020ed | ||
|
|
8a8c3012bc | ||
|
|
a73041d2d0 | ||
|
|
e40133d63e | ||
|
|
251510c3d7 | ||
|
|
c9bf1daf6c | ||
|
|
065aa6a4bf |
29
README.en.md
29
README.en.md
@ -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/)
|
||||
|
||||
32
README.md
32
README.md
@ -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
65
nodejs-yarn.spec
Normal 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
BIN
yarn-1.22.19.tgz
Normal file
Binary file not shown.
Loading…
x
Reference in New Issue
Block a user