mirror of
https://github.com/ilyakooo0/nixpkgs.git
synced 2024-09-30 09:37:59 +03:00
typescript: 5.2.2 -> 5.3.2
Diff: https://github.com/microsoft/TypeScript/compare/v5.2.2...v5.3.2 Changelog: https://github.com/microsoft/TypeScript/releases/tag/v5.3.2
This commit is contained in:
parent
1fb123914b
commit
6e269f0dff
@ -1,17 +1,21 @@
|
||||
{ lib, buildNpmPackage, fetchFromGitHub }:
|
||||
{ lib, buildNpmPackage, fetchFromGitHub}:
|
||||
|
||||
buildNpmPackage rec {
|
||||
pname = "typescript";
|
||||
version = "5.2.2";
|
||||
version = "5.3.2";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "microsoft";
|
||||
repo = "TypeScript";
|
||||
rev = "v${version}";
|
||||
hash = "sha256-wjoqDmCudN5+9C3GrP1viiXBvsWgU0UIYWaFeK/TJEY=";
|
||||
hash = "sha256-lwc2bYC2f8x3Np/LxbN+5x6Apuekp7LmHXNutqL9Z2E=";
|
||||
};
|
||||
|
||||
npmDepsHash = "sha256-7Wm6nlpqZRNqBU0mYFZRVWQkO4uqvrKrp2h2aEmZtow=";
|
||||
patches = [
|
||||
./disable-dprint-dstBundler.patch
|
||||
];
|
||||
|
||||
npmDepsHash = "sha256-vD/tax5RjREdsdte3ONahVf9GPOkxPqeP9jmsxjCYkY=";
|
||||
|
||||
meta = with lib; {
|
||||
description = "A superset of JavaScript that compiles to clean JavaScript output";
|
||||
|
@ -0,0 +1,15 @@
|
||||
Disable dprint on dstBundler
|
||||
|
||||
dprint fails on sandbox, because it requires internet access to install its
|
||||
plugins.
|
||||
|
||||
--- a/scripts/dtsBundler.mjs
|
||||
+++ b/scripts/dtsBundler.mjs
|
||||
@@ -430,5 +430,5 @@
|
||||
return result.replace(/\r\n/g, "\n");
|
||||
}
|
||||
|
||||
-fs.writeFileSync(output, dprint(publicContents));
|
||||
-fs.writeFileSync(internalOutput, dprint(internalContents));
|
||||
+fs.writeFileSync(output, publicContents);
|
||||
+fs.writeFileSync(internalOutput, internalContents);
|
Loading…
Reference in New Issue
Block a user