Skip to content

Commit

Permalink
Fix type validator issues
Browse files Browse the repository at this point in the history
  • Loading branch information
heliocliu committed Apr 5, 2022
1 parent 28a35c5 commit 2cf4716
Show file tree
Hide file tree
Showing 151 changed files with 4,432 additions and 2,439 deletions.
3,351 changes: 2,615 additions & 736 deletions lerna-package-lock.json

Large diffs are not rendered by default.

4 changes: 2 additions & 2 deletions packages/dds/cell/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -70,7 +70,7 @@
"devDependencies": {
"@fluid-internal/test-dds-utils": "^0.59.1000",
"@fluidframework/build-common": "^0.23.0",
"@fluidframework/cell-previous": "npm:@fluidframework/cell@0.58.2000",
"@fluidframework/cell-previous": "npm:@fluidframework/cell@^0.58.0",
"@fluidframework/eslint-config-fluid": "^0.27.0",
"@fluidframework/mocha-test-setup": "^0.59.1000",
"@fluidframework/test-runtime-utils": "^0.59.1000",
Expand All @@ -97,7 +97,7 @@
"typescript-formatter": "7.1.0"
},
"typeValidation": {
"version": "0.58.3000",
"version": "0.59.1000",
"broken": {}
}
}
3 changes: 2 additions & 1 deletion packages/dds/cell/src/test/tsconfig.json
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,8 @@
"mocha"
],
"declaration": false,
"declarationMap": false
"declarationMap": false,
"skipLibCheck": true
},
"include": [
"./**/*"
Expand Down
12 changes: 6 additions & 6 deletions packages/dds/cell/src/test/types/validateCellPrevious.ts
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ type TypeOnly<T> = {

/*
* Validate forward compat by using old type in place of current type
* If breaking change required, add in package.json under typeValidation.broken.0.58.2000:
* If breaking change required, add in package.json under typeValidation.broken.0.58.2002:
* "InterfaceDeclaration_ISharedCell": {"forwardCompat": false}
*/
declare function get_old_InterfaceDeclaration_ISharedCell():
Expand All @@ -28,7 +28,7 @@ use_current_InterfaceDeclaration_ISharedCell(

/*
* Validate back compat by using current type in place of old type
* If breaking change required, add in package.json under typeValidation.broken.0.58.2000:
* If breaking change required, add in package.json under typeValidation.broken.0.58.2002:
* "InterfaceDeclaration_ISharedCell": {"backCompat": false}
*/
declare function get_current_InterfaceDeclaration_ISharedCell():
Expand All @@ -40,7 +40,7 @@ use_old_InterfaceDeclaration_ISharedCell(

/*
* Validate forward compat by using old type in place of current type
* If breaking change required, add in package.json under typeValidation.broken.0.58.2000:
* If breaking change required, add in package.json under typeValidation.broken.0.58.2002:
* "InterfaceDeclaration_ISharedCellEvents": {"forwardCompat": false}
*/
declare function get_old_InterfaceDeclaration_ISharedCellEvents():
Expand All @@ -52,7 +52,7 @@ use_current_InterfaceDeclaration_ISharedCellEvents(

/*
* Validate back compat by using current type in place of old type
* If breaking change required, add in package.json under typeValidation.broken.0.58.2000:
* If breaking change required, add in package.json under typeValidation.broken.0.58.2002:
* "InterfaceDeclaration_ISharedCellEvents": {"backCompat": false}
*/
declare function get_current_InterfaceDeclaration_ISharedCellEvents():
Expand All @@ -64,7 +64,7 @@ use_old_InterfaceDeclaration_ISharedCellEvents(

/*
* Validate forward compat by using old type in place of current type
* If breaking change required, add in package.json under typeValidation.broken.0.58.2000:
* If breaking change required, add in package.json under typeValidation.broken.0.58.2002:
* "ClassDeclaration_SharedCell": {"forwardCompat": false}
*/
declare function get_old_ClassDeclaration_SharedCell():
Expand All @@ -76,7 +76,7 @@ use_current_ClassDeclaration_SharedCell(

/*
* Validate back compat by using current type in place of old type
* If breaking change required, add in package.json under typeValidation.broken.0.58.2000:
* If breaking change required, add in package.json under typeValidation.broken.0.58.2002:
* "ClassDeclaration_SharedCell": {"backCompat": false}
*/
declare function get_current_ClassDeclaration_SharedCell():
Expand Down
4 changes: 2 additions & 2 deletions packages/dds/counter/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,7 @@
},
"devDependencies": {
"@fluidframework/build-common": "^0.23.0",
"@fluidframework/counter-previous": "npm:@fluidframework/counter@0.58.2000",
"@fluidframework/counter-previous": "npm:@fluidframework/counter@^0.58.0",
"@fluidframework/eslint-config-fluid": "^0.27.0",
"@fluidframework/mocha-test-setup": "^0.59.1000",
"@fluidframework/test-runtime-utils": "^0.59.1000",
Expand All @@ -93,7 +93,7 @@
"typescript": "~4.1.3"
},
"typeValidation": {
"version": "0.58.3000",
"version": "0.59.1000",
"broken": {}
}
}
3 changes: 2 additions & 1 deletion packages/dds/counter/src/test/tsconfig.json
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,8 @@
"mocha"
],
"declaration": false,
"declarationMap": false
"declarationMap": false,
"skipLibCheck": true
},
"include": [
"./**/*"
Expand Down
12 changes: 6 additions & 6 deletions packages/dds/counter/src/test/types/validateCounterPrevious.ts
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ type TypeOnly<T> = {

/*
* Validate forward compat by using old type in place of current type
* If breaking change required, add in package.json under typeValidation.broken.0.58.2000:
* If breaking change required, add in package.json under typeValidation.broken.0.58.2002:
* "InterfaceDeclaration_ISharedCounter": {"forwardCompat": false}
*/
declare function get_old_InterfaceDeclaration_ISharedCounter():
Expand All @@ -28,7 +28,7 @@ use_current_InterfaceDeclaration_ISharedCounter(

/*
* Validate back compat by using current type in place of old type
* If breaking change required, add in package.json under typeValidation.broken.0.58.2000:
* If breaking change required, add in package.json under typeValidation.broken.0.58.2002:
* "InterfaceDeclaration_ISharedCounter": {"backCompat": false}
*/
declare function get_current_InterfaceDeclaration_ISharedCounter():
Expand All @@ -40,7 +40,7 @@ use_old_InterfaceDeclaration_ISharedCounter(

/*
* Validate forward compat by using old type in place of current type
* If breaking change required, add in package.json under typeValidation.broken.0.58.2000:
* If breaking change required, add in package.json under typeValidation.broken.0.58.2002:
* "InterfaceDeclaration_ISharedCounterEvents": {"forwardCompat": false}
*/
declare function get_old_InterfaceDeclaration_ISharedCounterEvents():
Expand All @@ -52,7 +52,7 @@ use_current_InterfaceDeclaration_ISharedCounterEvents(

/*
* Validate back compat by using current type in place of old type
* If breaking change required, add in package.json under typeValidation.broken.0.58.2000:
* If breaking change required, add in package.json under typeValidation.broken.0.58.2002:
* "InterfaceDeclaration_ISharedCounterEvents": {"backCompat": false}
*/
declare function get_current_InterfaceDeclaration_ISharedCounterEvents():
Expand All @@ -64,7 +64,7 @@ use_old_InterfaceDeclaration_ISharedCounterEvents(

/*
* Validate forward compat by using old type in place of current type
* If breaking change required, add in package.json under typeValidation.broken.0.58.2000:
* If breaking change required, add in package.json under typeValidation.broken.0.58.2002:
* "ClassDeclaration_SharedCounter": {"forwardCompat": false}
*/
declare function get_old_ClassDeclaration_SharedCounter():
Expand All @@ -76,7 +76,7 @@ use_current_ClassDeclaration_SharedCounter(

/*
* Validate back compat by using current type in place of old type
* If breaking change required, add in package.json under typeValidation.broken.0.58.2000:
* If breaking change required, add in package.json under typeValidation.broken.0.58.2002:
* "ClassDeclaration_SharedCounter": {"backCompat": false}
*/
declare function get_current_ClassDeclaration_SharedCounter():
Expand Down
4 changes: 2 additions & 2 deletions packages/dds/ink/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -71,7 +71,7 @@
"devDependencies": {
"@fluidframework/build-common": "^0.23.0",
"@fluidframework/eslint-config-fluid": "^0.27.0",
"@fluidframework/ink-previous": "npm:@fluidframework/ink@0.58.2000",
"@fluidframework/ink-previous": "npm:@fluidframework/ink@^0.58.0",
"@fluidframework/mocha-test-setup": "^0.59.1000",
"@fluidframework/test-runtime-utils": "^0.59.1000",
"@microsoft/api-extractor": "^7.16.1",
Expand All @@ -96,7 +96,7 @@
"typescript-formatter": "7.1.0"
},
"typeValidation": {
"version": "0.58.3000",
"version": "0.59.1000",
"broken": {}
}
}
3 changes: 2 additions & 1 deletion packages/dds/ink/src/test/tsconfig.json
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,8 @@
"mocha"
],
"declaration": false,
"declarationMap": false
"declarationMap": false,
"skipLibCheck": true
},
"include": [
"./**/*"
Expand Down
Loading

0 comments on commit 2cf4716

Please sign in to comment.