Skip to content

Commit

Permalink
update to typescript 4.6.2 and update ARIAMixin typings
Browse files Browse the repository at this point in the history
use skip lib check to avoid conflicts with fast-tooling

Change files

update package.json resolution for types/react because docusaurus is causing an upgrade to v18.0

update readme and yarn.lock files

fix eslint errors in fast-element
  • Loading branch information
chrisdholt committed Apr 23, 2022
1 parent ed08697 commit 24a8852
Show file tree
Hide file tree
Showing 64 changed files with 2,998 additions and 2,693 deletions.
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
{
"type": "minor",
"comment": "update to typescript 4.6.2 and update ARIAMixin typings",
"packageName": "@microsoft/eslint-config-fast-dna",
"email": "chhol@microsoft.com",
"dependentChangeType": "patch"
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
{
"type": "minor",
"comment": "update to typescript 4.6.2 and update ARIAMixin typings",
"packageName": "@microsoft/fast-animation",
"email": "chhol@microsoft.com",
"dependentChangeType": "patch"
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
{
"type": "minor",
"comment": "update to typescript 4.6.2 and update ARIAMixin typings",
"packageName": "@microsoft/fast-colors",
"email": "chhol@microsoft.com",
"dependentChangeType": "patch"
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
{
"type": "minor",
"comment": "update to typescript 4.6.2 and update ARIAMixin typings",
"packageName": "@microsoft/fast-components",
"email": "chhol@microsoft.com",
"dependentChangeType": "patch"
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
{
"type": "minor",
"comment": "update to typescript 4.6.2 and update ARIAMixin typings",
"packageName": "@microsoft/fast-element",
"email": "chhol@microsoft.com",
"dependentChangeType": "patch"
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
{
"type": "minor",
"comment": "update to typescript 4.6.2 and update ARIAMixin typings",
"packageName": "@microsoft/fast-foundation",
"email": "chhol@microsoft.com",
"dependentChangeType": "patch"
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
{
"type": "minor",
"comment": "update to typescript 4.6.2 and update ARIAMixin typings",
"packageName": "@microsoft/fast-react-wrapper",
"email": "chhol@microsoft.com",
"dependentChangeType": "patch"
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
{
"type": "minor",
"comment": "update to typescript 4.6.2 and update ARIAMixin typings",
"packageName": "@microsoft/fast-router",
"email": "chhol@microsoft.com",
"dependentChangeType": "patch"
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
{
"type": "minor",
"comment": "update to typescript 4.6.2 and update ARIAMixin typings",
"packageName": "@microsoft/fast-web-utilities",
"email": "chhol@microsoft.com",
"dependentChangeType": "patch"
}
2 changes: 1 addition & 1 deletion examples/design-system-tutorial/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@
"devDependencies": {
"rimraf": "^3.0.2",
"ts-loader": "^7.0.1",
"typescript": "^3.8.3",
"typescript": "^4.6.2",
"webpack": "^4.44.0",
"webpack-cli": "^3.3.11",
"webpack-dev-server": "^3.11.0"
Expand Down
2 changes: 1 addition & 1 deletion examples/todo-app-tutorial/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@
"http-server": "^14.1.0",
"rimraf": "^3.0.2",
"ts-loader": "^7.0.1",
"typescript": "^3.8.3",
"typescript": "^4.6.2",
"webpack": "^4.44.0",
"webpack-cli": "^3.3.11",
"webpack-dev-server": "^3.11.0"
Expand Down
7 changes: 4 additions & 3 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -116,7 +116,8 @@
]
},
"resolutions": {
"@types/react": "*",
"@microsoft/fast-tooling": "^0.37.7",
"@types/react": "^16.14.0",
"browserslist": "^4.16.5",
"clean-css": "^4.2.3",
"css-select": "^4.2.1",
Expand All @@ -134,7 +135,7 @@
"node-notifier": "^9.0.0",
"trim-newlines": "^4.0.2",
"trim": "^0.0.3",
"typescript": "^3.9.0",
"typescript": "^4.6.2",
"ua-parser-js": "^0.7.28",
"ws": "^7.4.6",
"xmlhttprequest-ssl": "^1.6.2"
Expand Down Expand Up @@ -162,7 +163,7 @@
"rimraf": "^3.0.2",
"ts-jest": "^25.4.0",
"ts-node": "^8.8.2",
"typescript": "^3.9.0",
"typescript": "^4.6.2",
"yargs": "^16.2.0"
},
"dependencies": {
Expand Down
2 changes: 1 addition & 1 deletion packages/tooling/fast-figma-plugin-msft/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@
"react-dom": "^16.12.0",
"style-loader": "^1.1.2",
"ts-loader": "^6.2.1",
"typescript": "^3.9.0",
"typescript": "^4.6.2",
"webpack": "^4.44.0",
"webpack-bundle-analyzer": "^3.6.0",
"webpack-cli": "^3.3.10"
Expand Down
2 changes: 1 addition & 1 deletion packages/utilities/fast-animation/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -96,7 +96,7 @@
"require-dir": "^0.3.2",
"style-loader": "^0.13.2",
"ts-jest": "^25.4.0",
"typescript": "^3.9.0",
"typescript": "^4.6.2",
"webpack": "^4.44.0",
"webpack-bundle-analyzer": "^3.5.2",
"webpack-cli": "^3.2.1",
Expand Down
2 changes: 1 addition & 1 deletion packages/utilities/fast-benchmarks/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@
"html-webpack-plugin": "^5.3.1",
"prettier": "2.0.2",
"ts-loader": "^8.1.0",
"typescript": "^3.9.0",
"typescript": "^4.6.2",
"webpack": "^5.30.0",
"webpack-cli": "^4.6.0",
"webpack-dev-server": "^4.0.0-beta.1"
Expand Down
2 changes: 1 addition & 1 deletion packages/utilities/fast-colors/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -42,6 +42,6 @@
"@microsoft/eslint-config-fast-dna": "^2.0.0",
"eslint-config-prettier": "^6.10.1",
"prettier": "2.0.2",
"typescript": "^3.9.0"
"typescript": "^4.6.2"
}
}
2 changes: 1 addition & 1 deletion packages/utilities/fast-eslint-rules/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,6 @@
"@typescript-eslint/parser": "^5.0.0",
"eslint": "^8.0.0",
"eslint-plugin-import": "^2.25.0",
"typescript": "~3.9.0 || ~4.3.5"
"typescript": "~3.9.0 || ~4.3.5 || ^4.6.2"
}
}
8 changes: 2 additions & 6 deletions packages/utilities/fast-react-wrapper/docs/api-report.md
Original file line number Diff line number Diff line change
Expand Up @@ -17,12 +17,8 @@ export type FoundationElementRegistryElement<TRegistry> = TRegistry extends Foun
// @public (undocumented)
export function provideReactWrapper(React: any, designSystem?: DesignSystem): {
wrap: {
<TRegistry extends FoundationElementRegistry<FoundationElementDefinition, any>, TEvents>(registry: TRegistry, config?: ReactWrapperConfig<TEvents> | undefined): Constructable<ReactModule.Component<ReactModule.PropsWithChildren<ReactModule.PropsWithRef<Partial<Pick<FoundationElementRegistryElement<TRegistry>, Exclude<keyof FoundationElementRegistryElement<TRegistry>, "style" | "children">>> & ReactEvents<TEvents> & ReactModule.HTMLAttributes<HTMLElement>> & {
style?: ReactModule.CSSProperties | undefined;
}>, {}, any>>;
<TElement extends HTMLElement, TEvents_1>(type: Constructable<TElement>, config?: ReactWrapperConfig<TEvents_1> | undefined): Constructable<ReactModule.Component<ReactModule.PropsWithChildren<ReactModule.PropsWithRef<Partial<Pick<TElement, Exclude<keyof TElement, "style" | "children">>> & ReactEvents<TEvents_1> & ReactModule.HTMLAttributes<HTMLElement>> & {
style?: ReactModule.CSSProperties | undefined;
}>, {}, any>>;
<TRegistry extends FoundationElementRegistry<FoundationElementDefinition, any>, TEvents>(registry: TRegistry, config?: ReactWrapperConfig<TEvents> | undefined): ReactWrapper<FoundationElementRegistryElement<TRegistry>, TEvents>;
<TElement extends HTMLElement, TEvents_1>(type: Constructable<TElement>, config?: ReactWrapperConfig<TEvents_1> | undefined): ReactWrapper<TElement, TEvents_1>;
};
registry: Registry;
};
Expand Down
2 changes: 1 addition & 1 deletion packages/utilities/fast-react-wrapper/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -82,7 +82,7 @@
"ts-loader": "^7.0.2",
"ts-node": "^8.9.1",
"tsconfig-paths": "^3.9.0",
"typescript": "^3.9.0",
"typescript": "^4.6.2",
"webpack": "^4.44.0"
},
"dependencies": {
Expand Down
2 changes: 1 addition & 1 deletion packages/utilities/fast-web-utilities/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,7 @@
"mocha": "^7.1.2",
"prettier": "2.0.2",
"ts-loader": "^4.0.1",
"typescript": "^3.9.0"
"typescript": "^4.6.2"
},
"dependencies": {
"exenv-es6": "^1.1.1"
Expand Down
Loading

0 comments on commit 24a8852

Please sign in to comment.