Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions .changeset/evil-seas-dig.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
---
---
7 changes: 5 additions & 2 deletions .yarnrc.yml
Original file line number Diff line number Diff line change
@@ -1,11 +1,14 @@
catalog:
"@types/jest": ^29.2.1
"@typescript/native-preview": ^7.0.0-0
eslint: ^9.0.0
jest: ^29.2.1
oxfmt: ^0.46.0
oxlint: ^1.61.0
typescript: ^6.0.0
typescript: ^7.0.1-0

catalogs:
compat:
typescript: "^6.0.0"

compressionLevel: 0

Expand Down
234 changes: 177 additions & 57 deletions docsite/yarn.lock
Original file line number Diff line number Diff line change
Expand Up @@ -4006,84 +4006,143 @@ __metadata:
languageName: node
linkType: hard

"@typescript/native-preview-darwin-arm64@npm:7.0.0-dev.20260216.1":
version: 7.0.0-dev.20260216.1
resolution: "@typescript/native-preview-darwin-arm64@npm:7.0.0-dev.20260216.1"
"@typescript/typescript-aix-ppc64@npm:7.0.1-rc":
version: 7.0.1-rc
resolution: "@typescript/typescript-aix-ppc64@npm:7.0.1-rc"
conditions: os=aix & cpu=ppc64
languageName: node
linkType: hard

"@typescript/typescript-darwin-arm64@npm:7.0.1-rc":
version: 7.0.1-rc
resolution: "@typescript/typescript-darwin-arm64@npm:7.0.1-rc"
conditions: os=darwin & cpu=arm64
languageName: node
linkType: hard

"@typescript/native-preview-darwin-x64@npm:7.0.0-dev.20260216.1":
version: 7.0.0-dev.20260216.1
resolution: "@typescript/native-preview-darwin-x64@npm:7.0.0-dev.20260216.1"
"@typescript/typescript-darwin-x64@npm:7.0.1-rc":
version: 7.0.1-rc
resolution: "@typescript/typescript-darwin-x64@npm:7.0.1-rc"
conditions: os=darwin & cpu=x64
languageName: node
linkType: hard

"@typescript/native-preview-linux-arm64@npm:7.0.0-dev.20260216.1":
version: 7.0.0-dev.20260216.1
resolution: "@typescript/native-preview-linux-arm64@npm:7.0.0-dev.20260216.1"
"@typescript/typescript-freebsd-arm64@npm:7.0.1-rc":
version: 7.0.1-rc
resolution: "@typescript/typescript-freebsd-arm64@npm:7.0.1-rc"
conditions: os=freebsd & cpu=arm64
languageName: node
linkType: hard

"@typescript/typescript-freebsd-x64@npm:7.0.1-rc":
version: 7.0.1-rc
resolution: "@typescript/typescript-freebsd-x64@npm:7.0.1-rc"
conditions: os=freebsd & cpu=x64
languageName: node
linkType: hard

"@typescript/typescript-linux-arm64@npm:7.0.1-rc":
version: 7.0.1-rc
resolution: "@typescript/typescript-linux-arm64@npm:7.0.1-rc"
conditions: os=linux & cpu=arm64
languageName: node
linkType: hard

"@typescript/native-preview-linux-arm@npm:7.0.0-dev.20260216.1":
version: 7.0.0-dev.20260216.1
resolution: "@typescript/native-preview-linux-arm@npm:7.0.0-dev.20260216.1"
"@typescript/typescript-linux-arm@npm:7.0.1-rc":
version: 7.0.1-rc
resolution: "@typescript/typescript-linux-arm@npm:7.0.1-rc"
conditions: os=linux & cpu=arm
languageName: node
linkType: hard

"@typescript/native-preview-linux-x64@npm:7.0.0-dev.20260216.1":
version: 7.0.0-dev.20260216.1
resolution: "@typescript/native-preview-linux-x64@npm:7.0.0-dev.20260216.1"
"@typescript/typescript-linux-loong64@npm:7.0.1-rc":
version: 7.0.1-rc
resolution: "@typescript/typescript-linux-loong64@npm:7.0.1-rc"
conditions: os=linux & cpu=loong64
languageName: node
linkType: hard

