-
Notifications
You must be signed in to change notification settings - Fork 536
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Prepare and generate typetests on main (#13029)
I manually updated the npm scripts to call flub with the correct arguments etc. Relevant changes: - Uses the `--pin` argument to pin the version in package.json to the maximum matching released version. This should help with the lockfile issues we have discovered. - All generated files now include `.generated` in their name and old files were deleted. This was detected as a rename by git. See #12849 or `typetestDetails.md` for documentation on semantics of these changes. Then I did the following steps to configure the baselines and generate tests. 1. `npm run typetests:prepare -- -b main --reset` - this reset all type test overrides and set the baseline versions according to the main branch config. For the client release group this is `~previousMinor`, which corresponds to version 2.0.0-internal.2.1.0. 2. `npm i` - installed new versions of packages. 3. `npm run typetests:gen -- -b main` - this regenerated the typetests. 4. Ran a build and added back broken test overrides as needed. 5. Disabled tests in some packages like PropertyDDS. I also did roughly the same steps for the independent packages.
- Loading branch information
1 parent
586bd7f
commit 7922001
Showing
167 changed files
with
1,327 additions
and
1,072 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -75,6 +75,7 @@ | |
"@babel/eslint-parser": "^7.16.5", | ||
"@babel/plugin-transform-runtime": "^7.2.0", | ||
"@babel/preset-env": "^7.2.0", | ||
"@fluid-experimental/property-binder-previous": "npm:@fluid-experimental/[email protected]", | ||
"@fluidframework/build-common": "^1.1.0", | ||
"@fluidframework/test-runtime-utils": ">=2.0.0-internal.2.2.0 <2.0.0-internal.3.0.0", | ||
"@fluidframework/test-utils": ">=2.0.0-internal.2.2.0 <2.0.0-internal.3.0.0", | ||
|
@@ -109,8 +110,10 @@ | |
"outputName": "jest-junit-report.xml" | ||
}, | ||
"typeValidation": { | ||
"disabled": true, | ||
"version": "2.0.0-internal.2.2.0", | ||
"baselineRange": "2.0.0-internal.2.0.0", | ||
"baselineRange": ">=2.0.0-internal.2.1.0 <2.0.0-internal.2.2.0", | ||
"baselineVersion": "2.0.0-internal.2.1.0", | ||
"broken": {} | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -69,6 +69,7 @@ | |
"traverse": "0.6.6" | ||
}, | ||
"devDependencies": { | ||
"@fluid-experimental/property-changeset-previous": "npm:@fluid-experimental/[email protected]", | ||
"@fluidframework/build-common": "^1.1.0", | ||
"@fluidframework/mocha-test-setup": ">=2.0.0-internal.2.2.0 <2.0.0-internal.3.0.0", | ||
"@rushstack/eslint-config": "^2.5.1", | ||
|
@@ -88,8 +89,10 @@ | |
"typescript": "~4.5.5" | ||
}, | ||
"typeValidation": { | ||
"disabled": true, | ||
"version": "2.0.0-internal.2.2.0", | ||
"baselineRange": "2.0.0-internal.2.0.0", | ||
"baselineRange": ">=2.0.0-internal.2.1.0 <2.0.0-internal.2.2.0", | ||
"baselineVersion": "2.0.0-internal.2.1.0", | ||
"broken": {} | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -66,6 +66,7 @@ | |
"traverse": "0.6.6" | ||
}, | ||
"devDependencies": { | ||
"@fluid-experimental/property-common-previous": "npm:@fluid-experimental/[email protected]", | ||
"@fluidframework/build-common": "^1.1.0", | ||
"@fluidframework/eslint-config-fluid": "^1.2.0", | ||
"@fluidframework/mocha-test-setup": ">=2.0.0-internal.2.2.0 <2.0.0-internal.3.0.0", | ||
|
@@ -87,8 +88,10 @@ | |
"typescript": "~4.5.5" | ||
}, | ||
"typeValidation": { | ||
"disabled": true, | ||
"version": "2.0.0-internal.2.2.0", | ||
"baselineRange": "2.0.0-internal.2.0.0", | ||
"baselineRange": ">=2.0.0-internal.2.1.0 <2.0.0-internal.2.2.0", | ||
"baselineVersion": "2.0.0-internal.2.1.0", | ||
"broken": {} | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -55,6 +55,7 @@ | |
}, | ||
"devDependencies": { | ||
"@fluid-experimental/property-common": ">=2.0.0-internal.2.2.0 <2.0.0-internal.3.0.0", | ||
"@fluid-experimental/property-dds-previous": "npm:@fluid-experimental/[email protected]", | ||
"@fluidframework/build-common": "^1.1.0", | ||
"@fluidframework/driver-definitions": ">=2.0.0-internal.2.2.0 <2.0.0-internal.3.0.0", | ||
"@fluidframework/eslint-config-fluid": "^1.2.0", | ||
|
@@ -80,8 +81,10 @@ | |
"typescript": "~4.5.5" | ||
}, | ||
"typeValidation": { | ||
"disabled": true, | ||
"version": "2.0.0-internal.2.2.0", | ||
"baselineRange": "2.0.0-internal.2.0.0", | ||
"baselineRange": ">=2.0.0-internal.2.1.0 <2.0.0-internal.2.2.0", | ||
"baselineVersion": "2.0.0-internal.2.1.0", | ||
"broken": {} | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -55,6 +55,7 @@ | |
"@fluid-experimental/property-binder": ">=2.0.0-internal.2.2.0 <2.0.0-internal.3.0.0", | ||
"@fluid-experimental/property-changeset": ">=2.0.0-internal.2.2.0 <2.0.0-internal.3.0.0", | ||
"@fluid-experimental/property-dds": ">=2.0.0-internal.2.2.0 <2.0.0-internal.3.0.0", | ||
"@fluid-experimental/property-inspector-table-previous": "npm:@fluid-experimental/[email protected]", | ||
"@fluid-experimental/property-properties": ">=2.0.0-internal.2.2.0 <2.0.0-internal.3.0.0", | ||
"@fluid-experimental/property-proxy": ">=2.0.0-internal.2.2.0 <2.0.0-internal.3.0.0", | ||
"@fluid-tools/webpack-fluid-loader": ">=2.0.0-internal.2.2.0 <2.0.0-internal.3.0.0", | ||
|
@@ -117,8 +118,11 @@ | |
"outputName": "jest-junit-report.xml" | ||
}, | ||
"typeValidation": { | ||
"disabled": true, | ||
"version": "2.0.0-internal.2.2.0", | ||
"baselineRange": "2.0.0-internal.2.0.0", | ||
"broken": {} | ||
"baselineRange": ">=2.0.0-internal.2.1.0 <2.0.0-internal.2.2.0", | ||
"baselineVersion": "2.0.0-internal.2.1.0", | ||
"broken": { | ||
} | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -43,6 +43,7 @@ | |
"@babel/core": "^7.12.10", | ||
"@babel/plugin-transform-runtime": "^7.2.0", | ||
"@babel/preset-env": "^7.2.0", | ||
"@fluid-experimental/property-proxy-previous": "npm:@fluid-experimental/[email protected]", | ||
"@fluidframework/build-common": "^1.1.0", | ||
"@fluidframework/eslint-config-fluid": "^1.2.0", | ||
"@rushstack/eslint-config": "^2.5.1", | ||
|
@@ -64,8 +65,11 @@ | |
"outputName": "jest-junit-report.xml" | ||
}, | ||
"typeValidation": { | ||
"disabled": true, | ||
"version": "2.0.0-internal.2.2.0", | ||
"baselineRange": "2.0.0-internal.2.0.0", | ||
"broken": {} | ||
"baselineRange": ">=2.0.0-internal.2.1.0 <2.0.0-internal.2.2.0", | ||
"baselineVersion": "2.0.0-internal.2.1.0", | ||
"broken": { | ||
} | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -36,6 +36,7 @@ | |
}, | ||
"devDependencies": { | ||
"@fluid-experimental/property-properties": ">=2.0.0-internal.2.2.0 <2.0.0-internal.3.0.0", | ||
"@fluid-experimental/property-query-previous": "npm:@fluid-experimental/[email protected]", | ||
"@fluidframework/mocha-test-setup": ">=2.0.0-internal.2.2.0 <2.0.0-internal.3.0.0", | ||
"chai": "^4.2.0", | ||
"cross-env": "^7.0.2", | ||
|
@@ -45,8 +46,10 @@ | |
"sinon": "^7.4.2" | ||
}, | ||
"typeValidation": { | ||
"disabled": true, | ||
"version": "2.0.0-internal.2.2.0", | ||
"baselineRange": "2.0.0-internal.2.0.0", | ||
"baselineRange": ">=2.0.0-internal.2.1.0 <2.0.0-internal.2.2.0", | ||
"baselineVersion": "2.0.0-internal.2.1.0", | ||
"broken": {} | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.