!6 回退 'Pull Request !5 : Upgrade to 0.4.1'

From: @lyn1001 
Reviewed-by: @wang--ge 
Signed-off-by: @wang--ge
This commit is contained in:
openeuler-ci-bot 2023-11-09 07:40:48 +00:00 committed by Gitee
commit 587324802e
No known key found for this signature in database
GPG Key ID: 173E9B9CA92EEF8F
4 changed files with 47 additions and 6 deletions

BIN
0.3.0.tar.gz Normal file

Binary file not shown.

Binary file not shown.

View File

@ -3,12 +3,13 @@
%global bootstrap 1
%global enable_tests 0
Name: nodejs-levn
Version: 0.4.1
Release: 1
Version: 0.3.0
Release: 2
Summary: Light ECMAScript Value Notation - human written, concise, typed
License: MIT
URL: https://github.com/gkz/levn
Source0: https://github.com/gkz/levn/archive/%{version}.tar.gz
Source1: https://raw.githubusercontent.com/gkz/levn/%{version}/package.json.ls
BuildArch: noarch
ExclusiveArch: %{nodejs_arches} noarch
BuildRequires: nodejs-packaging npm(prelude-ls) npm(type-check)
@ -23,7 +24,8 @@ Light ECMAScript (JavaScript) Value Notation - human written, concise, typed,
flexible
%prep
%autosetup -n levn-%{version} -p1
%autosetup -n levn-%{version}
cp -p %{SOURCE1} .
%nodejs_fixdep prelude-ls '~1.2.0'
%build
@ -58,9 +60,6 @@ cp -pr package.json lib/ \
%{nodejs_sitelib}/levn
%changelog
* Thu Nov 02 2023 yaoxin <yao_xin001@hoperun.com> - 0.4.1-1
- Upgrade to 0.4.1
* Tue Jul 05 2022 xu_ping <xuping33@h-partners.com> - 0.3.0-2
- Modify prelude-ls version to 1.2.0 to compat latest nodejs-prelude-ls

42
package.json.ls Normal file
View File

@ -0,0 +1,42 @@
name: 'levn'
version: '0.3.0'
author: 'George Zahariev <z@georgezahariev.com>'
description: 'Light ECMAScript (JavaScript) Value Notation - human written, concise, typed, flexible'
homepage: 'https://github.com/gkz/levn'
keywords:
'levn'
'light'
'ecmascript'
'value'
'notation'
'json'
'typed'
'human'
'concise'
'typed'
'flexible'
files:
'lib'
'README.md'
'LICENSE'
main: './lib/'
bugs: 'https://github.com/gkz/levn/issues'
license: 'MIT'
engines:
node: '>= 0.8.0'
repository:
type: 'git'
url: 'git://github.com/gkz/levn.git'
scripts:
test: "make test"
dependencies:
'prelude-ls': '~1.1.2'
'type-check': '~0.3.2'
dev-dependencies:
livescript: '~1.4.0'
mocha: '~2.3.4'
istanbul: '~0.4.1'