"@typescript/typescript-linux-mips64el@npm:7.0.1-rc":
version: 7.0.1-rc
resolution: "@typescript/typescript-linux-mips64el@npm:7.0.1-rc"
conditions: os=linux & cpu=mips64el
languageName: node
linkType: hard

"@typescript/typescript-linux-ppc64@npm:7.0.1-rc":
version: 7.0.1-rc
resolution: "@typescript/typescript-linux-ppc64@npm:7.0.1-rc"
conditions: os=linux & cpu=ppc64
languageName: node
linkType: hard

"@typescript/typescript-linux-riscv64@npm:7.0.1-rc":
version: 7.0.1-rc
resolution: "@typescript/typescript-linux-riscv64@npm:7.0.1-rc"
conditions: os=linux & cpu=riscv64
languageName: node
linkType: hard

"@typescript/typescript-linux-s390x@npm:7.0.1-rc":
version: 7.0.1-rc
resolution: "@typescript/typescript-linux-s390x@npm:7.0.1-rc"
conditions: os=linux & cpu=s390x
languageName: node
linkType: hard

"@typescript/typescript-linux-x64@npm:7.0.1-rc":
version: 7.0.1-rc
resolution: "@typescript/typescript-linux-x64@npm:7.0.1-rc"
conditions: os=linux & cpu=x64
languageName: node
linkType: hard

"@typescript/native-preview-win32-arm64@npm:7.0.0-dev.20260216.1":
version: 7.0.0-dev.20260216.1
resolution: "@typescript/native-preview-win32-arm64@npm:7.0.0-dev.20260216.1"
conditions: os=win32 & cpu=arm64
"@typescript/typescript-netbsd-arm64@npm:7.0.1-rc":
version: 7.0.1-rc
resolution: "@typescript/typescript-netbsd-arm64@npm:7.0.1-rc"
conditions: os=netbsd & cpu=arm64
languageName: node
linkType: hard

"@typescript/native-preview-win32-x64@npm:7.0.0-dev.20260216.1":
version: 7.0.0-dev.20260216.1
resolution: "@typescript/native-preview-win32-x64@npm:7.0.0-dev.20260216.1"
conditions: os=win32 & cpu=x64
"@typescript/typescript-netbsd-x64@npm:7.0.1-rc":
version: 7.0.1-rc
resolution: "@typescript/typescript-netbsd-x64@npm:7.0.1-rc"
conditions: os=netbsd & cpu=x64
languageName: node
linkType: hard

"@typescript/native-preview@npm:^7.0.0-0":
version: 7.0.0-dev.20260216.1
resolution: "@typescript/native-preview@npm:7.0.0-dev.20260216.1"
dependencies:
"@typescript/native-preview-darwin-arm64": "npm:7.0.0-dev.20260216.1"
"@typescript/native-preview-darwin-x64": "npm:7.0.0-dev.20260216.1"
"@typescript/native-preview-linux-arm": "npm:7.0.0-dev.20260216.1"
"@typescript/native-preview-linux-arm64": "npm:7.0.0-dev.20260216.1"
"@typescript/native-preview-linux-x64": "npm:7.0.0-dev.20260216.1"
"@typescript/native-preview-win32-arm64": "npm:7.0.0-dev.20260216.1"
"@typescript/native-preview-win32-x64": "npm:7.0.0-dev.20260216.1"
dependenciesMeta:
"@typescript/native-preview-darwin-arm64":
optional: true
"@typescript/native-preview-darwin-x64":
optional: true
"@typescript/native-preview-linux-arm":
optional: true
"@typescript/native-preview-linux-arm64":
optional: true
"@typescript/native-preview-linux-x64":
optional: true
"@typescript/native-preview-win32-arm64":
optional: true
"@typescript/native-preview-win32-x64":
optional: true
bin:
tsgo: bin/tsgo.js
checksum: 10c0/db461ea3c92cf34f865e37418498aa6af38375af71d747550121468e310f8a1cc3e74467a61c240ad55b33d5c4728dc2be8eb3a1b2ee718d8c783af710df3c68
"@typescript/typescript-openbsd-arm64@npm:7.0.1-rc":
version: 7.0.1-rc
resolution: "@typescript/typescript-openbsd-arm64@npm:7.0.1-rc"
conditions: os=openbsd & cpu=arm64
languageName: node
linkType: hard

