Skip to content

Commit 41b805f

Browse files
authored
update type tests (microsoft#26494)
following post release process: `pnpm exec flub typetests -g client --reset --normalize --previous; pnpm install --no-frozen-lockfile; pnpm run build` The first command changed type test to non existing 2.89 version. I replaced those version to the correct previous version 2.83 using VS Code replace tool.
1 parent 456709a commit 41b805f

File tree

113 files changed

+853
-840
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

113 files changed

+853
-840
lines changed

azure/packages/azure-service-utils/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -95,7 +95,7 @@
9595
"@arethetypeswrong/cli": "^0.18.2",
9696
"@biomejs/biome": "~1.9.3",
9797
"@fluid-tools/build-cli": "^0.63.0",
98-
"@fluidframework/azure-service-utils-previous": "npm:@fluidframework/azure-service-utils@2.82.0",
98+
"@fluidframework/azure-service-utils-previous": "npm:@fluidframework/azure-service-utils@2.83.0",
9999
"@fluidframework/build-common": "^2.0.3",
100100
"@fluidframework/build-tools": "^0.63.0",
101101
"@fluidframework/eslint-config-fluid": "workspace:~",

azure/packages/azure-service-utils/src/test/types/validateAzureServiceUtilsPrevious.generated.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
* THIS IS AN AUTOGENERATED FILE. DO NOT EDIT THIS FILE DIRECTLY.
88
* Generated by flub generate:typetests in @fluid-tools/build-cli.
99
*
10-
* Baseline (previous) version: 2.82.0
10+
* Baseline (previous) version: 2.83.0
1111
*/
1212

1313
import type * as old from "@fluidframework/azure-service-utils-previous/internal";

packages/common/client-utils/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -144,7 +144,7 @@
144144
"devDependencies": {
145145
"@arethetypeswrong/cli": "^0.18.2",
146146
"@biomejs/biome": "~1.9.3",
147-
"@fluid-internal/client-utils-previous": "npm:@fluid-internal/client-utils@2.82.0",
147+
"@fluid-internal/client-utils-previous": "npm:@fluid-internal/client-utils@2.83.0",
148148
"@fluid-internal/mocha-test-setup": "workspace:~",
149149
"@fluid-tools/build-cli": "^0.63.0",
150150
"@fluidframework/build-common": "^2.0.3",

packages/common/client-utils/src/test/types/validateClientUtilsPrevious.generated.ts

Lines changed: 10 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
* THIS IS AN AUTOGENERATED FILE. DO NOT EDIT THIS FILE DIRECTLY.
88
* Generated by flub generate:typetests in @fluid-tools/build-cli.
99
*
10-
* Baseline (previous) version: 2.82.0
10+
* Baseline (previous) version: 2.83.0
1111
*/
1212

1313
import type * as old from "@fluid-internal/client-utils-previous";
@@ -404,6 +404,15 @@ declare type current_as_old_for_Variable_ILayerCompatDetails = requireAssignable
404404
*/
405405
declare type current_as_old_for_Variable_IsoBuffer = requireAssignableTo<TypeOnly<typeof current.IsoBuffer>, TypeOnly<typeof old.IsoBuffer>>
406406

407+
/*
408+
* Validate backward compatibility by using the current type in place of the old type.
409+
* If this test starts failing, it indicates a change that is not backward compatible.
410+
* To acknowledge the breaking change, add the following to package.json under
411+
* typeValidation.broken:
412+
* "Variable_LayerCompatibilityPolicyWindowMonths": {"backCompat": false}
413+
*/
414+
declare type current_as_old_for_Variable_LayerCompatibilityPolicyWindowMonths = requireAssignableTo<TypeOnly<typeof current.LayerCompatibilityPolicyWindowMonths>, TypeOnly<typeof old.LayerCompatibilityPolicyWindowMonths>>
415+
407416
/*
408417
* Validate backward compatibility by using the current type in place of the old type.
409418
* If this test starts failing, it indicates a change that is not backward compatible.

packages/common/container-definitions/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -99,7 +99,7 @@
9999
"@fluid-tools/build-cli": "^0.63.0",
100100
"@fluidframework/build-common": "^2.0.3",
101101
"@fluidframework/build-tools": "^0.63.0",
102-
"@fluidframework/container-definitions-previous": "npm:@fluidframework/container-definitions@2.82.0",
102+
"@fluidframework/container-definitions-previous": "npm:@fluidframework/container-definitions@2.83.0",
103103
"@fluidframework/eslint-config-fluid": "workspace:~",
104104
"@microsoft/api-extractor": "7.52.11",
105105
"concurrently": "^9.2.1",

packages/common/container-definitions/src/test/types/validateContainerDefinitionsPrevious.generated.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
* THIS IS AN AUTOGENERATED FILE. DO NOT EDIT THIS FILE DIRECTLY.
88
* Generated by flub generate:typetests in @fluid-tools/build-cli.
99
*
10-
* Baseline (previous) version: 2.82.0
10+
* Baseline (previous) version: 2.83.0
1111
*/
1212

1313
import type { TypeOnly, MinimalType, FullType, requireAssignableTo } from "@fluidframework/build-tools";

packages/common/core-interfaces/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -136,7 +136,7 @@
136136
"@fluid-tools/build-cli": "^0.63.0",
137137
"@fluidframework/build-common": "^2.0.3",
138138
"@fluidframework/build-tools": "^0.63.0",
139-
"@fluidframework/core-interfaces-previous": "npm:@fluidframework/core-interfaces@2.82.0",
139+
"@fluidframework/core-interfaces-previous": "npm:@fluidframework/core-interfaces@2.83.0",
140140
"@fluidframework/eslint-config-fluid": "workspace:~",
141141
"@microsoft/api-extractor": "7.52.11",
142142
"@types/mocha": "^10.0.10",

packages/common/core-interfaces/src/test/types/validateCoreInterfacesPrevious.generated.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
* THIS IS AN AUTOGENERATED FILE. DO NOT EDIT THIS FILE DIRECTLY.
88
* Generated by flub generate:typetests in @fluid-tools/build-cli.
99
*
10-
* Baseline (previous) version: 2.82.0
10+
* Baseline (previous) version: 2.83.0
1111
*/
1212

1313
import type { TypeOnly, MinimalType, FullType, requireAssignableTo } from "@fluidframework/build-tools";

packages/common/core-utils/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -134,7 +134,7 @@
134134
"@fluid-tools/build-cli": "^0.63.0",
135135
"@fluidframework/build-common": "^2.0.3",
136136
"@fluidframework/build-tools": "^0.63.0",
137-
"@fluidframework/core-utils-previous": "npm:@fluidframework/core-utils@2.82.0",
137+
"@fluidframework/core-utils-previous": "npm:@fluidframework/core-utils@2.83.0",
138138
"@fluidframework/eslint-config-fluid": "workspace:~",
139139
"@microsoft/api-extractor": "7.52.11",
140140
"@types/mocha": "^10.0.10",

packages/common/core-utils/src/test/types/validateCoreUtilsPrevious.generated.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
* THIS IS AN AUTOGENERATED FILE. DO NOT EDIT THIS FILE DIRECTLY.
88
* Generated by flub generate:typetests in @fluid-tools/build-cli.
99
*
10-
* Baseline (previous) version: 2.82.0
10+
* Baseline (previous) version: 2.83.0
1111
*/
1212

1313
import type { TypeOnly, MinimalType, FullType, requireAssignableTo } from "@fluidframework/build-tools";

0 commit comments

Comments
 (0)