Upgrade typescript

This commit is contained in:
Jamie
2026-09-02 19:46:20 +00:00
committed by GitHub
parent e5f691dc4b
commit ae0fecd185
9 changed files with 856 additions and 525 deletions
+1 -1
View File
@@ -5704,7 +5704,7 @@ Signal Desktop makes use of the following open source projects.
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
SOFTWARE.
## @typescript/native-preview
## @typescript/native
Apache License
@@ -29,6 +29,11 @@ function isPinnedVersion(depSpec) {
if (depSpec.startsWith('workspace:')) {
return depSpec === 'workspace:*'; // pnpm 11 default
}
if (depSpec.startsWith('npm:')) {
const lastIndex = depSpec.lastIndexOf('@');
const version = depSpec.slice(lastIndex + 1);
return semver.valid(version) != null;
}
return semver.valid(depSpec) != null;
}
+3 -3
View File
@@ -68,7 +68,7 @@
"format": "prettier --write --cache --cache-strategy metadata '**/*.{ts,tsx,d.ts,js,json,html,scss,md,yml,yaml}' '!node_modules/**'",
"svgo": "svgo --multipass images/**/*.svg images/*.svg",
"transpile": "run-p check:types build:rolldown",
"check:types": "tsgo --noEmit",
"check:types": "tsc --noEmit",
"clean-transpile": "node scripts/clean-transpile.mjs",
"ready": "npm-run-all --print-label clean-transpile generate --parallel lint lint-deps lint-intl test-node test-electron",
"dev": "pnpm run build:protobuf && cross-env SIGNAL_ENV=storybook storybook dev --port 6006",
@@ -216,7 +216,7 @@
"@types/write-file-atomic": "4.0.3",
"@typescript-eslint/rule-tester": "8.59.3",
"@typescript-eslint/utils": "8.59.3",
"@typescript/native-preview": "7.0.0-dev.20260515.1",
"@typescript/native": "npm:typescript@7.0.2",
"babel-plugin-lodash": "3.3.4",
"better-blockmap": "2.0.1",
"blob-util": "2.0.2",
@@ -337,7 +337,7 @@
"tinykeys": "3.1.0",
"tsx": "4.23.0",
"type-fest": "5.5.0",
"typescript": "6.0.3",
"typescript": "npm:@typescript/typescript6@6.0.2",
"unicode-number": "1.1.0",
"url": "0.11.4",
"uuid": "13.0.0",
+4 -4
View File
@@ -36,7 +36,7 @@
"node": ">=24.17.0"
},
"scripts": {
"check": "tsgo --noEmit",
"check": "tsc --noEmit",
"build": "tsdown",
"prepare": "pnpm run build"
},
@@ -48,9 +48,9 @@
"zod": "4.3.6"
},
"devDependencies": {
"@arethetypeswrong/core": "0.18.4",
"@typescript/native-preview": "7.0.0-dev.20260515.1",
"@arethetypeswrong/core": "0.18.5",
"typescript": "7.0.2",
"publint": "0.3.21",
"tsdown": "0.22.3"
"tsdown": "0.22.14"
}
}
+1 -1
View File
@@ -37,6 +37,6 @@
"devDependencies": {
"@types/bindings": "1.5.5",
"@types/node": "24.12.0",
"typescript": "6.0.3"
"typescript": "npm:@typescript/typescript6@6.0.2"
}
}
+839 -512
View File
File diff suppressed because it is too large Load Diff
+2 -2
View File
@@ -133,8 +133,8 @@ peerDependencyRules:
'@storybook/test@8.6.15>storybook': '8.4.4'
'@storybook/test@8.6.14>storybook': '8.4.4'
'@storybook/addon-interactions@8.6.14>storybook': '8.4.4'
'@formatjs/intl@4.1.4>typescript': '6.0.3'
'react-intl@10.1.0>typescript': '6.0.3'
'@formatjs/intl@4.1.4>typescript': '6.0.2'
'react-intl@10.1.0>typescript': '6.0.2'
'@storybook/react@8.4.4>@storybook/test': '8.6.15'
'stylelint-use-logical-spec@5.0.1>stylelint': '17.11.1'
'react-popper@2.3.0>react': '18.3.1'
+1 -1
View File
@@ -55,7 +55,7 @@
"npm-run-all2": "8.0.4",
"prettier": "2.8.7",
"sass": "1.101.0",
"typescript": "6.0.3",
"typescript": "npm:@typescript/typescript6@6.0.2",
"vite": "8.0.16"
},
"pnpm": {
-1
View File
@@ -1,6 +1,5 @@
// Copyright 2014 Signal Messenger, LLC
// SPDX-License-Identifier: AGPL-3.0-only
// @ts-check
/// <reference path="../ts/window.d.ts">
/*