"@typescript/typescript-openbsd-x64@npm:7.0.1-rc":
version: 7.0.1-rc
resolution: "@typescript/typescript-openbsd-x64@npm:7.0.1-rc"
conditions: os=openbsd & cpu=x64
languageName: node
linkType: hard

"@typescript/typescript-sunos-x64@npm:7.0.1-rc":
version: 7.0.1-rc
resolution: "@typescript/typescript-sunos-x64@npm:7.0.1-rc"
conditions: os=sunos & cpu=x64
languageName: node
linkType: hard

"@typescript/typescript-win32-arm64@npm:7.0.1-rc":
version: 7.0.1-rc
resolution: "@typescript/typescript-win32-arm64@npm:7.0.1-rc"
conditions: os=win32 & cpu=arm64
languageName: node
linkType: hard

"@typescript/typescript-win32-x64@npm:7.0.1-rc":
version: 7.0.1-rc
resolution: "@typescript/typescript-win32-x64@npm:7.0.1-rc"
conditions: os=win32 & cpu=x64
languageName: node
linkType: hard

Expand Down Expand Up @@ -12226,13 +12285,74 @@ __metadata:
languageName: node
linkType: hard

"typescript@npm:^6.0.0":
version: 6.0.3
resolution: "typescript@npm:6.0.3"
"typescript@npm:^7.0.1-0":
version: 7.0.1-rc
resolution: "typescript@npm:7.0.1-rc"
dependencies:
"@typescript/typescript-aix-ppc64": "npm:7.0.1-rc"
"@typescript/typescript-darwin-arm64": "npm:7.0.1-rc"
"@typescript/typescript-darwin-x64": "npm:7.0.1-rc"
"@typescript/typescript-freebsd-arm64": "npm:7.0.1-rc"
"@typescript/typescript-freebsd-x64": "npm:7.0.1-rc"
"@typescript/typescript-linux-arm": "npm:7.0.1-rc"
"@typescript/typescript-linux-arm64": "npm:7.0.1-rc"
"@typescript/typescript-linux-loong64": "npm:7.0.1-rc"
"@typescript/typescript-linux-mips64el": "npm:7.0.1-rc"
"@typescript/typescript-linux-ppc64": "npm:7.0.1-rc"
"@typescript/typescript-linux-riscv64": "npm:7.0.1-rc"
"@typescript/typescript-linux-s390x": "npm:7.0.1-rc"
"@typescript/typescript-linux-x64": "npm:7.0.1-rc"
"@typescript/typescript-netbsd-arm64": "npm:7.0.1-rc"
"@typescript/typescript-netbsd-x64": "npm:7.0.1-rc"
"@typescript/typescript-openbsd-arm64": "npm:7.0.1-rc"
"@typescript/typescript-openbsd-x64": "npm:7.0.1-rc"
"@typescript/typescript-sunos-x64": "npm:7.0.1-rc"
"@typescript/typescript-win32-arm64": "npm:7.0.1-rc"
"@typescript/typescript-win32-x64": "npm:7.0.1-rc"
dependenciesMeta:
"@typescript/typescript-aix-ppc64":
optional: true
"@typescript/typescript-darwin-arm64":
optional: true
"@typescript/typescript-darwin-x64":
optional: true
"@typescript/typescript-freebsd-arm64":
optional: true
"@typescript/typescript-freebsd-x64":
optional: true
"@typescript/typescript-linux-arm":
optional: true
"@typescript/typescript-linux-arm64":
optional: true
"@typescript/typescript-linux-loong64":
optional: true
"@typescript/typescript-linux-mips64el":
optional: true
"@typescript/typescript-linux-ppc64":
optional: true
"@typescript/typescript-linux-riscv64":
optional: true
"@typescript/typescript-linux-s390x":
optional: true
"@typescript/typescript-linux-x64":
optional: true
"@typescript/typescript-netbsd-arm64":
optional: true
"@typescript/typescript-netbsd-x64":
optional: true
"@typescript/typescript-openbsd-arm64":
optional: true
"@typescript/typescript-openbsd-x64":
optional: true
"@typescript/typescript-sunos-x64":
optional: true
"@typescript/typescript-win32-arm64":
optional: true
"@typescript/typescript-win32-x64":
optional: true
bin:
tsc: bin/tsc
tsserver: bin/tsserver
checksum: 10c0/4a25ff5045b984370f48f196b3a0120779b1b343d40b9a68d114ea5e5fff099809b2bb777576991a63a5cd59cf7bffd96ff6fe10afcefbcb8bd6fb96ad4b6606
checksum: 10c0/f83e3c85823b5b76d131a985fad2112d01006bce2ad752f4b92ee4794c53a760acd5f6c760ec4d9f105baa848f4ffe0f8107a5c80b8abd504a1c906bef34e29f
languageName: node
linkType: hard

