- Update to version 5.6.3
* fix automatic type acquisition * Don't issue implicit any when obtaining the implied type for a binding pattern * Remove tsbuildInfo specification error OBS-URL: https://build.opensuse.org/package/show/devel:languages:nodejs/typescript?expand=0&rev=57
This commit is contained in:
commit
517fa6d70b
23
.gitattributes
vendored
Normal file
23
.gitattributes
vendored
Normal file
@ -0,0 +1,23 @@
|
||||
## Default LFS
|
||||
*.7z filter=lfs diff=lfs merge=lfs -text
|
||||
*.bsp filter=lfs diff=lfs merge=lfs -text
|
||||
*.bz2 filter=lfs diff=lfs merge=lfs -text
|
||||
*.gem filter=lfs diff=lfs merge=lfs -text
|
||||
*.gz filter=lfs diff=lfs merge=lfs -text
|
||||
*.jar filter=lfs diff=lfs merge=lfs -text
|
||||
*.lz filter=lfs diff=lfs merge=lfs -text
|
||||
*.lzma filter=lfs diff=lfs merge=lfs -text
|
||||
*.obscpio filter=lfs diff=lfs merge=lfs -text
|
||||
*.oxt filter=lfs diff=lfs merge=lfs -text
|
||||
*.pdf filter=lfs diff=lfs merge=lfs -text
|
||||
*.png filter=lfs diff=lfs merge=lfs -text
|
||||
*.rpm filter=lfs diff=lfs merge=lfs -text
|
||||
*.tbz filter=lfs diff=lfs merge=lfs -text
|
||||
*.tbz2 filter=lfs diff=lfs merge=lfs -text
|
||||
*.tgz filter=lfs diff=lfs merge=lfs -text
|
||||
*.ttf filter=lfs diff=lfs merge=lfs -text
|
||||
*.txz filter=lfs diff=lfs merge=lfs -text
|
||||
*.whl filter=lfs diff=lfs merge=lfs -text
|
||||
*.xz filter=lfs diff=lfs merge=lfs -text
|
||||
*.zip filter=lfs diff=lfs merge=lfs -text
|
||||
*.zst filter=lfs diff=lfs merge=lfs -text
|
1
.gitignore
vendored
Normal file
1
.gitignore
vendored
Normal file
@ -0,0 +1 @@
|
||||
.osc
|
3
typescript-5.5.3.tgz
Normal file
3
typescript-5.5.3.tgz
Normal file
@ -0,0 +1,3 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:f47d21b40c99188b4158f8a444f132207957d528b1f80ccbc019ce9c4765c3d1
|
||||
size 4041052
|
3
typescript-5.5.4.tgz
Normal file
3
typescript-5.5.4.tgz
Normal file
@ -0,0 +1,3 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:2680b6354d462a1d90a2cf10c790e071f1c45081c9d4561cb47ce23c934d8586
|
||||
size 4043150
|
3
typescript-5.6.2.tgz
Normal file
3
typescript-5.6.2.tgz
Normal file
@ -0,0 +1,3 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:6e954963e7689a13573927021cf1fe2d7f85d7808eba49f03f84cb5d77cdd6bf
|
||||
size 4174769
|
3
typescript-5.6.3.tgz
Normal file
3
typescript-5.6.3.tgz
Normal file
@ -0,0 +1,3 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:ef67f8d8ad895858024b7339d3e34bf112cae3c5db1f538c3079038b17ae30fa
|
||||
size 4174590
|
346
typescript.changes
Normal file
346
typescript.changes
Normal file
@ -0,0 +1,346 @@
|
||||
-------------------------------------------------------------------
|
||||
Thu Oct 10 12:07:50 UTC 2024 - Andrea Manzini <andrea.manzini@suse.com>
|
||||
|
||||
- Update to version 5.6.3
|
||||
* fix automatic type acquisition
|
||||
* Don't issue implicit any when obtaining the implied type for
|
||||
a binding pattern
|
||||
* Remove tsbuildInfo specification error
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Sun Sep 15 15:14:16 UTC 2024 - Andrea Manzini <andrea.manzini@suse.com>
|
||||
|
||||
- Update to version 5.6.2
|
||||
* fixed parseCommandLine fails with --build and --force
|
||||
* fixed Watch cannot handle large amount of file changes
|
||||
* fixed tsc crash with Error: start < 0 in a specific config
|
||||
* allow use export = in .cts when module is esnext
|
||||
* fixed verbatimModuleSyntax + import of ambient const enum missing error
|
||||
* fixed Can't augment function overload is function is exported via export {}
|
||||
* fixed Crash when using a combination of a switch statement, optional
|
||||
chaining, an implicit any array, and ts strict settings.
|
||||
* fixed Declaration emit change in 5.5 with exactOptionalPropertyTypes
|
||||
* fixed Duplicate exports.* = assignments in CommonJS output in some cases
|
||||
* fixed LiteralPropertyName should allow BigInt
|
||||
* fixed Ghost errors and inconsistencies in destructuring patterns
|
||||
|
||||
For the full changelog see https://devblogs.microsoft.com/typescript/announcing-typescript-5-6/
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Tue Jul 23 09:43:12 UTC 2024 - Andrea Manzini <andrea.manzini@suse.com>
|
||||
|
||||
- Update to version 5.5.4
|
||||
* fixed Circular declarations cause infinite loops in getExportInfos since v5.5
|
||||
* fixed the return type of Int8Array::toReversed in es2023.array.d.ts is wrong
|
||||
* fixed Incorrect ES5 code emitted for closures in loops when noCheck is enabled
|
||||
* fixed Regression issue with React import when using "jsx": "react" compiler
|
||||
* fixed Scanner crash in services (TypeScript 5.5)
|
||||
* fixed TypeError: Cannot read properties of undefined (reading 'flags')
|
||||
at needsNameFromDeclaration at getNameForExportedSymbol
|
||||
* perf: Node.getChildren speed regression in ts 5.5 when used at very large scale
|
||||
|
||||
For the full changelog see https://devblogs.microsoft.com/typescript/announcing-typescript-5-5/
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Wed Jul 3 08:21:30 UTC 2024 - Andrea Manzini <andrea.manzini@suse.com>
|
||||
|
||||
- Update to version 5.5.3
|
||||
* fixed #59032 JavaScript and TypeScript language service has been disabled
|
||||
after crashing repeatedly
|
||||
* fixed #58955 @import JSDoc tag doesn't seem to account for resolution-mode
|
||||
import attribute in TS v5.5.2
|
||||
|
||||
For the full changelog see https://devblogs.microsoft.com/typescript/announcing-typescript-5-5/
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Sat Jun 22 16:14:51 UTC 2024 - Andrea Manzini <andrea.manzini@suse.com>
|
||||
|
||||
- Update to version 5.5.2
|
||||
* Inferred Type Predicates
|
||||
* Control Flow Narrowing for Constant Indexed Accesses
|
||||
* The JSDoc @import Tag
|
||||
* Regular Expression Syntax Checking
|
||||
* Support for New ECMAScript Set Methods
|
||||
* Isolated Declarations
|
||||
* The ${configDir} Template Variable for Configuration Files
|
||||
* Consulting package.json Dependencies for Declaration File Generation
|
||||
* Editor and Watch-Mode Reliability Improvements
|
||||
* Performance and Size Optimizations
|
||||
* Easier API Consumption from ECMAScript Modules
|
||||
* The transpileDeclaration API
|
||||
* Notable Behavioral Changes
|
||||
+ Disabling Features Deprecated in TypeScript 5.0
|
||||
+ lib.d.ts Changes
|
||||
+ Stricter Parsing for Decorators
|
||||
+ undefined is No Longer a Definable Type Name
|
||||
+ Simplified Reference Directive Declaration Emit
|
||||
|
||||
For the full changelog see https://devblogs.microsoft.com/typescript/announcing-typescript-5-5/
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Sun Apr 21 14:07:03 UTC 2024 - Andrea Manzini <andrea.manzini@suse.com>
|
||||
|
||||
- Update to version 5.4.5
|
||||
* Fix: type assertions affect the type narrowing of the subsequent code
|
||||
* Fix: Don't propagate partial union/intersection properties between caches
|
||||
* Fix: Mapped type reported as incompatible when passed through another mapped type (5.4 regression)
|
||||
* Fix: No auto-import from aliased symbol from ts files in js files
|
||||
* fix type import check for default-import/re-export in js files
|
||||
|
||||
- remove useless empty %check section to the .spec
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Sun Apr 7 16:09:40 UTC 2024 - Andrea Manzini <andrea.manzini@suse.com>
|
||||
|
||||
- Update to version 5.4.4
|
||||
* Fix: Incorrect Path Resolution for Type Imports in TypeScript Declarations
|
||||
* Fix: "Inferred type cannot be named" error caused by adding paths to tsconfig
|
||||
* Fix: Incorrect parameter hint is highlighted when arguments contain spread syntax
|
||||
* Fix: Fixed a regression related to determining argument index when spread elements are involved
|
||||
* Fix: Directories dont check modified time when sending "change" event
|
||||
* Fix: "Expression produces a union type that is too complex to represent" when using interfaces
|
||||
with large number of params for filtering and narrowing down certain keys
|
||||
* Watch events Enhancements
|
||||
|
||||
- Add empty %check section to the .spec
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Fri Mar 22 07:05:34 UTC 2024 - Andrea Manzini <andrea.manzini@suse.com>
|
||||
|
||||
- Update to version 5.4.3:
|
||||
* bugfix release. For details see https://github.com/Microsoft/TypeScript/issues?utf8=%E2%9C%93&q=milestone%3A%22TypeScript+5.4.3%22+is%3Aclosed+sort%3Aupdated-desc
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Sat Mar 9 09:05:35 UTC 2024 - Andrea Manzini <andrea.manzini@suse.com>
|
||||
|
||||
- Update to version 5.4:
|
||||
* Preserved Narrowing in Closures Following Last Assignments
|
||||
* The NoInfer Utility Type
|
||||
* Object.groupBy and Map.groupBy
|
||||
* Support for require() calls in --moduleResolution bundler and --module preserve
|
||||
* Checked Import Attributes and Assertions
|
||||
* Quick Fix for Adding Missing Parameters
|
||||
* Auto-Import Support for Subpath Imports
|
||||
* Upcoming 5.5 Deprecations:
|
||||
+ TypeScript 5.0 deprecated the following options and behaviors:
|
||||
charset
|
||||
target: ES3
|
||||
importsNotUsedAsValues
|
||||
noImplicitUseStrict
|
||||
noStrictGenericChecks
|
||||
keyofStringsOnly
|
||||
suppressExcessPropertyErrors
|
||||
suppressImplicitAnyIndexErrors
|
||||
out
|
||||
preserveValueImports
|
||||
prepend in project references
|
||||
implicitly OS-specific newLine
|
||||
To continue using them, developers using TypeScript 5.0 and other more recent versions
|
||||
have had to specify a new option called ignoreDeprecations with the value "5.0".
|
||||
However, TypScript 5.4 will be the last version in which these will continue to function as normal.
|
||||
By TypeScript 5.5 (likely June 2024), these will become hard errors,
|
||||
and code using them will need to be migrated away.
|
||||
* Notable Behavioral Changes:
|
||||
see https://devblogs.microsoft.com/typescript/announcing-typescript-5-4/#notable-behavioral-changes
|
||||
|
||||
For the full changelog see https://devblogs.microsoft.com/typescript/announcing-typescript-5-4/
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Sun Dec 10 17:41:41 UTC 2023 - Andrea Manzini <andrea.manzini@suse.com>
|
||||
|
||||
- Update to version 5.3.3:
|
||||
* Make JSDoc Parsing Configurable using the transpileModule method
|
||||
* Fixed an issue in boolean comparison narrowing when the reference is an optional chain
|
||||
* Type narrowing regression with property comparison to boolean false
|
||||
* Deprecated types (AssertEntry, AssertClause) redefined as type aliases, rather than interfaces
|
||||
* Type error in typescript.d.ts with exactOptionalPropertyTypes = true
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Fri Nov 24 14:28:37 UTC 2023 - Andrea Manzini <andrea.manzini@suse.com>
|
||||
|
||||
- Update to version 5.3.2:
|
||||
* Import Attributes
|
||||
* Stable Support resolution-mode in Import Types
|
||||
* resolution-mode Supported in All Module Modes
|
||||
* switch (true) Narrowing
|
||||
* Narrowing On Comparisons to Booleans
|
||||
* instanceof Narrowing Through Symbol.hasInstance
|
||||
* Checks for super Property Accesses on Instance Fields
|
||||
* Interactive Inlay Hints for Types
|
||||
* Settings to Prefer type Auto-Imports
|
||||
* Optimizations by Skipping JSDoc Parsing
|
||||
* Optimizations by Comparing Non-Normalized Intersections
|
||||
* Consolidation Between tsserverlibrary.js and typescript.js
|
||||
* for details see https://devblogs.microsoft.com/typescript/announcing-typescript-5-3/
|
||||
* Breaking Changes and Correctness Improvements:
|
||||
- lib.d.ts Changes
|
||||
Types generated for the DOM may have an impact on your codebase.
|
||||
For more information, see the DOM updates for TypeScript 5.3.
|
||||
https://github.com/microsoft/TypeScript/pull/55798
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Sat Aug 26 14:47:39 UTC 2023 - Andrea Manzini <andrea.manzini@suse.com>
|
||||
|
||||
- Update to version 5.2.2:
|
||||
* 'using' Declarations and Explicit Resource Management
|
||||
* Decorator Metadata
|
||||
* Named and Anonymous Tuple Elements
|
||||
* Easier Method Usage for Unions of Arrays
|
||||
* Copying Array Methods
|
||||
* symbols as WeakMap and WeakSet Keys
|
||||
* Type-Only Import Paths with TypeScript Implementation File Extensions
|
||||
* Comma Completions for Object Members
|
||||
* Inline Variable Refactoring
|
||||
* Optimized Checks for Ongoing Type Compatibility
|
||||
* Breaking changes and Correctness fixes: see
|
||||
https://devblogs.microsoft.com/typescript/announcing-typescript-5-2/#breaking-changes-and-correctness-fixes
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Fri Aug 11 13:26:18 UTC 2023 - Andrea Manzini <andrea.manzini@suse.com>
|
||||
|
||||
- Update to version 5.1.6:
|
||||
* See https://www.typescriptlang.org/docs/handbook/release-notes/typescript-5-1.html
|
||||
and https://www.typescriptlang.org/docs/handbook/release-notes/typescript-5-0.html
|
||||
|
||||
* Breaking change:
|
||||
TypeScript 5.1 now ships JavaScript functionality that was introduced in ECMAScript 2020.
|
||||
As a result, at minimum TypeScript must be run in a reasonably modern runtime.
|
||||
For most users, this means TypeScript now only runs on Node.js 14.17 and later.
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Sat Feb 25 01:23:54 UTC 2023 - Lukas Müller <expeehaa@outlook.com>
|
||||
|
||||
- Update to version 4.9.5.
|
||||
* See https://www.typescriptlang.org/docs/handbook/release-notes/typescript-4-9.html
|
||||
and equivalent pages for the changelogs of this version and those in between.
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Mon Apr 12 07:01:32 UTC 2021 - Mustafa Çalışkan <musfay@protonmail.com>
|
||||
|
||||
- Update to version 4.2.4
|
||||
* See https://www.typescriptlang.org/docs/handbook/release-notes/overview.html
|
||||
for a complete changelog.
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Thu Mar 11 06:16:04 UTC 2021 - Mustafa Çalışkan <musfay@protonmail.com>
|
||||
|
||||
- Update to version 4.2.3
|
||||
* See https://www.typescriptlang.org/docs/handbook/release-notes/overview.html
|
||||
for a complete changelog.
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Sun Feb 28 06:33:57 UTC 2021 - Mustafa Çalışkan <musfay@protonmail.com>
|
||||
|
||||
- Update to version 4.2.2
|
||||
* See https://www.typescriptlang.org/docs/handbook/release-notes/overview.html
|
||||
for a complete changelog.
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Sun Feb 7 21:23:47 UTC 2021 - Mustafa Çalışkan <musfay@protonmail.com>
|
||||
|
||||
- Update to version 4.1.3
|
||||
* See https://www.typescriptlang.org/docs/handbook/release-notes/overview.html
|
||||
for a complete changelog.
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Wed Sep 23 11:20:38 UTC 2020 - Ismail Dönmez <idonmez@suse.com>
|
||||
|
||||
- Update to version 4.0.3
|
||||
* See https://www.typescriptlang.org/docs/handbook/release-notes/overview.html
|
||||
for a complete changelog.
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Mon Aug 3 05:49:25 UTC 2020 - Ismail Dönmez <idonmez@suse.com>
|
||||
|
||||
- Update to version 3.9.7
|
||||
* See https://www.typescriptlang.org/docs/handbook/release-notes/overview.html
|
||||
for a complete changelog.
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Mon Jun 8 13:21:16 UTC 2020 - Ismail Dönmez <idonmez@suse.com>
|
||||
|
||||
- Update to version 3.9.5
|
||||
* See https://www.typescriptlang.org/docs/handbook/release-notes/overview.html
|
||||
for a complete changelog.
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Wed May 20 05:17:14 UTC 2020 - Ismail Dönmez <idonmez@suse.com>
|
||||
|
||||
- Update to version 3.9.3
|
||||
* See https://www.typescriptlang.org/docs/handbook/release-notes/overview.html
|
||||
for a complete changelog.
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Wed May 13 04:13:39 UTC 2020 - Ismail Dönmez <idonmez@suse.com>
|
||||
|
||||
- Update to version 3.9.2
|
||||
* See https://www.typescriptlang.org/docs/handbook/release-notes/overview.html
|
||||
for a complete changelog.
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Fri May 1 14:02:04 UTC 2020 - Marcus Rueckert <mrueckert@suse.de>
|
||||
|
||||
- Update to version 3.8.3
|
||||
* See https://www.typescriptlang.org/docs/handbook/release-notes/overview.html
|
||||
for a complete changelog.
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Fri Jan 17 06:37:38 UTC 2020 - Ismail Dönmez <idonmez@suse.com>
|
||||
|
||||
- Update to version 3.7.5
|
||||
* See https://www.typescriptlang.org/docs/handbook/release-notes/overview.html
|
||||
for a complete changelog.
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Tue Dec 24 16:12:17 UTC 2019 - Ismail Dönmez <idonmez@suse.com>
|
||||
|
||||
- Update to version 3.7.4
|
||||
* See https://www.typescriptlang.org/docs/handbook/release-notes/overview.html
|
||||
for a complete changelog.
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Wed Dec 4 08:37:15 UTC 2019 - Ismail Dönmez <idonmez@suse.com>
|
||||
|
||||
- Update to version 3.7.3
|
||||
* See https://www.typescriptlang.org/docs/handbook/release-notes/overview.html
|
||||
for a complete changelog.
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Sun Dec 1 13:48:53 UTC 2019 - Ismail Dönmez <idonmez@suse.com>
|
||||
|
||||
- Update to version 3.7.2
|
||||
* See https://www.typescriptlang.org/docs/handbook/release-notes/overview.html
|
||||
for a complete changelog.
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Sun Nov 25 11:21:11 UTC 2018 - Matej Cepl <mcepl@suse.com>
|
||||
|
||||
- Upgrade to 3.1.6. The list of changes is too long, you can find
|
||||
infromation about changes on the TypeScript wiki, e.g., in
|
||||
https://github.com/Microsoft/TypeScript/wiki/What%27s-new-in-TypeScript
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Thu Mar 16 15:09:27 UTC 2017 - carlos@techbyte.ca
|
||||
|
||||
- Updating to 2.2.1
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Thu Feb 9 19:25:17 UTC 2017 - carlos@techbyte.ca
|
||||
|
||||
- Downgrading to 2.1.6
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Thu Feb 9 17:55:22 UTC 2017 - carlos@techbyte.ca
|
||||
|
||||
- Bumping to 2.2.0
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Wed Feb 8 21:36:57 UTC 2017 - carlos@techbyte.ca
|
||||
|
||||
- Renaming package
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Wed Feb 8 17:19:16 UTC 2017 - carlos@techbyte.ca
|
||||
|
||||
- Initial release.
|
||||
|
65
typescript.spec
Normal file
65
typescript.spec
Normal file
@ -0,0 +1,65 @@
|
||||
#
|
||||
# spec file for package typescript
|
||||
#
|
||||
# Copyright (c) 2024 SUSE LLC
|
||||
#
|
||||
# All modifications and additions to the file contributed by third parties
|
||||
# remain the property of their copyright owners, unless otherwise agreed
|
||||
# upon. The license for this file, and modifications and additions to the
|
||||
# file, is the same license as for the pristine package itself (unless the
|
||||
# license for the pristine package is not an Open Source License, in which
|
||||
# case the license is the MIT License). An "Open Source License" is a
|
||||
# license that conforms to the Open Source Definition (Version 1.9)
|
||||
# published by the Open Source Initiative.
|
||||
|
||||
# Please submit bugfixes or comments via https://bugs.opensuse.org/
|
||||
#
|
||||
|
||||
|
||||
Name: typescript
|
||||
Version: 5.6.3
|
||||
Release: 0
|
||||
Summary: A language for application scale JavaScript development
|
||||
License: Apache-2.0
|
||||
Group: Development/Libraries/Other
|
||||
URL: http://typescriptlang.org/
|
||||
Source0: https://github.com/microsoft/TypeScript/releases/download/v%{version}/%{name}-%{version}.tgz
|
||||
BuildRequires: fdupes
|
||||
BuildRequires: nodejs-packaging
|
||||
BuildArch: noarch
|
||||
%{?nodejs_requires}
|
||||
|
||||
%description
|
||||
TypeScript is a language for application-scale JavaScript. TypeScript adds
|
||||
optional types, classes, and modules to JavaScript. TypeScript supports tools
|
||||
for large-scale JavaScript applications for any browser, for any host, on any
|
||||
OS. TypeScript compiles to readable, standards-based JavaScript.
|
||||
|
||||
%prep
|
||||
%autosetup -n package
|
||||
|
||||
sed -i 's/\r$//' ThirdPartyNoticeText.txt
|
||||
sed -i 's/\r$//' README.md
|
||||
sed -i 's/\r$//' LICENSE.txt
|
||||
|
||||
%build
|
||||
|
||||
%install
|
||||
%nodejs_install
|
||||
|
||||
# Fix shebang lines
|
||||
for file in %{buildroot}%{_bindir}/ts* ; do
|
||||
sed -i -e "s|#!%{_bindir}/env node|#!%{_bindir}/node|" $(readlink -f $file)
|
||||
done
|
||||
|
||||
%fdupes %{buildroot}
|
||||
|
||||
%files
|
||||
%license LICENSE.txt ThirdPartyNoticeText.txt
|
||||
%doc README.md
|
||||
%dir %{nodejs_sitelib}
|
||||
%{nodejs_sitelib}/%{name}
|
||||
%{_bindir}/tsc
|
||||
%{_bindir}/tsserver
|
||||
|
||||
%changelog
|
Loading…
Reference in New Issue
Block a user