build(client): Update deps on build-tools to 0.39 (#21360)

Updated the following:
 - client (release group)
 - client-release-group-root

Dependencies on build-tools updated:
-  `@fluid-tools/build-cli`: 0.39.0
-  `@fluidframework/build-tools`: 0.39.0
-  `@fluidframework/bundle-size-tools`: 0.39.0
-  `@fluid-tools/version-tools`: 0.39.0
- `@oclif/core` allowed to update - required by `@fluid` updates

Ran build to generate new typetest sources for changes in
https://github.com/microsoft/FluidFramework/pull/19224.

- `@sealed` tag to disables "forwards" compatibility testing making
extending sealed types not a breaking change. More docs are in progress
about this in https://github.com/microsoft/FluidFramework/pull/14421
- Make type tests import type preprocessors instead of inlining their
source. This (among other things) allows navigating to their
implementations and viewing the IntelliSense documenting the different
validators mentioned above.
- Add support for "MinimalType" (`@type-test-minimal`) and "FullType"
(``@type-test-full``) tags to opt into stricter validation or out of
validation via type preprocessors. These are mainly intended as
workarounds for type-testing limitations, and an incremental step toward
enabling more strict testing by default.

---------

Co-authored-by: Tyler Butler <tyler@tylerbutler.com>
This commit is contained in:
Jason Hartman 2024-06-12 12:56:01 -07:00 коммит произвёл GitHub
Родитель 864bff6010
Коммит 13653ef556
Не найден ключ, соответствующий данной подписи
Идентификатор ключа GPG: B5690EEEBB952194
211 изменённых файлов: 1070 добавлений и 3028 удалений

Просмотреть файл

@ -38,7 +38,7 @@
"devDependencies": {
"@biomejs/biome": "^1.7.3",
"@fluidframework/build-common": "^2.0.3",
"@fluidframework/build-tools": "^0.39.0-264124",
"@fluidframework/build-tools": "^0.39.0",
"@fluidframework/eslint-config-fluid": "^5.3.0",
"eslint": "~8.55.0",
"eslint-config-prettier": "~9.0.0",

Просмотреть файл

@ -85,10 +85,10 @@
"devDependencies": {
"@arethetypeswrong/cli": "^0.15.2",
"@biomejs/biome": "^1.7.3",
"@fluid-tools/build-cli": "^0.39.0-264124",
"@fluid-tools/build-cli": "^0.39.0",
"@fluidframework/azure-service-utils-previous": "npm:@fluidframework/azure-service-utils@2.0.0-rc.4.0.0",
"@fluidframework/build-common": "^2.0.3",
"@fluidframework/build-tools": "^0.39.0-264124",
"@fluidframework/build-tools": "^0.39.0",
"@fluidframework/eslint-config-fluid": "^5.3.0",
"@microsoft/api-extractor": "^7.45.1",
"@types/jsrsasign": "^10.5.12",

Просмотреть файл

@ -9,37 +9,11 @@
*/
import type * as old from "@fluidframework/azure-service-utils-previous/internal";
import type { TypeOnly, MinimalType, FullType } from "@fluidframework/build-tools";
import type * as current from "../../index.js";
type ValueOf<T> = T[keyof T];
type OnlySymbols<T> = T extends symbol ? T : never;
type WellKnownSymbols = OnlySymbols<ValueOf<typeof Symbol>>;
/**
* Omit (replace with never) a key if it is a custom symbol,
* not just symbol or a well known symbol from the global Symbol.
*/
type SkipUniqueSymbols<Key> = symbol extends Key
? Key // Key is symbol or a generalization of symbol, so leave it as is.
: Key extends symbol
? Key extends WellKnownSymbols
? Key // Key is a well known symbol from the global Symbol object. These are shared between packages, so they are fine and kept as is.
: never // Key is most likely some specialized symbol, typically a unique symbol. These break type comparisons so are removed by replacing them with never.
: Key; // Key is not a symbol (for example its a string or number), so leave it as is.
/**
* Remove details of T which are incompatible with type testing while keeping as much as is practical.
*
* See 'build-tools/packages/build-tools/src/typeValidator/compatibility.ts' for more information.
*/
type TypeOnly<T> = T extends number
? number
: T extends boolean | bigint | string
? T
: T extends symbol
? SkipUniqueSymbols<T>
: {
[P in keyof T as SkipUniqueSymbols<P>]: TypeOnly<T[P]>;
};
declare type MakeUnusedImportErrorsGoAway<T> = TypeOnly<T> | MinimalType<T> | FullType<T> | typeof old | typeof current;
/*
* Validate forward compatibility by using the old type in place of the current type.

Просмотреть файл

@ -91,9 +91,9 @@
},
"devDependencies": {
"@biomejs/biome": "^1.7.3",
"@fluid-tools/build-cli": "^0.39.0-264124",
"@fluid-tools/build-cli": "^0.39.0",
"@fluidframework/build-common": "^2.0.3",
"@fluidframework/build-tools": "^0.39.0-264124",
"@fluidframework/build-tools": "^0.39.0",
"@fluidframework/eslint-config-fluid": "^5.3.0",
"@types/js-yaml": "^4.0.5",
"@types/mocha": "^9.1.1",

Просмотреть файл

@ -46,9 +46,9 @@
},
"devDependencies": {
"@biomejs/biome": "^1.7.3",
"@fluid-tools/build-cli": "^0.39.0-264124",
"@fluid-tools/build-cli": "^0.39.0",
"@fluidframework/build-common": "^2.0.3",
"@fluidframework/build-tools": "^0.39.0-264124",
"@fluidframework/build-tools": "^0.39.0",
"@fluidframework/eslint-config-fluid": "^5.3.0",
"@types/node": "^18.19.0",
"eslint": "~8.55.0",

Просмотреть файл

@ -59,9 +59,9 @@
},
"devDependencies": {
"@biomejs/biome": "^1.7.3",
"@fluid-tools/build-cli": "^0.39.0-264124",
"@fluid-tools/build-cli": "^0.39.0",
"@fluidframework/build-common": "^2.0.3",
"@fluidframework/build-tools": "^0.39.0-264124",
"@fluidframework/build-tools": "^0.39.0",
"@fluidframework/eslint-config-fluid": "^5.3.0",
"@fluidframework/test-tools": "^1.0.195075",
"@fluidframework/test-utils": "workspace:~",

Просмотреть файл

@ -51,9 +51,9 @@
},
"devDependencies": {
"@biomejs/biome": "^1.7.3",
"@fluid-tools/build-cli": "^0.39.0-264124",
"@fluid-tools/build-cli": "^0.39.0",
"@fluidframework/build-common": "^2.0.3",
"@fluidframework/build-tools": "^0.39.0-264124",
"@fluidframework/build-tools": "^0.39.0",
"@fluidframework/eslint-config-fluid": "^5.3.0",
"@fluidframework/test-tools": "^1.0.195075",
"@types/jest": "29.5.3",

Просмотреть файл

@ -65,9 +65,9 @@
},
"devDependencies": {
"@biomejs/biome": "^1.7.3",
"@fluid-tools/build-cli": "^0.39.0-264124",
"@fluid-tools/build-cli": "^0.39.0",
"@fluidframework/build-common": "^2.0.3",
"@fluidframework/build-tools": "^0.39.0-264124",
"@fluidframework/build-tools": "^0.39.0",
"@fluidframework/eslint-config-fluid": "^5.3.0",
"@fluidframework/test-tools": "^1.0.195075",
"@types/jest": "29.5.3",

Просмотреть файл

@ -52,9 +52,9 @@
},
"devDependencies": {
"@biomejs/biome": "^1.7.3",
"@fluid-tools/build-cli": "^0.39.0-264124",
"@fluid-tools/build-cli": "^0.39.0",
"@fluidframework/build-common": "^2.0.3",
"@fluidframework/build-tools": "^0.39.0-264124",
"@fluidframework/build-tools": "^0.39.0",
"@fluidframework/eslint-config-fluid": "^5.3.0",
"@fluidframework/test-tools": "^1.0.195075",
"@types/jest": "29.5.3",

Просмотреть файл

@ -54,9 +54,9 @@
},
"devDependencies": {
"@biomejs/biome": "^1.7.3",
"@fluid-tools/build-cli": "^0.39.0-264124",
"@fluid-tools/build-cli": "^0.39.0",
"@fluidframework/build-common": "^2.0.3",
"@fluidframework/build-tools": "^0.39.0-264124",
"@fluidframework/build-tools": "^0.39.0",
"@fluidframework/eslint-config-fluid": "^5.3.0",
"@fluidframework/test-tools": "^1.0.195075",
"@types/jest": "29.5.3",

Просмотреть файл

@ -60,9 +60,9 @@
},
"devDependencies": {
"@biomejs/biome": "^1.7.3",
"@fluid-tools/build-cli": "^0.39.0-264124",
"@fluid-tools/build-cli": "^0.39.0",
"@fluidframework/build-common": "^2.0.3",
"@fluidframework/build-tools": "^0.39.0-264124",
"@fluidframework/build-tools": "^0.39.0",
"@fluidframework/eslint-config-fluid": "^5.3.0",
"@fluidframework/test-tools": "^1.0.195075",
"@types/jest": "29.5.3",

Просмотреть файл

@ -54,7 +54,7 @@
"@biomejs/biome": "^1.7.3",
"@fluid-example/webpack-fluid-loader": "workspace:~",
"@fluidframework/build-common": "^2.0.3",
"@fluidframework/build-tools": "^0.39.0-264124",
"@fluidframework/build-tools": "^0.39.0",
"@fluidframework/eslint-config-fluid": "^5.3.0",
"@fluidframework/test-tools": "^1.0.195075",
"@types/jest": "29.5.3",

Просмотреть файл

@ -52,9 +52,9 @@
},
"devDependencies": {
"@biomejs/biome": "^1.7.3",
"@fluid-tools/build-cli": "^0.39.0-264124",
"@fluid-tools/build-cli": "^0.39.0",
"@fluidframework/build-common": "^2.0.3",
"@fluidframework/build-tools": "^0.39.0-264124",
"@fluidframework/build-tools": "^0.39.0",
"@fluidframework/eslint-config-fluid": "^5.3.0",
"@types/react": "^17.0.44",
"@types/react-dom": "^17.0.18",

Просмотреть файл

@ -55,7 +55,7 @@
"@biomejs/biome": "^1.7.3",
"@fluid-example/webpack-fluid-loader": "workspace:~",
"@fluidframework/build-common": "^2.0.3",
"@fluidframework/build-tools": "^0.39.0-264124",
"@fluidframework/build-tools": "^0.39.0",
"@fluidframework/eslint-config-fluid": "^5.3.0",
"@fluidframework/test-tools": "^1.0.195075",
"@types/jest": "29.5.3",

Просмотреть файл

@ -56,7 +56,7 @@
"@biomejs/biome": "^1.7.3",
"@fluid-example/webpack-fluid-loader": "workspace:~",
"@fluidframework/build-common": "^2.0.3",
"@fluidframework/build-tools": "^0.39.0-264124",
"@fluidframework/build-tools": "^0.39.0",
"@fluidframework/eslint-config-fluid": "^5.3.0",
"@fluidframework/test-tools": "^1.0.195075",
"@types/jest": "29.5.3",

Просмотреть файл

@ -66,7 +66,7 @@
"@biomejs/biome": "^1.7.3",
"@fluid-example/webpack-fluid-loader": "workspace:~",
"@fluidframework/build-common": "^2.0.3",
"@fluidframework/build-tools": "^0.39.0-264124",
"@fluidframework/build-tools": "^0.39.0",
"@fluidframework/eslint-config-fluid": "^5.3.0",
"@fluidframework/test-tools": "^1.0.195075",
"@types/jest": "29.5.3",

Просмотреть файл

@ -64,7 +64,7 @@
"@biomejs/biome": "^1.7.3",
"@fluid-example/webpack-fluid-loader": "workspace:~",
"@fluidframework/build-common": "^2.0.3",
"@fluidframework/build-tools": "^0.39.0-264124",
"@fluidframework/build-tools": "^0.39.0",
"@fluidframework/eslint-config-fluid": "^5.3.0",
"@fluidframework/test-tools": "^1.0.195075",
"@types/jest": "29.5.3",

Просмотреть файл

@ -48,9 +48,9 @@
},
"devDependencies": {
"@biomejs/biome": "^1.7.3",
"@fluid-tools/build-cli": "^0.39.0-264124",
"@fluid-tools/build-cli": "^0.39.0",
"@fluidframework/build-common": "^2.0.3",
"@fluidframework/build-tools": "^0.39.0-264124",
"@fluidframework/build-tools": "^0.39.0",
"@fluidframework/eslint-config-fluid": "^5.3.0",
"@types/express": "^4.17.21",
"@types/fs-extra": "^9.0.11",

Просмотреть файл

@ -63,7 +63,7 @@
"@fluid-internal/mocha-test-setup": "workspace:~",
"@fluid-tools/benchmark": "^0.48.0",
"@fluidframework/build-common": "^2.0.3",
"@fluidframework/build-tools": "^0.39.0-264124",
"@fluidframework/build-tools": "^0.39.0",
"@fluidframework/eslint-config-fluid": "^5.3.0",
"@fluidframework/id-compressor": "workspace:~",
"@types/mocha": "^9.1.1",

Просмотреть файл

@ -57,7 +57,7 @@
"devDependencies": {
"@biomejs/biome": "^1.7.3",
"@fluidframework/build-common": "^2.0.3",
"@fluidframework/build-tools": "^0.39.0-264124",
"@fluidframework/build-tools": "^0.39.0",
"@fluidframework/eslint-config-fluid": "^5.3.0",
"@testing-library/dom": "^8.2.0",
"@testing-library/jest-dom": "^5.16.5",

Просмотреть файл

@ -51,7 +51,7 @@
"@biomejs/biome": "^1.7.3",
"@fluid-example/webpack-fluid-loader": "workspace:~",
"@fluidframework/build-common": "^2.0.3",
"@fluidframework/build-tools": "^0.39.0-264124",
"@fluidframework/build-tools": "^0.39.0",
"@fluidframework/eslint-config-fluid": "^5.3.0",
"@fluidframework/test-tools": "^1.0.195075",
"@types/jest": "29.5.3",

Просмотреть файл

@ -63,7 +63,7 @@
"@biomejs/biome": "^1.7.3",
"@fluid-example/webpack-fluid-loader": "workspace:~",
"@fluidframework/build-common": "^2.0.3",
"@fluidframework/build-tools": "^0.39.0-264124",
"@fluidframework/build-tools": "^0.39.0",
"@fluidframework/eslint-config-fluid": "^5.3.0",
"@fluidframework/test-tools": "^1.0.195075",
"@fluidframework/test-utils": "workspace:~",

Просмотреть файл

@ -70,7 +70,7 @@
"@biomejs/biome": "^1.7.3",
"@fluid-example/webpack-fluid-loader": "workspace:~",
"@fluidframework/build-common": "^2.0.3",
"@fluidframework/build-tools": "^0.39.0-264124",
"@fluidframework/build-tools": "^0.39.0",
"@fluidframework/eslint-config-fluid": "^5.3.0",
"@types/codemirror": "5.60.7",
"@types/node": "^18.19.0",

Просмотреть файл

@ -50,7 +50,7 @@
"@biomejs/biome": "^1.7.3",
"@fluid-example/webpack-fluid-loader": "workspace:~",
"@fluidframework/build-common": "^2.0.3",
"@fluidframework/build-tools": "^0.39.0-264124",
"@fluidframework/build-tools": "^0.39.0",
"@fluidframework/eslint-config-fluid": "^5.3.0",
"@fluidframework/test-tools": "^1.0.195075",
"@types/jest": "29.5.3",

Просмотреть файл

@ -54,7 +54,7 @@
"@biomejs/biome": "^1.7.3",
"@fluid-example/webpack-fluid-loader": "workspace:~",
"@fluidframework/build-common": "^2.0.3",
"@fluidframework/build-tools": "^0.39.0-264124",
"@fluidframework/build-tools": "^0.39.0",
"@fluidframework/eslint-config-fluid": "^5.3.0",
"@fluidframework/test-tools": "^1.0.195075",
"@types/jest": "29.5.3",

Просмотреть файл

@ -52,7 +52,7 @@
"@biomejs/biome": "^1.7.3",
"@fluid-example/webpack-fluid-loader": "workspace:~",
"@fluidframework/build-common": "^2.0.3",
"@fluidframework/build-tools": "^0.39.0-264124",
"@fluidframework/build-tools": "^0.39.0",
"@fluidframework/eslint-config-fluid": "^5.3.0",
"@types/react": "^17.0.44",
"css-loader": "^6.11.0",

Просмотреть файл

@ -48,7 +48,7 @@
"devDependencies": {
"@biomejs/biome": "^1.7.3",
"@fluidframework/build-common": "^2.0.3",
"@fluidframework/build-tools": "^0.39.0-264124",
"@fluidframework/build-tools": "^0.39.0",
"@fluidframework/eslint-config-fluid": "^5.3.0",
"eslint": "~8.55.0",
"prettier": "~3.0.3",

Просмотреть файл

@ -47,7 +47,7 @@
"devDependencies": {
"@biomejs/biome": "^1.7.3",
"@fluidframework/build-common": "^2.0.3",
"@fluidframework/build-tools": "^0.39.0-264124",
"@fluidframework/build-tools": "^0.39.0",
"@fluidframework/eslint-config-fluid": "^5.3.0",
"@types/react": "^17.0.44",
"copyfiles": "^2.4.1",

Просмотреть файл

@ -62,7 +62,7 @@
"@biomejs/biome": "^1.7.3",
"@fluid-example/webpack-fluid-loader": "workspace:~",
"@fluidframework/build-common": "^2.0.3",
"@fluidframework/build-tools": "^0.39.0-264124",
"@fluidframework/build-tools": "^0.39.0",
"@fluidframework/eslint-config-fluid": "^5.3.0",
"@fluidframework/test-tools": "^1.0.195075",
"@types/jest": "29.5.3",

Просмотреть файл

@ -46,7 +46,7 @@
"devDependencies": {
"@biomejs/biome": "^1.7.3",
"@fluidframework/build-common": "^2.0.3",
"@fluidframework/build-tools": "^0.39.0-264124",
"@fluidframework/build-tools": "^0.39.0",
"@fluidframework/eslint-config-fluid": "^5.3.0",
"eslint": "~8.55.0",
"prettier": "~3.0.3",

Просмотреть файл

@ -43,9 +43,9 @@
},
"devDependencies": {
"@biomejs/biome": "^1.7.3",
"@fluid-tools/build-cli": "^0.39.0-264124",
"@fluid-tools/build-cli": "^0.39.0",
"@fluidframework/build-common": "^2.0.3",
"@fluidframework/build-tools": "^0.39.0-264124",
"@fluidframework/build-tools": "^0.39.0",
"@fluidframework/eslint-config-fluid": "^5.3.0",
"@types/react": "^17.0.44",
"eslint": "~8.55.0",

Просмотреть файл

@ -46,7 +46,7 @@
"devDependencies": {
"@biomejs/biome": "^1.7.3",
"@fluidframework/build-common": "^2.0.3",
"@fluidframework/build-tools": "^0.39.0-264124",
"@fluidframework/build-tools": "^0.39.0",
"@fluidframework/eslint-config-fluid": "^5.3.0",
"@types/react": "^17.0.44",
"copyfiles": "^2.4.1",

Просмотреть файл

@ -46,7 +46,7 @@
"devDependencies": {
"@biomejs/biome": "^1.7.3",
"@fluidframework/build-common": "^2.0.3",
"@fluidframework/build-tools": "^0.39.0-264124",
"@fluidframework/build-tools": "^0.39.0",
"@fluidframework/eslint-config-fluid": "^5.3.0",
"@types/react": "^17.0.44",
"copyfiles": "^2.4.1",

Просмотреть файл

@ -46,7 +46,7 @@
"devDependencies": {
"@biomejs/biome": "^1.7.3",
"@fluidframework/build-common": "^2.0.3",
"@fluidframework/build-tools": "^0.39.0-264124",
"@fluidframework/build-tools": "^0.39.0",
"@fluidframework/eslint-config-fluid": "^5.3.0",
"@types/react": "^17.0.44",
"copyfiles": "^2.4.1",

Просмотреть файл

@ -81,7 +81,7 @@
"@biomejs/biome": "^1.7.3",
"@fluid-example/webpack-fluid-loader": "workspace:~",
"@fluidframework/build-common": "^2.0.3",
"@fluidframework/build-tools": "^0.39.0-264124",
"@fluidframework/build-tools": "^0.39.0",
"@fluidframework/eslint-config-fluid": "^5.3.0",
"@types/node": "^18.19.0",
"@types/orderedmap": "^1.0.0",

Просмотреть файл

@ -60,7 +60,7 @@
"@biomejs/biome": "^1.7.3",
"@fluid-example/webpack-fluid-loader": "workspace:~",
"@fluidframework/build-common": "^2.0.3",
"@fluidframework/build-tools": "^0.39.0-264124",
"@fluidframework/build-tools": "^0.39.0",
"@fluidframework/eslint-config-fluid": "^5.3.0",
"@types/react": "^17.0.44",
"@types/simplemde": "^1.11.7",

Просмотреть файл

@ -89,9 +89,9 @@
"@biomejs/biome": "^1.7.3",
"@fluid-internal/mocha-test-setup": "workspace:~",
"@fluid-private/test-version-utils": "workspace:~",
"@fluid-tools/build-cli": "^0.39.0-264124",
"@fluid-tools/build-cli": "^0.39.0",
"@fluidframework/build-common": "^2.0.3",
"@fluidframework/build-tools": "^0.39.0-264124",
"@fluidframework/build-tools": "^0.39.0",
"@fluidframework/eslint-config-fluid": "^5.3.0",
"@fluidframework/runtime-utils": "workspace:~",
"@fluidframework/test-utils": "workspace:~",

Просмотреть файл

@ -56,7 +56,7 @@
"@biomejs/biome": "^1.7.3",
"@fluid-example/webpack-fluid-loader": "workspace:~",
"@fluidframework/build-common": "^2.0.3",
"@fluidframework/build-tools": "^0.39.0-264124",
"@fluidframework/build-tools": "^0.39.0",
"@fluidframework/eslint-config-fluid": "^5.3.0",
"@fluidframework/test-tools": "^1.0.195075",
"@fluidframework/test-utils": "workspace:~",

Просмотреть файл

@ -93,7 +93,7 @@
"@fluid-internal/mocha-test-setup": "workspace:~",
"@fluid-private/test-version-utils": "workspace:~",
"@fluidframework/build-common": "^2.0.3",
"@fluidframework/build-tools": "^0.39.0-264124",
"@fluidframework/build-tools": "^0.39.0",
"@fluidframework/eslint-config-fluid": "^5.3.0",
"@fluidframework/runtime-utils": "workspace:~",
"@fluidframework/test-utils": "workspace:~",

Просмотреть файл

@ -83,7 +83,7 @@
"devDependencies": {
"@biomejs/biome": "^1.7.3",
"@fluidframework/build-common": "^2.0.3",
"@fluidframework/build-tools": "^0.39.0-264124",
"@fluidframework/build-tools": "^0.39.0",
"@fluidframework/eslint-config-fluid": "^5.3.0",
"@fluidframework/test-tools": "^1.0.195075",
"@types/cors": "^2.8.4",

Просмотреть файл

@ -55,7 +55,7 @@
"devDependencies": {
"@biomejs/biome": "^1.7.3",
"@fluidframework/build-common": "^2.0.3",
"@fluidframework/build-tools": "^0.39.0-264124",
"@fluidframework/build-tools": "^0.39.0",
"@fluidframework/container-definitions": "workspace:~",
"@fluidframework/container-loader": "workspace:~",
"@fluidframework/devtools": "workspace:~",

Просмотреть файл

@ -46,9 +46,9 @@
},
"devDependencies": {
"@biomejs/biome": "^1.7.3",
"@fluid-tools/build-cli": "^0.39.0-264124",
"@fluid-tools/build-cli": "^0.39.0",
"@fluidframework/build-common": "^2.0.3",
"@fluidframework/build-tools": "^0.39.0-264124",
"@fluidframework/build-tools": "^0.39.0",
"@fluidframework/eslint-config-fluid": "^5.3.0",
"@types/node": "^18.19.0",
"@types/react": "^17.0.44",

Просмотреть файл

@ -48,10 +48,10 @@
"devDependencies": {
"@biomejs/biome": "^1.7.3",
"@cerner/duplicate-package-checker-webpack-plugin": "~2.3.0",
"@fluid-tools/version-tools": "^0.38.0",
"@fluid-tools/version-tools": "^0.39.0",
"@fluidframework/build-common": "^2.0.3",
"@fluidframework/build-tools": "^0.39.0-264124",
"@fluidframework/bundle-size-tools": "^0.38.0",
"@fluidframework/build-tools": "^0.39.0",
"@fluidframework/bundle-size-tools": "^0.39.0",
"@fluidframework/eslint-config-fluid": "^5.3.0",
"@mixer/webpack-bundle-compare": "^0.1.0",
"@types/node": "^18.19.0",

Просмотреть файл

@ -80,9 +80,9 @@
"devDependencies": {
"@arethetypeswrong/cli": "^0.15.2",
"@biomejs/biome": "^1.7.3",
"@fluid-tools/build-cli": "^0.39.0-264124",
"@fluid-tools/build-cli": "^0.39.0",
"@fluidframework/build-common": "^2.0.3",
"@fluidframework/build-tools": "^0.39.0-264124",
"@fluidframework/build-tools": "^0.39.0",
"@fluidframework/eslint-config-fluid": "^5.3.0",
"@microsoft/api-extractor": "^7.45.1",
"@types/react": "^17.0.44",

Просмотреть файл

@ -113,9 +113,9 @@
"@arethetypeswrong/cli": "^0.15.2",
"@biomejs/biome": "^1.7.3",
"@fluid-internal/mocha-test-setup": "workspace:~",
"@fluid-tools/build-cli": "^0.39.0-264124",
"@fluid-tools/build-cli": "^0.39.0",
"@fluidframework/build-common": "^2.0.3",
"@fluidframework/build-tools": "^0.39.0-264124",
"@fluidframework/build-tools": "^0.39.0",
"@fluidframework/eslint-config-fluid": "^5.3.0",
"@types/express": "^4.17.21",
"@types/fs-extra": "^9.0.11",

Просмотреть файл

@ -53,9 +53,9 @@
},
"devDependencies": {
"@biomejs/biome": "^1.7.3",
"@fluid-tools/build-cli": "^0.39.0-264124",
"@fluid-tools/build-cli": "^0.39.0",
"@fluidframework/build-common": "^2.0.3",
"@fluidframework/build-tools": "^0.39.0-264124",
"@fluidframework/build-tools": "^0.39.0",
"@fluidframework/eslint-config-fluid": "^5.3.0",
"@fluidframework/test-tools": "^1.0.195075",
"@types/jest": "29.5.3",

Просмотреть файл

@ -62,9 +62,9 @@
},
"devDependencies": {
"@biomejs/biome": "^1.7.3",
"@fluid-tools/build-cli": "^0.39.0-264124",
"@fluid-tools/build-cli": "^0.39.0",
"@fluidframework/build-common": "^2.0.3",
"@fluidframework/build-tools": "^0.39.0-264124",
"@fluidframework/build-tools": "^0.39.0",
"@fluidframework/eslint-config-fluid": "^5.3.0",
"@fluidframework/test-tools": "^1.0.195075",
"@types/jest": "29.5.3",

Просмотреть файл

@ -62,9 +62,9 @@
},
"devDependencies": {
"@biomejs/biome": "^1.7.3",
"@fluid-tools/build-cli": "^0.39.0-264124",
"@fluid-tools/build-cli": "^0.39.0",
"@fluidframework/build-common": "^2.0.3",
"@fluidframework/build-tools": "^0.39.0-264124",
"@fluidframework/build-tools": "^0.39.0",
"@fluidframework/eslint-config-fluid": "^5.3.0",
"@fluidframework/test-tools": "^1.0.195075",
"@types/jest": "29.5.3",

Просмотреть файл

@ -61,9 +61,9 @@
},
"devDependencies": {
"@biomejs/biome": "^1.7.3",
"@fluid-tools/build-cli": "^0.39.0-264124",
"@fluid-tools/build-cli": "^0.39.0",
"@fluidframework/build-common": "^2.0.3",
"@fluidframework/build-tools": "^0.39.0-264124",
"@fluidframework/build-tools": "^0.39.0",
"@fluidframework/eslint-config-fluid": "^5.3.0",
"@fluidframework/test-tools": "^1.0.195075",
"@types/jest": "29.5.3",

Просмотреть файл

@ -49,9 +49,9 @@
},
"devDependencies": {
"@biomejs/biome": "^1.7.3",
"@fluid-tools/build-cli": "^0.39.0-264124",
"@fluid-tools/build-cli": "^0.39.0",
"@fluidframework/build-common": "^2.0.3",
"@fluidframework/build-tools": "^0.39.0-264124",
"@fluidframework/build-tools": "^0.39.0",
"@fluidframework/eslint-config-fluid": "^5.3.0",
"@fluidframework/test-tools": "^1.0.195075",
"@types/jest": "29.5.3",

Просмотреть файл

@ -49,9 +49,9 @@
},
"devDependencies": {
"@biomejs/biome": "^1.7.3",
"@fluid-tools/build-cli": "^0.39.0-264124",
"@fluid-tools/build-cli": "^0.39.0",
"@fluidframework/build-common": "^2.0.3",
"@fluidframework/build-tools": "^0.39.0-264124",
"@fluidframework/build-tools": "^0.39.0",
"@fluidframework/eslint-config-fluid": "^5.3.0",
"@fluidframework/test-tools": "^1.0.195075",
"@types/jest": "29.5.3",

Просмотреть файл

@ -50,9 +50,9 @@
},
"devDependencies": {
"@biomejs/biome": "^1.7.3",
"@fluid-tools/build-cli": "^0.39.0-264124",
"@fluid-tools/build-cli": "^0.39.0",
"@fluidframework/build-common": "^2.0.3",
"@fluidframework/build-tools": "^0.39.0-264124",
"@fluidframework/build-tools": "^0.39.0",
"@fluidframework/eslint-config-fluid": "^5.3.0",
"@fluidframework/test-tools": "^1.0.195075",
"@types/jest": "29.5.3",

Просмотреть файл

@ -81,7 +81,7 @@
"devDependencies": {
"@biomejs/biome": "^1.7.3",
"@fluidframework/build-common": "^2.0.3",
"@fluidframework/build-tools": "^0.39.0-264124",
"@fluidframework/build-tools": "^0.39.0",
"@types/jest": "29.5.3",
"@types/jest-environment-puppeteer": "workspace:~",
"@types/uuid": "^9.0.2",

Просмотреть файл

@ -48,7 +48,7 @@
"@arethetypeswrong/cli": "^0.15.2",
"@biomejs/biome": "^1.7.3",
"@fluidframework/build-common": "^2.0.3",
"@fluidframework/build-tools": "^0.39.0-264124",
"@fluidframework/build-tools": "^0.39.0",
"copyfiles": "^2.4.1",
"eslint": "~8.55.0",
"prettier": "~3.0.3",

Просмотреть файл

@ -94,7 +94,7 @@
"@babel/plugin-proposal-decorators": "^7.24.1",
"@biomejs/biome": "^1.7.3",
"@fluidframework/build-common": "^2.0.3",
"@fluidframework/build-tools": "^0.39.0-264124",
"@fluidframework/build-tools": "^0.39.0",
"@fluidframework/test-runtime-utils": "workspace:~",
"@types/jest": "29.5.3",
"@types/lodash": "^4.14.118",

Просмотреть файл

@ -94,7 +94,7 @@
"@biomejs/biome": "^1.7.3",
"@fluid-internal/mocha-test-setup": "workspace:~",
"@fluidframework/build-common": "^2.0.3",
"@fluidframework/build-tools": "^0.39.0-264124",
"@fluidframework/build-tools": "^0.39.0",
"@types/lodash": "^4.14.118",
"@types/mocha": "^9.1.1",
"@types/node": "^18.19.0",

Просмотреть файл

@ -72,7 +72,7 @@
"@biomejs/biome": "^1.7.3",
"@fluid-internal/mocha-test-setup": "workspace:~",
"@fluidframework/build-common": "^2.0.3",
"@fluidframework/build-tools": "^0.39.0-264124",
"@fluidframework/build-tools": "^0.39.0",
"@fluidframework/eslint-config-fluid": "^5.3.0",
"@microsoft/api-extractor": "^7.45.1",
"@types/chai": "^4.0.0",

Просмотреть файл

@ -81,9 +81,9 @@
"@fluid-experimental/property-common": "workspace:~",
"@fluid-internal/mocha-test-setup": "workspace:~",
"@fluid-private/test-drivers": "workspace:~",
"@fluid-tools/build-cli": "^0.39.0-264124",
"@fluid-tools/build-cli": "^0.39.0",
"@fluidframework/build-common": "^2.0.3",
"@fluidframework/build-tools": "^0.39.0-264124",
"@fluidframework/build-tools": "^0.39.0",
"@fluidframework/container-loader": "workspace:~",
"@fluidframework/container-runtime": "workspace:~",
"@fluidframework/eslint-config-fluid": "^5.3.0",

Просмотреть файл

@ -76,7 +76,7 @@
"@fluid-experimental/property-properties": "workspace:~",
"@fluid-experimental/property-proxy": "workspace:~",
"@fluidframework/build-common": "^2.0.3",
"@fluidframework/build-tools": "^0.39.0-264124",
"@fluidframework/build-tools": "^0.39.0",
"@storybook/addon-actions": "^6.4.22",
"@storybook/addon-essentials": "^6.4.22",
"@storybook/addon-links": "^6.4.22",

Просмотреть файл

@ -77,7 +77,7 @@
"@biomejs/biome": "^1.7.3",
"@fluid-internal/mocha-test-setup": "workspace:~",
"@fluidframework/build-common": "^2.0.3",
"@fluidframework/build-tools": "^0.39.0-264124",
"@fluidframework/build-tools": "^0.39.0",
"@types/mocha": "^9.1.1",
"@types/node": "^18.19.0",
"@types/sinon": "^17.0.3",

Просмотреть файл

@ -63,7 +63,7 @@
"@arethetypeswrong/cli": "^0.15.2",
"@biomejs/biome": "^1.7.3",
"@fluidframework/build-common": "^2.0.3",
"@fluidframework/build-tools": "^0.39.0-264124",
"@fluidframework/build-tools": "^0.39.0",
"@fluidframework/eslint-config-fluid": "^5.3.0",
"@types/jest": "29.5.3",
"@types/node": "^18.19.0",

Просмотреть файл

@ -47,7 +47,7 @@
"@biomejs/biome": "^1.7.3",
"@fluid-experimental/property-properties": "workspace:~",
"@fluid-internal/mocha-test-setup": "workspace:~",
"@fluidframework/build-tools": "^0.39.0-264124",
"@fluidframework/build-tools": "^0.39.0",
"@types/sinon": "^17.0.3",
"chai": "^4.2.0",
"chai-as-promised": "7.1.1",

Просмотреть файл

@ -59,7 +59,7 @@
"@arethetypeswrong/cli": "^0.15.2",
"@biomejs/biome": "^1.7.3",
"@fluidframework/build-common": "^2.0.3",
"@fluidframework/build-tools": "^0.39.0-264124",
"@fluidframework/build-tools": "^0.39.0",
"@fluidframework/test-runtime-utils": "workspace:~",
"@types/jest": "29.5.3",
"@types/node": "^18.19.0",

Просмотреть файл

@ -101,9 +101,9 @@
"@fluid-private/stochastic-test-utils": "workspace:~",
"@fluid-private/test-dds-utils": "workspace:~",
"@fluid-tools/benchmark": "^0.48.0",
"@fluid-tools/build-cli": "^0.39.0-264124",
"@fluid-tools/build-cli": "^0.39.0",
"@fluidframework/build-common": "^2.0.3",
"@fluidframework/build-tools": "^0.39.0-264124",
"@fluidframework/build-tools": "^0.39.0",
"@fluidframework/container-definitions": "workspace:~",
"@fluidframework/eslint-config-fluid": "^5.3.0",
"@fluidframework/test-runtime-utils": "workspace:~",

Просмотреть файл

@ -92,9 +92,9 @@
"@biomejs/biome": "^1.7.3",
"@fluid-internal/mocha-test-setup": "workspace:~",
"@fluid-private/test-dds-utils": "workspace:~",
"@fluid-tools/build-cli": "^0.39.0-264124",
"@fluid-tools/build-cli": "^0.39.0",
"@fluidframework/build-common": "^2.0.3",
"@fluidframework/build-tools": "^0.39.0-264124",
"@fluidframework/build-tools": "^0.39.0",
"@fluidframework/eslint-config-fluid": "^5.3.0",
"@fluidframework/test-runtime-utils": "workspace:~",
"@microsoft/api-extractor": "^7.45.1",

Просмотреть файл

@ -92,9 +92,9 @@
"@biomejs/biome": "^1.7.3",
"@fluid-internal/mocha-test-setup": "workspace:~",
"@fluid-private/test-dds-utils": "workspace:~",
"@fluid-tools/build-cli": "^0.39.0-264124",
"@fluid-tools/build-cli": "^0.39.0",
"@fluidframework/build-common": "^2.0.3",
"@fluidframework/build-tools": "^0.39.0-264124",
"@fluidframework/build-tools": "^0.39.0",
"@fluidframework/eslint-config-fluid": "^5.3.0",
"@fluidframework/test-runtime-utils": "workspace:~",
"@microsoft/api-extractor": "^7.45.1",

Просмотреть файл

@ -93,9 +93,9 @@
"@biomejs/biome": "^1.7.3",
"@fluid-internal/mocha-test-setup": "workspace:~",
"@fluid-private/test-dds-utils": "workspace:~",
"@fluid-tools/build-cli": "^0.39.0-264124",
"@fluid-tools/build-cli": "^0.39.0",
"@fluidframework/build-common": "^2.0.3",
"@fluidframework/build-tools": "^0.39.0-264124",
"@fluidframework/build-tools": "^0.39.0",
"@fluidframework/eslint-config-fluid": "^5.3.0",
"@fluidframework/test-runtime-utils": "workspace:~",
"@microsoft/api-extractor": "^7.45.1",

Просмотреть файл

@ -93,7 +93,7 @@
"@fluid-private/test-drivers": "workspace:~",
"@fluid-tools/benchmark": "^0.48.0",
"@fluidframework/build-common": "^2.0.3",
"@fluidframework/build-tools": "^0.39.0-264124",
"@fluidframework/build-tools": "^0.39.0",
"@fluidframework/container-definitions": "workspace:~",
"@fluidframework/container-loader": "workspace:~",
"@fluidframework/container-runtime": "workspace:~",

Просмотреть файл

@ -59,9 +59,9 @@
"devDependencies": {
"@arethetypeswrong/cli": "^0.15.2",
"@biomejs/biome": "^1.7.3",
"@fluid-tools/build-cli": "^0.39.0-264124",
"@fluid-tools/build-cli": "^0.39.0",
"@fluidframework/build-common": "^2.0.3",
"@fluidframework/build-tools": "^0.39.0-264124",
"@fluidframework/build-tools": "^0.39.0",
"@fluidframework/eslint-config-fluid": "^5.3.0",
"@microsoft/api-extractor": "^7.45.1",
"@types/node": "^18.19.0",

Просмотреть файл

@ -60,9 +60,9 @@
"devDependencies": {
"@arethetypeswrong/cli": "^0.15.2",
"@biomejs/biome": "^1.7.3",
"@fluid-tools/build-cli": "^0.39.0-264124",
"@fluid-tools/build-cli": "^0.39.0",
"@fluidframework/build-common": "^2.0.3",
"@fluidframework/build-tools": "^0.39.0-264124",
"@fluidframework/build-tools": "^0.39.0",
"@fluidframework/eslint-config-fluid": "^5.3.0",
"@microsoft/api-extractor": "^7.45.1",
"@types/node": "^18.19.0",

Просмотреть файл

@ -105,9 +105,9 @@
"@arethetypeswrong/cli": "^0.15.2",
"@biomejs/biome": "^1.7.3",
"@fluid-internal/mocha-test-setup": "workspace:~",
"@fluid-tools/build-cli": "^0.39.0-264124",
"@fluid-tools/build-cli": "^0.39.0",
"@fluidframework/build-common": "^2.0.3",
"@fluidframework/build-tools": "^0.39.0-264124",
"@fluidframework/build-tools": "^0.39.0",
"@fluidframework/eslint-config-fluid": "^5.3.0",
"@fluidframework/tinylicious-client": "workspace:~",
"@microsoft/api-extractor": "^7.45.1",

Просмотреть файл

@ -156,10 +156,10 @@
"@biomejs/biome": "^1.7.3",
"@changesets/cli": "^2.26.1",
"@fluid-private/changelog-generator-wrapper": "file:tools/changelog-generator-wrapper",
"@fluid-tools/build-cli": "^0.39.0-264124",
"@fluid-tools/build-cli": "^0.39.0",
"@fluid-tools/markdown-magic": "file:tools/markdown-magic",
"@fluidframework/build-common": "^2.0.3",
"@fluidframework/build-tools": "^0.39.0-264124",
"@fluidframework/build-tools": "^0.39.0",
"@fluidframework/eslint-config-fluid": "^5.3.0",
"@fluidframework/test-tools": "^1.0.195075",
"@microsoft/api-documenter": "^7.21.6",
@ -364,7 +364,6 @@
"comments": [
"nodegit is replaced with an empty package here because it's currently only used by good-fences for features we do not need, and has issues building when changing node versions. See https://github.com/smikula/good-fences/issues/105 for details.",
"codemirror and marked overrides are because simplemde use * versions, and the fully up to date versions of its deps do not work. packageExtensions was tried to fix this, but did not work.",
"Fixing the @oclif/core version avoids a large number of peer dep errors since 2.6 adds a prod dep on ts-node and thus a peer dep on @types/node",
"sharp <0.32.6 has a vulnerability that Component Governance flags (https://github.com/advisories/GHSA-54xq-cgqr-rpm3). It's a transitive dependency through jssm-viz-cli, which hasn't updated to a version with the fix",
"@fluentui/react-positioning's dependency on @floating-ui/dom causes a peer dependency violation, so overriding it forces a version that meets peer dependency requirements is installed.",
"get-tsconfig has a bug below 4.7.3 which causes eslint to fail to resolve typescript configurations. See https://github.com/privatenumber/get-tsconfig/issues/67"
@ -377,7 +376,6 @@
"qs": "^6.11.0",
"simplemde>codemirror": "^5.65.11",
"simplemde>marked": "^4.3.0",
"@oclif/core": "~2.4.0",
"sharp": "^0.33.2",
"@fluentui/react-positioning>@floating-ui/dom": "~1.5.4"
},

Просмотреть файл

@ -115,9 +115,9 @@
"@biomejs/biome": "^1.7.3",
"@fluid-internal/client-utils-previous": "npm:@fluid-internal/client-utils@2.0.0-rc.4.0.0",
"@fluid-internal/mocha-test-setup": "workspace:~",
"@fluid-tools/build-cli": "^0.39.0-264124",
"@fluid-tools/build-cli": "^0.39.0",
"@fluidframework/build-common": "^2.0.3",
"@fluidframework/build-tools": "^0.39.0-264124",
"@fluidframework/build-tools": "^0.39.0",
"@fluidframework/eslint-config-fluid": "^5.3.0",
"@microsoft/api-extractor": "^7.45.1",
"@types/base64-js": "^1.3.0",

Просмотреть файл

@ -9,37 +9,11 @@
*/
import type * as old from "@fluid-internal/client-utils-previous";
import type { TypeOnly, MinimalType, FullType } from "@fluidframework/build-tools";
import type * as current from "../../index.js";
type ValueOf<T> = T[keyof T];
type OnlySymbols<T> = T extends symbol ? T : never;
type WellKnownSymbols = OnlySymbols<ValueOf<typeof Symbol>>;
/**
* Omit (replace with never) a key if it is a custom symbol,
* not just symbol or a well known symbol from the global Symbol.
*/
type SkipUniqueSymbols<Key> = symbol extends Key
? Key // Key is symbol or a generalization of symbol, so leave it as is.
: Key extends symbol
? Key extends WellKnownSymbols
? Key // Key is a well known symbol from the global Symbol object. These are shared between packages, so they are fine and kept as is.
: never // Key is most likely some specialized symbol, typically a unique symbol. These break type comparisons so are removed by replacing them with never.
: Key; // Key is not a symbol (for example its a string or number), so leave it as is.
/**
* Remove details of T which are incompatible with type testing while keeping as much as is practical.
*
* See 'build-tools/packages/build-tools/src/typeValidator/compatibility.ts' for more information.
*/
type TypeOnly<T> = T extends number
? number
: T extends boolean | bigint | string
? T
: T extends symbol
? SkipUniqueSymbols<T>
: {
[P in keyof T as SkipUniqueSymbols<P>]: TypeOnly<T[P]>;
};
declare type MakeUnusedImportErrorsGoAway<T> = TypeOnly<T> | MinimalType<T> | FullType<T> | typeof old | typeof current;
/*
* Validate forward compatibility by using the old type in place of the current type.

Просмотреть файл

@ -94,9 +94,9 @@
"devDependencies": {
"@arethetypeswrong/cli": "^0.15.2",
"@biomejs/biome": "^1.7.3",
"@fluid-tools/build-cli": "^0.39.0-264124",
"@fluid-tools/build-cli": "^0.39.0",
"@fluidframework/build-common": "^2.0.3",
"@fluidframework/build-tools": "^0.39.0-264124",
"@fluidframework/build-tools": "^0.39.0",
"@fluidframework/container-definitions-previous": "npm:@fluidframework/container-definitions@2.0.0-rc.4.0.0",
"@fluidframework/eslint-config-fluid": "^5.3.0",
"@microsoft/api-extractor": "^7.45.1",

Просмотреть файл

@ -8,38 +8,12 @@
* Generated by flub generate:typetests in @fluid-tools/build-cli.
*/
import type { TypeOnly, MinimalType, FullType } from "@fluidframework/build-tools";
import type * as old from "@fluidframework/container-definitions-previous/internal";
import type * as current from "../../index.js";
type ValueOf<T> = T[keyof T];
type OnlySymbols<T> = T extends symbol ? T : never;
type WellKnownSymbols = OnlySymbols<ValueOf<typeof Symbol>>;
/**
* Omit (replace with never) a key if it is a custom symbol,
* not just symbol or a well known symbol from the global Symbol.
*/
type SkipUniqueSymbols<Key> = symbol extends Key
? Key // Key is symbol or a generalization of symbol, so leave it as is.
: Key extends symbol
? Key extends WellKnownSymbols
? Key // Key is a well known symbol from the global Symbol object. These are shared between packages, so they are fine and kept as is.
: never // Key is most likely some specialized symbol, typically a unique symbol. These break type comparisons so are removed by replacing them with never.
: Key; // Key is not a symbol (for example its a string or number), so leave it as is.
/**
* Remove details of T which are incompatible with type testing while keeping as much as is practical.
*
* See 'build-tools/packages/build-tools/src/typeValidator/compatibility.ts' for more information.
*/
type TypeOnly<T> = T extends number
? number
: T extends boolean | bigint | string
? T
: T extends symbol
? SkipUniqueSymbols<T>
: {
[P in keyof T as SkipUniqueSymbols<P>]: TypeOnly<T[P]>;
};
declare type MakeUnusedImportErrorsGoAway<T> = TypeOnly<T> | MinimalType<T> | FullType<T> | typeof old | typeof current;
/*
* Validate forward compatibility by using the old type in place of the current type.
@ -489,20 +463,6 @@ declare function use_old_TypeAliasDeclaration_ICriticalContainerError(
use_old_TypeAliasDeclaration_ICriticalContainerError(
get_current_TypeAliasDeclaration_ICriticalContainerError());
/*
* Validate forward compatibility by using the old type in place of the current type.
* If this test starts failing, it indicates a change that is not forward compatible.
* To acknowledge the breaking change, add the following to package.json under
* typeValidation.broken:
* "InterfaceDeclaration_IDeltaManager": {"forwardCompat": false}
*/
declare function get_old_InterfaceDeclaration_IDeltaManager():
TypeOnly<old.IDeltaManager<any,any>>;
declare function use_current_InterfaceDeclaration_IDeltaManager(
use: TypeOnly<current.IDeltaManager<any,any>>): void;
use_current_InterfaceDeclaration_IDeltaManager(
get_old_InterfaceDeclaration_IDeltaManager());
/*
* Validate backward compatibility by using the current type in place of the old type.
* If this test starts failing, it indicates a change that is not backward compatible.
@ -517,20 +477,6 @@ declare function use_old_InterfaceDeclaration_IDeltaManager(
use_old_InterfaceDeclaration_IDeltaManager(
get_current_InterfaceDeclaration_IDeltaManager());
/*
* Validate forward compatibility by using the old type in place of the current type.
* If this test starts failing, it indicates a change that is not forward compatible.
* To acknowledge the breaking change, add the following to package.json under
* typeValidation.broken:
* "InterfaceDeclaration_IDeltaManagerEvents": {"forwardCompat": false}
*/
declare function get_old_InterfaceDeclaration_IDeltaManagerEvents():
TypeOnly<old.IDeltaManagerEvents>;
declare function use_current_InterfaceDeclaration_IDeltaManagerEvents(
use: TypeOnly<current.IDeltaManagerEvents>): void;
use_current_InterfaceDeclaration_IDeltaManagerEvents(
get_old_InterfaceDeclaration_IDeltaManagerEvents());
/*
* Validate backward compatibility by using the current type in place of the old type.
* If this test starts failing, it indicates a change that is not backward compatible.
@ -545,20 +491,6 @@ declare function use_old_InterfaceDeclaration_IDeltaManagerEvents(
use_old_InterfaceDeclaration_IDeltaManagerEvents(
get_current_InterfaceDeclaration_IDeltaManagerEvents());
/*
* Validate forward compatibility by using the old type in place of the current type.
* If this test starts failing, it indicates a change that is not forward compatible.
* To acknowledge the breaking change, add the following to package.json under
* typeValidation.broken:
* "InterfaceDeclaration_IDeltaQueue": {"forwardCompat": false}
*/
declare function get_old_InterfaceDeclaration_IDeltaQueue():
TypeOnly<old.IDeltaQueue<any>>;
declare function use_current_InterfaceDeclaration_IDeltaQueue(
use: TypeOnly<current.IDeltaQueue<any>>): void;
use_current_InterfaceDeclaration_IDeltaQueue(
get_old_InterfaceDeclaration_IDeltaQueue());
/*
* Validate backward compatibility by using the current type in place of the old type.
* If this test starts failing, it indicates a change that is not backward compatible.
@ -573,20 +505,6 @@ declare function use_old_InterfaceDeclaration_IDeltaQueue(
use_old_InterfaceDeclaration_IDeltaQueue(
get_current_InterfaceDeclaration_IDeltaQueue());
/*
* Validate forward compatibility by using the old type in place of the current type.
* If this test starts failing, it indicates a change that is not forward compatible.
* To acknowledge the breaking change, add the following to package.json under
* typeValidation.broken:
* "InterfaceDeclaration_IDeltaQueueEvents": {"forwardCompat": false}
*/
declare function get_old_InterfaceDeclaration_IDeltaQueueEvents():
TypeOnly<old.IDeltaQueueEvents<any>>;
declare function use_current_InterfaceDeclaration_IDeltaQueueEvents(
use: TypeOnly<current.IDeltaQueueEvents<any>>): void;
use_current_InterfaceDeclaration_IDeltaQueueEvents(
get_old_InterfaceDeclaration_IDeltaQueueEvents());
/*
* Validate backward compatibility by using the current type in place of the old type.
* If this test starts failing, it indicates a change that is not backward compatible.
@ -601,20 +519,6 @@ declare function use_old_InterfaceDeclaration_IDeltaQueueEvents(
use_old_InterfaceDeclaration_IDeltaQueueEvents(
get_current_InterfaceDeclaration_IDeltaQueueEvents());
/*
* Validate forward compatibility by using the old type in place of the current type.
* If this test starts failing, it indicates a change that is not forward compatible.
* To acknowledge the breaking change, add the following to package.json under
* typeValidation.broken:
* "InterfaceDeclaration_IDeltaSender": {"forwardCompat": false}
*/
declare function get_old_InterfaceDeclaration_IDeltaSender():
TypeOnly<old.IDeltaSender>;
declare function use_current_InterfaceDeclaration_IDeltaSender(
use: TypeOnly<current.IDeltaSender>): void;
use_current_InterfaceDeclaration_IDeltaSender(
get_old_InterfaceDeclaration_IDeltaSender());
/*
* Validate backward compatibility by using the current type in place of the old type.
* If this test starts failing, it indicates a change that is not backward compatible.

Просмотреть файл

@ -84,9 +84,9 @@
"devDependencies": {
"@arethetypeswrong/cli": "^0.15.2",
"@biomejs/biome": "^1.7.3",
"@fluid-tools/build-cli": "^0.39.0-264124",
"@fluid-tools/build-cli": "^0.39.0",
"@fluidframework/build-common": "^2.0.3",
"@fluidframework/build-tools": "^0.39.0-264124",
"@fluidframework/build-tools": "^0.39.0",
"@fluidframework/core-interfaces-previous": "npm:@fluidframework/core-interfaces@2.0.0-rc.4.0.0",
"@fluidframework/eslint-config-fluid": "^5.3.0",
"@microsoft/api-extractor": "^7.45.1",

Просмотреть файл

@ -8,38 +8,12 @@
* Generated by flub generate:typetests in @fluid-tools/build-cli.
*/
import type { TypeOnly, MinimalType, FullType } from "@fluidframework/build-tools";
import type * as old from "@fluidframework/core-interfaces-previous/internal";
import type * as current from "../../index.js";
type ValueOf<T> = T[keyof T];
type OnlySymbols<T> = T extends symbol ? T : never;
type WellKnownSymbols = OnlySymbols<ValueOf<typeof Symbol>>;
/**
* Omit (replace with never) a key if it is a custom symbol,
* not just symbol or a well known symbol from the global Symbol.
*/
type SkipUniqueSymbols<Key> = symbol extends Key
? Key // Key is symbol or a generalization of symbol, so leave it as is.
: Key extends symbol
? Key extends WellKnownSymbols
? Key // Key is a well known symbol from the global Symbol object. These are shared between packages, so they are fine and kept as is.
: never // Key is most likely some specialized symbol, typically a unique symbol. These break type comparisons so are removed by replacing them with never.
: Key; // Key is not a symbol (for example its a string or number), so leave it as is.
/**
* Remove details of T which are incompatible with type testing while keeping as much as is practical.
*
* See 'build-tools/packages/build-tools/src/typeValidator/compatibility.ts' for more information.
*/
type TypeOnly<T> = T extends number
? number
: T extends boolean | bigint | string
? T
: T extends symbol
? SkipUniqueSymbols<T>
: {
[P in keyof T as SkipUniqueSymbols<P>]: TypeOnly<T[P]>;
};
declare type MakeUnusedImportErrorsGoAway<T> = TypeOnly<T> | MinimalType<T> | FullType<T> | typeof old | typeof current;
/*
* Validate forward compatibility by using the old type in place of the current type.
@ -69,20 +43,6 @@ declare function use_old_TypeAliasDeclaration_ConfigTypes(
use_old_TypeAliasDeclaration_ConfigTypes(
get_current_TypeAliasDeclaration_ConfigTypes());
/*
* Validate forward compatibility by using the old type in place of the current type.
* If this test starts failing, it indicates a change that is not forward compatible.
* To acknowledge the breaking change, add the following to package.json under
* typeValidation.broken:
* "ClassDeclaration_ErasedType": {"forwardCompat": false}
*/
declare function get_old_ClassDeclaration_ErasedType():
TypeOnly<old.ErasedType>;
declare function use_current_ClassDeclaration_ErasedType(
use: TypeOnly<current.ErasedType>): void;
use_current_ClassDeclaration_ErasedType(
get_old_ClassDeclaration_ErasedType());
/*
* Validate backward compatibility by using the current type in place of the old type.
* If this test starts failing, it indicates a change that is not backward compatible.

Просмотреть файл

@ -110,9 +110,9 @@
"@biomejs/biome": "^1.7.3",
"@fluid-internal/mocha-test-setup": "workspace:~",
"@fluid-tools/benchmark": "^0.47.0",
"@fluid-tools/build-cli": "^0.39.0-264124",
"@fluid-tools/build-cli": "^0.39.0",
"@fluidframework/build-common": "^2.0.3",
"@fluidframework/build-tools": "^0.39.0-264124",
"@fluidframework/build-tools": "^0.39.0",
"@fluidframework/core-utils-previous": "npm:@fluidframework/core-utils@2.0.0-rc.4.0.0",
"@fluidframework/eslint-config-fluid": "^5.3.0",
"@microsoft/api-extractor": "^7.45.1",

Просмотреть файл

@ -8,38 +8,12 @@
* Generated by flub generate:typetests in @fluid-tools/build-cli.
*/
import type { TypeOnly, MinimalType, FullType } from "@fluidframework/build-tools";
import type * as old from "@fluidframework/core-utils-previous/internal";
import type * as current from "../../index.js";
type ValueOf<T> = T[keyof T];
type OnlySymbols<T> = T extends symbol ? T : never;
type WellKnownSymbols = OnlySymbols<ValueOf<typeof Symbol>>;
/**
* Omit (replace with never) a key if it is a custom symbol,
* not just symbol or a well known symbol from the global Symbol.
*/
type SkipUniqueSymbols<Key> = symbol extends Key
? Key // Key is symbol or a generalization of symbol, so leave it as is.
: Key extends symbol
? Key extends WellKnownSymbols
? Key // Key is a well known symbol from the global Symbol object. These are shared between packages, so they are fine and kept as is.
: never // Key is most likely some specialized symbol, typically a unique symbol. These break type comparisons so are removed by replacing them with never.
: Key; // Key is not a symbol (for example its a string or number), so leave it as is.
/**
* Remove details of T which are incompatible with type testing while keeping as much as is practical.
*
* See 'build-tools/packages/build-tools/src/typeValidator/compatibility.ts' for more information.
*/
type TypeOnly<T> = T extends number
? number
: T extends boolean | bigint | string
? T
: T extends symbol
? SkipUniqueSymbols<T>
: {
[P in keyof T as SkipUniqueSymbols<P>]: TypeOnly<T[P]>;
};
declare type MakeUnusedImportErrorsGoAway<T> = TypeOnly<T> | MinimalType<T> | FullType<T> | typeof old | typeof current;
/*
* Validate forward compatibility by using the old type in place of the current type.

Просмотреть файл

@ -83,9 +83,9 @@
"devDependencies": {
"@arethetypeswrong/cli": "^0.15.2",
"@biomejs/biome": "^1.7.3",
"@fluid-tools/build-cli": "^0.39.0-264124",
"@fluid-tools/build-cli": "^0.39.0",
"@fluidframework/build-common": "^2.0.3",
"@fluidframework/build-tools": "^0.39.0-264124",
"@fluidframework/build-tools": "^0.39.0",
"@fluidframework/driver-definitions-previous": "npm:@fluidframework/driver-definitions@2.0.0-rc.4.0.0",
"@fluidframework/eslint-config-fluid": "^5.3.0",
"@microsoft/api-extractor": "^7.45.1",

Просмотреть файл

@ -8,38 +8,12 @@
* Generated by flub generate:typetests in @fluid-tools/build-cli.
*/
import type { TypeOnly, MinimalType, FullType } from "@fluidframework/build-tools";
import type * as old from "@fluidframework/driver-definitions-previous/internal";
import type * as current from "../../index.js";
type ValueOf<T> = T[keyof T];
type OnlySymbols<T> = T extends symbol ? T : never;
type WellKnownSymbols = OnlySymbols<ValueOf<typeof Symbol>>;
/**
* Omit (replace with never) a key if it is a custom symbol,
* not just symbol or a well known symbol from the global Symbol.
*/
type SkipUniqueSymbols<Key> = symbol extends Key
? Key // Key is symbol or a generalization of symbol, so leave it as is.
: Key extends symbol
? Key extends WellKnownSymbols
? Key // Key is a well known symbol from the global Symbol object. These are shared between packages, so they are fine and kept as is.
: never // Key is most likely some specialized symbol, typically a unique symbol. These break type comparisons so are removed by replacing them with never.
: Key; // Key is not a symbol (for example its a string or number), so leave it as is.
/**
* Remove details of T which are incompatible with type testing while keeping as much as is practical.
*
* See 'build-tools/packages/build-tools/src/typeValidator/compatibility.ts' for more information.
*/
type TypeOnly<T> = T extends number
? number
: T extends boolean | bigint | string
? T
: T extends symbol
? SkipUniqueSymbols<T>
: {
[P in keyof T as SkipUniqueSymbols<P>]: TypeOnly<T[P]>;
};
declare type MakeUnusedImportErrorsGoAway<T> = TypeOnly<T> | MinimalType<T> | FullType<T> | typeof old | typeof current;
/*
* Validate forward compatibility by using the old type in place of the current type.

Просмотреть файл

@ -107,9 +107,9 @@
"@biomejs/biome": "^1.7.3",
"@fluid-internal/mocha-test-setup": "workspace:~",
"@fluid-private/test-dds-utils": "workspace:~",
"@fluid-tools/build-cli": "^0.39.0-264124",
"@fluid-tools/build-cli": "^0.39.0",
"@fluidframework/build-common": "^2.0.3",
"@fluidframework/build-tools": "^0.39.0-264124",
"@fluidframework/build-tools": "^0.39.0",
"@fluidframework/cell-previous": "npm:@fluidframework/cell@2.0.0-rc.4.0.0",
"@fluidframework/container-definitions": "workspace:~",
"@fluidframework/eslint-config-fluid": "^5.3.0",

Просмотреть файл

@ -8,52 +8,12 @@
* Generated by flub generate:typetests in @fluid-tools/build-cli.
*/
import type { TypeOnly, MinimalType, FullType } from "@fluidframework/build-tools";
import type * as old from "@fluidframework/cell-previous/internal";
import type * as current from "../../index.js";
type ValueOf<T> = T[keyof T];
type OnlySymbols<T> = T extends symbol ? T : never;
type WellKnownSymbols = OnlySymbols<ValueOf<typeof Symbol>>;
/**
* Omit (replace with never) a key if it is a custom symbol,
* not just symbol or a well known symbol from the global Symbol.
*/
type SkipUniqueSymbols<Key> = symbol extends Key
? Key // Key is symbol or a generalization of symbol, so leave it as is.
: Key extends symbol
? Key extends WellKnownSymbols
? Key // Key is a well known symbol from the global Symbol object. These are shared between packages, so they are fine and kept as is.
: never // Key is most likely some specialized symbol, typically a unique symbol. These break type comparisons so are removed by replacing them with never.
: Key; // Key is not a symbol (for example its a string or number), so leave it as is.
/**
* Remove details of T which are incompatible with type testing while keeping as much as is practical.
*
* See 'build-tools/packages/build-tools/src/typeValidator/compatibility.ts' for more information.
*/
type TypeOnly<T> = T extends number
? number
: T extends boolean | bigint | string
? T
: T extends symbol
? SkipUniqueSymbols<T>
: {
[P in keyof T as SkipUniqueSymbols<P>]: TypeOnly<T[P]>;
};
/*
* Validate forward compatibility by using the old type in place of the current type.
* If this test starts failing, it indicates a change that is not forward compatible.
* To acknowledge the breaking change, add the following to package.json under
* typeValidation.broken:
* "ClassDeclaration_CellFactory": {"forwardCompat": false}
*/
declare function get_old_ClassDeclaration_CellFactory():
TypeOnly<old.CellFactory>;
declare function use_current_ClassDeclaration_CellFactory(
use: TypeOnly<current.CellFactory>): void;
use_current_ClassDeclaration_CellFactory(
get_old_ClassDeclaration_CellFactory());
declare type MakeUnusedImportErrorsGoAway<T> = TypeOnly<T> | MinimalType<T> | FullType<T> | typeof old | typeof current;
/*
* Validate backward compatibility by using the current type in place of the old type.

Просмотреть файл

@ -116,9 +116,9 @@
"@arethetypeswrong/cli": "^0.15.2",
"@biomejs/biome": "^1.7.3",
"@fluid-internal/mocha-test-setup": "workspace:~",
"@fluid-tools/build-cli": "^0.39.0-264124",
"@fluid-tools/build-cli": "^0.39.0",
"@fluidframework/build-common": "^2.0.3",
"@fluidframework/build-tools": "^0.39.0-264124",
"@fluidframework/build-tools": "^0.39.0",
"@fluidframework/container-definitions": "workspace:~",
"@fluidframework/counter-previous": "npm:@fluidframework/counter@2.0.0-rc.4.0.0",
"@fluidframework/eslint-config-fluid": "^5.3.0",

Просмотреть файл

@ -8,38 +8,12 @@
* Generated by flub generate:typetests in @fluid-tools/build-cli.
*/
import type { TypeOnly, MinimalType, FullType } from "@fluidframework/build-tools";
import type * as old from "@fluidframework/counter-previous/internal";
import type * as current from "../../index.js";
type ValueOf<T> = T[keyof T];
type OnlySymbols<T> = T extends symbol ? T : never;
type WellKnownSymbols = OnlySymbols<ValueOf<typeof Symbol>>;
/**
* Omit (replace with never) a key if it is a custom symbol,
* not just symbol or a well known symbol from the global Symbol.
*/
type SkipUniqueSymbols<Key> = symbol extends Key
? Key // Key is symbol or a generalization of symbol, so leave it as is.
: Key extends symbol
? Key extends WellKnownSymbols
? Key // Key is a well known symbol from the global Symbol object. These are shared between packages, so they are fine and kept as is.
: never // Key is most likely some specialized symbol, typically a unique symbol. These break type comparisons so are removed by replacing them with never.
: Key; // Key is not a symbol (for example its a string or number), so leave it as is.
/**
* Remove details of T which are incompatible with type testing while keeping as much as is practical.
*
* See 'build-tools/packages/build-tools/src/typeValidator/compatibility.ts' for more information.
*/
type TypeOnly<T> = T extends number
? number
: T extends boolean | bigint | string
? T
: T extends symbol
? SkipUniqueSymbols<T>
: {
[P in keyof T as SkipUniqueSymbols<P>]: TypeOnly<T[P]>;
};
declare type MakeUnusedImportErrorsGoAway<T> = TypeOnly<T> | MinimalType<T> | FullType<T> | typeof old | typeof current;
/*
* Validate forward compatibility by using the old type in place of the current type.

Просмотреть файл

@ -93,9 +93,9 @@
"@arethetypeswrong/cli": "^0.15.2",
"@biomejs/biome": "^1.7.3",
"@fluid-internal/mocha-test-setup": "workspace:~",
"@fluid-tools/build-cli": "^0.39.0-264124",
"@fluid-tools/build-cli": "^0.39.0",
"@fluidframework/build-common": "^2.0.3",
"@fluidframework/build-tools": "^0.39.0-264124",
"@fluidframework/build-tools": "^0.39.0",
"@fluidframework/container-definitions": "workspace:~",
"@fluidframework/eslint-config-fluid": "^5.3.0",
"@fluidframework/test-runtime-utils": "workspace:~",

Просмотреть файл

@ -129,9 +129,9 @@
"@fluid-private/stochastic-test-utils": "workspace:~",
"@fluid-private/test-dds-utils": "workspace:~",
"@fluid-tools/benchmark": "^0.48.0",
"@fluid-tools/build-cli": "^0.39.0-264124",
"@fluid-tools/build-cli": "^0.39.0",
"@fluidframework/build-common": "^2.0.3",
"@fluidframework/build-tools": "^0.39.0-264124",
"@fluidframework/build-tools": "^0.39.0",
"@fluidframework/container-definitions": "workspace:~",
"@fluidframework/eslint-config-fluid": "^5.3.0",
"@fluidframework/map-previous": "npm:@fluidframework/map@2.0.0-rc.4.0.0",

Просмотреть файл

@ -8,52 +8,12 @@
* Generated by flub generate:typetests in @fluid-tools/build-cli.
*/
import type { TypeOnly, MinimalType, FullType } from "@fluidframework/build-tools";
import type * as old from "@fluidframework/map-previous/internal";
import type * as current from "../../index.js";
type ValueOf<T> = T[keyof T];
type OnlySymbols<T> = T extends symbol ? T : never;
type WellKnownSymbols = OnlySymbols<ValueOf<typeof Symbol>>;
/**
* Omit (replace with never) a key if it is a custom symbol,
* not just symbol or a well known symbol from the global Symbol.
*/
type SkipUniqueSymbols<Key> = symbol extends Key
? Key // Key is symbol or a generalization of symbol, so leave it as is.
: Key extends symbol
? Key extends WellKnownSymbols
? Key // Key is a well known symbol from the global Symbol object. These are shared between packages, so they are fine and kept as is.
: never // Key is most likely some specialized symbol, typically a unique symbol. These break type comparisons so are removed by replacing them with never.
: Key; // Key is not a symbol (for example its a string or number), so leave it as is.
/**
* Remove details of T which are incompatible with type testing while keeping as much as is practical.
*
* See 'build-tools/packages/build-tools/src/typeValidator/compatibility.ts' for more information.
*/
type TypeOnly<T> = T extends number
? number
: T extends boolean | bigint | string
? T
: T extends symbol
? SkipUniqueSymbols<T>
: {
[P in keyof T as SkipUniqueSymbols<P>]: TypeOnly<T[P]>;
};
/*
* Validate forward compatibility by using the old type in place of the current type.
* If this test starts failing, it indicates a change that is not forward compatible.
* To acknowledge the breaking change, add the following to package.json under
* typeValidation.broken:
* "ClassDeclaration_DirectoryFactory": {"forwardCompat": false}
*/
declare function get_old_ClassDeclaration_DirectoryFactory():
TypeOnly<old.DirectoryFactory>;
declare function use_current_ClassDeclaration_DirectoryFactory(
use: TypeOnly<current.DirectoryFactory>): void;
use_current_ClassDeclaration_DirectoryFactory(
get_old_ClassDeclaration_DirectoryFactory());
declare type MakeUnusedImportErrorsGoAway<T> = TypeOnly<T> | MinimalType<T> | FullType<T> | typeof old | typeof current;
/*
* Validate backward compatibility by using the current type in place of the old type.
@ -321,20 +281,6 @@ declare function use_old_InterfaceDeclaration_ISharedDirectoryEvents(
use_old_InterfaceDeclaration_ISharedDirectoryEvents(
get_current_InterfaceDeclaration_ISharedDirectoryEvents());
/*
* Validate forward compatibility by using the old type in place of the current type.
* If this test starts failing, it indicates a change that is not forward compatible.
* To acknowledge the breaking change, add the following to package.json under
* typeValidation.broken:
* "InterfaceDeclaration_ISharedMap": {"forwardCompat": false}
*/
declare function get_old_InterfaceDeclaration_ISharedMap():
TypeOnly<old.ISharedMap>;
declare function use_current_InterfaceDeclaration_ISharedMap(
use: TypeOnly<current.ISharedMap>): void;
use_current_InterfaceDeclaration_ISharedMap(
get_old_InterfaceDeclaration_ISharedMap());
/*
* Validate backward compatibility by using the current type in place of the old type.
* If this test starts failing, it indicates a change that is not backward compatible.
@ -349,20 +295,6 @@ declare function use_old_InterfaceDeclaration_ISharedMap(
use_old_InterfaceDeclaration_ISharedMap(
get_current_InterfaceDeclaration_ISharedMap());
/*
* Validate forward compatibility by using the old type in place of the current type.
* If this test starts failing, it indicates a change that is not forward compatible.
* To acknowledge the breaking change, add the following to package.json under
* typeValidation.broken:
* "InterfaceDeclaration_ISharedMapEvents": {"forwardCompat": false}
*/
declare function get_old_InterfaceDeclaration_ISharedMapEvents():
TypeOnly<old.ISharedMapEvents>;
declare function use_current_InterfaceDeclaration_ISharedMapEvents(
use: TypeOnly<current.ISharedMapEvents>): void;
use_current_InterfaceDeclaration_ISharedMapEvents(
get_old_InterfaceDeclaration_ISharedMapEvents());
/*
* Validate backward compatibility by using the current type in place of the old type.
* If this test starts failing, it indicates a change that is not backward compatible.
@ -377,20 +309,6 @@ declare function use_old_InterfaceDeclaration_ISharedMapEvents(
use_old_InterfaceDeclaration_ISharedMapEvents(
get_current_InterfaceDeclaration_ISharedMapEvents());
/*
* Validate forward compatibility by using the old type in place of the current type.
* If this test starts failing, it indicates a change that is not forward compatible.
* To acknowledge the breaking change, add the following to package.json under
* typeValidation.broken:
* "InterfaceDeclaration_IValueChanged": {"forwardCompat": false}
*/
declare function get_old_InterfaceDeclaration_IValueChanged():
TypeOnly<old.IValueChanged>;
declare function use_current_InterfaceDeclaration_IValueChanged(
use: TypeOnly<current.IValueChanged>): void;
use_current_InterfaceDeclaration_IValueChanged(
get_old_InterfaceDeclaration_IValueChanged());
/*
* Validate backward compatibility by using the current type in place of the old type.
* If this test starts failing, it indicates a change that is not backward compatible.
@ -405,20 +323,6 @@ declare function use_old_InterfaceDeclaration_IValueChanged(
use_old_InterfaceDeclaration_IValueChanged(
get_current_InterfaceDeclaration_IValueChanged());
/*
* Validate forward compatibility by using the old type in place of the current type.
* If this test starts failing, it indicates a change that is not forward compatible.
* To acknowledge the breaking change, add the following to package.json under
* typeValidation.broken:
* "ClassDeclaration_MapFactory": {"forwardCompat": false}
*/
declare function get_old_ClassDeclaration_MapFactory():
TypeOnly<old.MapFactory>;
declare function use_current_ClassDeclaration_MapFactory(
use: TypeOnly<current.MapFactory>): void;
use_current_ClassDeclaration_MapFactory(
get_old_ClassDeclaration_MapFactory());
/*
* Validate backward compatibility by using the current type in place of the old type.
* If this test starts failing, it indicates a change that is not backward compatible.

Просмотреть файл

@ -128,9 +128,9 @@
"@fluid-private/stochastic-test-utils": "workspace:~",
"@fluid-private/test-dds-utils": "workspace:~",
"@fluid-tools/benchmark": "^0.48.0",
"@fluid-tools/build-cli": "^0.39.0-264124",
"@fluid-tools/build-cli": "^0.39.0",
"@fluidframework/build-common": "^2.0.3",
"@fluidframework/build-tools": "^0.39.0-264124",
"@fluidframework/build-tools": "^0.39.0",
"@fluidframework/container-definitions": "workspace:~",
"@fluidframework/eslint-config-fluid": "^5.3.0",
"@fluidframework/matrix-previous": "npm:@fluidframework/matrix@2.0.0-rc.4.0.0",

Просмотреть файл

@ -8,38 +8,12 @@
* Generated by flub generate:typetests in @fluid-tools/build-cli.
*/
import type { TypeOnly, MinimalType, FullType } from "@fluidframework/build-tools";
import type * as old from "@fluidframework/matrix-previous/internal";
import type * as current from "../../index.js";
type ValueOf<T> = T[keyof T];
type OnlySymbols<T> = T extends symbol ? T : never;
type WellKnownSymbols = OnlySymbols<ValueOf<typeof Symbol>>;
/**
* Omit (replace with never) a key if it is a custom symbol,
* not just symbol or a well known symbol from the global Symbol.
*/
type SkipUniqueSymbols<Key> = symbol extends Key
? Key // Key is symbol or a generalization of symbol, so leave it as is.
: Key extends symbol
? Key extends WellKnownSymbols
? Key // Key is a well known symbol from the global Symbol object. These are shared between packages, so they are fine and kept as is.
: never // Key is most likely some specialized symbol, typically a unique symbol. These break type comparisons so are removed by replacing them with never.
: Key; // Key is not a symbol (for example its a string or number), so leave it as is.
/**
* Remove details of T which are incompatible with type testing while keeping as much as is practical.
*
* See 'build-tools/packages/build-tools/src/typeValidator/compatibility.ts' for more information.
*/
type TypeOnly<T> = T extends number
? number
: T extends boolean | bigint | string
? T
: T extends symbol
? SkipUniqueSymbols<T>
: {
[P in keyof T as SkipUniqueSymbols<P>]: TypeOnly<T[P]>;
};
declare type MakeUnusedImportErrorsGoAway<T> = TypeOnly<T> | MinimalType<T> | FullType<T> | typeof old | typeof current;
/*
* Validate forward compatibility by using the old type in place of the current type.

Просмотреть файл

@ -139,9 +139,9 @@
"@fluid-private/stochastic-test-utils": "workspace:~",
"@fluid-private/test-pairwise-generator": "workspace:~",
"@fluid-tools/benchmark": "^0.48.0",
"@fluid-tools/build-cli": "^0.39.0-264124",
"@fluid-tools/build-cli": "^0.39.0",
"@fluidframework/build-common": "^2.0.3",
"@fluidframework/build-tools": "^0.39.0-264124",
"@fluidframework/build-tools": "^0.39.0",
"@fluidframework/eslint-config-fluid": "^5.3.0",
"@fluidframework/merge-tree-previous": "npm:@fluidframework/merge-tree@2.0.0-rc.4.0.0",
"@fluidframework/test-runtime-utils": "workspace:~",

Просмотреть файл

@ -8,52 +8,12 @@
* Generated by flub generate:typetests in @fluid-tools/build-cli.
*/
import type { TypeOnly, MinimalType, FullType } from "@fluidframework/build-tools";
import type * as old from "@fluidframework/merge-tree-previous/internal";
import type * as current from "../../index.js";
type ValueOf<T> = T[keyof T];
type OnlySymbols<T> = T extends symbol ? T : never;
type WellKnownSymbols = OnlySymbols<ValueOf<typeof Symbol>>;
/**
* Omit (replace with never) a key if it is a custom symbol,
* not just symbol or a well known symbol from the global Symbol.
*/
type SkipUniqueSymbols<Key> = symbol extends Key
? Key // Key is symbol or a generalization of symbol, so leave it as is.
: Key extends symbol
? Key extends WellKnownSymbols
? Key // Key is a well known symbol from the global Symbol object. These are shared between packages, so they are fine and kept as is.
: never // Key is most likely some specialized symbol, typically a unique symbol. These break type comparisons so are removed by replacing them with never.
: Key; // Key is not a symbol (for example its a string or number), so leave it as is.
/**
* Remove details of T which are incompatible with type testing while keeping as much as is practical.
*
* See 'build-tools/packages/build-tools/src/typeValidator/compatibility.ts' for more information.
*/
type TypeOnly<T> = T extends number
? number
: T extends boolean | bigint | string
? T
: T extends symbol
? SkipUniqueSymbols<T>
: {
[P in keyof T as SkipUniqueSymbols<P>]: TypeOnly<T[P]>;
};
/*
* Validate forward compatibility by using the old type in place of the current type.
* If this test starts failing, it indicates a change that is not forward compatible.
* To acknowledge the breaking change, add the following to package.json under
* typeValidation.broken:
* "InterfaceDeclaration_AttributionPolicy": {"forwardCompat": false}
*/
declare function get_old_InterfaceDeclaration_AttributionPolicy():
TypeOnly<old.AttributionPolicy>;
declare function use_current_InterfaceDeclaration_AttributionPolicy(
use: TypeOnly<current.AttributionPolicy>): void;
use_current_InterfaceDeclaration_AttributionPolicy(
get_old_InterfaceDeclaration_AttributionPolicy());
declare type MakeUnusedImportErrorsGoAway<T> = TypeOnly<T> | MinimalType<T> | FullType<T> | typeof old | typeof current;
/*
* Validate backward compatibility by using the current type in place of the old type.
@ -267,20 +227,6 @@ declare function use_old_InterfaceDeclaration_IAttributionCollection(
use_old_InterfaceDeclaration_IAttributionCollection(
get_current_InterfaceDeclaration_IAttributionCollection());
/*
* Validate forward compatibility by using the old type in place of the current type.
* If this test starts failing, it indicates a change that is not forward compatible.
* To acknowledge the breaking change, add the following to package.json under
* typeValidation.broken:
* "InterfaceDeclaration_IAttributionCollectionSerializer": {"forwardCompat": false}
*/
declare function get_old_InterfaceDeclaration_IAttributionCollectionSerializer():
TypeOnly<old.IAttributionCollectionSerializer>;
declare function use_current_InterfaceDeclaration_IAttributionCollectionSerializer(
use: TypeOnly<current.IAttributionCollectionSerializer>): void;
use_current_InterfaceDeclaration_IAttributionCollectionSerializer(
get_old_InterfaceDeclaration_IAttributionCollectionSerializer());
/*
* Validate backward compatibility by using the current type in place of the old type.
* If this test starts failing, it indicates a change that is not backward compatible.
@ -1196,20 +1142,6 @@ declare function use_old_InterfaceDeclaration_KeyComparer(
use_old_InterfaceDeclaration_KeyComparer(
get_current_InterfaceDeclaration_KeyComparer());
/*
* Validate forward compatibility by using the old type in place of the current type.
* If this test starts failing, it indicates a change that is not forward compatible.
* To acknowledge the breaking change, add the following to package.json under
* typeValidation.broken:
* "ClassDeclaration_LocalReferenceCollection": {"forwardCompat": false}
*/
declare function get_old_ClassDeclaration_LocalReferenceCollection():
TypeOnly<old.LocalReferenceCollection>;
declare function use_current_ClassDeclaration_LocalReferenceCollection(
use: TypeOnly<current.LocalReferenceCollection>): void;
use_current_ClassDeclaration_LocalReferenceCollection(
get_old_ClassDeclaration_LocalReferenceCollection());
/*
* Validate backward compatibility by using the current type in place of the old type.
* If this test starts failing, it indicates a change that is not backward compatible.
@ -1224,20 +1156,6 @@ declare function use_old_ClassDeclaration_LocalReferenceCollection(
use_old_ClassDeclaration_LocalReferenceCollection(
get_current_ClassDeclaration_LocalReferenceCollection());
/*
* Validate forward compatibility by using the old type in place of the current type.
* If this test starts failing, it indicates a change that is not forward compatible.
* To acknowledge the breaking change, add the following to package.json under
* typeValidation.broken:
* "InterfaceDeclaration_LocalReferencePosition": {"forwardCompat": false}
*/
declare function get_old_InterfaceDeclaration_LocalReferencePosition():
TypeOnly<old.LocalReferencePosition>;
declare function use_current_InterfaceDeclaration_LocalReferencePosition(
use: TypeOnly<current.LocalReferencePosition>): void;
use_current_InterfaceDeclaration_LocalReferencePosition(
get_old_InterfaceDeclaration_LocalReferencePosition());
/*
* Validate backward compatibility by using the current type in place of the old type.
* If this test starts failing, it indicates a change that is not backward compatible.

Просмотреть файл

@ -120,9 +120,9 @@
"@biomejs/biome": "^1.7.3",
"@fluid-internal/mocha-test-setup": "workspace:~",
"@fluid-private/test-dds-utils": "workspace:~",
"@fluid-tools/build-cli": "^0.39.0-264124",
"@fluid-tools/build-cli": "^0.39.0",
"@fluidframework/build-common": "^2.0.3",
"@fluidframework/build-tools": "^0.39.0-264124",
"@fluidframework/build-tools": "^0.39.0",
"@fluidframework/eslint-config-fluid": "^5.3.0",
"@fluidframework/ordered-collection-previous": "npm:@fluidframework/ordered-collection@2.0.0-rc.4.0.0",
"@fluidframework/test-runtime-utils": "workspace:~",

Просмотреть файл

@ -8,38 +8,12 @@
* Generated by flub generate:typetests in @fluid-tools/build-cli.
*/
import type { TypeOnly, MinimalType, FullType } from "@fluidframework/build-tools";
import type * as old from "@fluidframework/ordered-collection-previous/internal";
import type * as current from "../../index.js";
type ValueOf<T> = T[keyof T];
type OnlySymbols<T> = T extends symbol ? T : never;
type WellKnownSymbols = OnlySymbols<ValueOf<typeof Symbol>>;
/**
* Omit (replace with never) a key if it is a custom symbol,
* not just symbol or a well known symbol from the global Symbol.
*/
type SkipUniqueSymbols<Key> = symbol extends Key
? Key // Key is symbol or a generalization of symbol, so leave it as is.
: Key extends symbol
? Key extends WellKnownSymbols
? Key // Key is a well known symbol from the global Symbol object. These are shared between packages, so they are fine and kept as is.
: never // Key is most likely some specialized symbol, typically a unique symbol. These break type comparisons so are removed by replacing them with never.
: Key; // Key is not a symbol (for example its a string or number), so leave it as is.
/**
* Remove details of T which are incompatible with type testing while keeping as much as is practical.
*
* See 'build-tools/packages/build-tools/src/typeValidator/compatibility.ts' for more information.
*/
type TypeOnly<T> = T extends number
? number
: T extends boolean | bigint | string
? T
: T extends symbol
? SkipUniqueSymbols<T>
: {
[P in keyof T as SkipUniqueSymbols<P>]: TypeOnly<T[P]>;
};
declare type MakeUnusedImportErrorsGoAway<T> = TypeOnly<T> | MinimalType<T> | FullType<T> | typeof old | typeof current;
/*
* Validate forward compatibility by using the old type in place of the current type.

Просмотреть файл

@ -93,9 +93,9 @@
"@biomejs/biome": "^1.7.3",
"@fluid-internal/mocha-test-setup": "workspace:~",
"@fluid-private/test-dds-utils": "workspace:~",
"@fluid-tools/build-cli": "^0.39.0-264124",
"@fluid-tools/build-cli": "^0.39.0",
"@fluidframework/build-common": "^2.0.3",
"@fluidframework/build-tools": "^0.39.0-264124",
"@fluidframework/build-tools": "^0.39.0",
"@fluidframework/eslint-config-fluid": "^5.3.0",
"@fluidframework/test-runtime-utils": "workspace:~",
"@microsoft/api-extractor": "^7.45.1",

Просмотреть файл

@ -118,9 +118,9 @@
"@biomejs/biome": "^1.7.3",
"@fluid-internal/mocha-test-setup": "workspace:~",
"@fluid-private/test-dds-utils": "workspace:~",
"@fluid-tools/build-cli": "^0.39.0-264124",
"@fluid-tools/build-cli": "^0.39.0",
"@fluidframework/build-common": "^2.0.3",
"@fluidframework/build-tools": "^0.39.0-264124",
"@fluidframework/build-tools": "^0.39.0",
"@fluidframework/eslint-config-fluid": "^5.3.0",
"@fluidframework/register-collection-previous": "npm:@fluidframework/register-collection@2.0.0-rc.4.0.0",
"@fluidframework/test-runtime-utils": "workspace:~",

Просмотреть файл

@ -8,38 +8,12 @@
* Generated by flub generate:typetests in @fluid-tools/build-cli.
*/
import type { TypeOnly, MinimalType, FullType } from "@fluidframework/build-tools";
import type * as old from "@fluidframework/register-collection-previous/internal";
import type * as current from "../../index.js";
type ValueOf<T> = T[keyof T];
type OnlySymbols<T> = T extends symbol ? T : never;
type WellKnownSymbols = OnlySymbols<ValueOf<typeof Symbol>>;
/**
* Omit (replace with never) a key if it is a custom symbol,
* not just symbol or a well known symbol from the global Symbol.
*/
type SkipUniqueSymbols<Key> = symbol extends Key
? Key // Key is symbol or a generalization of symbol, so leave it as is.
: Key extends symbol
? Key extends WellKnownSymbols
? Key // Key is a well known symbol from the global Symbol object. These are shared between packages, so they are fine and kept as is.
: never // Key is most likely some specialized symbol, typically a unique symbol. These break type comparisons so are removed by replacing them with never.
: Key; // Key is not a symbol (for example its a string or number), so leave it as is.
/**
* Remove details of T which are incompatible with type testing while keeping as much as is practical.
*
* See 'build-tools/packages/build-tools/src/typeValidator/compatibility.ts' for more information.
*/
type TypeOnly<T> = T extends number
? number
: T extends boolean | bigint | string
? T
: T extends symbol
? SkipUniqueSymbols<T>
: {
[P in keyof T as SkipUniqueSymbols<P>]: TypeOnly<T[P]>;
};
declare type MakeUnusedImportErrorsGoAway<T> = TypeOnly<T> | MinimalType<T> | FullType<T> | typeof old | typeof current;
/*
* Validate forward compatibility by using the old type in place of the current type.

Просмотреть файл

@ -152,9 +152,9 @@
"@fluid-private/stochastic-test-utils": "workspace:~",
"@fluid-private/test-dds-utils": "workspace:~",
"@fluid-tools/benchmark": "^0.48.0",
"@fluid-tools/build-cli": "^0.39.0-264124",
"@fluid-tools/build-cli": "^0.39.0",
"@fluidframework/build-common": "^2.0.3",
"@fluidframework/build-tools": "^0.39.0-264124",
"@fluidframework/build-tools": "^0.39.0",
"@fluidframework/container-definitions": "workspace:~",
"@fluidframework/eslint-config-fluid": "^5.3.0",
"@fluidframework/sequence-previous": "npm:@fluidframework/sequence@2.0.0-rc.4.0.0",

Просмотреть файл

@ -8,38 +8,12 @@
* Generated by flub generate:typetests in @fluid-tools/build-cli.
*/
import type { TypeOnly, MinimalType, FullType } from "@fluidframework/build-tools";
import type * as old from "@fluidframework/sequence-previous/internal";
import type * as current from "../../index.js";
type ValueOf<T> = T[keyof T];
type OnlySymbols<T> = T extends symbol ? T : never;
type WellKnownSymbols = OnlySymbols<ValueOf<typeof Symbol>>;
/**
* Omit (replace with never) a key if it is a custom symbol,
* not just symbol or a well known symbol from the global Symbol.
*/
type SkipUniqueSymbols<Key> = symbol extends Key
? Key // Key is symbol or a generalization of symbol, so leave it as is.
: Key extends symbol
? Key extends WellKnownSymbols
? Key // Key is a well known symbol from the global Symbol object. These are shared between packages, so they are fine and kept as is.
: never // Key is most likely some specialized symbol, typically a unique symbol. These break type comparisons so are removed by replacing them with never.
: Key; // Key is not a symbol (for example its a string or number), so leave it as is.
/**
* Remove details of T which are incompatible with type testing while keeping as much as is practical.
*
* See 'build-tools/packages/build-tools/src/typeValidator/compatibility.ts' for more information.
*/
type TypeOnly<T> = T extends number
? number
: T extends boolean | bigint | string
? T
: T extends symbol
? SkipUniqueSymbols<T>
: {
[P in keyof T as SkipUniqueSymbols<P>]: TypeOnly<T[P]>;
};
declare type MakeUnusedImportErrorsGoAway<T> = TypeOnly<T> | MinimalType<T> | FullType<T> | typeof old | typeof current;
/*
* Validate forward compatibility by using the old type in place of the current type.
@ -266,20 +240,6 @@ declare function use_old_InterfaceDeclaration_IIntervalCollectionEvent(
use_old_InterfaceDeclaration_IIntervalCollectionEvent(
get_current_InterfaceDeclaration_IIntervalCollectionEvent());
/*
* Validate forward compatibility by using the old type in place of the current type.
* If this test starts failing, it indicates a change that is not forward compatible.
* To acknowledge the breaking change, add the following to package.json under
* typeValidation.broken:
* "InterfaceDeclaration_IIntervalHelpers": {"forwardCompat": false}
*/
declare function get_old_InterfaceDeclaration_IIntervalHelpers():
TypeOnly<old.IIntervalHelpers<any>>;
declare function use_current_InterfaceDeclaration_IIntervalHelpers(
use: TypeOnly<current.IIntervalHelpers<any>>): void;
use_current_InterfaceDeclaration_IIntervalHelpers(
get_old_InterfaceDeclaration_IIntervalHelpers());
/*
* Validate backward compatibility by using the current type in place of the old type.
* If this test starts failing, it indicates a change that is not backward compatible.
@ -914,20 +874,6 @@ declare function use_old_EnumDeclaration_IntervalType(
use_old_EnumDeclaration_IntervalType(
get_current_EnumDeclaration_IntervalType());
/*
* Validate forward compatibility by using the old type in place of the current type.
* If this test starts failing, it indicates a change that is not forward compatible.
* To acknowledge the breaking change, add the following to package.json under
* typeValidation.broken:
* "InterfaceDeclaration_LocalReferencePosition": {"forwardCompat": false}
*/
declare function get_old_InterfaceDeclaration_LocalReferencePosition():
TypeOnly<old.LocalReferencePosition>;
declare function use_current_InterfaceDeclaration_LocalReferencePosition(
use: TypeOnly<current.LocalReferencePosition>): void;
use_current_InterfaceDeclaration_LocalReferencePosition(
get_old_InterfaceDeclaration_LocalReferencePosition());
/*
* Validate backward compatibility by using the current type in place of the old type.
* If this test starts failing, it indicates a change that is not backward compatible.

Некоторые файлы не были показаны из-за слишком большого количества измененных файлов Показать больше