Expand Down
16 changes: 16 additions & 0 deletions incubator/typedoc-tsc6/README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
# @rnx-kit/typedoc-tsc6

[![Build](https://github.com/microsoft/rnx-kit/actions/workflows/build.yml/badge.svg)](https://github.com/microsoft/rnx-kit/actions/workflows/build.yml)
[![npm version](https://img.shields.io/npm/v/@rnx-kit/typedoc-tsc6)](https://www.npmjs.com/package/@rnx-kit/typedoc-tsc6)

This is a package for forcing TypeDoc to use TypeScript 6.0.

## Motivation

Normally, TypeDoc will use whatever TypeScript version is installed. However,
TypeDoc does not yet support 7.0 and we want to use 7.0 because it's faster.

## Installation

This package is not meant for public use. It is only used internally, by
`scripts/src/commands/updateApiReadme.js`.
27 changes: 27 additions & 0 deletions incubator/typedoc-tsc6/package.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
{
"name": "@rnx-kit/typedoc-tsc6",
"version": "0.0.1",
"private": true,
"description": "Forces TypeDoc to use TypeScript 6.0",
"homepage": "https://github.com/microsoft/rnx-kit/tree/main/incubator/typedoc-tsc6#readme",
"license": "MIT",
"author": {
"name": "Microsoft Open Source",
"email": "microsoftopensource@users.noreply.github.com"
},
"repository": {
"type": "git",
"url": "https://github.com/microsoft/rnx-kit",
"directory": "incubator/typedoc-tsc6"
},
"type": "module",
"main": "src/index.ts",
"dependencies": {
"typedoc": "^0.28.0",
"typescript": "catalog:compat"
},
"engines": {
"node": ">=20.18"
},
"experimental": true
}
2 changes: 2 additions & 0 deletions incubator/typedoc-tsc6/src/index.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
// oxlint-disable-next-line @rnx-kit/no-export-all
export * from "typedoc";
3 changes: 1 addition & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -44,15 +44,14 @@
"devDependencies": {
"@changesets/cli": "^2.22.0",
"@types/node": "^24.0.0",
"@typescript/native-preview": "catalog:",
"@yarnpkg/types": "^4.0.0",
"eslint": "catalog:",
"knip": "^6.0.0",
"nx": "patch:nx@npm%3A22.5.4#~/.yarn/patches/nx-npm-22.5.4-3d43ac9c10.patch",
"oxfmt": "catalog:",
"oxlint": "catalog:",
"suggestion-bot": "workspace:*",
"typescript": "catalog:"
"typescript": "catalog:compat"
},
"resolutions": {
"@fluentui/dom-utilities": "ignore:",
Expand Down
2 changes: 1 addition & 1 deletion packages/metro-config/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@
],
"main": "src/index.js",
"scripts": {
"build": "rnx-kit-scripts build --with-tsc",
"build": "rnx-kit-scripts build --with-tsc6",
"format": "rnx-kit-scripts format",
"lint": "rnx-kit-scripts lint",
"test": "rnx-kit-scripts test"
Expand Down
4 changes: 2 additions & 2 deletions packages/suggestion-bot/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -38,8 +38,8 @@
"./package.json": "./package.json"
},
"scripts": {
"//build": "We run `tsgo` directly because we don't want to output to `lib`",
"build": "yarn clean && tsgo",
"//build": "We run `tsc` directly because we don't want to output to `lib`",
"build": "yarn clean && tsc",
"clean": "git clean -dfqx -- src/ test/",
"format": "rnx-kit-scripts format",
"lint": "rnx-kit-scripts lint",
Expand Down
Loading